1 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
5 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
7 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
9 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
10 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
11 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
12 (sem_getvalue): Likewise.
14 2019-04-26 Florian Weimer <fweimer@redhat.com>
16 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
17 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
19 2019-04-26 Florian Weimer <fweimer@redhat.com>
21 Makeconfig: Move -Wl,-rpath-link options before library references.
22 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
23 (link-libc): Remove $(link-libc-rpath-link).
25 2019-04-25 Florian Weimer <fweimer@redhat.com>
27 * Makeconfig (+link-pie-before-libc): Remove $(CC).
28 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
29 (+link-static-before-libc): Remove $(CC).
30 (+link-static, +link-static-tests): Add $(CC).
31 (+link-before-libc): Remove $(CC).
32 (+link, +link-pie, +link-pie-printers): Add $(CC).
34 2019-04-26 Florian Weimer <fweimer@redhat.com>
36 * Makeconfig (+link-pie-before-libc): Remove $(CC).
37 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
38 (+link-static-before-libc): Remove $(CC).
39 (+link-static, +link-static-tests): Add $(CC).
40 (+link-before-libc): Remove $(CC).
41 (+link, +link-pie, +link-pie-printers): Add $(CC).
43 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
46 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
48 2019-04-25 Florian Weimer <fweimer@redhat.com>
50 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
51 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
52 (bench-link-targets): New variable.
53 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
55 2019-04-25 Florian Weimer <fweimer@redhat.com>
57 Also enable BIND_NOW for programs if --enable-bind-now.
58 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
59 (+link-pie): Use $(link-extra-flags).
60 (+link-static): Likewise.
61 [! $(build-pie-default)] (+link): Likewise.
62 * manual/install.texi (Configuring and compiling): Update
63 --enable-bind-now description.
64 * INSTALL: Regenerated.
66 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
68 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
69 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
71 2019-04-24 Mike Frysinger <vapier@gentoo.org>
74 * malloc/Makefile (others): Add memusagestat.
75 ($(objpfx)memusagestat): Delete rule.
76 (LDLIBS-memusagestat): New variable.
78 2019-04-24 Florian Weimer <fweimer@redhat.com>
80 * locale/Makefile (tests-special): Guard setting by
81 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
82 to run while cross-compiling.
84 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
87 * elf/Makefile (tests-container): Add tst-pldd.
88 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
89 (E(find_maps)): Avoid use alloca, use default read file operations
90 instead of explicit LFS names, and fix infinite loop.
91 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
92 (get_process_info): Use _Static_assert instead of assert, use default
93 directory operations instead of explicit LFS names, and free some
95 * elf/tst-pldd.c: New file.
97 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
99 * malloc/arena.c (do_set_mallopt_check): Removed.
101 2019-04-23 Florian Weimer <fweimer@redhat.com>
103 locale: Add LOCPATH diagnostics to the locale program.
104 * locale/programs/locale.c (setlocale_failed): New variable.
105 (try_setlocale): New function.
106 (quote_string): Likewise.
107 (setlocale_diagnostics): Likewise.
108 (main): Call try_setlocale instead of setlocale. Call
109 setlocale_diagnostics.
110 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
111 (tst-locale-locpath.out): New target.
112 * locale/tst-locale-locpath.sh: New file.
114 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
116 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
119 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
122 * malloc/hooks.c (malloc_check, realloc_check): Use
123 __builtin_add_overflow on overflow check and adapt to
124 checked_request2size change.
125 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
126 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
127 allocation size to PTRDIFF_MAX.
128 (REQUEST_OUT_OF_RANGE): Remove macro.
129 (checked_request2size): Change to inline function and limit maximum
130 requested size to PTRDIFF_MAX.
131 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
132 maximum allocation size to PTRDIFF_MAX.
133 (_mid_memalign): Use _int_memalign call for overflow check.
134 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
135 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
136 limit maximum requested size to PTRDIFF_MAX.
137 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
138 valloc, pvalloc): Add __attribute_alloc_size__.
139 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
140 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
141 larger than PTRDIFF_MAX.
142 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
143 around tests of malloc with negative sizes.
144 * malloc/tst-posix_memalign.c (do_test): Likewise.
145 * malloc/tst-pvalloc.c (do_test): Likewise.
146 * malloc/tst-valloc.c (do_test): Likewise.
147 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
148 with resulting size allocation larger than PTRDIFF_MAX with
150 (reallocarray_nowarn): New function.
151 * NEWS: Mention the malloc function semantic change.
153 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
155 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
156 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
158 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
159 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
160 * sysdeps/powerpc/fpu/s_fma.c: New file.
161 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
163 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
164 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
166 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
167 the magic flag store.
168 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
170 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
172 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
173 Remove rt_sigreturn call.
175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
176 Remove rt_sigreturn call.
177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
182 * support/Makefile (libsupport-routines): Add support_subprocess,
183 xposix_spawn, xposix_spawn_file_actions_addclose, and
184 xposix_spawn_file_actions_adddup2.
185 (tst-support_capture_subprocess-ARGS): New rule.
186 * support/capture_subprocess.h (support_capture_subprogram): New
188 * support/support_capture_subprocess.c (support_capture_subprocess):
189 Refactor to use support_subprocess and support_capture_poll.
190 (support_capture_subprogram): New function.
191 * support/tst-support_capture_subprocess.c (write_mode_to_str,
192 str_to_write_mode, test_common, parse_int, handle_restart,
193 do_subprocess, do_subprogram, do_multiple_tests): New functions.
194 (do_test): Add support_capture_subprogram tests.
195 * support/subprocess.h: New file.
196 * support/support_subprocess.c: Likewise.
197 * support/xposix_spawn.c: Likewise.
198 * support/xposix_spawn_file_actions_addclose.c: Likewise.
199 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
200 * support/xspawn.h: Likewise.
202 2019-04-17 Mike Gerow <gerow@google.com>
204 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
207 2019-04-11 Florian Weimer <fweimer@redhat.com>
209 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
210 domain with empty string.
211 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
213 2019-04-11 Florian Weimer <fweimer@redhat.com>
215 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
217 (alloc_buffer_next): Change return type to non-const. Update
220 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
222 * manual/time.texi (Formatting Calendar Time): Add missing percent
223 sign to conversion specifier.
225 2019-04-09 Carlos O'Donell <carlos@redhat.com>
226 Kwok Cheung Yeung <kcy@codesourcery.com>
229 * malloc/mtrace.c: Define prototypes for all hooks.
230 (set_default_hooks): New function.
231 (set_trace_hooks): Likewise.
232 (save_default_hooks): Likewise.
233 (tr_freehook): Use new s*_hooks functions.
234 (tr_mallochook): Likewise.
235 (tr_reallochook): Likewise.
236 (tr_memalignhook): Likewise.
238 (muntrace): Likewise.
240 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
242 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
243 (generic_stpcpy): New function.
244 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
245 (generic_stpncpy): New function.
246 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
247 (generic_strcat): New function.
248 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
249 (generic_strcpy): New function.
250 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
251 (STUPID_STRNCAT): Remove function.
252 (generic_strncat): New function.
253 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
254 (STUPID_STRNCPY): Remove function.
255 (generic_strncpy): New function.
256 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
257 (generic_strnlen): New function.
258 (memchr_strnlen): New function.
259 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
260 (memchr_strlen): Likewise.
262 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
264 * benchtests/bench-strstr.c (input): Add realistic input text.
265 (stupid_strstr): Remove function.
266 (basic_strstr): Add function.
267 (twoway_strstr): Add function.
268 (do_one_test): Add result checking.
269 (do_test): Use new input text. Remove accidental early matches.
270 (test_main): Improve range of tests, reduce unaligned cases.
272 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
274 * benchtests/bench-memmem.c (simple_memmem): Remove function.
275 (basic_memmem): Add function.
276 (twoway_memmem): Add function.
278 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
280 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
281 * benchtests/bench-malloc-thread.c: Likewise.
282 * benchtests/bench-skeleton.c: Likewise.
283 * benchtests/bench-strtod.c: Likewise.
284 * benchtests/bench-timing.h: Likewise.
286 2019-04-08 Florian Weimer <fweimer@redhat.com>
288 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
290 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
291 RES_INSECURE2 security checks.
292 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
293 RES_INSECURE2 handling.
295 2019-04-08 Florian Weimer <fweimer@redhat.com>
297 resolv: Remove support for RES_USE_INET6 and the inet6 option.
298 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
299 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
301 * resolv/Makefile (tests): Remove tst-res_use_inet6.
302 (tests-internal): Update justification for tst-resolv-res_init,
303 tst-resolv-res_init-thread.
304 (tst-res_use_inet6): Remove target.
305 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
306 * resolv/res_debug.c (p_option): Remove "inet6" support.
307 * resolv/res_init.c (res_setoptions): Likewise.
308 * resolv/res_use_inet6.h: Remove file.
309 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
311 (res_use_inet6): Always return false.
312 * resolv/resolv.h (RES_USE_INET6): Remove definition.
313 * resolv/resolv_context.h: Adjust file comment.
314 (struct resolv_context): Update comment on __next field.
315 (__resolv_context_put): Update comment.
316 * resolv/tst-res_use_inet6.c: Remove file.
317 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
319 (test_cases): Adjust test case.
320 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
321 (thread_byname2_af_inet6): Use old byname_inet6 code.
322 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
323 (gai): Remove do_inet6 argument.
324 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
325 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
326 (thread_gai_unspec_inet6): Remove functions.
327 (do_test): Adjust thread_funcs.
328 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
330 (gaih_inet): Do not disable RES_USE_INET6 flag.
332 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
334 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
335 and remove redundant code.
337 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
339 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
341 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
342 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
344 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
346 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
348 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
349 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
350 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
351 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
352 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
353 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
354 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
355 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
357 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
358 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
360 Remove wcsrchr optimizations.
361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
363 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
366 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
368 * sysdeps/powerpc/power6/wcschr.c: Remove file.
369 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
371 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
373 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
375 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
376 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
377 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
378 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
379 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
380 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
381 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
382 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
384 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
385 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
386 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
387 Remove wcschr optimizations.
388 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
390 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
393 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
395 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
396 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
398 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
400 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
402 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
403 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
404 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
405 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
406 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
407 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
408 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
409 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
411 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
413 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
414 Remove wcscpy optimizations.
415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
417 * include/loop_unroll.h: New file.
418 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
419 besides generic implementation.
421 2019-04-03 DJ Delorie <dj@redhat.com>
423 * time/tst-strftime3.c (tm_to_printed): Disable warning about
424 snprintf truncating output.
426 2019-04-02 DJ Delorie <dj@redhat.com>
428 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
431 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
434 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
436 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
437 (mkreftable): Add rules for the new Japanese era and the new dates.
439 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
440 Rafal Luzynski <digitalfreak@lingonborough.com>
442 * time/tst-strftime2.c (date_t): Explicitly define the type.
443 (dates): Use natural month and year numbers to express a date.
444 (is_before): New function to compare dates.
445 (mkreftable): Minor improvements to simplify maintenance.
446 (do_test): Reflect the changes in dates array.
449 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
450 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
451 * time/tst-strftime2.c (locales): Likewise.
452 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
453 2010-04-01, and 2011-04-01.
454 (mkreftable): Add rules for the new locales and the new dates.
456 2019-04-01 Carlos O'Donell <carlos@redhat.com>
458 * localedata/locales/ja_JP: Add comments to era entries.
460 2019-04-01 DJ Delorie <dj@redhat.com>
463 * time/strptime_l.c (%Ey): Fix fencepost error.
464 * time/tst-strftime3.c: New.
465 * time/Makefile (tests): Add tst-strftime3.
467 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
469 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
470 conditional branch to DIVBYZERO. Fix unwind info.
471 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
472 excb after conditional branch to $powerof2. Add missing unop
473 instructions and .align directives and reorder instructions to
476 2019-04-01 Richard Henderson <rth@twiddle.net>
478 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
480 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
483 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
485 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
486 $libc_cv_riscv_float_abi in `test' invocation.
487 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
489 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
491 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
493 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
495 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
496 (_GET_SI_FPSCR): Likewise.
497 (_SET_SI_FPSCR): Likewise.
499 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
501 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
503 (signbit): Use builtin for clang 3.3.
504 (isinf): Use builtin for clang 3.7.
506 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
508 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
510 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
512 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
515 2019-03-25 Mike Crowe <mac@mcrowe.com>
517 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
518 pthread_rwlock_timedrdlock with calls to
519 pthread_rwlock_timedwrlock to ensure that the latter is tested
520 too. Use new function name in diagnostic messages too.
522 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
523 (do_test) Use libsupport test macros rather than hand-coded
524 conditionals and error messages. Ensure that sem_init returns zero
525 rather than not -1. Use <support/test-driver.c> rather than
528 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
529 test macros rather than hand-coded conditionals and error messages.
530 Use <support/test-driver.c> rather than test-skeleton.c.
532 2019-03-25 Joseph Myers <joseph@codesourcery.com>
534 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
536 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
537 (NT_MIPS_MSA): Likewise.
539 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
541 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
542 * benchtests/README: Update description.
543 * benchtests/bench-timing.h: Default to hp-timing.
544 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
545 HP_TIMING_PRINT): Remove.
546 (HP_TIMING_NOW): Add generic implementation.
547 (hp_timing_t): Change to uint64_t.
549 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
551 * nptl/descr.h: Likewise.
552 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
553 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
554 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
555 Abstract hp-timing usage with RTLD_* macros.
556 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
557 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
558 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
559 HP_TIMING_NONAVAIL): Likewise.
560 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
562 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
563 HP_SMALL_TIMING_AVAIL): Likewise.
564 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
565 HP_SMALL_TIMING_AVAIL): Likewise.
566 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
567 HP_SMALL_TIMING_AVAIL): Likewise.
568 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
569 HP_SMALL_TIMING_AVAIL): Likewise.
570 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
572 * sysdeps/generic/hp-timing-common.h: Update comment with
573 HP_TIMING_AVAIL removal.
575 * include/random-bits.h: New file.
576 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
577 (__res_context_mkquery): Remove usage hp-timing usage and replace with
579 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
580 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
583 * include/libc-internal.h (__get_clockfreq): Remove prototype.
584 * rt/Makefile (clock-routines): Remove get_clockfreq.
585 * rt/get_clockfreq.c: Remove file.
586 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
587 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
588 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
589 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
590 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
592 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
593 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
594 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
595 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
596 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
598 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
599 pthread_clock_settime.
600 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
601 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
602 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
603 * elf/rtld.c (_dl_start_final): Likewise.
604 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
605 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
607 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
608 (_dl_cpuclock_offset): Remove.
609 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
610 cpuclock_offset_ununsed.
611 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
613 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
614 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
615 * nptl/pthread_clock_gettime.c: Remove file.
616 * nptl/pthread_clock_settime.c: Likewise.
617 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
618 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
619 and CLOCK_PROCESS_CPUTIME_ID support.
620 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
621 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
622 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
623 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
624 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
626 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
628 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
630 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
631 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
632 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
634 * sysdeps/s390/memmem-arch13.S: New file.
635 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
636 if it is only used as fallback.
637 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
638 * sysdeps/s390/multiarch/ifunc-impl-list.c
639 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
641 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
643 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
644 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
645 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
647 * sysdeps/s390/multiarch/ifunc-impl-list.c
648 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
649 * sysdeps/s390/strstr-arch13.S: New file.
650 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
651 if it is only used as fallback.
652 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
654 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
656 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
657 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
658 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
659 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
661 * sysdeps/s390/multiarch/ifunc-impl-list.c
662 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
663 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
664 S390_IS_ARCH13_MIE3): New defines.
666 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
668 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
669 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
670 * sysdeps/s390/configure.ac: Add checks for arch13 support.
671 * sysdeps/s390/configure: Regenerated.
673 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
675 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
676 Add vxe2, vxp, dflt, sort flags.
677 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
678 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
680 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
681 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
682 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
683 HWCAP_S390_DFLT): Define.
685 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
688 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
690 * locale/programs/ld-collate.c (collate_output): Likewise.
692 2019-03-21 DJ Delorie <dj@redhat.com>
695 * iconv/iconvconfig.c (write_output): Replace floating point math
696 with integer math to avoid imprecise results.
697 * locale/programs/ld-collate.c (collate_output): Likewise.
699 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
701 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
702 Add HWCAP_S390_VX and HWCAP_S390_VXE.
704 2019-03-20 mansayk <6688000@gmail.com>
707 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
708 (abday): Likewise, but remove the trailing dots.
710 2019-03-19 Joseph Myers <joseph@codesourcery.com>
712 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
714 (HWCAP_PACA): Likewise.
715 (HWCAP_PACG): Likewise.
716 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
718 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
720 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
722 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
725 2019-03-15 Joseph Myers <joseph@codesourcery.com>
727 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
729 (old_getpagesize): New syscall.
731 2019-03-15 Felix Yan <felixonmars@archlinux.org>
734 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
735 * localedata/locales/cmn_TW (era): Likewise.
736 * localedata/locales/hak_TW (era): Likewise.
737 * localedata/locales/lzh_TW (era): Likewise.
738 * localedata/locales/nan_TW (era): Likewise.
740 2019-03-14 Florian Weimer <fweimer@redhat.com>
742 Remove obsolete, never-implemented XSI STREAMS declarations.
743 * manual/terminal.texi (Allocation): Remove portability note and
745 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
747 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
748 * sysdeps/unix/inet/Subdirs (streams): Remove.
749 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
750 (conformtest-headers-UNIX98): Likewise.
751 (conformtest-headers-XOPEN2K): Likewise.
752 (conformtest-headers-POSIX2008): Likewise.
753 * posix/compat-streams.c: New file.
754 * posix/Makefile (routines): Add it.
755 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
756 getpmsg, isastream, putmsg, putpmsg.
757 (GLIBC_2.30): New section.
758 * bits/stropts.h: Remove file.
759 * bits/xtitypes.h: Likewise.
760 * conform/data/stropts.h-data: Likewise.
761 * include/stropts.h: Likewise.
762 * include/sys/stropts.h: Likewise.
763 * include/xtitypes.h: Likewise.
764 * streams/Makefile: Likewise.
765 * streams/fattach.c: Likewise.
766 * streams/fdetach.c: Likewise.
767 * streams/getmsg.c: Likewise.
768 * streams/getpmsg.c: Likewise.
769 * streams/isastream.c: Likewise.
770 * streams/putmsg.c: Likewise.
771 * streams/putpmsg.c: Likewise.
772 * streams/stropts.h: Likewise.
773 * streams/sys/stropts.h: Likewise.
774 * sysdeps/ia64/bits/xtitypes.h: Likewise.
775 * sysdeps/s390/bits/xtitypes.h: Likewise.
776 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
777 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
778 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
779 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
780 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
781 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
782 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
783 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
784 * sysdeps/x86/bits/xtitypes.h: Likewise.
786 2019-03-14 Florian Weimer <fweimer@redhat.com>
788 * nss/tst-nss-files-alias-truncated.c (do_test): Load
790 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
791 but not with libnss_files.
792 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
794 2019-03-14 Zack Weinberg <zackw@panix.com>
796 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
797 Specify encoding="utf-8" when opening headers to check.
799 2019-03-13 Joseph Myers <joseph@codesourcery.com>
801 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
803 (Context.checkout_tar): Handle variable major version for Linux
806 2019-03-13 Florian Weimer <fweimer@redhat.com>
809 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
811 2019-03-13 Zack Weinberg <zackw@panix.com>
813 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
815 * include/inttypes.h: Adjust to match.
816 * include/stdint.h: New wrapper.
818 2019-03-13 Zack Weinberg <zackw@panix.com>
820 * scripts/check-obsolete-constructs.py: New test script.
821 * scripts/check-installed-headers.sh: Remove tests for
822 obsolete typedefs, superseded by check-obsolete-constructs.py.
823 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
824 as a special test. Update commentary.
825 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
826 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
828 * posix/sys/types.h (__u_intN_t): Remove.
829 (u_int8_t): Typedef using __uint8_t.
830 (u_int16_t): Typedef using __uint16_t.
831 (u_int32_t): Typedef using __uint32_t.
832 (u_int64_t): Typedef using __uint64_t.
834 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
836 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
838 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
839 Ignore types other than AT_HWCAP.
840 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
841 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
843 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
844 in the case of falling back to generic output mechanism.
845 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
848 2019-03-12 Florian Weimer <fweimer@redhat.com>
850 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
852 2019-03-12 Florian Weimer <fweimer@redhat.com>
855 resolv: Enable full ICMP errors for UDP DNS sockets
856 * resolv/res_enable_icmp.c: New file.
857 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
858 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
859 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
862 2019-03-11 Mao Han <han_mao@c-sky.com>
864 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
865 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
867 2019-03-11 Mao Han <han_mao@c-sky.com>
869 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
870 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
871 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
873 2019-03-11 Mao Han <han_mao@c-sky.com>
875 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
877 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
880 2019-03-11 Mao Han <han_mao@c-sky.com>
882 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
883 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
886 2019-03-08 Mike FABIAN <mfabian@redhat.com>
889 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
890 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
892 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
893 * localedata/unicode-gen/PropList.txt: Likewise.
894 * localedata/unicode-gen/UnicodeData.txt: Likewise.
895 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
896 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
897 * localedata/charmaps/UTF-8: Regenerate.
898 * localedata/locales/i18n_ctype: Likewise.
899 * localedata/locales/tr_TR: Likewise.
900 * localedata/locales/translit_circle: Likewise.
901 * localedata/locales/translit_cjk_compat: Likewise.
902 * localedata/locales/translit_combining: Likewise.
903 * localedata/locales/translit_compat: Likewise.
904 * localedata/locales/translit_font: Likewise.
905 * localedata/locales/translit_fraction: Likewise.
907 2019-03-07 Joseph Myers <joseph@codesourcery.com>
909 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
910 than after operators.
911 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
912 (setitimer_locked): Likewise.
913 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
914 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
915 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
916 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
917 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
918 (PPC_CPU_SUPPORTED): Likewise.
919 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
920 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
921 (stat_overflow): Likewise.
922 (statfs_overflow): Likewise.
923 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
924 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
925 (eq_ttyname_r): Likewise.
926 (run_chroot_tests): Likewise.
928 2019-03-07 Florian Weimer <fweimer@redhat.com>
930 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
933 2019-03-07 Martin Liska <mliska@suse.cz>
935 * math/Makefile: Change location where math-vector-fortran.h is
937 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
938 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
939 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
940 * scripts/check-installed-headers.sh: Skip Fortran header files.
941 * scripts/check-wrapper-headers.py: Likewise.
943 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
945 * nptl/nptl-init.c (__have_futex_clock_realtime,
946 __have_futex_clock_realtime): Remove definition.
947 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
948 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
949 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
950 __ASSUME_FUTEX_CLOCK_REALTIME support.
951 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
952 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
953 * sysdeps/unix/sysv/linux/kernel-features.h
954 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
955 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
958 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
960 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
961 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
962 __GI___wcscpy and wcscpy.
964 2019-03-04 Florian Weimer <fweimer@redhat.com>
966 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
968 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
971 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
973 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
974 * sysdeps/s390/s390-32/sysdep.h: Likewise.
976 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
979 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
980 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
982 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
984 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
987 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
988 (do_test_call_varg): Likewise.
989 (do_test_call_rarg): Likewise.
990 * sysdeps/ieee754/ldbl-opt/Makefile
991 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
993 ($(objpfx)tst-nldbl-warn.c): New rule.
994 ($(objpfx)tst-nldbl-error.c): Likewise.
995 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
998 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1001 * include/bits/error-ldbl.h: New file.
1002 * include/error.h: Include stdarg.h. Declare internal functions
1003 __error_internal and __error_at_line_internal.
1004 * misc/Makefile (headers): Add bits/error-ldbl.h.
1005 * misc/bits/error-ldbl.h: New file.
1006 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1007 avoid the inclusion of bits/error.h.
1008 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1009 and __nldbl_error_at_line.
1010 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1011 (__nldbl_error, __ndlbl_error_at_line): New functions.
1012 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1013 Redirect error and error_at_line.
1014 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1023 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1024 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1025 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1027 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1030 * include/bits/err-ldbl.h: New file.
1031 * include/err.h: Add prototypes for the internal functions:
1032 __vwarnx_internal and __vwarn_internal.
1033 * misc/Makefile (headers): Add bits/err-ldbl.h.
1034 * misc/bits/err-ldbl.h: New file.
1035 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1036 defined, i.e.: when -mlong-double-64 is in use.
1037 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1038 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1039 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1040 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1041 (VA_CALL): New macro.
1042 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1043 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1045 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1046 declare prototypes for the new functions.
1047 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1056 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1057 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1058 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1060 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1062 * sysdeps/ieee754/ldbl-opt/Makefile
1063 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1064 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1065 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1067 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1070 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1071 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1072 * argp/bits/argp-ldbl.h: New file.
1073 * include/argp.h: Include stdarg.h. Add prototypes for internal
1074 functions: __argp_error_internal and __argp_failure_internal.
1075 * include/bits/argp-ldbl.h: New file.
1076 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1077 __nldbl_argp_error and __nldbl_argp_failure.
1078 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1079 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1080 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1081 Redirect argp_error and argp_failure calls.
1082 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1091 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1092 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1093 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1095 2019-03-01 Florian Weimer <fweimer@redhat.com>
1098 * elf/tst-big-note-lib.S: Create a syntactically valid note.
1099 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
1100 code, to avoid creating an ABI tag note.
1101 (modules-names-nobuild): Add tst-big-note-lib.
1103 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
1105 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
1106 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
1108 2019-03-01 Florian Weimer <fweimer@redhat.com>
1111 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1112 (__netlink_assert_response): Add additional missing newlines.
1114 2019-02-28 Joseph Myers <joseph@codesourcery.com>
1116 * sysdeps/powerpc/powerpc32/dl-machine.c
1117 (__elf_machine_fixup_plt): Use space before '('.
1118 (__process_machine_rela): Likewise.
1119 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
1121 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
1123 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
1125 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
1126 (pattern): Likewise.
1128 (check_result): Likewise.
1129 (check_excepts): Likewise.
1130 (check_op): Likewise.
1131 (fail_xr): Likewise.
1132 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
1133 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
1135 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
1138 (__makecontext): Likewise.
1139 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
1142 2019-02-28 Florian Weimer <fweimer@redhat.com>
1145 elf: Add test with a local IFUNC resolver.
1146 * elf/ifuncmain9.c: New file.
1147 * elf/ifuncmain9pic.c: Likewise.
1148 * elf/ifuncmain9picstatic.c: Likewise.
1149 * elf/ifuncmain9pie.c: Likewise.
1150 * elf/ifuncmain9static.c: Likewise.
1151 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
1152 ifuncmain9static, ifuncmain9picstatic.
1153 * elf/Makefile [multi-arch && build-shared] (tests-internal):
1154 Add ifuncmain9, ifuncmain9pic.
1155 * elf/Makefile [multi-arch && build-shared && have-fpie]
1156 (ifunc-pie-tests): Add ifuncmain9pie.
1157 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
1158 (CFLAGS-ifuncmain9picstatic.c): Likewise.
1159 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
1161 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1163 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
1164 * configure: Regenerated.
1165 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
1167 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
1170 symbol as __wcspcy instead of wcscpy.
1172 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1174 * include/stdio.h (__renameat2): New hidden prototype.
1175 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
1176 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
1177 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
1178 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
1180 2019-02-27 Joseph Myers <joseph@codesourcery.com>
1182 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
1185 * benchtests/bench-strcpy.c (do_test): Use space before '('.
1186 * benchtests/bench-string.h (cmdline_process_function): Likewise.
1187 * benchtests/bench-strlen.c (do_test): Likewise.
1188 (test_main): Likewise.
1189 * catgets/gencat.c (read_old): Likewise.
1190 * elf/cache.c (load_aux_cache): Likewise.
1191 * iconvdata/bug-iconv8.c (do_test): Likewise.
1192 * math/test-tgmath-ret.c (do_test): Likewise.
1193 * nis/nis_call.c (rec_dirsearch): Likewise.
1194 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1195 * nptl/tst-audit-threads.c (do_test): Likewise.
1196 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
1197 * nss/nss_test1.c (init): Likewise.
1198 * nss/test-netdb.c (test_hosts): Likewise.
1199 * posix/execvpe.c (maybe_script_execute): Likewise.
1200 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1201 * stdio-common/tst-printf.c (do_test): Likewise.
1202 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1203 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1204 * stdlib/qsort.c (STACK_SIZE): Likewise.
1205 * stdlib/test-canon.c (do_test): Likewise.
1206 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1207 * string/memcmp.c (OPSIZ): Likewise.
1208 * string/test-strcpy.c (do_test): Likewise.
1209 (do_random_tests): Likewise.
1210 * string/test-strlen.c (do_test): Likewise.
1211 (test_main): Likewise.
1212 * string/test-strrchr.c (do_test): Likewise.
1213 (do_random_tests): Likewise.
1214 * string/tester.c (test_memrchr): Likewise.
1215 (test_memchr): Likewise.
1216 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1217 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1218 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1219 (read_encoded_value_with_base): Likewise.
1220 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1221 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1222 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1223 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1224 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1225 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1227 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1229 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1230 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1231 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1233 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1235 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1237 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1239 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1240 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1241 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1242 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1243 * time/test_time.c (main): Likewise.
1245 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1247 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1249 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1252 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1255 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1257 * include/wchar.h (__wcscpy): New prototype.
1258 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1259 (__wcscpy): Route internal symbol to generic implementation.
1260 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1261 Add internal __wcscpy alias.
1262 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1263 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1264 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1265 * wcsmbs/wcscpy.c (wcscpy): Add
1266 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1267 use generic implementation.
1268 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1270 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1273 * sysdeps/m68k/wcpcpy.c: Remove file.
1274 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1276 2019-02-26 Joseph Myers <joseph@codesourcery.com>
1278 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
1279 than after operators.
1280 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1281 * sysdeps/mach/hurd/getcwd.c
1282 (__hurd_canonicalize_directory_name_internal): Likewise.
1283 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
1284 (pthread_mutex_consistent): Likewise.
1285 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
1287 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
1288 (__pthread_mutex_transfer_np): Likewise.
1289 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
1290 (__pthread_mutex_unlock): Likewise.
1291 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
1292 (mtx_owned_p): Likewise.
1293 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
1294 (pthread_mutexattr_getrobust): Likewise.
1295 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
1296 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1298 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1299 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1300 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1301 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
1302 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1303 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1304 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
1306 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
1308 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
1309 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
1310 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
1311 (____longjmp_chk): Likewise.
1312 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
1314 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1315 (INTERNAL_SYSCALL): Likewise.
1316 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1317 (INTERNAL_SYSCALL): Likewise.
1318 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1319 (__get_clockfreq_via_cpuinfo): Likewise.
1321 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
1323 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
1324 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
1325 (WORD_COPY_BWD): Likewise.
1326 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1327 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1329 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
1330 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
1332 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1334 2019-02-25 Joseph Myers <joseph@codesourcery.com>
1336 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
1337 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
1338 rather than after operators.
1339 * elf/cache.c (print_cache): Likewise.
1340 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
1341 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
1342 * hurd/hurdinit.c (_hurd_setproc): Likewise.
1343 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
1344 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
1345 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1346 (reauth_proc): Likewise.
1347 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
1348 (__file_name_split_at): Likewise.
1349 (__directory_name_split_at): Likewise.
1350 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1351 * hurd/port2fd.c (_hurd_port2fd): Likewise.
1352 * iconv/gconv_dl.c (do_print): Likewise.
1353 * inet/netinet/in.h (struct sockaddr_in): Likewise.
1354 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
1355 * locale/setlocale.c (new_composite_name): Likewise.
1356 * malloc/memusagestat.c (main): Likewise.
1357 * misc/fstab.c (fstab_convert): Likewise.
1358 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1360 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
1361 (getgrent_next_file): Likewise.
1362 (internal_getgrnam_r): Likewise.
1363 (internal_getgrgid_r): Likewise.
1364 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
1366 (internal_getgrent_r): Likewise.
1367 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1368 (getpwent_next_nss): Likewise.
1369 (getpwent_next_file): Likewise.
1370 (internal_getpwnam_r): Likewise.
1371 (internal_getpwuid_r): Likewise.
1372 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
1374 (getspent_next_nss): Likewise.
1375 (internal_getspnam_r): Likewise.
1376 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1377 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1378 * string/strchr.c (STRCHR): Likewise.
1379 * string/strchrnul.c (STRCHRNUL): Likewise.
1380 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
1381 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1382 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
1383 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
1384 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
1386 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
1387 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1388 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1389 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
1390 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
1391 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1392 (open_file): Likewise.
1393 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
1394 (pthread_mutexattr_setprotocol): Likewise.
1395 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1396 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1397 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1398 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1399 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1401 (elf_machine_rela): Likewise.
1402 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1403 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1404 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
1405 * sysdeps/posix/rename.c (rename): Likewise.
1406 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
1407 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
1408 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
1409 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
1410 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1411 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
1412 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
1414 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
1416 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
1417 * time/tzfile.c (__tzfile_compute): Likewise.
1419 2019-02-22 Joseph Myers <joseph@codesourcery.com>
1421 * benchtests/bench-memmem.c (simple_memmem): Break lines before
1422 rather than after operators.
1423 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
1424 * crypt/md5.c (md5_finish_ctx): Likewise.
1425 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
1426 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
1427 * elf/cache.c (load_aux_cache): Likewise.
1428 * elf/dl-load.c (open_verify): Likewise.
1429 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1430 * elf/readelflib.c (process_elf_file): Likewise.
1431 * elf/rtld.c (dl_main): Likewise.
1432 * elf/sprof.c (generate_call_graph): Likewise.
1433 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
1434 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1435 * hurd/dtable.c (reauth_dtable): Likewise.
1436 * hurd/getdport.c (__getdport): Likewise.
1437 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
1438 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
1439 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
1441 * hurd/hurdioctl.c (fioctl): Likewise.
1442 * hurd/hurdselect.c (_hurd_select): Likewise.
1443 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
1444 (STOPSIGS): Likewise.
1445 * hurd/hurdstartup.c (_hurd_startup): Likewise.
1446 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
1447 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1448 * hurd/msgportdemux.c (msgport_server): Likewise.
1449 * hurd/setauth.c (_hurd_setauth): Likewise.
1450 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
1451 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
1452 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1453 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
1454 * login/tst-utmp.c (do_check): Likewise.
1455 (simulate_login): Likewise.
1456 * mach/lowlevellock.h (lll_lock): Likewise.
1457 (lll_trylock): Likewise.
1458 * math/test-fenv.c (ALL_EXC): Likewise.
1459 * math/test-fenvinline.c (ALL_EXC): Likewise.
1460 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
1461 * nis/nis_call.c (__do_niscall3): Likewise.
1462 * nis/nis_callback.c (cb_prog_1): Likewise.
1463 * nis/nis_defaults.c (searchaccess): Likewise.
1464 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1465 * nis/nis_ismember.c (internal_ismember): Likewise.
1466 * nis/nis_local_names.c (nis_local_principal): Likewise.
1467 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
1468 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
1470 * nis/ypclnt.c (yp_match): Likewise.
1471 (yp_first): Likewise.
1472 (yp_next): Likewise.
1473 (yp_master): Likewise.
1474 (yp_order): Likewise.
1475 * nscd/hstcache.c (cache_addhst): Likewise.
1476 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1477 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
1478 (internal_getpwuid_r): Likewise.
1479 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
1480 * posix/glob.h (__GLOB_FLAGS): Likewise.
1481 * posix/regcomp.c (peek_token): Likewise.
1482 (peek_token_bracket): Likewise.
1483 (parse_expression): Likewise.
1484 * posix/regexec.c (sift_states_iter_mb): Likewise.
1485 (check_node_accept_bytes): Likewise.
1486 * posix/tst-spawn3.c (do_test): Likewise.
1487 * posix/wordexp-test.c (testit): Likewise.
1488 * posix/wordexp.c (parse_tilde): Likewise.
1489 (exec_comm): Likewise.
1490 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
1491 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
1492 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
1493 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
1494 * stdio-common/tst-fileno.c (do_test): Likewise.
1495 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
1496 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
1497 * stdlib/strtod_l.c (round_and_return): Likewise.
1498 (____STRTOF_INTERNAL): Likewise.
1499 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
1500 * string/strcspn.c (STRCSPN): Likewise.
1501 * string/test-memmem.c (simple_memmem): Likewise.
1502 * termios/tcsetattr.c (tcsetattr): Likewise.
1503 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
1504 * time/asctime.c (asctime_internal): Likewise.
1505 * time/strptime_l.c (__strptime_internal): Likewise.
1506 * time/sys/time.h (timercmp): Likewise.
1507 * time/tzfile.c (__tzfile_compute): Likewise.
1509 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
1512 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
1514 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1516 * argp/argp-help.c (__argp_error_internal): New function,
1517 renamed from __argp_error, but that takes a 'mode_flags'
1518 parameter to control the format of long double parameters.
1519 (__argp_error): Converted into a call __argp_error_internal.
1520 (__argp_failure_internal): New function, renamed from
1521 __argp_failure, but that takes a 'mode_flags' parameter.
1522 (__argp_failure): Converted into a call __argp_failure_internal.
1523 * misc/err.c (__vwarnx_internal): New function, renamed from
1524 vwarnx, but that takes a 'mode_flags' parameter.
1525 (vwarnx): Converted into a call to __vwarnx_internal.
1526 (__vwarn_internal): New function, renamed from vwarn, but that
1527 takes a 'mode_flags' parameter.
1528 (vwarn): Converted into a call to __vwarn_internal.
1529 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
1530 call to __vfxprintf with 'mode_flags'.
1531 (__error_internal): New function, renamed from error, but that
1532 takes a 'mode_flags' parameter.
1533 (error): Converted into a call to __error_internal.
1534 (__error_at_line_internal): New function, renamed from
1535 error_at_line, but that takes a 'mode_flags' parameter.
1536 (error_at_line): Converted into a call to
1537 __error_at_line_internal.
1538 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
1539 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
1542 2019-02-20 Martin Liska <mliska@suse.cz>
1544 * math/Makefile: Install math-vector-fortran.h.
1545 * bits/math-vector-fortran.h: New file.
1546 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
1548 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1550 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
1551 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
1553 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
1555 * nptl/pthread_mutex_trylock.c: Fix comment.
1557 2019-02-19 Carlos O'Donell <carlos@redhat.com>
1559 * nptl/pthread_tryjoin.c: Fix comment.
1561 2019-02-18 Joseph Myers <joseph@codesourcery.com>
1564 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
1565 after R_SPARC_H34 case.
1567 2019-02-18 Florian Weimer <fweimer@redhat.com>
1569 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
1570 (getanswer): Do not call Dprintf.
1571 (res_gethostbyname2_context): Likewise.
1572 (res_gethostbyaddr_context): Likewise.
1574 2019-02-18 Florian Weimer <fweimer@redhat.com>
1576 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
1578 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
1580 * libio/stdfiles.c: Update comment.
1581 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
1582 set _IO_stdin, _IO_stdout, _IO_stderr.
1583 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
1584 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
1586 (_IO_deallocate_file): New inline function.
1587 * libio/iolibio.h (_IO_vprintf): Remove definition.
1588 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
1589 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1590 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
1592 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
1593 __builtin_expect. Use _IO_legacy_file.
1595 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
1597 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
1598 Initialize ctid with a known value and remove update of ctid
1600 (wait_tid): Adjust arguments and call futex_wait with ctid_val
1601 as assumed current value of ctid_ptr.
1603 2019-02-16 Florian Weimer <fweimer@redhat.com>
1605 Check that non-sysdeps headers have wrapper headers.
1606 * scripts/check-wrapper-headers.py: New file.
1607 * Makefile (tests-special): Add check-wrapper-headers.out.
1608 (check-wrapper-headers.out): New target.
1609 * Rules (tests-special): Add check-wrapper-headers.out.
1610 (check-wrapper-headers.out): New target.
1612 2019-02-16 Florian Weimer <fweimer@redhat.com>
1614 Add missing header wrappers under include/.
1615 * include/ar.h: New file.
1616 * include/bits/mqueue2.h: Likewise.
1617 * include/bits/stdio.h: Likewise.
1618 * include/bits/stdio2.h: Likewise.
1619 * include/fstab.h: Likewise.
1620 * include/fts.h: Likewise.
1621 * include/lastlog.h: Likewise.
1622 * include/netinet/icmp6.h: Likewise.
1623 * include/netinet/igmp.h: Likewise.
1624 * include/netinet/ip6.h: Likewise.
1625 * include/re_comp.h: Likewise.
1626 * include/regexp.h: Likewise.
1627 * include/rpcsvc/bootparam.h: Likewise.
1628 * include/rpcsvc/yp_prot.h: Likewise.
1629 * include/sys/random.h: Likewise.
1630 * include/sys/stropts.h: Likewise.
1631 * include/sys/ttychars.h: Likewise.
1632 * include/sys/vfs.h: Likewise.
1633 * include/wait.h: Likewise.
1635 2019-02-16 Florian Weimer <fweimer@redhat.com>
1637 * nptl_db/proc_service.h: Move to ...
1638 * sysdeps/nptl/proc_service.h: ... here.
1639 * nptl_db/thread_db.h: Move to ...
1640 * sysdeps/nptl/thread_db.h: ... here.
1641 * nptl/descr.h: Include <thread_db.h>.
1643 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1645 * io/Makefile (tests): Add tst-lockf.
1646 * io/lockf.c (lockf): Use __fcntl and only define for
1647 !__OFF_T_MATCHES_OFF64_T.
1648 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1649 __OFF_T_MATCHES_OFF64_T case.
1650 * io/tst-lockf.c: New file.
1651 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1652 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1653 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1654 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1655 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1657 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1658 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1659 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1661 2019-02-15 Florian Weimer <fweimer@redhat.com>
1664 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1665 pd->result after the thread descriptor has been freed.
1667 2019-02-15 Joseph Myers <joseph@codesourcery.com>
1669 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1670 from function return type.
1672 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1674 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1676 * scripts/test_printers_common.py: Set TERM to a known harmless
1679 2019-02-14 Joseph Myers <joseph@codesourcery.com>
1681 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1682 (xdr_u_int): Likewise.
1683 (xdr_enum): Likewise.
1684 (xdr_bytes): Reword fall-through comment.
1685 (xdr_string): Likewise.
1687 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1690 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1691 (tests): Add tst-join8 tst-join9.
1692 * nptl/lll_timedwait_tid.c: Remove file.
1693 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1694 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1695 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1696 * nptl/pthread_join_common.c (timedwait_tid): New function.
1697 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1699 * nptl/tst-join5.c (thread_join): New function.
1700 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1702 * nptl/tst-join8.c: New file.
1703 * nptl/tst-join9.c: Likewise.
1704 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1705 lll_futex_timed_wait_cancel): Add generic macros.
1706 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1708 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1709 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1710 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1711 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1713 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1715 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1716 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1717 (lll_futex_timed_wait_cancel): New macro.
1719 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1721 * benchtests/Makefile: Add malloc-simple benchmark.
1722 * benchtests/bench-malloc-simple.c: New benchmark.
1724 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1726 * benchtests/bench-memmove.c (do_one_test): Remove unused
1729 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1733 2019-01-13 Jim Wilson <jimw@sifive.com>
1736 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1737 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1739 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1741 * nptl/Makefile (tests): Add tst-unwind-thread.
1742 (CFLAGS-tst-unwind-thread.c): Define.
1743 * nptl/tst-unwind-thread.c: New file.
1744 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1747 2019-02-13 Joseph Myers <joseph@codesourcery.com>
1749 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1751 * nis/nis_call.c (__do_niscall3): Likewise.
1753 * catgets/gencat.c (normalize_line): Use braces around empty
1755 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1756 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1757 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1758 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1759 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1760 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1761 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1764 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1767 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1769 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1770 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1771 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1772 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1773 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1774 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1775 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1776 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1777 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1778 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1779 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1780 * benchtests/bench-bcopy.c: Delete file.
1781 * benchtests/bench-bzero.c: Likewise.
1782 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1783 (simple_memccpy): Remove.
1784 (generic_memccpy): Add function.
1785 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1786 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1787 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1788 (generic_mempcpy): Add new function.
1789 * benchtests/bench-memset.c (simple_bzero): Remove.
1790 (builtin_bzero): Remove.
1791 (builtin_memset): Remove.
1792 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1793 (generic_rawmemchr): Add new function.
1795 2019-02-12 Florian Weimer <fweimer@redhat.com>
1797 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1799 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1802 * elf/Makefile (tests): Add tst-audit13.
1803 (modules-names): Add tst-audit13mod1.
1804 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1806 * elf/tst-audit13.c: New file.
1807 * elf/tst-audit13mod1.c: Likewise.
1809 2019-02-12 Florian Weimer <fweimer@redhat.com>
1812 * elf/rtld.c (unload_audit_module): New function.
1813 (report_audit_module_load_error): Likewise.
1814 (load_audit_module): Likewise. Extracted from dl_main. Call
1815 _dl_close if the laversion symbol cannot be found. Use early
1816 returns for error handling. Add malloc error check. Check for a
1817 zero return value from la_version. Remove spurious comment about
1818 static TLS initialization. Remove useless casts.
1819 (notify_audit_modules_of_loaded_object): New function. Extracted
1821 (load_audit_module): Likewise.
1822 (dl_main): Call load_audit_modules.
1824 2019-02-12 Joseph Myers <joseph@codesourcery.com>
1826 * elf/dl-exception.c (_dl_exception_create_format): Add
1827 fall-through comments.
1828 * elf/ldconfig.c (parse_conf_include): Likewise.
1829 * elf/rtld.c (print_statistics): Likewise.
1830 * locale/programs/charmap.c (parse_charmap): Likewise.
1831 * misc/mntent_r.c (__getmntent_r): Likewise.
1832 * posix/wordexp.c (parse_arith): Likewise.
1833 (parse_backtick): Likewise.
1834 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
1835 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1836 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1838 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
1840 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
1841 Use float instead of double.
1843 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1845 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
1847 2019-02-08 Joseph Myers <joseph@codesourcery.com>
1849 * sysdeps/powerpc/bits/mathinline.h: Remove.
1851 2019-02-08 Florian Weimer <fweimer@redhat.com>
1853 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1854 * math/bits/math-finite.h: Move to ...
1855 * bits/math-finite.h: ... here.
1857 2019-02-08 Florian Weimer <fweimer@redhat.com>
1859 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1860 * bits/unistd_ext.h: here.
1862 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1865 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1866 * nss/tst-nss-files-hosts-long.c: New file.
1867 * nss/tst-nss-files-hosts-long.root: New directory.
1868 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1869 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1871 2019-02-08 Florian Weimer <fweimer@redhat.com>
1873 * include/bits/unistd_ext.h: Remove file.
1874 * posix/bits/unistd_ext.h: Move to ...
1875 * sysdeps/generic/bits/unistd_ext.h: ... here.
1877 2019-02-08 Florian Weimer <fweimer@redhat.com>
1879 * include/bits/unistd_ext.h: New file.
1881 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1883 * time/tst-strftime2.c: Use array_length macros instead of magic
1886 2019-02-08 Florian Weimer <fweimer@redhat.com>
1889 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1891 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1892 locking if the new do_locking argument is true.
1893 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1894 __run_fork_handlers.
1896 2019-02-08 Florian Weimer <fweimer@redhat.com>
1899 Linux: Add gettid system call wrapper.
1900 * posix/Makefile (headers): Add bits/unistd_ext.h.
1901 * posix/bits/unistd_ext.h: New file.
1902 * posix/unistd.h: Include it.
1903 * manual/process.texi (Process Identification): Document gettid.
1904 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1905 tst-gettid, tst-gettid-kill.
1906 (tst-gettid): Link with $(shared-thread-library).
1907 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1908 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1909 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1910 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1911 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1912 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1914 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1916 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1917 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1919 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1921 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1923 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1925 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1927 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1929 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1931 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1932 (GLIBC_2.30): Likewise.
1933 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1934 (GLIBC_2.30): Likewise.
1935 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1936 (GLIBC_2.30): Likewise.
1937 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1938 (GLIBC_2.30): Likewise.
1939 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1942 (GLIBC_2.30): Likewise.
1943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1944 (GLIBC_2.30): Likewise.
1945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1946 (GLIBC_2.30): Likewise.
1947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1948 (GLIBC_2.30): Likewise.
1949 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1951 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1953 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1955 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1956 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1958 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1960 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1962 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1964 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1966 2019-02-08 Florian Weimer <fweimer@redhat.com>
1968 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1969 compatibility symbols.
1971 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
1974 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1975 Add compiler barriers and comments.
1977 2019-02-07 Florian Weimer <fweimer@redhat.com>
1979 * include/array_length.h (array_length): Do not use a statement
1980 expression and _Static_assert, so that array_length can be used at
1981 file scope and as a constant expression.
1983 2019-02-07 Florian Weimer <fweimer@redhat.com>
1985 * support/xdlfcn.h (xdlmopen): Declare.
1986 * support/xdlmopen.c: New file.
1987 * support/Makefile (libsupport-routines): Add xdlmopen.
1989 2019-02-06 Joseph Myers <joseph@codesourcery.com>
1991 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1992 before return type, without separate inline.
1993 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1994 * elf/dl-tunables.h (tunable_is_name): Likewise.
1995 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1996 (do_set_top_pad): Likewise.
1997 (do_set_mmap_threshold): Likewise.
1998 (do_set_mmaps_max): Likewise.
1999 (do_set_mallopt_check): Likewise.
2000 (do_set_perturb_byte): Likewise.
2001 (do_set_arena_test): Likewise.
2002 (do_set_arena_max): Likewise.
2003 (do_set_tcache_max): Likewise.
2004 (do_set_tcache_count): Likewise.
2005 (do_set_tcache_unsorted_limit): Likewise.
2006 * nis/nis_subr.c (count_dots): Likewise.
2007 * nptl/allocatestack.c (advise_stack_range): Likewise.
2008 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2010 (reduce_sincos): Likewise.
2011 (do_sincos): Likewise.
2012 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2013 (do_set_elision_enable): Likewise.
2014 (TUNABLE_CALLBACK_FNDECL): Likewise.
2016 2019-02-06 Florian Weimer <fweimer@redhat.com>
2018 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2019 (xdlsym): Use dlerror to detect a NULL symbol.
2021 2019-02-06 Florian Weimer <fweimer@redhat.com>
2023 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2025 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2027 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2029 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2031 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2033 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2034 __wmemcmp and weak alias to wmemcmp.
2036 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2039 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2040 TLS_TCB_AT_TP tls variant.
2041 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2042 Add alignment checks.
2043 * support/Makefile (libsupport-routines): Add xposix_memalign and
2045 * support/support.h: Add xposix_memalign.
2046 * support/xthread.h: Add xpthread_attr_setstack.
2047 * support/xposix_memalign.c: New File.
2048 * support/xpthread_attr_setstack.c: Likewise.
2050 2019-02-05 Florian Weimer <fweimer@redhat.com>
2053 arm: Use "nr" constraint for Systemtap probes, to avoid the
2054 compiler using memory operands for constants, due to the "o"
2055 alternative in the default "nor" constraint.
2056 * include/stap-probe.h [USE_STAP_PROBE]: Include
2057 <stap-probe-machine.h>
2058 * sysdeps/generic/stap-probe-machine.h: New file.
2059 * sysdeps/arm/stap-probe-machine.h: Likewise.
2061 2019-02-04 Joseph Myers <joseph@codesourcery.com>
2063 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2064 with 0, not tcache->entries[tc_idx].
2066 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2069 2019-02-04 Andreas Schwab <schwab@suse.de>
2073 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2074 looking up collating elements match against (wide) character
2075 sequence instead of name. Correct alignment adjustment.
2076 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2077 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2078 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2079 (LOCALES): Add cs_CZ.ISO-8859-2.
2080 * posix/tst-fnmatch4.c: New file.
2081 * posix/tst-fnmatch5.c: New file.
2082 * include/wchar.h (__wmemcmp): Declare.
2083 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
2084 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2085 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2086 * sysdeps/s390/wmemcmp.c: Likewise.
2088 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
2092 * NEWS: Updated for CVE-2019-7309.
2093 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
2094 upper 32 bits of RDX register for x32. Use unsigned Jcc
2095 instructions, instead of signed.
2096 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
2097 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
2099 2019-02-04 Florian Weimer <fweimer@redhat.com>
2101 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
2102 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
2103 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
2105 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
2106 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
2107 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
2108 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
2110 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
2112 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
2114 (posix_spawn_file_actions_addopen): Likewise.
2115 (posix_spawn_file_actions_addclose): Likewise.
2116 (posix_spawn_file_actions_adddup2): Likewise.
2117 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
2119 (posix_spawn_file_actions_addfchdir_np): Likewise.
2121 2019-02-04 David Newall <glibc@davidnewall.com>
2123 elf: Implement --preload option for the dynamic linker.
2124 * elf/rtld.c (preloadarg): New variable.
2125 (handle_preload_list): Pass through “where” argument to
2127 (dl_main): Handle "--preload" and add second call to
2128 handle_preload_list.
2129 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
2130 (tst-rtld-preload-OBJS): Set variable.
2131 (tst-rtld-preload.out): New target.
2132 * elf/tst-rtld-preload.sh: New file.
2134 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
2136 * Makefile (testrun.sh): Exit in case of incorrect argument.
2138 2019-02-04 Florian Weimer <fweimer@redhat.com>
2140 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
2143 2019-02-03 Florian Weimer <fweimer@redhat.com>
2145 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
2146 implicit overflow checks.
2148 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
2150 * stdlib/isomac.c: Include <unistd.h>.
2152 2019-02-03 Florian Weimer <fweimer@redhat.com>
2154 * include/time.h (__tzfile_default): Use int, not long int, for
2156 * time/tzfile.c (struct ttinfo): Change type of the offset member
2158 (__tzfile_read): Remove useless cast.
2159 (__tzfile_default): Adjust prototype.
2160 * time/tzset.c (tz_rule): Change type of the offset member to int.
2161 (parse_offset): Change the type of the sign variable to int.
2163 2019-02-03 Florian Weimer <fweimer@redhat.com>
2166 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
2167 * libio/getchar.c (getchar): Likewise.
2168 * libio/getchar_u.c (getchar_unlocked): Likewise.
2169 * libio/getwchar.c (getwchar): Likewise.
2170 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2171 * libio/iogets.c (_IO_gets): Likewise.
2172 * libio/vscanf.c (_IO_vscanf): Likewise.
2173 * libio/vwscanf.c (__vwscanf): Likewise.
2174 * libio/tst-bz24153.c: New file.
2175 * libio/Makefile (tests): Add it.
2177 2019-02-02 Florian Weimer <fweimer@redhat.com>
2180 * manual/resource.texi (Basic Scheduling Functions): Add
2181 portability note. Change process to task throughout the section.
2182 Remove incorrect comment about sched_yield as it affects
2183 tasks/threads, not entire processes.
2184 * sysdeps/unix/sysv/linux/bits/posix_opt.h
2185 (_POSIX_PRIORITY_SCHEDULING): Update comment.
2187 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2189 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
2190 * configure: Regenerated.
2191 * manual/install.texi (Tools for Compilation): Update minimum GCC
2193 * INSTALL: Regenerated.
2195 2019-02-01 Florian Weimer <fweimer@redhat.com>
2197 * support/support_test_compare_string.c
2198 (support_test_compare_string): Use "string" in error message.
2199 * support/tst-test_compare_string.c (do_test): Adjust.
2201 2019-02-01 Florian Weimer <fweimer@redhat.com>
2203 * support/support_format_address_family.c
2204 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2206 2019-02-01 Florian Weimer <fweimer@redhat.com>
2208 * manual/socket.texi (Internet Address Formats): Clarify the byte
2209 order of struct sockaddr_in, struct sockaddr_in6. Document
2210 sin6_flowinfo and sin6_scope_id.
2212 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2214 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2215 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2216 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2217 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2218 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2219 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2221 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2223 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2224 [!MEMCHR](MEMCHR): Set to __memchr.
2225 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2226 Add memchr_generic and memchr_nosimd.
2227 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2228 (__libc_ifunc_impl_list): Add memchr ifuncs.
2229 * sysdeps/aarch64/multiarch/memchr.c: New file.
2230 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2231 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2233 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2235 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2237 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2238 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2239 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2240 Add IS_EMAG check for ifunc dispatch.
2241 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2242 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2244 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2246 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2247 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2249 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2252 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
2254 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2256 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
2258 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2259 syscall-template file.
2261 2019-01-31 Carlos O'Donell <carlos@redhat.com>
2262 Torvald Riegel <triegel@redhat.com>
2263 Rik Prohaska <prohaska7@gmail.com>
2266 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2267 tst-rwlock-trywrlock-stall.
2268 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2269 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2270 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2271 Set __wrphase_fute to 1 only if we started the write phase.
2272 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2273 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2274 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2275 * support/xpthread_rwlock_destroy.c: New file.
2276 * support/xthread.h: Declare xpthread_rwlock_destroy.
2278 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2280 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2283 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2286 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
2287 * libio/fileops.c (_IO_new_file_underflow): Likewise
2288 * libio/wfileops.c (_IO_wfile_underflow): Likewise
2289 * libio/putchar.c (putchar): Likewise.
2290 * libio/putchar_u.c (putchar_unlocked): Likewise.
2291 * libio/putwchar.c (putchar): Likewise.
2292 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2293 * libio/tst-bz24051.c: New test.
2294 * libio/Makefile (tests): Add tst-bz24051
2296 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
2299 regex: fix read overrun [BZ #24114]
2300 Problem found by AddressSanitizer, reported by Hongxu Chen in:
2301 https://debbugs.gnu.org/34140
2302 * posix/regexec.c (proceed_next_node):
2303 Do not read past end of input buffer.
2305 2019-01-31 Florian Weimer <fweimer@redhat.com>
2308 * nss/nss_files/files-alias.c (get_next_alias): Handle
2309 continuation line without newline at the end.
2310 * nss/tst-nss-files-alias-truncated.c: New file.
2311 * nss/Makefile [$(build-shared)] (tests): Add
2312 tst-nss-files-alias-truncated.
2313 (tst-nss-files-alias-truncated): Link with libnss_files.so.
2314 * support/namespace.h (struct support_chroot_configuration): Add
2316 (struct support_chroot): Add path_aliases member.
2317 * support/support_chroot.c (support_chroot_create): Handle
2319 (support_chroot_free): Free path_aliases.
2321 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2323 * version.h (RELEASE): Set to "development".
2324 (VERSION): Set to "2.29.9000".
2325 * NEWS: Add section for 2.30.
2327 * version.h (RELEASE): Set to "stable".
2328 (VERSION): Set to "2.29".
2329 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
2331 * NEWS: Add the list of bugs fixed in 2.29.
2332 * manual/contrib.texi: Update contributors list with some more
2334 * manual/install.texi: Update latest versions of packages
2336 * INSTALL: Regenerated.
2338 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2340 * po/be.po: Update translations.
2341 * po/bg.po: Likewise.
2342 * po/ca.po: Likewise.
2343 * po/cs.po: Likewise.
2344 * po/da.po: Likewise.
2345 * po/de.po: Likewise.
2346 * po/el.po: Likewise.
2347 * po/eo.po: Likewise.
2348 * po/es.po: Likewise.
2349 * po/fi.po: Likewise.
2350 * po/fr.po: Likewise.
2351 * po/gl.po: Likewise.
2352 * po/hr.po: Likewise.
2353 * po/hu.po: Likewise.
2354 * po/ia.po: Likewise.
2355 * po/id.po: Likewise.
2356 * po/it.po: Likewise.
2357 * po/ja.po: Likewise.
2358 * po/ko.po: Likewise.
2359 * po/lt.po: Likewise.
2360 * po/nb.po: Likewise.
2361 * po/nl.po: Likewise.
2362 * po/pl.po: Likewise.
2363 * po/pt_BR.po: Likewise.
2364 * po/ru.po: Likewise.
2365 * po/rw.po: Likewise.
2366 * po/sk.po: Likewise.
2367 * po/sl.po: Likewise.
2368 * po/sv.po: Likewise.
2369 * po/tr.po: Likewise.
2370 * po/uk.po: Likewise.
2371 * po/vi.po: Likewise.
2372 * po/zh_CN.po: Likewise.
2373 * po/zh_TW.po: Likewise.
2375 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
2378 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
2379 of $f3 register on $y_is_neg path.
2381 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2384 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
2385 sigaltstack.ss_flags.
2387 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
2390 * manual/time.texi (strftime): Document "%Ey".
2391 * time/strftime_l.c (__strftime_internal): Set the default width
2392 padding with zero of "%Ey" to 2.
2395 * manual/time.texi (strftime): Document "%EC" and "%EY".
2396 * time/Makefile (tests): Add tst-strftime2.
2397 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
2398 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
2399 override padding for "%Ey".
2400 If an optional flag ('_' or '-') is specified to "%EY", interpret the
2401 "%Ey" in the subformat as if decorated with that flag.
2402 * time/tst-strftime2.c: New file.
2404 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2406 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
2410 * elf/Makefile (tests): Add tst-audit13.
2411 (modules-names): Add tst-audit13mod1.
2412 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2414 * elf/rtld.c (dl_main): Handle invalid audit module version.
2415 * elf/tst-audit13.c: New file.
2416 * elf/tst-audit13mod1.c: Likewise.
2418 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2420 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
2421 returned by __hurd_at_flags.
2422 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
2423 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
2424 directly instead of __hurd_file_name_lookup.
2426 2019-01-21 Joseph Myers <joseph@codesourcery.com>
2428 * scripts/build-many-glibcs.py (Context.checkout): Default
2429 binutils version to 2.32 branch.
2431 2019-01-21 Florian Weimer <fweimer@redhat.com>
2435 resolv: Reject trailing characters in host names
2436 * include/arpa/inet.h (__inet_aton_exact): Declare.
2437 (inet_aton): Remove hidden prototype. No longer used internally.
2438 * nscd/gai.c (__inet_aton): Do not define.
2439 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
2440 * nss/digits_dots.c (__inet_aton): Likewise.
2441 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
2442 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
2443 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
2444 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
2445 (tst-resolv-trailing): Likewise.
2446 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
2448 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
2449 Make static. Add endp parameter.
2450 (__inet_aton_exact): New function.
2451 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
2452 (__inet_addr): Call inet_aton_end.
2453 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
2454 not just IPv6. Call __inet_aton_exact.
2455 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
2456 (tests): Make const. Add additional test cases with trailing
2458 (do_test): Use array_length.
2459 * resolv/tst-inet_aton_exact.c: New file.
2460 * resolv/tst-resolv-trailing.c: Likewise.
2461 * resolv/tst-resolv-nondecimal.c: Likewise.
2462 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
2464 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2468 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
2469 Clear the upper 32 bits of RSI register.
2470 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
2471 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
2472 and tst-size_t-wcsnlen.
2473 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
2474 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
2476 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2480 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
2481 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2482 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2483 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
2484 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
2486 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2490 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
2491 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2492 * sysdeps/x86_64/strcmp.S: Likewise.
2493 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
2494 tst-size_t-strncmp and tst-size_t-wcsncmp.
2495 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
2496 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
2497 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
2499 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2503 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
2504 RDX_LP for length. Clear the upper 32 bits of RDX register.
2505 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
2506 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
2507 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
2508 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
2510 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2514 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
2515 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
2516 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
2517 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
2519 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2523 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
2524 length. Clear the upper 32 bits of RDX register.
2525 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2526 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2528 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2530 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
2532 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
2534 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2538 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
2539 length. Clear the upper 32 bits of RDX register.
2540 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2541 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2542 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
2544 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
2545 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
2547 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2551 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
2552 upper 32 bits of RDX register.
2553 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2554 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
2556 * sysdeps/x86_64/x32/test-size_t.h: New file.
2557 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
2558 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
2560 2019-01-18 Florian Weimer <fweimer@redhat.com>
2563 resolv: Do not send queries for non-host-names in nss_dns.
2564 * resolv/nss_dns/dns-host.c (check_name): New function.
2565 (_nss_dns_gethostbyname2_r): Use it.
2566 (_nss_dns_gethostbyname_r): Likewise.
2567 (_nss_dns_gethostbyname4_r): Likewise.
2569 2019-01-21 Florian Weimer <fweimer@redhat.com>
2571 * resolv/inet_addr.c: Reformat to GNU style.
2572 (__inet_addr, __inet_aton): Update comment.
2574 2019-01-18 Florian Weimer <fweimer@redhat.com>
2576 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
2577 ("malloc: Use current (C11-style) atomics for fastbin access").
2578 This commit introduces a substantial performance regression on
2580 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
2581 (REMOVE_FB): Define.
2582 (_int_malloc): Use it and reindent.
2583 (_int_free): Use CAS loop with
2584 catomic_compare_and_exchange_val_rel.
2585 (malloc_consolidate): Use atomic_exchange_acq.
2588 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
2590 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
2592 (LDFLAGS-tst-minsigstksz-2): Likewise.
2593 (LDFLAGS-tst-minsigstksz-3): Likewise.
2594 (LDFLAGS-tst-minsigstksz-3a): Likewise.
2595 (LDFLAGS-tst-minsigstksz-4): Likewise.
2597 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
2599 * manual/time.texi (strftime): Fix the wording to "alternative" rather
2602 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
2604 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
2606 2019-01-16 Zack Weinberg <zackw@panix.com>
2608 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
2609 (xget_sigstack_location): New test support functions.
2610 * support/xsigstack.c: New file, implementing them.
2611 * support/tst-xsigstack.c: New test for them.
2612 * support/Makefile: Update.
2614 * signal/tst-minsigstksz-1.c
2615 * signal/tst-minsigstksz-2.c
2616 * signal/tst-minsigstksz-3.c
2617 * signal/tst-minsigstksz-3a.c
2618 * signal/tst-minsigstksz-4.c: New tests.
2619 * signal/Makefile: Run them.
2621 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2623 * po/libc.pot: Regenerate.
2625 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2627 * math/libm-test-fma.inc (fma_test_data): Set
2628 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
2630 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2632 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
2633 (do_test): Changed __vector __int128_t to __vector unsigned int.
2635 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2638 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
2639 stpcpy-avx2 and stpncpy-avx2.
2640 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2641 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2642 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2644 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2645 ifunc-strcpy.h}: rename header for a more generic name.
2646 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2647 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2648 AVX unaligned load is fast and vzeroupper is preferred.
2649 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2650 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2651 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2652 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2653 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2654 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2656 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2658 * argp/argp-help.c: Fix typo in comment.
2659 * misc/sys/cdefs.h: Likewise.
2660 * posix/regexec.c (sift_states_iter_mb): Likewise.
2661 * socket/sockatmark.c: Likewise.
2662 * socket/sys/socket.h: Likewise.
2663 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2664 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2665 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2666 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2667 * sysdeps/unix/sockatmark.c: Likewise.
2668 * time/strptime_l.c: Likewise.
2670 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2672 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2673 missing space after the cast of "_NL_CURRENT".
2675 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2677 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2678 ifdef to fix read of VSCR.
2679 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2680 tst-ucontext-ppc64-vscr.c to test list.
2681 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2683 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2685 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2688 2019-01-09 Jim Wilson <jimw@sifive.com>
2690 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2692 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2694 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2695 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2696 __memcpy_falkor for ares.
2697 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2699 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2702 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2705 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2706 4_FP_W_TYPEs are used for IEEE quad precision.
2707 * soft-fp/extendhftf2.c: Likewise.
2708 * soft-fp/extendsftf2.c: Likewise.
2709 * soft-fp/extendxftf2.c: Likewise.
2710 * soft-fp/trunctfdf2.c: Likewise.
2711 * soft-fp/trunctfhf2.c: Likewise.
2712 * soft-fp/trunctfsf2.c: Likewise.
2713 * soft-fp/trunctfxf2.c: Likewise.
2714 * sysdeps/alpha/ots_cvttx.c: Likewise.
2715 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2716 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2717 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2718 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2719 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2720 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2721 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2722 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2723 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2724 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2725 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2726 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2727 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2728 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2729 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2730 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2731 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2733 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2736 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2737 code with -fmath-errno.
2738 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2739 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2740 * string/test-strerror-errno.c: New file.
2742 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2745 * localedata/locales/en_US (date_fmt): Add, set to
2746 "%a %d %b %Y %r %Z".
2748 2019-01-07 Florian Weimer <fweimer@redhat.com>
2751 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2752 instead of @var{errno}.
2753 (Parsing of Integers): Likewise.
2754 (Parsing of Floats): Likewise.
2755 * manual/filesys.texi (Working with Directory Trees): Likewise.
2756 (Temporary Files): Likewise.
2757 * manual/job.texi (Terminal Access Functions): Likewise.
2758 * manual/llio.texi (Synchronizing I/O): Likewise.
2759 * manual/math.texi (SVID Random): Likewise.
2760 * manual/message.texi (The catgets Functions): Likewise.
2761 (Translation with gettext): Likewise.
2762 (Locating gettext catalog): Likewise.
2763 (Charset conversion in gettext): Likewise.
2764 * manual/nss.texi (NSS Module Function Internals): Likewise.
2765 * manual/search.texi (Hash Search Function): Likewise.
2766 * manual/setjmp.texi (System V contexts): Likewise.
2767 * manual/time.texi (Sleeping): Likewise.
2768 * manual/users.texi (Lookup User): Likewise.
2769 (Lookup Group): Likewise.
2771 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2773 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2776 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
2779 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2780 __builtin_unreachable for default case in switch.
2781 (__ieee754_yn): Likewise.
2782 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2783 (__ieee754_ynl): Likewise.
2784 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2785 (__ieee754_ynl): Likewise.
2786 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2787 (__ieee754_ynl): Likewise.
2789 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2791 * manual/maint.texi: Use @{ and @}.
2793 2019-01-04 Florian Weimer <fweimer@redhat.com>
2795 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2797 (do_in_chroot_1): Call it.
2799 Improve error reporting in case it is not possible to create a
2800 collision for the PTY name required by the test.
2802 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2804 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2805 lll_wait_tid with timeout.
2806 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2807 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2808 futex_reltimed_wait_cancelable for cancelabla mode.
2809 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2810 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2812 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2813 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2814 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2815 SYSCALL_CANCEL_NCS): New macro.
2816 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2817 (lll_timedwait_tid): Remove macro.
2818 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2820 (lll_timedwait_tid): Likewise.
2821 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
2823 (lll_timedwait_tid): Likewise.
2824 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
2826 (lll_timedwait_tid): Likewise.
2827 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
2828 Use INTERNAL_SYSCALL_CANCEL.
2829 * sysdeps/unix/sysv/linux/futex-internal.h
2830 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
2831 instead of __pthread_{enable,disable}_asynccancel.
2832 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2833 (lll_futex_wait_cancel): New macro.
2835 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2836 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2838 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2839 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2841 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
2842 in backtrace analysis.
2843 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
2845 (tf_send): Likewise.
2847 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
2848 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
2849 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
2850 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
2851 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2852 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2853 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2854 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2855 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2856 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2857 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2858 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2860 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2861 tst-cancel-wrappers.sh.
2862 (generated): Remove tst-cancel-wrappers.out.
2863 (tst-cancel-wrappers.out): Remove rule.
2864 * nptl/tst-cancel-wrappers.sh: Remove file.
2866 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2868 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2869 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2872 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2875 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2876 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2877 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2878 close-on-exec reset for adddup2 file action.
2879 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2881 2019-01-03 Zack Weinberg <zackw@panix.com>
2883 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2884 parameter. Only use deprecated scanf when __USE_GNU is defined
2885 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2886 than 201103L, whichever is relevant for the language being compiled.
2888 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2889 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2890 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2891 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2892 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2896 * libio/iovswscanf.c
2901 * stdio-common/fscanf.c
2902 * stdio-common/scanf.c
2903 * stdio-common/vfscanf.c
2904 * stdio-common/vfwscanf.c
2905 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2906 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2907 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2908 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2909 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2910 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2911 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2912 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2913 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2914 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2915 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2916 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2917 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2918 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2919 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2921 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2922 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2923 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2925 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2926 with a preprocessor macro.
2928 * stdio-common/bug21.c, stdio-common/scanf14.c:
2929 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2930 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2931 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2932 to xscanf, xfscanf, xsscanf.
2934 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2935 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2936 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2937 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2939 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2940 override feature selection macros or provide definitions of u_char etc.
2941 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2942 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2943 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2946 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2948 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2949 bits/termios-misc.h.
2950 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2951 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2952 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2953 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2954 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2955 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2957 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2958 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2959 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2960 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2961 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2962 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2964 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2965 (sysdep_headers): Add termios-misc.h.
2967 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2968 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2969 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2971 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2973 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2974 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2975 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2976 TCSAFLUSH): Move to termios-tcflow.h.
2977 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2978 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2979 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2980 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2984 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2985 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2986 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2987 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2988 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2989 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2990 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2991 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2993 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2994 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2995 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2996 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3000 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3001 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3002 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3003 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3004 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3006 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3007 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3008 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3009 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3012 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3014 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3015 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3016 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3017 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3018 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3019 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3020 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3021 __MAX_BAUD): Move to termios-baud.h.
3022 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3023 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3024 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3025 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3026 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3028 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3030 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3031 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3032 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3033 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3034 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3035 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3037 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3038 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3040 [USE_MISC] (XTABS): Likewise.
3041 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3042 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3043 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3044 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3046 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3048 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3049 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3050 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3051 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3052 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3053 IUTF8): Move to termios-c_iflag.h.
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 (sysdeps_headers): Add
3061 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3062 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3063 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3064 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3065 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3066 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3067 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3068 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3069 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3070 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3071 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3072 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3074 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3075 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3076 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3077 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3078 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3080 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3082 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
3084 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
3086 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
3088 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
3090 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
3091 _HAVE_C_OSPEED): Define.
3092 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
3093 _HAVE_C_OSPEED): Likewise.
3094 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
3095 _HAVE_C_OSPEED): Likewise.
3096 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
3097 (cfsetospeed): Check for define value instead of existence.
3098 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
3099 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3100 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
3101 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3102 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
3105 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
3107 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3108 (TIOCSER_TEMT): Likewise.
3109 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
3110 (TEOCSER_TEMT): Likewise.
3112 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
3115 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
3117 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3119 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3121 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3123 * sysdeps/htl/pt-barrierattr-setpshared.c
3124 (pthread_barrierattr_setpshared): Add stub warning.
3125 * sysdeps/htl/pt-condattr-setpshared.c
3126 (pthread_condattr_setpshared): Likewise.
3127 * sysdeps/htl/pt-mutexattr-setpshared.c
3128 (pthread_mutexattr_setpshared): Likewise.
3129 * sysdeps/htl/pt-rwlockattr-setpshared.c
3130 (pthread_rwlockattr_setpshared): Likewise.
3131 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
3132 (pthread_mutexattr_setpshared): Likewise.
3134 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3136 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
3137 constants to match with Linux 4.20.
3139 * sysdeps/mips/mips32/libm-test-ulps: Update.
3140 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3142 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
3145 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
3146 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
3147 than __typeof (...) for the a_ptr variable.
3149 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3151 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
3152 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
3153 * libio/Makefile (tests): Add tst-sprintf-ub and
3155 (CFLAGS-tst-sprintf-ub.c): New variable.
3156 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
3157 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
3158 destination buffer and check for overflows in fortified mode.
3159 * libio/libioP.h (PRINTF_CHK): New macro.
3160 * libio/tst-sprintf-chk-ub.c: New file.
3161 * libio/tst-sprintf-ub.c: Likewise.
3163 2019-01-02 Florian Weimer <fweimer@redhat.com>
3166 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
3169 2019-01-02 Florian Weimer <fweimer@redhat.com>
3171 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
3173 2019-01-01 Joseph Myers <joseph@codesourcery.com>
3175 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
3178 * sysdeps/unix/sysv/linux/netpacket/packet.h
3179 (PACKET_IGNORE_OUTGOING): New macro.
3181 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
3184 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3186 (riscv_flush_icache): New syscall.
3188 * manual/texinfo.tex: Update to version 2018-12-28.17 with
3189 trailing whitespace removed.
3190 * scripts/config.guess: Update to version 2019-01-01.
3191 * scripts/config.sub: Update to version 2019-01-01.
3192 * scripts/move-if-change: Update from gnulib.
3194 * NEWS: Update copyright dates.
3195 * catgets/gencat.c (print_version): Likewise.
3196 * csu/version.c (banner): Likewise.
3197 * debug/catchsegv.sh: Likewise.
3198 * debug/pcprofiledump.c (print_version): Likewise.
3199 * debug/xtrace.sh (do_version): Likewise.
3200 * elf/ldconfig.c (print_version): Likewise.
3201 * elf/ldd.bash.in: Likewise.
3202 * elf/pldd.c (print_version): Likewise.
3203 * elf/sotruss.sh: Likewise.
3204 * elf/sprof.c (print_version): Likewise.
3205 * iconv/iconv_prog.c (print_version): Likewise.
3206 * iconv/iconvconfig.c (print_version): Likewise.
3207 * locale/programs/locale.c (print_version): Likewise.
3208 * locale/programs/localedef.c (print_version): Likewise.
3209 * login/programs/pt_chown.c (print_version): Likewise.
3210 * malloc/memusage.sh (do_version): Likewise.
3211 * malloc/memusagestat.c (print_version): Likewise.
3212 * malloc/mtrace.pl: Likewise.
3213 * manual/libc.texinfo: Likewise.
3214 * nptl/version.c (banner): Likewise.
3215 * nscd/nscd.c (print_version): Likewise.
3216 * nss/getent.c (print_version): Likewise.
3217 * nss/makedb.c (print_version): Likewise.
3218 * posix/getconf.c (main): Likewise.
3219 * scripts/test-installation.pl: Likewise.
3220 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3222 * All files with FSF copyright notices: Update copyright dates
3223 using scripts/update-copyrights.
3224 * locale/programs/charmap-kw.h: Regenerated.
3225 * locale/programs/locfile-kw.h: Likewise.
3227 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3229 * timezone/zdump.c: Update from tzcode 2018i.
3230 * timezone/zic.c: Likewise.
3232 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3234 regex: improve Gnulib port to AIX
3235 From the glibc point of view, this removes duplicate macro
3236 definitions and is obviously safe.
3237 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3238 * posix/regex_internal.h:
3239 (__attribute__, __attribute_warn_unused_result__):
3240 Remove; already defined elsewhere.
3242 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
3245 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3246 copying operation. (ncopies had the wrong type, resulting in an
3247 integer wraparound and too few elements being copied.)
3249 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3252 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3253 <asm/syscalls.h> exists with __has_include__ before including it.
3255 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3257 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3260 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
3262 * hurd/lookup-retry: Include <unistd.h>.
3263 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3264 Release it on return. Handle "pid" magical lookup retry.
3266 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3269 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3270 (t_fmt_ampm): Likewise.
3271 * localedata/locales/aa_ER (t_fmt): Likewise.
3272 (t_fmt_ampm): Likewise.
3273 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3274 (t_fmt_ampm): Likewise.
3275 * localedata/locales/aa_ET (t_fmt): Likewise.
3276 (t_fmt_ampm): Likewise.
3277 * localedata/locales/am_ET (t_fmt): Likewise.
3278 (t_fmt_ampm): Likewise.
3279 * localedata/locales/byn_ER (t_fmt): Likewise.
3280 (t_fmt_ampm): Likewise.
3281 * localedata/locales/om_ET (t_fmt): Likewise.
3282 (t_fmt_ampm): Likewise.
3283 * localedata/locales/sid_ET (t_fmt): Likewise.
3284 (t_fmt_ampm): Likewise.
3285 * localedata/locales/so_DJ (t_fmt): Likewise.
3286 (t_fmt_ampm): Likewise.
3287 * localedata/locales/so_ET (t_fmt): Likewise.
3288 (t_fmt_ampm): Likewise.
3289 * localedata/locales/so_SO (t_fmt): Likewise.
3290 (t_fmt_ampm): Likewise.
3291 * localedata/locales/ti_ER (t_fmt): Likewise.
3292 (t_fmt_ampm): Likewise.
3293 * localedata/locales/ti_ET (t_fmt): Likewise.
3294 (t_fmt_ampm): Likewise.
3295 * localedata/locales/tig_ER (t_fmt): Likewise.
3296 (t_fmt_ampm): Likewise.
3297 * localedata/locales/wal_ET (t_fmt): Likewise.
3298 (t_fmt_ampm): Likewise.
3300 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
3301 * localedata/locales/ar_IN (t_fmt): Likewise.
3302 * localedata/locales/bhb_IN (t_fmt): Likewise.
3303 * localedata/locales/bho_IN (t_fmt): Likewise.
3304 * localedata/locales/bi_VU (t_fmt): Likewise.
3305 * localedata/locales/bn_BD (t_fmt): Likewise.
3306 * localedata/locales/bn_IN (t_fmt): Likewise.
3307 * localedata/locales/brx_IN (t_fmt): Likewise.
3308 * localedata/locales/doi_IN (t_fmt): Likewise.
3309 * localedata/locales/en_HK (t_fmt): Likewise.
3310 (t_fmt_ampm): Likewise.
3311 * localedata/locales/en_IN (t_fmt): Likewise.
3312 * localedata/locales/en_PH (t_fmt): Likewise.
3313 * localedata/locales/gu_IN (t_fmt): Likewise.
3314 * localedata/locales/hi_IN (t_fmt): Likewise.
3315 * localedata/locales/hif_FJ (t_fmt): Likewise.
3316 * localedata/locales/hne_IN (t_fmt): Likewise.
3317 * localedata/locales/kn_IN (t_fmt): Likewise.
3318 * localedata/locales/kok_IN (t_fmt): Likewise.
3319 * localedata/locales/ks_IN (t_fmt): Likewise.
3320 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
3321 * localedata/locales/mag_IN (t_fmt): Likewise.
3322 * localedata/locales/mai_IN (t_fmt): Likewise.
3323 * localedata/locales/mjw_IN (t_fmt): Likewise.
3324 * localedata/locales/ml_IN (t_fmt): Likewise.
3325 * localedata/locales/mni_IN (t_fmt): Likewise.
3326 * localedata/locales/mr_IN (t_fmt): Likewise.
3327 * localedata/locales/ms_MY (t_fmt): Likewise.
3328 * localedata/locales/pa_IN (t_fmt): Likewise.
3329 * localedata/locales/raj_IN (t_fmt): Likewise.
3330 * localedata/locales/sa_IN (t_fmt): Likewise.
3331 * localedata/locales/sat_IN (t_fmt): Likewise.
3332 * localedata/locales/sd_IN (t_fmt): Likewise.
3333 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
3334 * localedata/locales/tcy_IN (t_fmt): Likewise.
3335 * localedata/locales/the_NP (t_fmt): Likewise.
3336 * localedata/locales/to_TO (t_fmt): Likewise.
3337 * localedata/locales/ur_IN (t_fmt): Likewise.
3339 * localedata/locales/hif_FJ (d_t_fmt): Set to
3340 "%A %d %b %Y %I:%M:%S %p".
3341 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
3343 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
3344 * localedata/locales/ar_BH (t_fmt): Likewise.
3345 * localedata/locales/ar_DZ (t_fmt): Likewise.
3346 * localedata/locales/ar_EG (t_fmt): Likewise.
3347 * localedata/locales/ar_IQ (t_fmt): Likewise.
3348 * localedata/locales/ar_JO (t_fmt): Likewise.
3349 * localedata/locales/ar_KW (t_fmt): Likewise.
3350 * localedata/locales/ar_LB (t_fmt): Likewise.
3351 * localedata/locales/ar_LY (t_fmt): Likewise.
3352 * localedata/locales/ar_OM (t_fmt): Likewise.
3353 * localedata/locales/ar_QA (t_fmt): Likewise.
3354 * localedata/locales/ar_SD (t_fmt): Likewise.
3355 * localedata/locales/ar_SS (t_fmt): Likewise.
3356 * localedata/locales/ar_SY (t_fmt): Likewise.
3357 * localedata/locales/ar_TN (t_fmt): Likewise.
3358 * localedata/locales/ar_YE (t_fmt): Likewise.
3360 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
3361 (t_fmt_ampm): Likewise.
3362 * localedata/locales/gez_ET (t_fmt): Likewise.
3363 (t_fmt_ampm): Likewise.
3365 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
3366 (t_fmt_ampm): Likewise.
3367 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
3369 * localedata/locales/zh_HK (t_fmt):
3370 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
3372 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
3373 because this locale does not use the 12-hour clock.
3374 (t_fmt): Set to "%Z %H:%M:%S".
3375 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
3377 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
3378 because this locale does not use the 12-hour clock.
3379 (t_fmt): Set to "%H:%M:%S %Z".
3380 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
3382 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
3383 because this locale does not use the 12-hour clock.
3384 (t_fmt): Set to "%T".
3385 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
3386 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
3388 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
3389 because this locale does not use the 12-hour clock.
3390 (t_fmt): Set to "%H:%M:%S %Z".
3391 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
3393 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
3394 because this locale does not use the 12-hour clock.
3395 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
3396 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
3398 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3402 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
3403 (t_fmt_ampm): Likewise.
3404 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
3405 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
3406 (d_fmt): Set to "%-d.%-m.%y".
3408 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3410 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
3411 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
3412 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
3414 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
3415 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
3416 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
3418 * support/blob_repeat.c (check_mul_overflow_size_t,
3419 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
3421 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
3423 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
3425 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
3427 regex: simplify Gnulib port
3428 This simplifies the code, by removing stuff intended for porting
3429 to Gnulib but no longer needed there.
3430 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
3431 uses of libc_hidden_def, weak_alias.
3432 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
3433 _Restrict_ except for public-facing headers.
3434 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
3435 Remove; already defined elsewhere.
3436 * posix/regex.c, posix/regex_internal.h:
3437 Use __GNUC_PREREQ instead of rolling our own.
3438 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
3440 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
3442 * benchtests/bench-strlen.c (generic_strlen): New function.
3443 (memchr_strlen): New function.
3445 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3447 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
3448 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3449 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
3451 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3453 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3455 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3457 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
3458 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
3459 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
3460 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
3461 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
3462 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
3463 <sysdeps/ieee754/flt-32/s_sincosf.c>.
3465 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3468 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
3469 PLT reference in libc.so.
3470 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
3471 _Q_lltoq and _Q_qtod PLT references in libc.so.
3473 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
3475 * benchtests/bench-memchr.c: Cleanup defines.
3476 * benchtests/bench-memcmp.c: Likewise.
3477 * benchtests/bench-memset.c: Likewise.
3478 * benchtests/bench-memset-large.c: Likewise.
3479 * benchtests/bench-memset-walk.c: Likewise.
3480 * benchtests/bench-stpcpy.c: Likewise.
3481 * benchtests/bench-stpncpy.c: Likewise.
3482 * benchtests/bench-strcat.c: Likewise.
3483 * benchtests/bench-strchr.c: Likewise.
3484 * benchtests/bench-strcmp.c: Likewise.
3485 * benchtests/bench-strcpy.c: Likewise.
3486 * benchtests/bench-strcspn.c: Likewise.
3487 * benchtests/bench-string.h: Likewise.
3488 * benchtests/bench-strlen.c: Likewise.
3489 * benchtests/bench-strncat.c: Likewise.
3490 * benchtests/bench-strncmp.c: Likewise.
3491 * benchtests/bench-strncpy.c: Likewise.
3492 * benchtests/bench-strnlen.c: Likewise.
3493 * benchtests/bench-strpbrk.c: Likewise.
3494 * benchtests/bench-strrchr.c: Likewise.
3495 * benchtests/bench-strspn.c: Likewise.
3497 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3499 * stdlib/longlong.h: Update from GCC.
3502 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
3503 * configure: Regenerated.
3504 * manual/install.texi (Tools for Compilation): Update minimum GCC
3506 * INSTALL: Regenerated.
3508 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
3510 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
3512 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
3514 * malloc/malloc.c (mremap_chunk): Additional checks.
3516 2018-12-21 Mao Han <han_mao@c-sky.com>
3518 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
3519 * scripts/build-many-glibcs.py: Add C-SKY targets.
3520 * sysdeps/csky/Implies: New file.
3521 * sysdeps/csky/Makefile: Likewise.
3522 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
3523 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
3524 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
3525 * sysdeps/csky/abiv2/memcmp.S: Likewise.
3526 * sysdeps/csky/abiv2/memcpy.S: Likewise.
3527 * sysdeps/csky/abiv2/memmove.S: Likewise.
3528 * sysdeps/csky/abiv2/memset.S: Likewise.
3529 * sysdeps/csky/abiv2/setjmp.S: Likewise.
3530 * sysdeps/csky/abiv2/start.S: Likewise.
3531 * sysdeps/csky/abiv2/strcmp.S: Likewise.
3532 * sysdeps/csky/abiv2/strcpy.S: Likewise.
3533 * sysdeps/csky/abiv2/strlen.S: Likewise.
3534 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
3535 * sysdeps/csky/abort-instr.h: Likewise.
3536 * sysdeps/csky/atomic-machine.h: Likewise.
3537 * sysdeps/csky/bits/endian.h: Likewise.
3538 * sysdeps/csky/bits/fenv.h: Likewise.
3539 * sysdeps/csky/bits/link.h: Likewise.
3540 * sysdeps/csky/bits/setjmp.h: Likewise.
3541 * sysdeps/csky/bsd-_setjmp.S: Likewise.
3542 * sysdeps/csky/bsd-setjmp.S: Likewise.
3543 * sysdeps/csky/configure: Likewise.
3544 * sysdeps/csky/configure.ac: Likewise.
3545 * sysdeps/csky/dl-machine.h: Likewise.
3546 * sysdeps/csky/dl-procinfo.c: Likewise.
3547 * sysdeps/csky/dl-procinfo.h: Likewise.
3548 * sysdeps/csky/dl-sysdep.h: Likewise.
3549 * sysdeps/csky/dl-tls.h: Likewise.
3550 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
3551 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
3552 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
3553 * sysdeps/csky/fpu/fegetenv.c: Likewise.
3554 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
3555 * sysdeps/csky/fpu/fegetmode.c: Likewise.
3556 * sysdeps/csky/fpu/fegetround.c: Likewise.
3557 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
3558 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
3559 * sysdeps/csky/fpu/fenv_private.h: Likewise.
3560 * sysdeps/csky/fpu/fesetenv.c: Likewise.
3561 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
3562 * sysdeps/csky/fpu/fesetmode.c: Likewise.
3563 * sysdeps/csky/fpu/fesetround.c: Likewise.
3564 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
3565 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
3566 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
3567 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
3568 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
3569 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
3570 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
3571 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
3572 * sysdeps/csky/fpu_control.h: Likewise.
3573 * sysdeps/csky/gccframe.h: Likewise.
3574 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
3575 * sysdeps/csky/ldsodefs.h: Likewise.
3576 * sysdeps/csky/libc-tls.c: Likewise.
3577 * sysdeps/csky/linkmap.h: Likewise.
3578 * sysdeps/csky/machine-gmon.h: Likewise.
3579 * sysdeps/csky/memusage.h: Likewise.
3580 * sysdeps/csky/nofpu/Implies: Likewise.
3581 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
3582 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
3583 * sysdeps/csky/nptl/Makefile: Likewise.
3584 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
3585 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
3586 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
3587 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
3588 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
3589 * sysdeps/csky/nptl/tls.h: Likewise.
3590 * sysdeps/csky/preconfigure: Likewise.
3591 * sysdeps/csky/sfp-machine.h: Likewise.
3592 * sysdeps/csky/sotruss-lib.c: Likewise.
3593 * sysdeps/csky/stackinfo.h: Likewise.
3594 * sysdeps/csky/sysdep.h: Likewise.
3595 * sysdeps/csky/tininess.h: Likewise.
3596 * sysdeps/csky/tst-audit.h: Likewise.
3597 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
3598 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
3599 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
3600 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
3601 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3602 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
3603 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3604 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
3605 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
3606 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
3607 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
3608 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
3609 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
3610 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
3611 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
3612 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
3613 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
3614 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
3615 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
3616 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
3617 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
3618 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
3619 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
3620 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3621 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
3622 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
3623 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
3624 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
3625 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
3626 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
3627 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
3628 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
3629 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
3630 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
3631 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
3632 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3633 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
3634 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
3635 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
3636 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
3637 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
3638 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
3639 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3640 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3642 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3644 * include/time.h (__difftime64): Add.
3645 * time/difftime.c (subtract): convert to 64-bit time.
3646 * time/difftime.c (__difftime64): Add.
3647 * time/difftime.c (__difftime): Wrap around __difftime64.
3649 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3651 * manual/examples/add.c: Remove redundant "if not".
3652 * manual/examples/argp-ex1.c: Likewise.
3653 * manual/examples/argp-ex2.c: Likewise.
3654 * manual/examples/argp-ex3.c: Likewise.
3655 * manual/examples/argp-ex4.c: Likewise.
3656 * manual/examples/atexit.c: Likewise.
3657 * manual/examples/db.c: Likewise.
3658 * manual/examples/dir.c: Likewise.
3659 * manual/examples/dir2.c: Likewise.
3660 * manual/examples/execinfo.c: Likewise.
3661 * manual/examples/filecli.c: Likewise.
3662 * manual/examples/filesrv.c: Likewise.
3663 * manual/examples/fmtmsgexpl.c: Likewise.
3664 * manual/examples/genpass.c: Likewise.
3665 * manual/examples/inetcli.c: Likewise.
3666 * manual/examples/inetsrv.c: Likewise.
3667 * manual/examples/isockad.c: Likewise.
3668 * manual/examples/longopt.c: Likewise.
3669 * manual/examples/memopen.c: Likewise.
3670 * manual/examples/memstrm.c: Likewise.
3671 * manual/examples/mkdirent.c: Likewise.
3672 * manual/examples/mkfsock.c: Likewise.
3673 * manual/examples/mkisock.c: Likewise.
3674 * manual/examples/mygetpass.c: Likewise.
3675 * manual/examples/pipe.c: Likewise.
3676 * manual/examples/popen.c: Likewise.
3677 * manual/examples/rprintf.c: Likewise.
3678 * manual/examples/search.c: Likewise.
3679 * manual/examples/select.c: Likewise.
3680 * manual/examples/setjmp.c: Likewise.
3681 * manual/examples/sigh1.c: Likewise.
3682 * manual/examples/sigusr.c: Likewise.
3683 * manual/examples/stpcpy.c: Likewise.
3684 * manual/examples/strdupa.c: Likewise.
3685 * manual/examples/strftim.c: Likewise.
3686 * manual/examples/subopt.c: Likewise.
3687 * manual/examples/swapcontext.c: Likewise.
3688 * manual/examples/termios.c: Likewise.
3689 * manual/examples/testopt.c: Likewise.
3690 * manual/examples/testpass.c: Likewise.
3691 * manual/examples/timeval_subtract.c: Likewise.
3693 2018-12-19 Joseph Myers <joseph@codesourcery.com>
3695 * sysdeps/x86/fpu/math_private.h: New file.
3696 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3698 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3703 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3705 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3706 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3707 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3708 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3710 (_dl_show_auxv): Give a special treatment to
3711 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3712 and AT_L3_CACHEGEOMETRY.
3713 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3714 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3715 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3716 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3718 2018-12-19 Andreas Schwab <schwab@suse.de>
3720 * nscd/connections.c (check_use): Don't abort on invalid len.
3722 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3724 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3725 values in the 64bit value cases.
3727 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3733 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3739 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3742 (__gmtime64_r): Add.
3744 (__gmtime64_r): Add.
3745 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3751 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3754 (__localtime64_r): Add.
3756 (__localtime64_r): Add.
3757 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3759 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3761 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3762 kernel_sigction definition.
3764 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3766 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3768 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3769 __syscall_rt_sigaction.
3770 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3771 (kernel_sigaction): Use Linux generic defintion.
3773 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3774 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3775 (__syscall_rt_sigaction): Remove implementation.
3776 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3778 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3779 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3780 INTERNAL_SYSCALL): Remove definitions.
3781 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3782 action and signal set size.
3783 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3784 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3786 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3787 James Clarke <jrtc27@jrtc27.com>
3790 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3791 Define if SA_RESTORER is defined.
3792 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3793 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3795 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3796 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3798 (HAS_SA_RESTORER): Define.
3799 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3800 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3801 (HAS_SA_RESTORER): Define.
3802 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3803 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3804 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3805 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3806 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3808 2018-12-18 Joseph Myers <joseph@codesourcery.com>
3810 * sysdeps/unix/sysv/linux/kernel-features.h
3811 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3812 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3813 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3814 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3815 (__ASSUME_ST_INO_64_BIT): Likewise.
3816 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3817 <kernel-features.h>.
3818 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3819 Remove conditional code.
3820 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3821 <kernel-features.h>.
3822 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3823 Remove conditional code.
3824 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
3825 <kernel-features.h>.
3826 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3827 Remove conditional code.
3828 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
3829 <kernel-features.h>.
3830 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
3831 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
3833 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3835 * sysdeps/s390/multiarch/ifunc-resolve.h
3836 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
3837 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
3838 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
3839 Delete macro definition.
3840 (s390_libc_ifunc_init): Rename to
3841 s390_libc_ifunc_expr_stfle_init.
3842 * sysdeps/s390/bzero: Use
3843 s390_libc_ifunc_expr_stfle_init instead of
3844 s390_libc_ifunc_init.
3845 * sysdeps/s390/memcmp.c: Likewise.
3846 * sysdeps/s390/memcpy.c: Likewise.
3847 * sysdeps/s390/mempcpy.c: Likewise.
3848 * sysdeps/s390/memset.c: Likewise.
3850 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3852 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3853 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3855 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3857 * sysdeps/s390/multiarch/Makefile
3858 (sysdep_routines): Remove wmemcmp variants.
3859 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3860 * sysdeps/s390/multiarch/ifunc-impl-list.c
3861 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3862 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3863 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3864 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3865 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3866 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3867 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3868 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3870 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3872 * sysdeps/s390/multiarch/Makefile
3873 (sysdep_routines): Remove wmemset variants.
3874 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3875 * sysdeps/s390/multiarch/ifunc-impl-list.c
3876 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3877 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3878 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3879 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3880 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3881 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3882 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3883 * sysdeps/s390/ifunc-wmemset.h: New file.
3885 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3887 * sysdeps/s390/multiarch/Makefile
3888 (sysdep_routines): Remove wmemchr variants.
3889 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3890 * sysdeps/s390/multiarch/ifunc-impl-list.c
3891 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3892 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3893 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3894 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3895 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3896 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3897 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3898 * sysdeps/s390/ifunc-wmemchr.h: New file.
3900 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3902 * sysdeps/s390/multiarch/Makefile
3903 (sysdep_routines): Remove wcscspn variants.
3904 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3905 * sysdeps/s390/multiarch/ifunc-impl-list.c
3906 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3907 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3908 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3909 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3910 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3911 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3912 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3913 * sysdeps/s390/ifunc-wcscspn.h: New file.
3915 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3917 * sysdeps/s390/multiarch/Makefile
3918 (sysdep_routines): Remove wcspbrk variants.
3919 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3920 * sysdeps/s390/multiarch/ifunc-impl-list.c
3921 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3922 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3923 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3924 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3925 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3926 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3927 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3928 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3930 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3932 * sysdeps/s390/multiarch/Makefile
3933 (sysdep_routines): Remove wcsspn variants.
3934 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3935 * sysdeps/s390/multiarch/ifunc-impl-list.c
3936 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3937 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3938 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3939 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3940 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3941 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3942 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3943 * sysdeps/s390/ifunc-wcsspn.h: New file.
3945 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3947 * sysdeps/s390/multiarch/Makefile
3948 (sysdep_routines): Remove wcsrchr variants.
3949 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3950 * sysdeps/s390/multiarch/ifunc-impl-list.c
3951 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3952 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3953 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3954 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3955 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3956 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3957 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3958 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3960 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3962 * sysdeps/s390/multiarch/Makefile
3963 (sysdep_routines): Remove wcschrnul variants.
3964 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3965 * sysdeps/s390/multiarch/ifunc-impl-list.c
3966 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3967 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3968 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3969 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3970 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3971 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3972 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3973 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3975 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3977 * sysdeps/s390/multiarch/Makefile
3978 (sysdep_routines): Remove wcschr variants.
3979 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3980 * sysdeps/s390/multiarch/ifunc-impl-list.c
3981 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3982 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3983 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3984 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3985 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3986 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3987 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3988 * sysdeps/s390/ifunc-wcschr.h: New file.
3990 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3992 * sysdeps/s390/multiarch/Makefile
3993 (sysdep_routines): Remove wcsncmp variants.
3994 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3995 * sysdeps/s390/multiarch/ifunc-impl-list.c
3996 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3997 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3998 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3999 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4000 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4001 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4002 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4003 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4005 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4007 * sysdeps/s390/multiarch/Makefile
4008 (sysdep_routines): Remove wcscmp variants.
4009 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4010 * sysdeps/s390/multiarch/ifunc-impl-list.c
4011 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4012 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4013 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4014 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4015 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4016 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4017 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4018 * sysdeps/s390/ifunc-wcscmp.h: New file.
4020 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4022 * sysdeps/s390/multiarch/Makefile
4023 (sysdep_routines): Remove wcsncat variants.
4024 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4025 * sysdeps/s390/multiarch/ifunc-impl-list.c
4026 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4027 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4028 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4029 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4030 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4031 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4032 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4033 * sysdeps/s390/ifunc-wcsncat.h: New file.
4035 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4037 * sysdeps/s390/multiarch/Makefile
4038 (sysdep_routines): Remove wcscat variants.
4039 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4040 * sysdeps/s390/multiarch/ifunc-impl-list.c
4041 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4042 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4043 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4044 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4045 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4046 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4047 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4048 * sysdeps/s390/ifunc-wcscat.h: New file.
4050 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4052 * sysdeps/s390/multiarch/Makefile
4053 (sysdep_routines): Remove wcpncpy variants.
4054 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4055 * sysdeps/s390/multiarch/ifunc-impl-list.c
4056 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4057 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4058 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4059 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4060 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4061 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4062 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4063 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4065 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4067 * sysdeps/s390/multiarch/Makefile
4068 (sysdep_routines): Remove wcsncpy variants.
4069 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4070 * sysdeps/s390/multiarch/ifunc-impl-list.c
4071 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4072 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4073 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4074 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4075 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4076 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4077 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4078 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4080 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4082 * sysdeps/s390/multiarch/Makefile
4083 (sysdep_routines): Remove wcpcpy variants.
4084 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
4085 * sysdeps/s390/multiarch/ifunc-impl-list.c
4086 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
4087 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
4088 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
4089 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
4090 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
4091 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
4092 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
4093 * sysdeps/s390/ifunc-wcpcpy.h: New file.
4095 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4097 * sysdeps/s390/multiarch/Makefile
4098 (sysdep_routines): Remove wcscpy variants.
4099 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
4100 * sysdeps/s390/multiarch/ifunc-impl-list.c
4101 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
4102 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
4103 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
4104 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
4105 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
4106 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
4107 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
4108 * sysdeps/s390/ifunc-wcscpy.h: New file.
4110 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4112 * sysdeps/s390/multiarch/Makefile
4113 (sysdep_routines): Remove wcsnlen variants.
4114 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
4115 * sysdeps/s390/multiarch/ifunc-impl-list.c
4116 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
4117 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
4118 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
4119 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
4120 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
4121 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
4122 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
4123 * sysdeps/s390/ifunc-wcsnlen.h: New file.
4125 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4127 * sysdeps/s390/multiarch/Makefile
4128 (sysdep_routines): Remove wcslen variants.
4129 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
4130 * sysdeps/s390/multiarch/ifunc-impl-list.c
4131 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
4132 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
4133 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
4134 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
4135 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
4136 * sysdeps/s390/multiarch/wcslen.c: Move to ...
4137 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
4138 * sysdeps/s390/ifunc-wcslen.h: New file.
4140 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4142 * sysdeps/s390/multiarch/Makefile
4143 (sysdep_routines): Remove memrchr variants.
4144 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
4145 * sysdeps/s390/multiarch/ifunc-impl-list.c
4146 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
4147 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
4148 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
4149 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
4150 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
4151 * sysdeps/s390/multiarch/memrchr.c: Move to ...
4152 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
4153 * sysdeps/s390/ifunc-memrchr.h: New file.
4155 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4157 * sysdeps/s390/multiarch/Makefile
4158 (sysdep_routines): Remove memccpy variants.
4159 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
4160 * sysdeps/s390/multiarch/ifunc-impl-list.c
4161 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
4162 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
4163 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
4164 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
4165 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
4166 * sysdeps/s390/multiarch/memccpy.c: Move to ...
4167 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
4168 * sysdeps/s390/ifunc-memccpy.h: New file.
4170 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4172 * sysdeps/s390/multiarch/Makefile
4173 (sysdep_routines): Remove rawmemchr variants.
4174 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
4175 * sysdeps/s390/multiarch/ifunc-impl-list.c
4176 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
4177 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
4178 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
4179 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
4180 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
4181 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
4182 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
4183 * sysdeps/s390/ifunc-rawmemchr.h: New file.
4185 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4187 * sysdeps/s390/multiarch/Makefile
4188 (sysdep_routines): Remove memchr variants.
4189 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
4190 * sysdeps/s390/multiarch/ifunc-impl-list.c
4191 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
4192 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
4193 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
4194 * sysdeps/s390/multiarch/memchr.c: Move to ...
4195 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
4196 * sysdeps/s390/ifunc-memchr.h: New file.
4197 * sysdeps/s390/s390-64/memchr.S: Move to ...
4198 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
4199 for 31/64bit and ifunc handling.
4200 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4201 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4202 * sysdeps/s390/s390-32/memchr.S: Likewise.
4204 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4206 * sysdeps/s390/multiarch/Makefile
4207 (sysdep_routines): Remove strcspn variants.
4208 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4209 * sysdeps/s390/multiarch/ifunc-impl-list.c
4210 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4211 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4212 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4213 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4214 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4215 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4216 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4217 * sysdeps/s390/ifunc-strcspn.h: New file.
4219 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4221 * sysdeps/s390/multiarch/Makefile
4222 (sysdep_routines): Remove strpbrk variants.
4223 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4224 * sysdeps/s390/multiarch/ifunc-impl-list.c
4225 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4226 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4227 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4228 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4229 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4230 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4231 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4232 * sysdeps/s390/ifunc-strpbrk.h: New file.
4234 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4236 * sysdeps/s390/multiarch/Makefile
4237 (sysdep_routines): Remove strspn variants.
4238 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4239 * sysdeps/s390/multiarch/ifunc-impl-list.c
4240 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4241 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4242 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4243 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4244 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4245 * sysdeps/s390/multiarch/strspn.c: Move to ...
4246 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4247 * sysdeps/s390/ifunc-strspn.h: New file.
4249 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4251 * sysdeps/s390/multiarch/Makefile
4252 (sysdep_routines): Remove strrchr variants.
4253 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4254 * sysdeps/s390/multiarch/ifunc-impl-list.c
4255 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4256 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4257 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4258 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4259 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4260 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4261 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4262 * sysdeps/s390/ifunc-strrchr.h: New file.
4264 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4266 * sysdeps/s390/multiarch/Makefile
4267 (sysdep_routines): Remove strchrnul variants.
4268 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4269 * sysdeps/s390/multiarch/ifunc-impl-list.c
4270 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4271 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4272 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4273 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4274 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4275 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4276 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
4277 * sysdeps/s390/ifunc-strchrnul.h: New file.
4279 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4281 * sysdeps/s390/multiarch/Makefile
4282 (sysdep_routines): Remove strchr variants.
4283 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
4284 * sysdeps/s390/multiarch/ifunc-impl-list.c
4285 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
4286 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
4287 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
4288 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
4289 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
4290 * sysdeps/s390/multiarch/strchr.c: Move to ...
4291 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
4292 * sysdeps/s390/ifunc-strchr.h: New file.
4294 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4296 * sysdeps/s390/multiarch/Makefile
4297 (sysdep_routines): Remove strncmp variants.
4298 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
4299 * sysdeps/s390/multiarch/ifunc-impl-list.c
4300 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
4301 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
4302 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
4303 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
4304 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
4305 * sysdeps/s390/multiarch/strncmp.c: Move to ...
4306 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
4307 * sysdeps/s390/ifunc-strncmp.h: New file.
4309 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4311 * sysdeps/s390/multiarch/Makefile
4312 (sysdep_routines): Remove strcmp variants.
4313 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
4314 * sysdeps/s390/multiarch/ifunc-impl-list.c
4315 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
4316 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
4317 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
4318 * sysdeps/s390/multiarch/strcmp.c: Move to ...
4319 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
4320 * sysdeps/s390/ifunc-strcmp.h: New file.
4321 * sysdeps/s390/s390-64/strcmp.S: Move to ...
4322 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
4323 for 31/64bit and ifunc handling.
4324 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
4325 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4326 * sysdeps/s390/s390-32/strcmp.S: Likewise.
4328 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4330 * sysdeps/s390/multiarch/Makefile
4331 (sysdep_routines): Remove strncat variants.
4332 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
4333 * sysdeps/s390/multiarch/ifunc-impl-list.c
4334 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
4335 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
4336 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
4337 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
4338 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
4339 * sysdeps/s390/multiarch/strncat.c: Move to ...
4340 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
4341 * sysdeps/s390/ifunc-strncat.h: New file.
4343 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4345 * sysdeps/s390/multiarch/Makefile
4346 (sysdep_routines): Remove strcat variants.
4347 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
4348 * sysdeps/s390/multiarch/ifunc-impl-list.c
4349 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
4350 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
4351 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
4352 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
4353 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
4354 * sysdeps/s390/multiarch/strcat.c: Move to ...
4355 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
4356 * sysdeps/s390/ifunc-strcat.h: New file.
4358 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4360 * sysdeps/s390/multiarch/Makefile
4361 (sysdep_routines): Remove stpncpy variants.
4362 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
4363 * sysdeps/s390/multiarch/ifunc-impl-list.c
4364 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
4365 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
4366 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
4367 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
4368 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
4369 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
4370 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
4371 * sysdeps/s390/ifunc-stpncpy.h: New file.
4373 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4375 * sysdeps/s390/multiarch/Makefile
4376 (sysdep_routines): Remove strncpy variants.
4377 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
4378 * sysdeps/s390/multiarch/ifunc-impl-list.c
4379 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
4380 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
4381 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
4382 * sysdeps/s390/multiarch/strncpy.c: Move to ...
4383 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
4384 * sysdeps/s390/ifunc-strncpy.h: New file.
4385 * sysdeps/s390/s390-64/strncpy.S: Move to ...
4386 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
4387 and adjust ifunc handling.
4388 * sysdeps/s390/s390-32/strncpy.S: Move to ...
4389 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
4390 and adjust ifunc handling.
4391 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
4392 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4394 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4396 * sysdeps/s390/multiarch/Makefile
4397 (sysdep_routines): Remove stpcpy variants.
4398 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
4399 * sysdeps/s390/multiarch/ifunc-impl-list.c
4400 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
4401 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
4402 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
4403 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
4404 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
4405 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
4406 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
4407 * sysdeps/s390/ifunc-stpcpy.h: New file.
4409 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4411 * sysdeps/s390/multiarch/Makefile
4412 (sysdep_routines): Remove strcpy variants.
4413 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
4414 * sysdeps/s390/multiarch/ifunc-impl-list.c
4415 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
4416 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
4417 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
4418 * sysdeps/s390/multiarch/strcpy.c: Move to ...
4419 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
4420 * sysdeps/s390/ifunc-strcpy.h: New file.
4421 * sysdeps/s390/s390-64/strcpy.S: Move to ...
4422 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
4423 for 31/64bit and ifunc handling.
4424 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
4425 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4426 * sysdeps/s390/s390-32/strcpy.S: Likewise.
4428 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4430 * sysdeps/s390/multiarch/Makefile
4431 (sysdep_routines): Remove strnlen variants.
4432 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
4433 * sysdeps/s390/multiarch/ifunc-impl-list.c
4434 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
4435 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
4436 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
4437 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
4438 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
4439 * sysdeps/s390/multiarch/strnlen.c: Move to ...
4440 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
4441 * sysdeps/s390/ifunc-strnlen.h: New file.
4443 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4445 * sysdeps/s390/multiarch/Makefile
4446 (sysdep_routines): Remove strlen variants.
4447 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
4448 * sysdeps/s390/multiarch/ifunc-impl-list.c
4449 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
4450 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
4451 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
4452 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
4453 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
4454 * sysdeps/s390/multiarch/strlen.c: Move to ...
4455 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
4456 * sysdeps/s390/ifunc-strlen.h: New file.
4458 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4460 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
4461 * sysdeps/s390/multiarch/ifunc-impl-list.c
4462 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
4463 * sysdeps/s390/ifunc-memmem.h: New file.
4464 * sysdeps/s390/memmem.c: Likewise.
4465 * sysdeps/s390/memmem-c.c: Likewise.
4466 * sysdeps/s390/memmem-vx.c: Likewise.
4468 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4470 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
4471 * sysdeps/s390/multiarch/ifunc-impl-list.c
4472 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
4473 * sysdeps/s390/ifunc-strstr.h: New file.
4474 * sysdeps/s390/strstr.c: Likewise.
4475 * sysdeps/s390/strstr-c.c: Likewise.
4476 * sysdeps/s390/strstr-vx.c: Likewise.
4478 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4480 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
4481 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
4482 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
4483 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
4485 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
4486 * sysdeps/s390/memmove-c.c: New file.
4487 * sysdeps/s390/memmove.c: Likewise.
4488 * sysdeps/s390/multiarch/ifunc-impl-list.c
4489 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
4491 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4493 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
4494 * sysdeps/s390/configure.ac: Add check for z13 support.
4495 * sysdeps/s390/configure: Regenerated.
4497 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4499 * sysdeps/s390/memcopy.h: New file.
4501 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4503 * sysdeps/s390/s390-32/bcopy.S: Remove.
4504 * sysdeps/s390/s390-64/bcopy.S: Likewise.
4506 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4508 * sysdeps/s390/ifunc-memcpy.h: New File.
4509 * sysdeps/s390/memcpy.S: Move to ...
4510 * sysdeps/s390/memcpy-z900.S ... here.
4511 Move implementations from memcpy-s390x.s to here.
4512 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
4513 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4514 Remove memcpy/mempcpy variants.
4515 * sysdeps/s390/Makefile (sysdep_routines):
4516 Add memcpy/mempcpy variants.
4517 * sysdeps/s390/multiarch/ifunc-impl-list.c
4518 (__libc_ifunc_impl_list): Adjust ifunc variants for
4520 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
4522 * sysdeps/s390/memcpy.c: ... here.
4523 Adjust ifunc variants for memcpy.
4524 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
4525 * sysdeps/s390/mempcpy.c: ... here.
4526 Adjust ifunc variants for mempcpy.
4527 * sysdeps/s390/mempcpy.S: Delete file.
4529 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4531 * sysdeps/s390/s390-64/memcpy.S: Move to ...
4532 * sysdeps/s390/memcpy.S: ... here.
4533 Adjust to be usable for 31/64bit.
4534 * sysdeps/s390/s390-32/memcpy.S: Delete File.
4535 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
4536 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
4537 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4538 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
4539 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
4540 Adjust to be usable for 31/64bit.
4541 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
4542 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
4543 * sysdeps/s390/multiarch/memcpy.c: ... here.
4544 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
4546 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4548 * sysdeps/s390/ifunc-memcmp.h: New File.
4549 * sysdeps/s390/memcmp.S: Move to ...
4550 * sysdeps/s390/memcmp-z900.S ... here.
4551 Move implementations from memcmp-s390x.s to here.
4552 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
4553 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4554 Remove memcmp variants.
4555 * sysdeps/s390/Makefile (sysdep_routines):
4556 Add memcmp variants.
4557 * sysdeps/s390/multiarch/ifunc-impl-list.c
4558 (__libc_ifunc_impl_list): Adjust ifunc variants for
4560 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
4562 * sysdeps/s390/memcmp.c: ... here.
4563 Adjust ifunc variants for memcmp.
4565 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4567 * sysdeps/s390/s390-64/memcmp.S: Move to ...
4568 * sysdeps/s390/memcmp.S: ... here.
4569 Adjust to be usable for 31/64bit.
4570 * sysdeps/s390/s390-32/memcmp.S: Delete File.
4571 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
4572 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4574 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4575 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
4576 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
4577 Adjust to be usable for 31/64bit.
4578 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
4579 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
4580 * sysdeps/s390/multiarch/memcmp.c: ... here.
4581 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
4583 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4585 * sysdeps/s390/s390-32/bzero.S: Delete file.
4586 * sysdeps/s390/s390-64/bzero.S: Likewise.
4587 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
4588 * sysdeps/s390/bzero.c: New file.
4589 * sysdeps/s390/memset-z900.S: Add bzero entry points.
4590 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
4591 * sysdeps/s390/multiarch/ifunc-impl-list.c
4592 (__libc_ifunc_impl_list): Add bzero ifunc variants.
4594 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4596 * sysdeps/s390/ifunc-memset.h: New File.
4597 * sysdeps/s390/memset.S: Move to ...
4598 * sysdeps/s390/memset-z900.S ... here.
4599 Move implementations from memset-s390x.s to here.
4600 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
4601 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4602 Remove memset variants.
4603 * sysdeps/s390/Makefile (sysdep_routines):
4604 Add memset variants.
4605 * sysdeps/s390/multiarch/ifunc-impl-list.c
4606 (__libc_ifunc_impl_list): Adjust ifunc variants for
4608 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
4610 * sysdeps/s390/memset.c: ... here.
4611 Adjust ifunc variants for memset.
4613 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4615 * sysdeps/s390/s390-64/memset.S: Move to ...
4616 * sysdeps/s390/memset.S: ... here.
4617 Adjust to be usable for 31/64bit.
4618 * sysdeps/s390/s390-32/memset.S: Delete File.
4619 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
4620 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4622 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4623 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
4624 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
4625 Adjust to be usable for 31/64bit.
4626 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
4627 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
4628 * sysdeps/s390/multiarch/memset.c: ... here.
4629 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
4631 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4633 * sysdeps/s390/multiarch/ifunc-resolve.h
4634 (s390_libc_ifunc_init, s390_libc_ifunc,
4635 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
4637 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4639 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4640 * sysdeps/s390/configure.ac: Add check for z10 support.
4641 * sysdeps/s390/configure: Regenerated.
4643 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4645 * sysdeps/i386/atomic-machine.h: Merged with ...
4646 * sysdeps/x86_64/atomic-machine.h: To ...
4647 * sysdeps/x86/atomic-machine.h: This. New file.
4649 2018-12-18 Florian Weimer <fweimer@redhat.com>
4651 Rewrite locale/gen-translit.pl in Python.
4652 * locale/Makefile (generated): Add C-translit.h.
4653 (before-compile): Add $(objpfx)C-translit.h.
4654 (C-translit.h): Move to $(objpfx). Create target directory.
4655 Build using Python script.
4656 * locale/gen-translit.py: New file.
4657 * locale/gen-translit.pl: Remove file.
4658 * locale/C-translit.h.in: Change comment character to '#' for
4659 easier parsing without a C preprocessor.
4660 * locale/C-translit.h: Remove generated file.
4661 * manual/install.texi (Tools for Compilation): Do not mention
4663 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4664 Remove locale/C-translit.h.
4665 * scripts/update-copyrights: Likewise.
4666 * INSTALL: Regenerate.
4668 2018-12-18 Florian Weimer <fweimer@redhat.com>
4671 * localedata/locales/bi_VU: Remove executable bit from file.
4673 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
4676 (__localtime64): Add.
4677 * manual/maint.texi: Document Y2038 symbol handling.
4679 (__localtime64): Add.
4680 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
4682 2018-12-17 Joseph Myers <joseph@codesourcery.com>
4684 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4687 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4688 to allow extra macros from first or second sources.
4689 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4690 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4691 (tests-special): Add $(objpfx)tst-mman-consts.out.
4692 ($(objpfx)tst-mman-consts.out): New makefile target.
4694 2018-12-17 Mao Han <han_mao@c-sky.com>
4696 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4697 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4698 without stat64 system call support.
4699 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4700 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4701 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4702 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4703 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4704 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4705 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4706 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4707 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4708 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4709 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4711 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4713 regex: fix storage-exhaustion error
4715 * posix/regexec.c (get_subexp):
4716 Do not continue if storage is exhausted.
4718 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
4720 regex: fix heap-use-after-free error
4722 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4723 https://debbugs.gnu.org/32592
4724 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4725 call extend_buffers which reallocates the re_string_t internal buffer.
4726 Local variable 'buf' was not updated in such case, resulting in
4728 * posix/regexec.c (get_subexp): Update 'buf' after call to
4731 2018-12-15 Florian Weimer <fweimer@redhat.com>
4733 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4734 (minimum_stride_size): Use it.
4735 (support_blob_repeat_allocate): Likewise.
4737 2018-12-14 Joseph Myers <joseph@codesourcery.com>
4739 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4744 2018-12-14 Florian Weimer <fweimer@redhat.com>
4746 * manual/process.texi (Process Creation Concepts): Remove
4747 documentation of process (ID) lifetime. List more process
4748 creation functions. Reference Process Identification section.
4749 (Process Identification): Add information about process ID
4750 lifetime. Describe Linux thread/task IDs.
4751 * manual/signal.texi (Signaling Another Process): Mention that the
4752 signal is always sent to the process.
4754 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4756 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4757 and tst-ldbl-efgcvt.
4758 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4759 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4760 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4761 (fcvt_tests, output_error, output_r_error, do_test): Use the
4762 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4763 select the type of floating-point variables and arguments; to
4764 produce extra tests for double and conversion specifiers for
4765 printf; and to set the names of called functions.
4766 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4767 in tst-efgcvt-template.c.
4768 * misc/tst-ldbl-efgcvt.c: Likewise.
4770 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
4772 * nss/Makefile (tst-nss-test3.out): New rule.
4774 2018-12-13 Joseph Myers <joseph@codesourcery.com>
4776 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4779 2018-12-13 fanjinke <fanjinke@hygon.cn>
4781 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4784 2018-12-13 Andreas Schwab <schwab@suse.de>
4787 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
4788 (__pthread_rwlock_rdlock_full): Update expected value for
4789 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4790 * nptl/tst-rwlock-pwn.c: New file.
4791 * nptl/Makefile (tests): Add tst-rwlock-pwn.
4793 2018-12-12 Joseph Myers <joseph@codesourcery.com>
4795 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4798 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4800 * benchtests/scripts/compare_bench.py (do_compare): write to
4801 stderr in casestat is not present.
4802 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4803 stderr in case timings field is not present. Also string showing
4804 the output filename goes into the stderr.
4806 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4808 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4809 and ZeroDivisorError exceptions.
4810 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4811 argument to loop through user provided statistics.
4812 * benchtests/scripts/compare_bench.py (main): Include the --stats
4815 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4817 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4820 2018-12-12 Florian Weimer <fweimer@redhat.com>
4822 * sysdeps/posix/timespec_get.c: Add missing “any later version”
4823 clause to copyright header.
4825 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4828 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
4829 registers saved in the stack frame.
4830 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
4831 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
4833 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4835 * include/bits/monetary-ldbl.h: New file.
4836 * include/bits/printf-ldbl.h: Likewise.
4837 * include/bits/stdio-ldbl.h: Likewise.
4838 * include/bits/stdlib-ldbl.h: Likewise.
4839 * include/bits/syslog-ldbl.h: Likewise.
4840 * include/bits/wchar-ldbl.h: Likewise.
4842 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4844 * libio/libio.h: Remove redirection for _IO_vfprintf.
4846 2018-12-11 Andreas Schwab <schwab@suse.de>
4848 * Makerules: Remove all references to abilist-pattern.
4849 (update-all-abi): Simplify find expression.
4851 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4854 * math/auto-libm-test-in: Add new test case.
4855 * math/auto-libm-test-out-pow: Regenerated.
4856 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4858 2018-12-10 DJ Delorie <dj@redhat.com>
4861 * support/test-container.c: Move postclean step to before we
4864 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4866 * scripts/gen-as-const.py (main): Handle --python option.
4867 * scripts/gen-py-const.awk: Remove.
4868 * Makerules (py-const-script): Use gen-as-const.py.
4869 ($(py-const)): Likewise.
4870 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4871 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4872 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4873 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4874 ~PTHREAD_MUTEX_NO_ELISION_NP.
4875 * manual/README.pretty-printers: Update reference to
4878 * scripts/glibcextract.py: New file.
4879 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4880 or tempfile. Import glibcexctract.
4881 (compute_c_consts): Remove. Moved to glibcextract.py.
4882 (gen_test): Update reference to compute_c_consts.
4884 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4885 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4886 * sysdeps/unix/sysv/linux/Makefile
4887 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4888 Redirect stderr as well as stdout.
4890 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4893 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
4894 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4895 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
4896 ALWAYS_USE_VSYSCALL.
4897 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
4898 ALWAYS_USE_VSYSCALL.
4899 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4900 ALWAYS_USE_VSYSCALL.
4902 2018-12-10 Florian Weimer <fweimer@redhat.com>
4905 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4906 offset instead of count for clarity. Fix typo in comment.
4907 (__old_getdents64): Keep track of previous offset. Use it to call
4909 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4910 that d_off is never zero.
4912 2018-12-10 Andreas Schwab <schwab@suse.de>
4914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4915 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4917 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4918 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4920 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4922 * timezone/private.h: Update from tzcode 2018g.
4923 * timezone/tzfile.h: Likewise.
4924 * timezone/tzselect.ksh: Likewise.
4925 * timezone/zdump.c: Likewise.
4926 * timezone/zic.c: Likewise.
4928 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4931 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4932 (do_test): Adjust buffer size and fix format.
4934 2018-12-07 DJ Delorie <dj@redhat.com>
4937 * malloc/tst-tcfree3.c: New.
4938 * malloc/Makefile: Add it.
4940 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4942 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4944 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4946 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4947 used as a mask for the mode argument of __vfscanf_internal and
4948 __vfwscanf_internal.
4949 * stdio-common/vfscanf-internal.c
4950 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4951 (__strtof128_internal): Define to __wcstof128_internal.
4952 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4953 __strtof128_internal or __wcstof128_internal when the format of
4954 long double is the same as _Float128.
4956 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4958 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4959 * posix/confstr.c (confstr): Rename to __confstr.
4960 (__confstr): Add hidden def.
4961 (confstr): Add weak alias for __confstr.
4962 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4965 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4967 * NEWS: Mention getcpu.
4968 * include/sched.h (__getcpu): New libc_hidden_proto.
4969 * manual/resource.texi: Document getcpu.
4970 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4971 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4972 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4973 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4974 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4975 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4976 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4977 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4978 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4979 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4980 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4981 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4982 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4984 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4985 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4986 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4995 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4996 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4997 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4998 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4999 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5000 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5001 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5002 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5003 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5004 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5005 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5008 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5010 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5012 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5014 2018-12-07 Florian Weimer <fweimer@redhat.com>
5017 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5018 * posix/Versions (GLIBC_2.29): Export
5019 posix_spawn_file_actions_addfchdir_np.
5020 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5021 * posix/spawn_faction_destroy.c
5022 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5023 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5024 and the field action.fchdir_action.
5025 * posix/tst-spawn-chdir.c (add_chdir): New function.
5026 (do_test): Add do_fchdir loop. Call add_chdir.
5027 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5028 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5029 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5030 posix_spawn_file_actions_addfchdir_np.
5031 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5033 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5035 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5036 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5038 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5040 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5042 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5044 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5046 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5048 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5049 (GLIBC_2.29): Likewise.
5050 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5051 (GLIBC_2.29): Likewise.
5052 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5053 (GLIBC_2.29): Likewise.
5054 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5055 (GLIBC_2.29): Likewise.
5056 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5059 (GLIBC_2.29): Likewise.
5060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5061 (GLIBC_2.29): Likewise.
5062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5063 (GLIBC_2.29): Likewise.
5064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5065 (GLIBC_2.29): Likewise.
5066 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5068 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5070 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5072 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5073 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5075 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5077 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5079 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5082 2018-12-06 Joseph Myers <joseph@codesourcery.com>
5084 * manual/texinfo.tex: Update to version 2018-09-21.20 with
5085 trailing whitespace removed.
5086 * scripts/config.guess: Update to version 2018-11-28.
5087 * scripts/config.sub: Update to version 2018-11-28.
5088 * scripts/install-sh: Update to version 2018-03-11.20.
5089 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
5090 * scripts/move-if-change: Update to version 2018-03-07 03:47.
5092 2018-12-07 Florian Weimer <fweimer@redhat.com>
5096 * inet/tst-if_index-long.c: New file.
5097 * inet/Makefile (tests): Add tst-if_index-long.
5099 2018-12-07 Florian Weimer <fweimer@redhat.com>
5101 * support/check.h (support_record_failure_is_failed): Declare.
5102 * support/descriptors.h: New file.
5103 * support/support_descriptors.c: Likewise.
5104 * support/tst-support_descriptors.c: Likewise.
5105 * support/support_record_failure.c
5106 (support_record_failure_is_failed): New function.
5107 * support/Makefile (libsupport-routines): Add support_descriptors.
5108 (tests): Add tst-support_descriptors.
5110 2018-12-05 Zack Weinberg <zackw@panix.com>
5111 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5113 * stdio-common/vfprintf-internal.c
5114 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
5115 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
5116 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
5117 and __no_long_double.
5118 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
5119 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
5120 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
5121 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
5122 and __nldbl_*syslog* functions.
5123 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
5124 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
5125 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
5126 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
5127 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
5128 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
5129 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
5130 (__nldbl_vwprintf, __nldbl_wprintf):
5131 Directly call the appropriate __v*printf_internal routine, passing
5132 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
5134 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
5135 (__nldbl___printf_chk, __nldbl___snprintf_chk)
5136 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
5137 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
5138 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
5139 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5140 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
5141 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
5142 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
5143 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
5144 Likewise, and also pass PRINTF_FORTIFY when appropriate.
5145 (__nldbl_syslog, __nldbl_vsyslog):
5146 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
5147 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5149 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5152 2018-12-05 Zack Weinberg <zackw@panix.com>
5153 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5156 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
5157 Moved here from debug/vsprintf_chk.c.
5158 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
5159 and completion logic for the strfile to match exactly what
5160 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
5161 _IO_str_init_static_internal instead of maxlen-1.
5162 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5163 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
5164 __vsprintf_internal.
5166 * debug/vsprintf_chk.c (__vsprintf_chk)
5167 * debug/sprintf_chk.c (__sprintf_chk):
5168 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
5169 'flags' argument is positive, and slen as maxlen. No need to lock
5170 the FILE and/or construct a temporary FILE. Minimize and normalize
5171 header inclusions and variable names. Do not libc_hidden_def anything.
5173 * debug/asprintf_chk.c (__asprintf_chk)
5174 * debug/dprintf_chk.c (__dprintf_chk)
5175 * debug/fprintf_chk.c (__fprintf_chk)
5176 * debug/fwprintf_chk.c (__fwprintf_chk)
5177 * debug/printf_chk.c (__printf_chk)
5178 * debug/snprintf_chk.c (__snprintf_chk)
5179 * debug/swprintf_chk.c (__swprintf_chk)
5180 * debug/vasprintf_chk.c (__vasprintf_chk)
5181 * debug/vdprintf_chk.c (__vdprintf_chk)
5182 * debug/vfprintf_chk.c (__vfprintf_chk)
5183 * debug/vfwprintf_chk.c (__vfwprintf_chk)
5184 * debug/vprintf_chk.c (__vprintf_chk)
5185 * debug/vsnprintf_chk.c (__vsnprintf_chk)
5186 * debug/vswprintf_chk.c (__vswprintf_chk)
5187 * debug/vwprintf_chk.c (__vwprintf_chk)
5188 * debug/wprintf_chk.c (__wprintf_chk):
5189 Directly call the corresponding vxxprintf_internal function, passing
5190 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
5191 the FILE and/or construct a temporary FILE. Minimize and normalize
5192 header inclusions and variable names. Do not libc_hidden_def anything.
5194 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
5195 __obstack_vprintf_internal.
5196 (__obstack_vprintf_chk): Convert into a wrapper that calls
5197 __obstack_vprintf_internal (these two functions already had the
5198 same code) and move to new file...
5199 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
5201 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5202 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5203 * debug/Makefile (routines): Add vobprintf_chk.
5205 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5206 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5207 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5208 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5209 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5210 (__nldbl___obstack_vfprintf_chk):
5211 Directly call the corresponding vxxprintf_internal function,
5212 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5213 duplicate comparison of slen with 0 or maxlen from the corresponding
5214 non-__nldbl function.
5216 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5217 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5218 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5219 Remove libc_hidden_proto.
5221 * stdio-common/vfprintf-internal.c
5222 (__vfprintf_internal, __vfwprintf_internal):
5223 Do not check _IO_FLAGS2_FORTIFY.
5224 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5225 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5226 a comment explaining why it has the maxlen argument.
5227 (_IO_acquire_lock_clear_flags2_fct): Remove.
5228 (_IO_acquire_lock_clear_flags2): Remove.
5229 (_IO_release_lock): Remove conditional statement which will
5231 (_IO_acquire_lock): Remove variable which is now unused.
5232 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5233 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5235 * stdio-common/Makefile (tests): Add tst-bz11319 and
5236 tst-bz11319-fortify2.
5237 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5238 * stdio-common/tst-bz11319-fortify2.c: New file.
5239 * stdio-common/tst-bz11319.c: Likewise.
5241 2018-12-05 Zack Weinberg <zackw@panix.com>
5242 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5244 * misc/syslog.c: Include libioP.h, not iolibio.h.
5245 (__vsyslog_internal): New function with the former body of
5246 __vsyslog_chk; takes mode_flags argument same as
5247 __v*printf_internal. Call __vfprintf_internal directly.
5249 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5250 Remove libc_hidden_def.
5251 (__syslog, __syslog_chk): Use __vsyslog_internal.
5252 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5254 * include/sys/syslog.h: Add multiple inclusion guard.
5255 Add prototype for __vsyslog_internal.
5256 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5258 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5259 Use __vsyslog_internal.
5261 2018-12-05 Zack Weinberg <zackw@panix.com>
5262 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5264 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5265 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5266 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5268 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5269 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5271 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5272 Include wctype.h here if COMPILE_WPRINTF is defined.
5273 Define __vfprintf_internal or __vfwprintf_internal, depending
5275 Temporarily, on entry to this function, update mode_flags
5276 according to the environmental settings corresponding to
5277 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
5278 Throughout, check mode_flags instead of __ldbl_is_dbl and
5279 _IO_FLAGS2_FORTIFY on the destination FILE.
5280 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
5281 Include vfprintf-internal.c. Don't include wctype.h.
5282 * stdio-common/vfprintf.c: New file. Just define __vfprintf
5283 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
5285 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
5286 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
5288 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
5290 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
5291 and add mode_flags argument; use __vfprintf_internal.
5292 (__vdprintf): New function. Alias vdprintf to this.
5293 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
5294 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
5295 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
5296 (__obstack_printf): Use __obstack_printf_internal.
5297 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
5298 public aliases __vsnprintf and vsnprintf.
5299 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
5301 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
5302 public aliases _IO_vsprintf and vsprintf.
5303 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
5304 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
5305 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
5306 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
5307 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
5309 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
5310 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
5311 * stdio-common/fprintf.c, stdio-common/fxprintf.c
5312 * stdio-common/printf.c: Use __vfprintf_internal.
5314 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
5315 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
5316 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
5318 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
5319 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
5320 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
5321 __vfwprintf_internal.
5323 * libio/libio.h: Remove libc_hidden_proto and declaration for
5325 Remove declaration of _IO_vfwprintf.
5326 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
5328 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
5330 * include/stdio.h: Add prototype for __vasprintf.
5331 (__vsnprintf): Remove declaration, because there are no more
5333 * include/wchar.h (__vfwprintf, __vswprintf): Remove
5334 declaration, because there are no more internal calls.
5336 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
5337 __vsnprintf_internal, instead of _IO_vsnprintf.
5338 * argp/argp-help.c (__argp_error, __argp_failure): Use
5339 __vasprintf_internal, instead of _IO_vasprintf.
5340 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
5341 redefine, because there are no more internal calls.
5343 2018-12-05 Zack Weinberg <zackw@panix.com>
5344 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5346 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
5347 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
5348 Include libio/strfile.h instead of libioP.h.
5349 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
5350 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
5351 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
5352 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
5353 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
5354 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
5355 necessary. Do not set __no_long_double. Normalize variable names.
5356 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
5357 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
5358 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
5359 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
5360 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
5361 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
5362 Call __vfscanf_internal / __vfwscanf_internal directly, passing
5363 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
5364 Do not set __no_long_double. Normalize variable names.
5366 2018-12-05 Zack Weinberg <zackw@panix.com>
5367 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5369 * stdio-common/isoc99_scanf.c
5370 * stdio-common/isoc99_fscanf.c
5371 * stdio-common/isoc99_sscanf.c
5372 * stdio-common/isoc99_vscanf.c
5373 * stdio-common/isoc99_vfscanf.c
5374 * stdio-common/isoc99_vsscanf.c
5375 * wcsmbs/isoc99_wscanf.c
5376 * wcsmbs/isoc99_fwscanf.c
5377 * wcsmbs/isoc99_swscanf.c
5378 * wcsmbs/isoc99_vwscanf.c
5379 * wcsmbs/isoc99_vfwscanf.c
5380 * wcsmbs/isoc99_vswscanf.c:
5381 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
5382 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
5383 No need to lock and unlock the FILE passed to that function.
5385 * stdio-common/vfscanf-internal.c
5386 (__vfscanf_internal, __vfwscanf_internal):
5387 Don't look at _IO_FLAGS2_SCANF_STD.
5388 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
5389 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
5390 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
5392 2018-12-05 Zack Weinberg <zackw@panix.com>
5393 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5395 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
5396 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
5397 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
5398 * libio/strfile.h: Add multiple inclusion guard.
5399 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
5401 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
5402 consistency with the other version of this file.
5403 (ldbl_compat_symbol): New macro.
5404 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
5407 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
5408 Define __vfscanf_internal or __vfwscanf_internal, depending on
5409 COMPILE_WSCANF; don't define any other public symbols.
5410 Remove errval and code to set errp.
5411 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
5412 as the mode_flags argument.
5413 (encode_error, conv_error, input_error): Don't set errval.
5414 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
5415 Include vfscanf-internal.c.
5416 * stdio-common/vfscanf.c: New file defining the public entry
5417 point vfscanf, which calls __vfscanf_internal.
5418 * stdio-common/vfwscanf.c: New file defining the public entry
5419 point vfwscanf, which calls __vfwscanf_internal.
5421 * stdio-common/iovfscanf.c: New file.
5422 * stdio-common/iovfwscanf.c: Likewise.
5424 * stdio-common/Makefile (routines): Add vfscanf-internal,
5425 vfwscanf-internal, iovfscanf, iovfwscanf.
5426 * stdio-common/Versions: Mention GLIBC_2.29, so that
5427 it can be used in SHLIB_COMPAT expressions.
5428 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
5429 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
5430 Call __vfscanf_internal, instead of _IO_vfscanf.
5431 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
5433 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
5436 * libio/iovsscanf.c: Clean up includes, when possible. Use
5437 _IO_strfile_read or _IO_strfile_readw, when needed. Call
5438 __vfscanf_internal or __vfwscanf_internal directly.
5439 * libio/iovswscanf.c: Likewise.
5440 * libio/swscanf.c: Likewise.
5441 * libio/vscanf.c: Likewise.
5442 * libio/vwscanf.c: Likewise.
5443 * libio/wscanf.c: Likewise.
5444 * stdio-common/isoc99_fscanf.c: Likewise.
5445 * stdio-common/isoc99_scanf.c: Likewise.
5446 * stdio-common/isoc99_sscanf.c: Likewise.
5447 * stdio-common/isoc99_vfscanf.c: Likewise.
5448 * stdio-common/isoc99_vscanf.c: Likewise.
5449 * stdio-common/isoc99_vsscanf.c: Likewise.
5450 * stdio-common/scanf.c: Likewise.
5451 * stdio-common/sscanf.c: Likewise.
5452 * wcsmbs/isoc99_fwscanf.c: Likewise.
5453 * wcsmbs/isoc99_swscanf.c: Likewise.
5454 * wcsmbs/isoc99_vfwscanf.c: Likewise.
5455 * wcsmbs/isoc99_vswscanf.c: Likewise.
5456 * wcsmbs/isoc99_vwscanf.c: Likewise.
5457 * wcsmbs/isoc99_wscanf.c: Likewise.
5459 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
5462 (__tz_compute): Replace time_t with __time64_t.
5463 (__tz_convert): Replace time_t* with __time64_t.
5464 (__offtime): Replace time_t* with __time64_t.
5466 (__gmtime_r): Adjust call to __tz_convert.
5469 (__localtime_r): Likewise.
5470 (localtime): Likewise.
5471 * time/offtime.c: Replace time_t with __time64_t.
5472 * time/tzset.c: Likewise.
5474 2018-12-04 Joseph Myers <joseph@codesourcery.com>
5476 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
5477 dynamic linker unless [$(run-built-tests) = yes].
5479 2018-12-03 DJ Delorie <dj@delorie.com>
5481 * support/test-container.c (check_for_unshare_hints): New.
5482 (main): Call it if unshare fails. Add support for "su" scriptlet
5485 2018-12-03 Joseph Myers <joseph@codesourcery.com>
5487 * scripts/gen-as-const.py (compute_c_consts): Take an argument
5488 'START' to indicate that start text should be output.
5489 (gen_test): Likewise.
5490 (main): Generate 'START' for first symbol or '--' line, or at end
5491 of input if not previously generated.
5493 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
5496 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
5497 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
5498 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
5499 ALWAYS_USE_VSYSCALL.
5501 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5504 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
5507 2018-12-03 Carlos O'Donell <carlos@redhat.com>
5510 * locale/programs/localedef.c: Declare boolean hard_links default true.
5511 (options): Add --no-hard-links option.
5512 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
5513 * locale/programs/localedef.h: Declare prototype for hard_links.
5514 * locale/programs/locfile.c (write_locale_data): Don't use hard
5515 links if hard_links is false.
5517 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
5519 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
5521 (__cache_sysconf): Likewise.
5522 (init_cacheinfo): Likewise.
5523 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
5524 populate COMMON_CPUID_INDEX_80000007 and
5525 COMMON_CPUID_INDEX_80000008.
5526 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
5527 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
5528 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
5529 (init_cpu_features): Use _Static_assert on
5530 index_arch_Fast_Unaligned_Load.
5531 __get_cpuid_registers and __get_arch_feature. Updated for
5532 cpu_features_basic. Set stepping in cpu_features.
5533 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
5534 (FEATURE_INDEX_2): New.
5535 (FEATURE_INDEX_MAX): Changed to enum.
5536 (COMMON_CPUID_INDEX_D_ECX_1): New.
5537 (COMMON_CPUID_INDEX_80000007): Likewise.
5538 (COMMON_CPUID_INDEX_80000008): Likewise.
5539 (cpuid_registers): Likewise.
5540 (cpu_features_basic): Likewise.
5541 (CPU_FEATURE_USABLE): Likewise.
5542 (bit_arch_XXX_Usable): Likewise.
5543 (cpu_features): Use cpuid_registers and cpu_features_basic.
5544 (bit_arch_XXX): Reweritten.
5545 (bit_cpu_XXX): Likewise.
5546 (index_cpu_XXX): Likewise.
5547 (reg_XXX): Likewise.
5548 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
5550 (CHECK_CPU_FEATURE): New.
5551 (CHECK_CPU_FEATURE_USABLE): Likewise.
5552 (cpu_kinds): Likewise.
5553 (do_test): Print vendor, family, model and stepping. Check
5554 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
5555 (TEST_FUNCTION): Removed.
5556 Include <support/test-driver.c> instead of
5557 "../../test-skeleton.c".
5558 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
5559 Check POPCNT instead of POPCOUNT.
5560 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
5562 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5564 * scripts/gen-as-const.py (main): Avoid emitting empty line when
5565 there is no element in `consts'.
5567 2018-12-01 Florian Weimer <fweimer@redhat.com>
5569 * support/support_capture_subprocess.c
5570 (support_capture_subprocess): Check that pipe descriptors have
5571 expected values. Close original pipe descriptors in subprocess.
5573 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5576 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
5577 attr with __pthread_default_barrierattr.
5578 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
5579 attr with __pthread_default_condattr.
5580 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
5581 attr with __pthread_default_mutexattr.
5582 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
5583 attr with __pthread_default_rwlockattr.
5585 2018-12-01 Kemi Wang <kemi.wang@intel.com>
5587 * manual/tunables.texi (POSIX Thread Tunables): New node.
5588 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
5589 * nptl/nptl-init.c: Include pthread_mutex_conf.h
5590 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
5591 __pthread_tunables_init.
5592 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
5593 (max_adaptive_count): Define.
5594 * nptl/pthread_mutex_conf.c: New file.
5595 * nptl/pthread_mutex_conf.h: New file.
5596 * sysdeps/generic/adaptive_spin_count.h: New file.
5597 * sysdeps/nptl/dl-tunables.list: New file.
5598 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5599 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
5600 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
5603 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5606 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
5607 * stdlib/on_exit.c (__on_exit): Likewise.
5608 * stdlib/Makefile (tests): Add tst-bz20544.
5609 * stdlib/tst-bz20544.c: New test.
5611 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
5614 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
5615 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
5618 2018-11-30 Florian Weimer <fweimer@redhat.com>
5620 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
5621 Extend error logging.
5622 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
5625 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5627 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
5628 __sigismember instead of sigismember.
5629 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
5630 cancel_handler): New definitions.
5631 (do_system): Use posix_spawn instead of fork and execl and remove
5633 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
5634 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
5635 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
5636 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5637 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5638 * sysdeps/unix/sysv/linux/system.c: Likewise.
5642 * NEWS: Add new semantic for atfork with popen and system.
5643 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5646 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5649 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5650 modification order when accessing reloc_result->addr.
5651 * include/link.h (reloc_result): Add field init.
5652 * nptl/Makefile (tests): Add tst-audit-threads.
5653 (modules-names): Add tst-audit-threads-mod1 and
5654 tst-audit-threads-mod2.
5655 Add rules to build tst-audit-threads.
5656 * nptl/tst-audit-threads-mod1.c: New file.
5657 * nptl/tst-audit-threads-mod2.c: Likewise.
5658 * nptl/tst-audit-threads.c: Likewise.
5659 * nptl/tst-audit-threads.h: Likewise.
5661 2018-11-30 Joseph Myers <joseph@codesourcery.com>
5663 * scripts/gen-as-const.py: New file.
5664 * scripts/gen-as-const.awk: Remove.
5665 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5667 ($(objpfx)test-as-const-%.c): Likewise.
5669 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5671 * elf/dl-exception.c: Include <_itoa.h>.
5673 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5675 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5676 returned by __f_setlk.
5678 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5679 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5681 * elf/Makefile (tests-internal): Add tst-create_format1.
5682 * elf/dl-exception.c (_dl_exception_create_format): Support
5684 * elf/tst-create_format1.c: New file.
5686 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5688 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5689 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5691 * argp/argp-help.c (__argp_failure): Likewise.
5693 2018-11-29 Mao Han <han_mao@c-sky.com>
5695 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5696 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5697 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5698 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5699 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5700 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5701 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5702 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5703 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5704 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5705 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5706 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5707 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5708 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5709 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5710 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5711 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5712 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5713 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5714 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5715 (R_CKCORE_TLS_TPOFF32): New defines.
5717 2018-11-29 Florian Weimer <fweimer@redhat.com>
5719 * posix/Makefile (before-compile): Remove testcases.h and
5721 (generated): Add testcases.h and ptestcases.h.
5722 (testcases.h, ptestcases.h): Move to $(objpfx).
5723 (runtests.o): Add dependency on testcases.h.
5724 (runptests.o): Add dependency on ptestcases.h.
5725 * posix/testcases.h, posix/ptestcases.h: Remove files.
5726 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5727 not touch posix/testcases.h and posix/ptestcases.h.
5729 2018-11-28 Florian Weimer <fweimer@redhat.com>
5731 support: Add signal support to support_capture_subprocess_check.
5732 * support/capture_subprocess.h (support_capture_subprocess_check):
5733 Adjust comment and rename parameter.
5734 * support/support_capture_subprocess_check.c
5735 (print_actual_status): New function.
5736 (support_capture_subprocess_check): Support negative
5737 status_or_signal. Call print_actual_status.
5738 * support/tst-support_capture_subprocess.c (do_test): Call
5739 support_capture_subprocess_check.
5740 * libio/tst-vtables-common.c (termination_status)
5741 (init_termination_status): Remove.
5742 (check_for_termination): Adjust support_capture_subprocess_check
5744 (do_test): Remove call to init_termination_status.
5746 2018-11-28 Joseph Myers <joseph@codesourcery.com>
5748 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5749 source directory instead of a copy.
5750 (CommandList.create_copy_dir): Remove.
5752 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
5754 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5756 2018-11-28 Florian Weimer <fweimer@redhat.com>
5758 * support/support.h (support_quote_string): Do not use str
5761 2018-11-27 Joseph Myers <joseph@codesourcery.com>
5763 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5764 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5766 2018-11-27 Florian Weimer <fweimer@redhat.com>
5768 * support/support.h (support_quote_string): Declare.
5769 * support/support_quote_string.c: New file.
5770 * support/tst-support_quote_string.c: Likewise.
5771 * support/Makefile (libsupport-routines): Add
5772 support_quote_string.
5773 (tests): Add tst-support_quote_string.
5775 2018-11-27 Florian Weimer <fweimer@redhat.com>
5779 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5780 descriptor leak in case of ENODEV error.
5782 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5785 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5786 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5787 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5789 2018-11-26 Carlos O'Donell <carlos@redhat.com>
5791 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5792 Error for unknown lines.
5794 2018-11-26 Joseph Myers <joseph@codesourcery.com>
5796 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5797 Touch additional files.
5799 2018-11-26 Florian Weimer <fweimer@redhat.com>
5802 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5805 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5808 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5809 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5810 SHARED. Include sysdep.h.
5811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5812 ALWAYS_USE_VSYSCALL.
5813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5814 ALWAYS_USE_VSYSCALL.
5816 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5819 * nptl/Makefile (tests-static): Add tst-cond11-static.
5821 * nptl/tst-cond11-static.c: New File.
5822 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
5823 tst-affinity-static.
5825 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
5827 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
5828 (USE_VSYSCALL): Likewise.
5829 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
5830 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
5832 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
5834 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
5837 2018-11-23 Joseph Myers <joseph@codesourcery.com>
5840 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5841 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
5844 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
5846 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
5847 (tst-cet-legacy-1a-ARGS): New.
5848 ($(objpfx)tst-cet-legacy-1a): New target.
5849 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
5851 2018-11-22 Joseph Myers <joseph@codesourcery.com>
5853 * conform/conformtest.py (CompileSubTest.__init__): Set
5854 self.run_early to False.
5855 (ExecuteSubTest.__init__): Likewise.
5856 (HeaderTests.run): Try running all non-optional, non-XFAILed
5857 compilation tests in a single execution of the compiler.
5859 * conform/conformtest.py (CompileSubTest): New class.
5860 (ExecuteSubTest): Likewise.
5861 (ElementTest.run): Rename to gen_subtests. Append tests to
5862 self.subtests instead of running them.
5863 (ConstantTest.run): Likewise.
5864 (SymbolTest.run): Likewise.
5865 (TypeTest.run): Likewise.
5866 (TagTest.run): Likewise.
5867 (FunctionTest.run): Likewise.
5868 (VariableTest.run): Likewise.
5869 (MacroFunctionTest.run): Likewise.
5870 (MacroStrTest.run): Likewise.
5871 (HeaderTests.handle_test_line): Generate subtests for tests.
5872 (HeaderTests.run): Run subtests for tests.
5874 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5876 * math/Versions (GLIBC_2.29): Add pow.
5877 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5879 * math/w_pow.c: New file.
5880 * sysdeps/i386/fpu/w_pow.c: New file.
5881 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5882 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5883 and add necessary aliases.
5884 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5885 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5886 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5887 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5888 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5889 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5890 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5891 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5892 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5893 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5894 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5895 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5896 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5897 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5898 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5903 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5904 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5905 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5906 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5907 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5908 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5909 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5910 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5912 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5913 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5914 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5916 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5918 * math/Versions (GLIBC_2.29): Add log2.
5919 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5921 * math/w_log2.c: New file.
5922 * sysdeps/i386/fpu/w_log2.c: New file.
5923 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5924 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5925 and add necessary aliases.
5926 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5927 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5928 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5929 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5930 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5931 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5932 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5933 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5934 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5935 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5936 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5937 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5938 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5939 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5940 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5945 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5946 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5947 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5948 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5949 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5950 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5951 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5953 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5955 * math/Versions (GLIBC_2.29): Add log.
5956 * math/w_log_compat.c (__log_compat): Change to versioned compat
5958 * math/w_log.c: New file.
5959 * sysdeps/i386/fpu/w_log.c: New file.
5960 * sysdeps/ia64/fpu/e_log.S: Update.
5961 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5962 and add necessary aliases.
5963 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5964 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5965 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5966 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5967 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5968 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5969 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5970 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5971 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5972 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5973 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5974 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5975 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5976 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5977 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5982 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5983 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5984 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5985 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5986 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5987 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5988 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5989 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5991 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5992 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5993 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5994 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5996 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5998 * math/Versions (GLIBC_2.29): Add exp and exp2.
5999 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6000 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6001 * math/w_exp_compat.c (__exp_compat): Likewise.
6002 * math/w_exp.c: New file.
6003 * math/w_exp2.c: New file.
6004 * sysdeps/i386/fpu/w_exp.c: New file.
6005 * sysdeps/i386/fpu/w_exp2.c: New file.
6006 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6007 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6008 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6009 and add necessary aliases.
6010 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6011 and add necessary aliases.
6012 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6013 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6014 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6015 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6016 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6017 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6018 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6019 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6020 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6021 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6022 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6023 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6024 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6025 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6026 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6027 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6028 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6033 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6034 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6035 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6036 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6037 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6038 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6039 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6040 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6041 (__ieee754_exp): Rename to __exp.
6042 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6043 (__ieee754_exp): Rename to __exp.
6044 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6045 (__ieee754_exp): Rename to __exp.
6046 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6048 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6050 2018-11-20 DJ Delorie <dj@redhat.com>
6052 * malloc/malloc.c (tcache_entry): Add key field.
6053 (tcache_put): Set it.
6054 (tcache_get): Likewise.
6055 (_int_free): Check for double free in tcache.
6056 * malloc/tst-tcfree1.c: New.
6057 * malloc/tst-tcfree2.c: New.
6058 * malloc/Makefile: Run the new tests.
6059 * manual/probes.texi: Document memory_tcache_double_free probe.
6061 * dlfcn/dlerror.c (check_free): Prevent double frees.
6063 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6065 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6067 2018-11-20 Joseph Myers <joseph@codesourcery.com>
6069 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6070 in tests. Use names for format arguments.
6071 (ConstantTest.run): Likewise.
6072 (SymbolTest.run): Likewise.
6073 (TypeTest.run): Likewise.
6074 (TagTest.run): Likewise.
6075 (FunctionTest.run): Likewise.
6076 (VariableTest.run): Likewise.
6077 (MacroFunctionTest.run): Likewise.
6078 (MacroStrTest.run): Likewise.
6079 (HeaderTests.__init__): Set self.num_tests.
6080 (HeaderTests.handle_test_line): Set test.num. Increment
6083 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6085 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
6086 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
6089 2018-11-19 Mao Han <han_mao@c-sky.com>
6091 * scripts/config.guess: Update to version 2018-08-29.
6092 * scripts/config.sub: Update to version 2018-08-29.
6094 2018-11-19 Florian Weimer <fweimer@redhat.com>
6096 support: Print timestamps in timeout handler.
6097 * support/support_test_main.c (print_timestamp): New function.
6098 (signal_handler): Use it to print the termination time and the
6099 time of the last write to standard output.
6101 2018-11-16 Zack Weinberg <zackw@panix.com>
6102 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6104 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
6105 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
6107 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
6108 and add flags argument. Check flags instead of __ldbl_is_dbl when
6109 deciding whether to set is_long_double.
6110 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
6111 passing zero for flags argument.
6112 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
6114 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6115 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
6116 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
6117 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
6118 variable names. Remove libc_hidden_def/libc_hidden_proto from
6119 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
6120 longer called from within the library.
6121 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
6122 for __nldbl___vstrfmon_l, declare it explicitly.
6124 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
6126 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6128 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
6130 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
6131 F_SETLK64, F_SETLKW64, respectively.
6132 * sysdeps/mach/hurd/f_setlk.c: New file.
6133 * sysdeps/mach/hurd/f_setlk.h: New file.
6134 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
6136 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
6137 (__libc_fcntl): Move non-flock operations to...
6138 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
6139 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
6141 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
6143 mktime: DEBUG_MKTIME cleanup
6144 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
6145 And it’s no longer needed now that glibc and Gnulib both have
6146 their own testing mechanisms for mktime.
6147 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
6149 mktime: fix non-EOVERFLOW errno handling
6151 mktime was not properly reporting failures when the underlying
6152 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
6153 them like EOVERFLOW failures, and set errno to EOVERFLOW.
6154 The problem could happen on non-glibc platforms, with Gnulib.
6155 * time/mktime.c (guess_time_tm): Remove, replacing with ...
6156 (tm_diff): ... this simpler function, which does not change errno.
6157 All callers changed to deal with errno themselves.
6158 (ranged_convert, __mktime_internal): Return failure immediately if
6159 the underlying function reports any failure other than EOVERFLOW.
6160 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
6163 mktime: fix bug with Y2038 DST transition
6165 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
6166 mishandle a DST transition that jumps over the Y2038 boundary.
6167 No such DST transitions are known so this is only a theoretical
6168 bug, but we might as well do things right.
6170 mktime: make more room for overflow
6172 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
6173 This is so that we can add tm_diff results to a previous guess,
6174 which will be useful in a later patch.
6176 mktime: simplify offset guess
6178 * time/mktime.c (__mktime_internal): Omit excess precision.
6180 mktime: new test for mktime failure
6182 Based on a test suggested by Albert Aribaud in:
6183 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
6184 * time/Makefile (tests): Add bug-mktime4.
6185 * time/bug-mktime4.c: New file.
6187 mktime: fix EOVERFLOW bug
6189 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
6190 Include libc-config.h, not config.h, for __set_errno.
6191 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
6193 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6195 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
6196 __attribute_copy__ to copy attributes from name. Drop static qualifier
6197 to avoid warnings about leaf attribute not having effect on static
6200 2018-11-13 Florian Weimer <fweimer@redhat.com>
6202 * malloc/malloc.c (fastbin_push_entry): New function.
6203 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6204 (REMOVE_FB): Remove macro.
6205 (_int_malloc): Use fastbin_pop_entry and reindent.
6206 (_int_free): Use fastbin_push_entry.
6207 (malloc_consolidate): Use atomic_exchange_acquire.
6209 2018-11-13 Joseph Myers <joseph@codesourcery.com>
6211 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6212 alias attribute, not with strong_alias.
6214 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6215 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6216 with additional parameter thread.
6217 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6218 in terms of __hidden_ver2.
6219 (hidden_tls_def): New macro.
6220 (libc_hidden_tls_def): Likewise.
6221 (rtld_hidden_tls_def): Likewise.
6222 (libm_hidden_tls_def): Likewise.
6223 (libmvec_hidden_tls_def): Likewise.
6224 (libresolv_hidden_tls_def): Likewise.
6225 (librt_hidden_tls_def): Likewise.
6226 (libdl_hidden_tls_def): Likewise.
6227 (libnss_files_hidden_tls_def): Likewise.
6228 (libnsl_hidden_tls_def): Likewise.
6229 (libnss_nisplus_hidden_tls_def): Likewise.
6230 (libutil_hidden_tls_def): Likewise.
6231 (libutil_hidden_tls_def): Likweise.
6232 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6233 libc_hidden_tls_def.
6234 (__sim_disabled_exceptions_thread): Likewise.
6235 (__sim_round_mode_thread): Likewise.
6237 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6238 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6239 copy attributes from name.
6241 2018-11-12 Joseph Myers <joseph@codesourcery.com>
6243 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6244 Use __attribute_copy__ to copy attributes from name.
6246 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6247 with __hidden_ver1 call.
6248 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6249 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6250 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6251 (__cosf): Do not declare here.
6252 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6253 (__sincosf): Do not declare here.
6254 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6255 (__sinf): Do not declare here.
6257 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6258 (__BIG_ENDIAN): Likewise.
6259 (__BYTE_ORDER): Likewise.
6260 (strong_alias): Likewise.
6261 (_strong_alias): Likewise.
6263 2018-11-12 Florian Weimer <fweimer@redhat.com>
6265 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6266 function. Move after the definition of in_smallbin_range. Do not
6267 use __builtin_expect for paths that lead to a noreturn function.
6268 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6269 because it is unclear whether this is in fact an unlikely
6271 (_int_malloc, _int_free): Adjust.
6272 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6274 * malloc/arena.c (heap_trim): Likewise.
6276 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6278 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
6279 it, free it if needed.
6280 (reauthenticate): Test and use ccwdir.
6281 (child_init_port): In non-resetids case, test and use ccwdir.
6282 (child_chdir): New nested function to set ccwdir.
6283 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
6284 * hurd/hurd/port.h (_hurd_port_move): New function.
6285 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
6286 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
6287 * hurd/Versions (_hurd_port_move): Export function.
6288 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
6290 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
6291 of dtablesize for allocating dtable_cloexec.
6293 2018-11-09 Martin Sebor <msebor@redhat.com>
6295 * include/libc-symbols.h (__attribute_copy__): Define macro unless
6296 it's already defined.
6297 (_strong_alias): Use __attribute_copy__.
6298 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
6299 * misc/sys/cdefs.h (__attribute_copy__): New macro.
6300 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
6301 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
6302 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
6303 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
6304 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
6305 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
6306 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
6307 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
6308 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
6309 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
6310 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
6311 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
6312 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
6313 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
6314 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
6315 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
6316 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
6318 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6320 * misc/tst-efgcvt.c: Include support/check.h and
6321 support/test-driver.c. Do not include test-skeleton.c.
6322 (error_count): Remove.
6323 (output_error): Replace increments to error_count with calls to
6324 support_record_failure.
6325 (output_r_error): Likewise.
6326 (special): Likewise.
6327 (do_test): Unconditionally return zero.
6328 (TEST_FUNCTION): Remove.
6330 2018-11-09 Joseph Myers <joseph@codesourcery.com>
6332 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
6334 ($(linknamespace-header-tests)): Likewise.
6336 * conform/conformtest.py: New file.
6337 * conform/conformtest.pl: Remove.
6338 * conform/GlibcConform.pm: Likewise.
6339 * conform/glibcconform.py (KEYWORDS_C90): New constant.
6340 (KEYWORDS_C99): Likewise.
6341 (KEYWORDS): Likewise.
6342 * conform/Makefile ($(conformtest-header-tests)): Use
6343 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
6344 option. Use --header instead of --headers.
6345 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
6347 * conform/data/spawn.h-data: Likewise.
6348 * conform/data/fcntl.h-data (openat): Add space after function
6350 * conform/data/wchar.h-data (wcscasecmp): Likewise.
6351 (wcscasecmp_l): Likewise.
6352 * conform/data/termios.h-data (c_cc): Add space after element
6355 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6357 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
6358 instead of manually comparing and reporting mismatching strings.
6359 * misc/tst-ldbl-error.c (do_one_test): Likewise.
6360 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6362 2018-11-08 Joseph Myers <joseph@codesourcery.com>
6364 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
6365 __ASSUME_SOCKETCALL.
6366 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6367 (__ASSUME_SOCKETCALL): Remove.
6368 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6369 (__ASSUME_SOCKETCALL): Likewise.
6370 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6371 (__ASSUME_SOCKETCALL): Likewise.
6372 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6373 (__ASSUME_SOCKETCALL): Likewise.
6374 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6375 (__ASSUME_SOCKETCALL): Likewise.
6376 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6377 (__ASSUME_SOCKETCALL): Likewise.
6378 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6379 (__ASSUME_SOCKETCALL): Likewise.
6381 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
6384 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
6385 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
6386 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
6387 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
6388 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
6391 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
6394 * resolv/tst-resolv-network.c: Add test for getnetbyname.
6396 2018-11-07 Joseph Myers <joseph@codesourcery.com>
6399 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6400 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6401 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6402 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6404 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6406 * support/support_test_compare_string.c
6407 (support_test_compare_string): Fix printf format.
6409 2018-11-07 Florian Weimer <fweimer@redhat.com>
6411 Implement TEST_COMPARE_STRING.
6412 * support/check.h (TEST_COMPARE_STRING): Define.
6413 (support_test_compare_string): Declare.
6414 * support/Makefile (libsupport-routines): Add
6415 support_test_compare_string.
6416 (tests): Add tst-test_compare_string.
6417 * support/support_test_compare_string.c: New file.
6418 * support/tst-test_compare_string.c: Likewise.
6420 2018-11-07 Andreas Schwab <schwab@suse.de>
6423 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
6424 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
6427 2018-11-06 Joseph Myers <joseph@codesourcery.com>
6430 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6431 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
6432 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
6433 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
6436 2018-11-06 Florian Weimer <fweimer@redhat.com>
6439 * posix/Makefile (routines): Add spawn_faction_addchdir.
6440 (tests): Add tst-spawn-chdir.
6441 * posix/Versions (GLIBC_2.29): Add
6442 posix_spawn_file_actions_addchdir_np.
6443 * posix/spawn_faction_addchdir.c: New file.
6444 * posix/spawn_faction_destroy.c
6445 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
6446 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
6447 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
6449 * posix/tst-spawn-chdir.c: New file.
6450 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
6451 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6452 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6453 posix_spawn_file_actions_addchdir_np.
6454 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6456 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6458 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6459 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6461 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6463 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6465 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6467 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6469 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6471 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6472 (GLIBC_2.29): Likewise.
6473 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6474 (GLIBC_2.29): Likewise.
6475 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6476 (GLIBC_2.29): Likewise.
6477 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6478 (GLIBC_2.29): Likewise.
6479 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6482 (GLIBC_2.29): Likewise.
6483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6484 (GLIBC_2.29): Likewise.
6485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6486 (GLIBC_2.29): Likewise.
6487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6488 (GLIBC_2.29): Likewise.
6489 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6491 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6493 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6495 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6496 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6498 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6500 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6502 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6505 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6507 * misc/Makefile (tests): Add tst-ldbl-error.
6508 * misc/tst-ldbl-error.c: New file.
6510 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6512 * misc/Makefile (tests): Add tst-ldbl-warn.
6513 * misc/tst-ldbl-warn.c: New file.
6515 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6517 * argp/Makefile (tests): Add tst-ldbl-argp.
6518 * argp/tst-ldbl-argp.c: New file.
6520 2018-11-05 Arjun Shankar <arjun@redhat.com>
6522 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
6523 __gconv_path_elem and call __gconv_get_path unconditionally.
6525 2018-11-05 Andreas Schwab <schwab@suse.de>
6528 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
6529 creating the first helper thread failed.
6531 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6533 * sysdeps/mach/hurd/msync.c: New file.
6535 2018-11-02 Florian Weimer <fweimer@redhat.com>
6537 * support/shell-container.c (copy_func): Call
6538 support_copy_file_range instead of copy_file_range to support
6539 cross-device copies.
6541 2018-11-02 Florian Weimer <fweimer@redhat.com>
6543 * support/test-container.c: Include <libc-pointer-arith.h> for
6546 2018-11-01 Zong Li <zong@andestech.com>
6548 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
6549 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
6550 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
6551 (__FP_FRAC_SET_8): Add implementation for RV32 use.
6553 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
6554 variable to avoid overlap arguments.
6556 2018-11-01 Joseph Myers <joseph@codesourcery.com>
6558 * posix/bug-regex22.c (main): Use puts with distinct error
6559 messages for unexpected success of re_compile_pattern, not printf
6560 with NULL argument to %s.
6562 * stdio-common/bug22.c: Include <libc-diag.h>.
6563 (do_test): Disable -Wformat-overflow= warnings around fprintf
6564 calls outputting more than INT_MAX characters.
6565 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
6566 around printf call with NULL %s argument.
6569 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
6570 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
6572 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6573 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6574 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6575 (__ASSUME_SENDTO_SYSCALL): Likewise.
6576 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6577 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
6579 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6580 (__ASSUME_CONNECT_SYSCALL): Likewise.
6581 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6582 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6583 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
6585 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
6587 [__LINUX_KERNEL_VERSION >= 0x040400]
6588 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6589 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
6592 (setsockopt): Likewise.
6594 2018-11-01 Fredrik Noring <noring@nocrew.org>
6596 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
6597 with the ISA override.
6599 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
6601 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
6604 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6606 * manual/errno.texi (EIEIO): Document how translators should
6607 translate the error message.
6608 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
6609 printing trailing whitespaces refused by git.
6610 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
6611 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6612 * hurd/Makefile (user-interfaces): Add pci.
6614 2018-10-30 Joseph Myers <joseph@codesourcery.com>
6616 * conform/linknamespace.py: New file.
6617 * conform/linknamespace.pl: Remove file.
6618 * conform/Makefile ($(linknamespace-header-tests)): Use
6619 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
6622 2018-10-30 Florian Weimer <fweimer@redhat.com>
6624 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
6627 2018-10-30 Florian Weimer <fweimer@redhat.com>
6629 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
6631 2018-10-30 Florian Weimer <fweimer@redhat.com>
6633 * stdlib/tst-strtod-overflow.c (do_test): Switch to
6634 support_blob_repeat.
6636 2018-10-30 Florian Weimer <fweimer@redhat.com>
6638 Avoid spurious test failures in stdlib/test-bz22786.
6639 * support/Makefile (libsupport-routines): Add blob_repeat.
6640 (tests): Add tst-support_blob_repeat.
6641 * support/blob_repeat.h: New file.
6642 * support/blob_repeat.c: Likewise.
6643 * support/tst-support_blob_repeat.c: Likewise.
6644 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6645 support_blob_repeat_allocate.
6647 2018-10-30 Andreas Schwab <schwab@suse.de>
6650 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6651 Don't use tail call.
6652 * elf/tst-unwind-main.c: New file.
6653 * elf/Makefile (tests): Add tst-unwind-main.
6654 (CFLAGS-tst-unwind-main.c): Define.
6656 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
6659 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6661 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6663 2018-10-29 Joseph Myers <joseph@codesourcery.com>
6665 * conform/glibcconform.py: Do not import shutil.
6666 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6669 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6670 critic_missing for versions before 3.4.
6671 * configure: Regenerated.
6672 * manual/install.texi (Tools for Compilation): Document
6673 requirement for Python to build glibc.
6674 * INSTALL: Regenerated.
6675 * Rules [PYTHON]: Make code unconditional.
6676 * benchtests/Makefile [PYTHON]: Likewise.
6677 * conform/Makefile [PYTHON]: Likewise.
6678 * manual/Makefile [PYTHON]: Likewise.
6679 * math/Makefile [PYTHON]: Likewise.
6681 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6683 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
6684 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
6685 answer to interrupt_operation, return EIEIO instead of EINTR.
6686 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6687 _hurd_intr_rpc_msg_about_to global point to start of controlled
6688 assembly snippet. Make it check canceled flag.
6689 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6690 the _hurd_intr_rpc_msg_about_to point.
6691 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6692 issue, remove cancel flag check.
6694 2018-10-26 Joseph Myers <joseph@codesourcery.com>
6696 * scripts/build-many-glibcs.py: Remove compatibility for missing
6697 os.cpu_count and re.fullmatch.
6699 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6702 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6703 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6704 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6706 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6708 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6711 2018-10-25 Florian Weimer <fweimer@redhat.com>
6715 XFAIL siginfo_t si_band conform test on sparc64.
6716 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6717 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6718 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6719 (conformtest-xfail-conds): Add sparc64-linux.
6720 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6722 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6724 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6726 * elf/elf.h (NT_MIPS_DSP): New macro.
6727 (NT_MIPS_FP_MODE): Likewise.
6729 2018-10-25 Zong Li <zong@andestech.com>
6731 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6732 name by adding the file extension (.so).
6734 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6736 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6737 (test-xfail-ISO11/threads.h/linknamespace,
6738 test-xfail-ISO11/threads.h/conform): Add.
6740 2018-10-24 Joseph Myers <joseph@codesourcery.com>
6742 * math/gen-libm-test.py: Import os.
6743 (ALL_FLOATS_MANUAL): New constant.
6744 (ALL_FLOATS_SUFFIX): Likewise.
6745 (Ulps.all_functions): New function.
6746 (real_all_ulps): Likewise.
6747 (generate_err_table_sub): Likewise.
6748 (generate_err_table): Likewise.
6749 (main): Handle -s and -m options.
6750 * manual/libm-err-tab.pl: Remove.
6751 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6752 instead of libm-err-tab.pl.
6753 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6755 * manual/install.texi (Tools for Compilation): Document
6756 requirement for Python to build manual.
6757 * INSTALL: Regenerated.
6759 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6761 * bits/time64.h: New file.
6762 * include/time.h: Replace internal_time_t with __time64_t.
6763 * posix/bits/types (__time64_t): Add.
6764 * stdlib/Makefile: Add bits/time64.h to includes.
6765 * time/tzfile.c: Replace internal_time_t with __time64_t.
6767 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6769 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6770 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6771 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6772 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6773 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6775 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6776 * posix/spawn_faction_addclose.c
6777 (__posix_spawn_file_actions_addclose): Add hidden definition.
6778 * posix/spawn_faction_adddup2.c
6779 (__posix_spawn_file_actions_adddup2): Likewise.
6780 * posix/spawn_faction_destroy.c
6781 (__posix_spawn_file_actions_destroy): Likewise.
6782 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6784 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6785 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6786 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6788 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6789 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6792 2018-10-24 Andreas Schwab <schwab@suse.de>
6795 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6797 * elf/cache.c (print_cache): Likewise.
6799 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6801 * bits/timesize.h: New file.
6802 * stdlib/Makefile (headers): Add bits/timesize.h.
6803 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6804 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6805 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6806 (__SEM_PAD_AFTER_TIME): Likewise.
6807 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6808 (__SHM_PAD_AFTER_TIME): Likewise.
6809 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6810 (__MSQ_PAD_BEFORE_TIME): Likewise.
6811 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6812 (__SEM_PAD_BEFORE_TIME): Likewise.
6813 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6814 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6815 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
6816 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6817 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6818 (__MSQ_PAD_BEFORE_TIME): Likewise.
6819 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6820 (__SEM_PAD_BEFORE_TIME): Likewise.
6821 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
6822 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6823 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
6824 (__MSQ_PAD_BEFORE_TIME): Likewise.
6825 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
6826 (__SEM_PAD_BEFORE_TIME): Likewise.
6827 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
6828 (__SHM_PAD_BEFORE_TIME): Likewise.
6829 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
6830 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6831 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
6833 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
6835 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
6836 USE_RDTSCP is defined.
6837 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
6838 USE_RDTSCP is defined.
6840 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6842 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
6846 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
6847 independently of other flags.
6849 2018-10-23 Florian Weimer <fweimer@redhat.com>
6851 * time/tst-mktime2.c (N_STRINGS): Remove.
6852 (set_timezone): New function.
6853 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6854 (mktime_test1): Report localtime failure and check errno value.
6856 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6857 (do_test): Remove alarm call. Use set_timezone and array_length.
6859 2018-10-23 Andreas Schwab <schwab@suse.de>
6861 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6862 (__start_context): Use END instead of PSEUDO_END.
6864 2018-10-22 Joseph Myers <joseph@codesourcery.com>
6866 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6869 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6873 * wcsmbs/c32rtomb.c: New file.
6874 * wcsmbs/mbrtoc32.c: Likewise.
6875 * wcsmbs/tst-c32-state.c: Likewise.
6876 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6877 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6878 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6879 (tests): Add tst-c32-state.
6880 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6883 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6885 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6886 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6888 2018-10-19 Joseph Myers <joseph@codesourcery.com>
6891 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6892 pair and return 0 in that case, and use saved character to
6893 interpret following character.
6894 * wcsmbs/tst-c16-surrogate.c: New file.
6895 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6896 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6897 Depend on $(gen-locales)
6899 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6902 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6903 (struct siginfo_t): Use correct type for si_band.
6905 2018-10-19 Florian Weimer <fweimer@redhat.com>
6908 * resource/bits/types/struct_rusage.h (struct rusage): Update
6909 comment on struct. Remove extraneous field comment.
6911 2018-10-18 David S. Miller <davem@davemloft.net>
6913 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6914 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6915 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6916 sysdep_routines in subdir elf.
6917 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6918 version for __vdso_clock_gettime.
6919 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6921 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6922 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6924 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6926 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6928 * sysdeps/i386/init-arch.h: Removed.
6929 * sysdeps/i386/i586/init-arch.h: Likewise.
6930 * sysdeps/i386/i686/init-arch.h: Likewise.
6931 * sysdeps/i386/i686/hp-timing.h: Likewise.
6932 * sysdeps/x86_64/hp-timing.h: Likewise.
6933 * sysdeps/i386/isa.h: New file.
6934 * sysdeps/i386/i586/isa.h: Likewise.
6935 * sysdeps/i386/i686/isa.h: Likewise.
6936 * sysdeps/x86_64/isa.h: Likewise.
6937 * sysdeps/x86/hp-timing.h: New file.
6938 * sysdeps/x86/init-arch.h: Include <isa.h>.
6940 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6942 * math/libm-test-pow.inc (pow_test_data): Do not allow
6943 divide-by-zero exception for pow(+/- 0, -Inf).
6945 2018-10-17 Zack Weinberg <zackw@panix.com>
6947 * manual/job.texi (Job Control is Optional): Remove node, as
6948 job control has not been optional in quite some time.
6949 (Job Control): Mention briefly that systems older than
6950 POSIX.1-2001 might not support job control.
6951 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6952 defined on systems conforming to POSIX.1-2001.
6954 2018-10-17 Arjun Shankar <arjun@redhat.com>
6957 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6959 * (__gconv_read_conf): Mark function static.
6960 * (once): New static variable.
6961 * (__gconv_load_conf): New function.
6962 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6963 * iconv/gconv_db.c (once): Remove static variable.
6964 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6966 * (__gconv_find_transform): Likewise.
6967 * iconv/tst-iconv-mt.c: New test.
6968 * iconv/Makefile: Add tst-iconv_mt.
6970 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6972 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6974 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6975 (shmatt_t): Define as __syscall_ulong_t.
6976 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6977 and [__SHM_PAD_AFTER_TIME].
6978 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6979 Define shm_segsz and associated padding based on
6980 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6981 Use __syscall_ulong_t instead of unsigned long int.
6982 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6984 [__USE_MISC] (struct shm_info): Likewise.
6985 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6986 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6987 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6988 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6989 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6990 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6991 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6992 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6993 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6994 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6995 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6999 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7000 (SHMLBA): Remove macro.
7001 (__getpagesize): Remove function declaration.
7002 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7004 (SHMLBA): Remove macro.
7005 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7007 (SHMLBA): Remove macro.
7008 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7010 (SHMLBA): Remove macro.
7011 (__getpagesize): Remove function declaration.
7012 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7014 (SHMLBA): Remove macro.
7015 (__getshmlba): Remove function declaration.
7016 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7017 (SHMLBA): Remove macro.
7018 (__getpagesize): Remove function declaration.
7019 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7020 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7021 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7022 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7023 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7024 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7025 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7026 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7027 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7028 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7030 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
7033 * nptl/tst-mutex10.c: New File.
7034 * nptl/Makefile (tests): Add tst-mutex10.
7035 (tst-mutex10-ENV): New variable.
7036 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7037 Ensure that elision path is used if elision is available.
7038 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7040 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7042 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7043 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7044 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7045 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7047 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7048 (__pthread_mutex_cond_lock_adjust): Likewise.
7049 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7051 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7052 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7053 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7054 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7056 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7057 Use atomic_load_relaxed and atomic_store_relaxed.
7058 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7059 Use atomic_store_relaxed.
7061 2018-10-17 Andreas Schwab <schwab@suse.de>
7063 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7064 * crypt/badsalttest.c (TIMEOUT): Likewise.
7065 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7066 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7067 * io/test-lfs.c (TIMEOUT): Likewise.
7068 * libio/tst-atime.c (TIMEOUT): Likewise.
7069 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7070 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7071 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7072 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7073 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7074 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7075 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7076 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7077 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7078 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7079 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7080 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7081 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7082 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7083 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
7084 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
7085 * nptl/tst-once2.c (TIMEOUT): Likewise.
7086 * nptl/tst-once3.c (TIMEOUT): Likewise.
7087 * nptl/tst-once4.c (TIMEOUT): Likewise.
7088 * nptl/tst-robust8.c (TIMEOUT): Likewise.
7089 * nptl/tst-robust9.c (TIMEOUT): Likewise.
7090 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
7091 * nptl/tst-sem14.c (TIMEOUT): Likewise.
7092 * nptl/tst-sem6.c (TIMEOUT): Likewise.
7093 * nptl/tst-signal3.c (TIMEOUT): Likewise.
7094 * nptl/tst-spin4.c (TIMEOUT): Likewise.
7095 * nptl/tst-tls3.c (TIMEOUT): Likewise.
7096 * nptl/tst-tls4.c (TIMEOUT): Likewise.
7097 * posix/tst-chmod.c (TIMEOUT): Likewise.
7098 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
7099 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
7100 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
7101 * posix/tst-regex2.c (TIMEOUT): Likewise.
7102 * posix/tst-waitid.c (TIMEOUT): Likewise.
7103 * rt/tst-aio.c (TIMEOUT): Likewise.
7104 * rt/tst-aio10.c (TIMEOUT): Likewise.
7105 * rt/tst-aio4.c (TIMEOUT): Likewise.
7106 * rt/tst-aio5.c (TIMEOUT): Likewise.
7107 * rt/tst-aio6.c (TIMEOUT): Likewise.
7108 * rt/tst-aio64.c (TIMEOUT): Likewise.
7109 * rt/tst-aio7.c (TIMEOUT): Likewise.
7110 * rt/tst-aio9.c (TIMEOUT): Likewise.
7111 * rt/tst-clock.c (TIMEOUT): Likewise.
7112 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
7113 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
7114 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
7115 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
7116 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
7117 * rt/tst-timer4.c (TIMEOUT): Likewise.
7118 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
7119 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
7120 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
7121 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
7122 * time/tst-ftime.c (TIMEOUT): Likewise.
7123 * timezone/tst-tzset.c (TIMEOUT): Likewise.
7125 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
7127 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
7128 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
7131 2018-10-15 Joseph Myers <joseph@codesourcery.com>
7133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7135 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
7136 instead of <bits/wordsize.h>.
7137 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
7138 and [__SEM_PAD_AFTER_TIME].
7139 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
7140 __syscall_ulong_t instead of unsigned long int.
7141 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
7142 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
7143 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
7144 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
7145 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
7146 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
7147 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
7148 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
7149 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7150 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7151 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7153 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
7155 regex: simplify by using intprops.h
7157 * posix/regex_internal.h [_LIBC]: Include intprops.h.
7158 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
7159 intprops.h defines them.
7161 regex: __builtin_expect → __glibc_unlikely
7163 This refactoring was prompted by a problem when the regex code is
7164 used as part of Gnulib and when the builder’s compiler does not grok
7165 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
7166 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
7167 Although this refactoring does not fix the problem directly,
7168 we might as well have Gawk use the now-preferred glibc style for when
7169 __builtin_expect is unavailable.
7170 * posix/regex_internal.h (BE): Remove.
7171 All uses replaced by __glibc_unlikely or __glibc_likely.
7173 2018-10-11 Joseph Myers <joseph@codesourcery.com>
7175 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7177 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
7178 instead of <bits/wordsize.h>.
7179 (msgqnum_t): Define as __syscall_ulong_t.
7180 (msglen_t): Likewise.
7181 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
7182 and [__MSQ_PAD_AFTER_TIME].
7183 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
7184 __syscall_ulong_t instead of unsigned long int.
7185 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
7186 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
7187 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
7188 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
7189 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
7190 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
7191 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
7192 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
7193 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7194 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7195 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7197 2018-10-10 Joseph Myers <joseph@codesourcery.com>
7199 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
7200 (struct shmid_ds): Condition padding after time fields on
7202 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7203 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7204 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7206 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7207 (struct semid_ds): Condition padding after time fields on
7209 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7210 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7211 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7212 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7214 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7215 (struct msqid_ds): Condition padding after time fields on
7217 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7218 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7219 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7220 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7222 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7224 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7226 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7228 * libio/tst-readline.c (TIMEOUT): Define.
7230 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7232 mktime fix for Gnulib + coreutils
7234 This fix affects only Gnulib. Problem discovered when
7235 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7237 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7238 Do not define since it is not used. Defining an unused static
7239 function prompts a warning from GCC when Coreutils is configured
7240 with --enable-gcc-warnings.
7242 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7244 * benchtests/scripts/compare_bench.py (main): set float type on
7247 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7250 * localedata/locales/kl_GL (mon): Update, the relative case.
7251 (alt_mon): Add, fill with month names in the nominative case.
7252 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7253 (d_fmt): Set to "%b %d %Y".
7255 2018-10-04 Joseph Myers <joseph@codesourcery.com>
7257 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7258 <bits/mman-linux.h>.
7259 (PROT_READ): Don't define here.
7260 (PROT_WRITE): Likewise.
7261 (PROT_EXEC): Likewise.
7262 (PROT_NONE): Likewise.
7263 (PROT_GROWSDOWN): Likewise.
7264 (PROT_GROWSUP): Likewise.
7265 (MAP_SHARED): Likewise.
7266 (MAP_PRIVATE): Likewise.
7267 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7268 [__USE_MISC] (MAP_FILE): Likewise.
7269 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7270 [__USE_MISC] (MAP_ANON): Likewise.
7271 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7272 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7273 (MCL_CURRENT): Likewise.
7274 (MCL_FUTURE): Likewise.
7275 (MCL_ONFAULT): Likewise.
7276 [__USE_MISC] (MADV_NORMAL): Likewise.
7277 [__USE_MISC] (MADV_RANDOM): Likewise.
7278 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
7279 [__USE_MISC] (MADV_WILLNEED): Likewise.
7280 [__USE_MISC] (MADV_DONTNEED): Likewise.
7281 [__USE_MISC] (MADV_FREE): Likewise.
7282 [__USE_MISC] (MADV_REMOVE): Likewise.
7283 [__USE_MISC] (MADV_DONTFORK): Likewise.
7284 [__USE_MISC] (MADV_DOFORK): Likewise.
7285 [__USE_MISC] (MADV_HWPOISON): Likewise.
7286 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
7287 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
7288 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
7289 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
7290 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
7291 (__MAP_ANONYMOUS): New macro.
7292 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
7293 <bits/mman-linux.h> inclusion.
7294 (MAP_FIXED): Likewise.
7295 (MS_SYNC): Likewise.
7296 (MS_ASYNC): Likewise.
7297 (MS_INVALIDATE): Likewise.
7298 [__USE_MISC] (MADV_MERGEABLE): Likewise.
7299 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
7300 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
7301 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
7302 [__USE_MISC] (MADV_DONTDUMP): Likewise.
7303 [__USE_MISC] (MADV_DODUMP): Likewise.
7304 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7305 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7308 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
7310 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
7311 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
7312 Add test-nldbl-redirect.
7313 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
7314 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
7315 $(objpfx)libnldbl_nonshared.a.
7317 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
7319 * support/support.h (support_objdir_elf_ldso): New variable.
7320 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
7321 * support/Makefile (CFLAGS-support_paths.c): Add definition
7322 for OBJDIR_ELF_LDSO_PATH.
7323 * support/test-container.c (main): Search for the ld.so
7324 which is also used by the testsuite.
7326 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
7329 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
7330 should be "sap" rather than "sab".
7331 (day): Fix spelling of Sunday, should be "sapaat" rather than
7334 2018-10-02 Joseph Myers <joseph@codesourcery.com>
7336 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7338 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
7341 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
7342 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
7343 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
7345 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7347 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
7349 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
7351 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
7353 (CFLAGS-elision-unlock.c): Likewise.
7354 (CFLAGS-elision-timed.c): Likewise.
7355 (CFLAGS-elision-trylock.c): Likewise.
7356 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
7358 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7361 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
7362 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
7363 new fd_to_filename interface.
7364 * libio/freopen64.c (freopen64): Likewise.
7365 * libio/tst-memstream.h: New file.
7366 * libio/tst-memstream4.c: Likewise.
7367 * libio/tst-wmemstream4.c: Likewise.
7368 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
7369 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
7370 and remove internal dynamic allocation.
7372 2018-10-01 Joseph Myers <joseph@codesourcery.com>
7374 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7375 (MREMAP_MAYMOVE): Do not define here.
7376 [__USE_GNU] (MREMAP_FIXED): Likewise.
7377 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
7378 (MREMAP_MAYMOVE): Define here instead.
7379 [__USE_GNU] (MREMAP_FIXED): Likewise.
7380 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
7381 (MREMAP_MAYMOVE): Remove.
7382 [__USE_GNU] (MREMAP_FIXED): Likewise.
7384 2018-09-28 Joseph Myers <joseph@codesourcery.com>
7386 * math/fromfp.h: Do not include <math_private.h>.
7387 * math/s_cacosh_template.c: Likewise.
7388 * math/s_casin_template.c: Likewise.
7389 * math/s_casinh_template.c: Likewise.
7390 * math/s_ccos_template.c: Likewise.
7391 * math/s_cproj_template.c: Likewise.
7392 * math/s_fdim_template.c: Likewise.
7393 * math/s_fmaxmag_template.c: Likewise.
7394 * math/s_fminmag_template.c: Likewise.
7395 * math/s_iseqsig_template.c: Likewise.
7396 * math/s_ldexp_template.c: Likewise.
7397 * math/s_nextdown_template.c: Likewise.
7398 * math/w_log1p_template.c: Likewise.
7399 * math/w_scalbln_template.c: Likewise.
7400 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7401 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7402 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7403 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7404 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
7405 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
7406 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
7407 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
7408 * sysdeps/i386/fpu/s_atanl.c: Likewise.
7409 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
7410 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
7411 * sysdeps/i386/fpu/s_fdim.c: Likewise.
7412 * sysdeps/i386/fpu/s_logbl.c: Likewise.
7413 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7414 * sysdeps/i386/fpu/s_significandl.c: Likewise.
7415 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
7416 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
7417 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7418 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7419 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7420 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7421 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7422 * sysdeps/ieee754/k_standardf.c: Likewise.
7423 * sysdeps/ieee754/k_standardl.c: Likewise.
7424 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7425 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7426 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
7427 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7428 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7429 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7430 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7431 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7432 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7433 * sysdeps/ieee754/s_signgam.c: Likewise.
7434 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7435 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
7436 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
7437 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7438 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7439 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7440 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7441 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7442 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7443 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7444 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7445 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7446 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7447 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7448 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7449 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7450 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7451 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7452 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7453 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7454 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7455 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7456 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7457 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7458 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7459 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7460 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7461 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7462 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7463 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7464 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7465 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7466 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7467 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7468 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7469 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7470 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
7472 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7474 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
7477 * sysdeps/i386/dl-cet.c: Removed.
7478 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
7480 (_dl_runtime_profile_shstk): Likewise.
7481 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
7482 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
7484 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7487 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
7488 do_test_with_invalid_iov): New tests.
7489 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
7490 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
7491 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
7493 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7494 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7495 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7497 2018-09-27 Joseph Myers <joseph@codesourcery.com>
7499 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7500 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
7501 (MATH_REDIRECT_BINARY_ARGS): New macro.
7502 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7503 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
7504 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
7506 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
7507 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7508 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
7509 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7510 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7511 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7512 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
7517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
7519 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
7520 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
7521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
7523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
7525 * sysdeps/generic/math_private_calls.h
7526 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
7527 Do not declare and define as an inline function.
7528 * math/divtc3.c (__divtc3): Use copysign functions instead of
7529 __copysign variants.
7530 * math/multc3.c (__multc3): Likewise.
7531 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
7532 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
7533 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7534 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7536 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7537 (__ieee754_yn): Likewise.
7538 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7539 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
7540 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7541 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7542 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
7544 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
7545 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7547 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7549 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7551 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7552 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7554 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7555 (__ieee754_ynf): Likewise.
7556 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7557 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7558 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7559 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7561 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7562 (__ieee754_ynl): Likewise.
7563 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7564 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7565 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7567 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7568 (__ieee754_ynl): Likewise.
7569 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
7570 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7571 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7572 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7574 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7576 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
7577 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7578 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
7579 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7580 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7582 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7583 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
7584 using MATH_REDIRECT.
7585 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
7587 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
7588 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7589 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7590 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
7591 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7592 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7593 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
7595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
7596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
7597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
7598 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7599 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7600 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7601 (round): Redirect to __round.
7602 (__roundl): Call round instead of __round.
7603 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
7605 [_ARCH_PWR5X] (__roundf): Likewise.
7606 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
7607 functions instead of __round variants.
7608 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7609 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7611 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7613 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7615 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7616 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
7618 (__ieee754_expl): Call roundl instead of __roundl.
7620 2018-09-27 Andreas Schwab <schwab@suse.de>
7623 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
7624 (do_test): Make st1 static.
7626 2018-09-26 Andreas Schwab <schwab@suse.de>
7629 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
7630 * elf/Makefile (tests): Add tst-unwind-ctor.
7631 (modules-names): Add tst-unwind-ctor-lib.
7632 ($(objpfx)tst-unwind-ctor): Depend on
7633 $(objpfx)tst-unwind-ctor-lib.so.
7635 2018-09-26 Joseph Myers <joseph@codesourcery.com>
7637 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
7638 file. Most contents moved from ....
7639 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7640 and include <bits/mman-map-flags-generic.h>.
7641 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7642 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7643 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7644 <bits/mman-map-flags-generic.h>.
7645 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7646 macros defined in <bits/mman-map-flags-generic.h>.
7647 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7648 <bits/mman-map-flags-generic.h>.
7649 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7650 defined in <bits/mman-map-flags-generic.h>.
7652 2018-09-26 Andreas Schwab <schwab@suse.de>
7654 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7657 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7658 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7659 Fangrui Song <maskray@google.com>
7662 * config.make.in (have-textrel_ifunc): New define.
7663 * configure.ac: Add check if linker supports textrel relocation with
7665 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7667 (CFLAGS-tst-ifunc-textrel.c): New rule.
7668 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7669 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7670 * elf/tst-ifunc-textrel.c: New file.
7672 2018-09-25 Joseph Myers <joseph@codesourcery.com>
7674 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7675 <bits/procfs-prregset.h>.
7676 (prgregset_t): Define using __prgregset_t.
7677 (prfpregset_t): Define using __prfpregset_t.
7678 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7679 (sysdep_headers): Add bits/procfs-prregset.h.
7680 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7681 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7682 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7683 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7685 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7686 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7687 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7689 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7690 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7691 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7692 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7693 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7694 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7695 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7696 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7697 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7698 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7699 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7700 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7701 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7702 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7703 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7704 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7705 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7706 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7707 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7708 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7709 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7710 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7711 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7712 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7714 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7715 AArch64 version. Include <bits/procfs.h>.
7716 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7717 (sysdep_headers): Add bits/procfs.h.
7718 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7719 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7720 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7721 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7722 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7723 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7724 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7725 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7726 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7727 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7728 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7729 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7730 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7731 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7732 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7733 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7734 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7736 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7738 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7741 2018-09-25 Arjun Shankar <arjun@redhat.com>
7743 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7744 (__gconv_max_path_elem_len): Likewise.
7745 (__gconv_nmodules): Likewise.
7746 (__gconv_get_path): Likewise.
7747 (path_elem): Move to ...
7748 * iconv/gconv_conf.c: ... here.
7749 (__gconv_get_path): Mark function static.
7750 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7751 * iconv/gconv_open.c: ... here.
7753 2018-09-24 Andreas Schwab <schwab@suse.de>
7755 * scripts/haveversions.awk: New file.
7756 * Makerules ($(common-objpfx)Versions.def)
7757 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7758 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7760 * Makeconfig ($(common-objpfx)Versions.def)
7761 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7762 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7764 ($(common-objpfx)Versions.mk): New rule. Include it.
7765 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7766 Emit error if build-obsolete-nsl = yes.
7767 * manual/install.texi (Configuring and compiling): Describe
7768 --enable-obsolete-nsl as unavaiable after version 2.28.
7769 * INSTALL: Regenerate.
7771 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7773 * NEWS: Add note about new TLE support on powerpc64le.
7774 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7775 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7777 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7778 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7779 * sysdeps/powerpc/powerpc32/sysdep.h,
7780 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7781 ABORT_TRANSACTION): Remove macros.
7782 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7783 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7784 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7786 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7787 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7789 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7791 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7794 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7795 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7796 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7797 which is the same as in it_IT.
7798 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7799 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7801 2018-09-20 Joseph Myers <joseph@codesourcery.com>
7803 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7804 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7805 using MATH_REDIRECT.
7806 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7808 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7809 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7810 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7811 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7812 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7813 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7818 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7819 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7820 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7821 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7822 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7823 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7824 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7825 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7826 (ceil): Redirect to __ceil.
7827 (floor): Redirect to __floor.
7828 (trunc): Redirect to __trunc.
7829 (__truncl): Call trunc instead of __trunc.
7830 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
7832 [_ARCH_PWR5X] (__truncf): Likewise.
7833 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
7834 trunc functions instead of __trunc variants.
7835 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7837 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7839 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7841 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7844 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
7845 [__i586__ || __pentium__].
7846 [__i486__]: Handle explicitly.
7847 (HAS_CPUID): Define to 1 if above macros are undefined.
7848 (HAS_I586): Likewise.
7849 (HAS_I686): Likewise.
7851 2018-09-20 Florian Weimer <fweimer@redhat.com>
7853 * misc/tst-gethostid.c: New file.
7854 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7855 (tst-gethostid): Link with -ldl.
7857 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7859 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7860 value from gethostbyname_r.
7862 2018-09-19 Carlos O'Donell <carlos@redhat.com>
7864 * stdlib/tst-setcontext9.c (f1): Rename to...
7866 (f1b): New function implementing lower half of f1 in alternate stack.
7868 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7870 Fix mktime localtime offset confusion
7872 * include/time.h (__mktime_internal): The localtime offset is now
7873 of type long int instead of time_t. This is the longstanding type
7874 in glibc, and it is more than enough to represent difference
7875 between localtime and gmtime even if it is 32 bits and time_t is
7876 64. Changing it now will let us avoid an unnecessary change when
7877 time_t is widened to 64 bits on 32-bit platforms.
7878 * time/mktime-internal.h (mktime_offset_t): Now long int.
7880 Merge mktime, timegm from upstream Gnulib
7881 [BZ #23603][BZ #16346]
7882 This fixes some obscure problems with integer overflow.
7883 Although it looks scary, it is almost all a byte-for-byte copy
7884 from Gnulib, and the Gnulib code has been tested reasonably well.
7885 * include/intprops.h: New file, copied from Gnulib.
7886 * include/verify.h, time/mktime-internal.h:
7887 New tiny files, simplified from Gnulib.
7888 * time/mktime.c: Copy from Gnulib. This has the following changes:
7889 Do not include config.h if DEBUG_MKTIME is nonzero.
7890 Include stdbool.h, intprops.h, verify.h.
7891 Include string.h only if needed.
7892 Include stdlib.h on MS-Windows.
7893 Include mktime-internal.h.
7894 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7895 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7896 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7897 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7898 simplify later conditionals; default the others to zero. Use
7899 these conditionals to express only the code needed on the current
7900 platform. In uses of these conditionals, explicitly spell out how
7901 _LIBC affects things, so it’s easier to review from a glibc
7903 (WRAPV): Remove; no longer needed now that we have
7904 systematic overflow checking.
7905 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7906 compartmentalize tzset issues. Move system-dependent tzsettish
7907 code here from mktime.
7908 (verify): Remove; now done by verify.h. All uses changed.
7909 (long_int): Use a more-conservative definition, to avoid
7911 (SHR): Remove, replacing with ...
7912 (shr): New function, which means we needn’t worry about side
7913 effects in args, and conversion analysis is simpler.
7914 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7915 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7916 (time_t_avg, time_t_add_ok): Remove.
7917 (mktime_min, mktime_max): New constants.
7918 (leapyear, isdst_differ): Use bool for booleans.
7919 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7920 Use long_int, not time_t, for mktime differences.
7921 (long_int_avg): New function, replacing time_t_avg.
7922 INT_ADD_WRAPV replaces time_t_add_ok.
7923 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7925 (convert_time): New function.
7926 (ranged_convert): Use it.
7927 (__mktime_internal): Last arg now points to mktime_offset_t, not
7928 time_t. All uses changed. This is a no-op on glibc, where
7929 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7930 offset guess. Directly check for integer overflow instead of
7931 using a heuristic that works only 99.9...% of the time.
7932 Access *OFFSET only once, to avoid an unlikely race if the
7933 compiler delays a load and if this cascades into a signed integer
7935 (mktime): Move tzsettish code to my_tzset, and move
7936 localtime_offset to within mktime so that it doesn’t
7937 need a separate ifdef.
7938 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7939 instead of localtime.
7940 * time/timegm.c: Copy from Gnulib. This has the following changes:
7941 Include mktime-internal.h.
7942 [!_LIBC]: Include config.h and time.h. Do not include
7943 timegm.h or time_r.h. Make __mktime_internal a macro,
7944 and include mktime-internal.h to get its declaration.
7945 (timegm): Temporary is now mktime_offset_t, not time_t.
7946 This affects only Gnulib.
7948 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7951 * string/test-strstr.c (pr23637): New function.
7952 (test_main): Add tests with longer needles.
7953 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7954 * string/strstr.c (AVAILABLE): Likewise.
7956 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7958 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7960 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7962 * NEWS: Mention pow improvements.
7963 * math/Makefile (type-double-routines): Add e_pow_log_data.
7964 * sysdeps/generic/math_private.h (__exp1): Remove.
7965 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7966 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7967 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7969 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7970 (exp_inline): Remove.
7971 (__ieee754_exp): Only single double input is handled.
7972 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7973 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7974 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7975 (__pow_log_data): Define.
7976 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7977 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7978 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7979 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7981 (CFLAGS-e_pow-fma4.c): Likewise.
7983 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7985 Simplify tzfile fstat failure code
7987 * time/tzfile.c (__tzfile_read): Simplify slightly.
7989 Fix tzfile low-memory assertion failure
7991 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7992 when registering time zone abbreviations.
7994 2018-09-18 Joseph Myers <joseph@codesourcery.com>
7996 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7997 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7998 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7999 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8000 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8001 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8002 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8003 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8004 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8006 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8008 (__ceill): Call ceil instead of __ceil.
8009 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8011 (__floorl): Call floor instead of __floor.
8013 2018-09-17 Joseph Myers <joseph@codesourcery.com>
8015 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8016 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8017 using MATH_REDIRECT.
8018 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8020 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8021 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8022 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8023 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8024 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8025 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8026 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8027 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8032 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8033 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8035 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8036 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8037 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8038 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8040 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8041 functions instead of __ceil variants.
8042 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8043 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8045 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8047 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8048 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8050 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8051 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8054 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8056 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8057 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8058 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8059 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8060 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8061 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8062 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8063 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8064 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8065 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8066 (ILL_BADIADDR): Remove constant.
8067 (TRAP_BRANCH): Likewise.
8068 (TRAP_HWBKPT): Likewise.
8070 2018-09-14 Joseph Myers <joseph@codesourcery.com>
8073 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8074 Remove [_MIPS_SIM = _ABIN32] conditional case.
8075 (struct elf_prpsinfo): Likewise.
8078 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8079 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8080 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8082 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8083 elf_prpsinfo): Likewise.
8084 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
8085 elf_prpsinfo): Likewise.
8086 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
8089 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8090 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
8091 using MATH_REDIRECT.
8092 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
8094 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
8095 * sysdeps/alpha/fpu/s_rint.c: Likewise.
8096 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
8097 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8098 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8099 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8100 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
8101 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8102 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8103 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8104 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
8105 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
8106 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
8107 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
8108 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
8109 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8110 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8111 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
8112 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
8114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
8115 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
8116 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
8117 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8118 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8119 * sysdeps/x86_64/fpu/math_private.h: Remove file.
8120 * math/e_scalb.c (invalid_fn): Use rint functions instead of
8122 * math/e_scalbf.c (invalid_fn): Likewise.
8123 * math/e_scalbl.c (invalid_fn): Likewise.
8124 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8126 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8128 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8129 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
8130 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8132 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8134 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8136 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
8137 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
8139 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8140 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
8142 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8143 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
8144 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8145 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
8146 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8147 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
8148 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8149 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
8150 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8151 && !NO_MATH_REDIRECT] (floor): Likewise.
8152 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
8154 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
8155 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8156 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8157 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
8158 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8159 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8160 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8161 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
8162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
8163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
8164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
8165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
8166 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8167 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8168 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8169 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8170 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8171 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8172 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
8174 [_ARCH_PWR5X] (__floorf): Likewise.
8175 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
8177 [__SSE4_1__] (__floorf): Likewise.
8178 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
8179 instead of __floor variants.
8180 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
8181 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
8182 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
8183 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
8184 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
8185 * math/w_tgamma_compat.c (__tgamma): Likewise.
8186 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
8187 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
8188 * math/w_tgammal_compat.c (__tgammal): Likewise.
8189 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
8190 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8192 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8193 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
8194 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8195 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8197 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8198 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
8200 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8201 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8203 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8204 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8206 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8207 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8208 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8209 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8210 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8211 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8213 2018-09-12 Joseph Myers <joseph@codesourcery.com>
8215 * elf/Makefile (modules-names-tests): New variable.
8217 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8219 * NEWS: Mention log2 improvements.
8220 * math/Makefile (type-double-routines): Add e_log2_data.
8221 * sysdeps/i386/fpu/e_log2_data.c: New file.
8222 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8223 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8224 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8225 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8226 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8227 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8229 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8231 * NEWS: Mention log improvement.
8232 * math/Makefile (type-double-routines): Add e_log_data.
8233 * sysdeps/i386/fpu/e_log_data.c: New file.
8234 * sysdeps/ia64/fpu/e_log_data.c: New file.
8235 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8236 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8237 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8238 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8239 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8240 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8242 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8243 Xuepeng Guo <xuepeng.guo@intel.com>
8246 * sysdeps/i386/start.S: Include <sysdep.h>
8247 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8248 enabled. Add cfi_undefined (eip).
8250 2018-09-11 Joseph Myers <joseph@codesourcery.com>
8252 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8254 (EXTRACT_WORDS64): Likewise.
8255 (INSERT_WORDS64): Likewise.
8256 (GET_FLOAT_WORD): Likewise.
8257 (SET_FLOAT_WORD): Likewise.
8259 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8261 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8262 build, but not for second build if --full-gcc. Use
8263 --enable-languages=all for second build if --full-gcc.
8264 (get_parser): Add --full-gcc option.
8265 (main): Update call to Context.
8267 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8270 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8271 Single Quotation Mark).
8272 (thousands_sep): Likewise.
8273 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8274 * localedata/locales/it_IT (thousands_sep): Use ".".
8275 (grouping): Use "3;3".
8277 2018-09-10 Joseph Myers <joseph@codesourcery.com>
8279 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8280 x86_64 and i686 configs using --enable-obsolete-rpc
8281 --enable-obsolete-nsl.
8283 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8285 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8287 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8289 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
8290 Increment size of new_argv by one.
8292 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
8295 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
8296 * localedata/locales/ar_IN (d_fmt): Likewise.
8297 * localedata/locales/bhb_IN (d_fmt): Likewise.
8298 * localedata/locales/bho_IN (d_fmt): Likewise.
8299 * localedata/locales/bn_BD (d_fmt): Likewise.
8300 * localedata/locales/bn_IN (d_fmt): Likewise.
8301 * localedata/locales/doi_IN (d_fmt): Likewise.
8302 * localedata/locales/gu_IN (d_fmt): Likewise.
8303 * localedata/locales/hi_IN (d_fmt): Likewise.
8304 * localedata/locales/hne_IN (d_fmt): Likewise.
8305 * localedata/locales/kn_IN (d_fmt): Likewise.
8306 * localedata/locales/mag_IN (d_fmt): Likewise.
8307 * localedata/locales/mai_IN (d_fmt): Likewise.
8308 * localedata/locales/mjw_IN (d_fmt): Likewise.
8309 * localedata/locales/ml_IN (d_fmt): Likewise.
8310 * localedata/locales/mni_IN (d_fmt): Likewise.
8311 * localedata/locales/mr_IN (d_fmt): Likewise.
8312 * localedata/locales/pa_IN (d_fmt): Likewise.
8313 * localedata/locales/raj_IN (d_fmt): Likewise.
8314 * localedata/locales/sat_IN (d_fmt): Likewise.
8315 * localedata/locales/sd_IN (d_fmt): Likewise.
8316 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
8317 * localedata/locales/ta_IN (d_fmt): Likewise.
8318 * localedata/locales/ta_LK (d_fmt): Likewise.
8319 * localedata/locales/tcy_IN (d_fmt): Likewise.
8320 * localedata/locales/ur_IN (d_fmt): Likewise.
8322 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
8323 * localedata/locales/ks_IN (d_fmt): Likewise.
8324 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
8326 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
8327 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
8328 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
8329 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
8331 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
8333 * NEWS: Mention exp and exp2 improvements.
8334 * math/Makefile (libm-support): Remove t_exp.
8335 (type-double-routines): Add math_err and e_exp_data.
8336 * sysdeps/aarch64/libm-test-ulps: Update.
8337 * sysdeps/arm/libm-test-ulps: Update.
8338 * sysdeps/i386/fpu/e_exp_data.c: New file.
8339 * sysdeps/i386/fpu/math_err.c: New file.
8340 * sysdeps/i386/fpu/t_exp.c: Remove.
8341 * sysdeps/ia64/fpu/e_exp_data.c: New file.
8342 * sysdeps/ia64/fpu/math_err.c: New file.
8343 * sysdeps/ia64/fpu/t_exp.c: Remove.
8344 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
8345 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
8346 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
8347 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
8348 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
8349 * sysdeps/ieee754/dbl-64/math_config.h: New file.
8350 * sysdeps/ieee754/dbl-64/math_err.c: New file.
8351 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
8352 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
8353 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
8354 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
8355 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
8356 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
8357 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
8358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8361 2018-09-05 Joseph Myers <joseph@codesourcery.com>
8363 * sysdeps/alpha/fpu/math_private.h: Remove.
8365 * sysdeps/generic/math_private.h
8366 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
8367 Move this inline function ....
8368 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
8369 * include/math.h [!_ISOMAC]: To here....
8371 2018-09-04 Joseph Myers <joseph@codesourcery.com>
8373 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
8375 [!FE_HAVE_ROUNDING_MODES]: And this code ....
8376 * include/fenv.h [!_ISOMAC]: ... to here.
8377 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
8378 (feraiseexcept): Likewise.
8379 * math/fromfp.h: Do not include <fenv_private.h>.
8380 * math/s_cexp_template.c: Likewise.
8381 * math/s_csin_template.c: Likewise.
8382 * math/s_csinh_template.c: Likewise.
8383 * math/s_ctan_template.c: Likewise.
8384 * math/s_ctanh_template.c: Likewise.
8385 * math/s_iseqsig_template.c: Likewise.
8386 * math/w_acos_compat.c: Likewise.
8387 * math/w_acosf_compat.c: Likewise.
8388 * math/w_acosl_compat.c: Likewise.
8389 * math/w_asin_compat.c: Likewise.
8390 * math/w_asinf_compat.c: Likewise.
8391 * math/w_asinl_compat.c: Likewise.
8392 * math/w_j0_compat.c: Likewise.
8393 * math/w_j0f_compat.c: Likewise.
8394 * math/w_j0l_compat.c: Likewise.
8395 * math/w_j1_compat.c: Likewise.
8396 * math/w_j1f_compat.c: Likewise.
8397 * math/w_j1l_compat.c: Likewise.
8398 * math/w_jn_compat.c: Likewise.
8399 * math/w_jnf_compat.c: Likewise.
8400 * math/w_log10_compat.c: Likewise.
8401 * math/w_log10f_compat.c: Likewise.
8402 * math/w_log10l_compat.c: Likewise.
8403 * math/w_log2_compat.c: Likewise.
8404 * math/w_log2f_compat.c: Likewise.
8405 * math/w_log2l_compat.c: Likewise.
8406 * math/w_log_compat.c: Likewise.
8407 * math/w_logf_compat.c: Likewise.
8408 * math/w_logl_compat.c: Likewise.
8409 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8410 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8411 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8412 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8413 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8414 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8415 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8416 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8417 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8418 * sysdeps/ieee754/k_standardl.c: Likewise.
8419 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8420 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8421 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8422 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8423 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8424 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8425 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8426 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8427 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8428 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8429 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8430 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8431 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8432 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8433 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8434 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8435 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8436 * math/w_ilogb_template.c: Include <fenv.h> instead of
8438 * math/w_llogb_template.c: Likewise.
8439 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8440 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8442 2018-09-03 Joseph Myers <joseph@codesourcery.com>
8444 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
8445 * math/fromfp.h: Include <fenv_private.h>.
8446 * math/math-narrow.h: Likewise.
8447 * math/s_cexp_template.c: Likewise.
8448 * math/s_csin_template.c: Likewise.
8449 * math/s_csinh_template.c: Likewise.
8450 * math/s_ctan_template.c: Likewise.
8451 * math/s_ctanh_template.c: Likewise.
8452 * math/s_iseqsig_template.c: Likewise.
8453 * math/w_acos_compat.c: Likewise.
8454 * math/w_acosf_compat.c: Likewise.
8455 * math/w_acosl_compat.c: Likewise.
8456 * math/w_asin_compat.c: Likewise.
8457 * math/w_asinf_compat.c: Likewise.
8458 * math/w_asinl_compat.c: Likewise.
8459 * math/w_ilogb_template.c: Likewise.
8460 * math/w_j0_compat.c: Likewise.
8461 * math/w_j0f_compat.c: Likewise.
8462 * math/w_j0l_compat.c: Likewise.
8463 * math/w_j1_compat.c: Likewise.
8464 * math/w_j1f_compat.c: Likewise.
8465 * math/w_j1l_compat.c: Likewise.
8466 * math/w_jn_compat.c: Likewise.
8467 * math/w_jnf_compat.c: Likewise.
8468 * math/w_llogb_template.c: Likewise.
8469 * math/w_log10_compat.c: Likewise.
8470 * math/w_log10f_compat.c: Likewise.
8471 * math/w_log10l_compat.c: Likewise.
8472 * math/w_log2_compat.c: Likewise.
8473 * math/w_log2f_compat.c: Likewise.
8474 * math/w_log2l_compat.c: Likewise.
8475 * math/w_log_compat.c: Likewise.
8476 * math/w_logf_compat.c: Likewise.
8477 * math/w_logl_compat.c: Likewise.
8478 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8479 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8480 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8481 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8482 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8483 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8484 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8485 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8486 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8487 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8488 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8489 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8490 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
8491 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8492 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8493 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8494 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8495 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8496 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8497 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8498 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8499 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8500 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8501 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8502 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8503 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8504 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8505 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8506 * sysdeps/ieee754/float128/float128_private.h: Likewise.
8507 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8508 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8509 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8510 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8511 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8512 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8513 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8514 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8515 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8516 * sysdeps/ieee754/k_standardl.c: Likewise.
8517 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8518 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8519 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8520 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8521 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8522 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8523 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8524 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8525 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8526 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8527 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8528 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8529 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8530 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8531 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8532 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8533 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8534 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8535 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8536 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8537 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8538 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8539 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8540 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8541 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8542 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8543 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8544 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8545 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8546 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8547 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8548 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8549 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8550 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8551 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8552 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8553 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8554 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8555 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8556 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8557 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8558 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8559 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8560 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8561 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8562 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8563 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8564 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8565 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8566 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8567 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8568 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8569 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8570 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8571 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8572 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8573 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8574 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8575 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8576 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8577 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8578 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8579 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8580 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8581 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8582 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8583 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8584 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8585 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8586 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8587 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8589 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8592 * include/stdio.h (__libc_fatal): Mention newline in comment.
8593 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
8594 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
8595 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8596 * nss/nsswitch.c (__nss_next2): Likewise.
8597 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
8598 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
8599 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
8600 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8601 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
8602 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
8603 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
8604 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
8605 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
8606 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
8607 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
8608 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8609 (__netlink_assert_response): Likewise.
8611 2018-08-31 Joseph Myers <joseph@codesourcery.com>
8613 * conform/glibcconform.py: New file.
8614 * conform/list-header-symbols.py: Likewise.
8615 * conform/list-header-symbols.pl: Remove.
8616 * conform/Makefile (tests-special): Only add linknamespace tests
8618 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
8620 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
8623 * support/Makefile (libsupport-routines): Add
8624 support_copy_file_range and xcopy_file_range.
8625 * support/support.h: Include <sys/types.h>.
8626 (support_copy_file_range): New prototype.
8627 * support/support_copy_file_range.c: New file. Copied and
8628 modified from io/copy_file_range-compat.c.
8629 * support/test-container.c (copy_one_file): Call xcopy_file_rang
8630 instead of copy_file_range.
8631 * support/xcopy_file_range.c: New file.
8632 * support/xunistd.h (xcopy_file_range): New prototype.
8634 2018-08-30 Carlos O'Donell <carlos@redhat.com>
8636 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
8637 xpthread_create and xpthread_join.
8639 2018-08-30 Florian Weimer <fweimer@redhat.com>
8641 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8643 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
8645 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8648 2018-08-29 Joseph Myers <joseph@codesourcery.com>
8650 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8651 and minus_oflow as non-finite.
8653 2018-08-28 Joseph Myers <joseph@codesourcery.com>
8655 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8656 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8657 moved to fenv_private.h except for ...
8658 (TOINT_INTRINSICS): Kept in math_private.h.
8659 (roundtoint): Likewise.
8660 (converttoint): Likewise.
8661 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8662 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8663 * sysdeps/arm/math_private.h: Remove.
8664 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8666 * sysdeps/generic/math_private.h: ... this file. Include
8667 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8668 Include <fenv_private.h>. Remove functions and macros moved to
8670 * sysdeps/i386/fpu/math_private.h: Remove.
8671 * sysdeps/mips/math_private.h: Move to ....
8672 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8673 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8674 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8675 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8676 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8677 * sysdeps/powerpc/fpu/math_private.h: Do not include
8679 * sysdeps/riscv/rvf/math_private.h: Move to ....
8680 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8681 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8683 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8684 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8685 * sysdeps/sparc/fpu/math_private.h: Remove.
8686 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8687 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8688 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8690 * sysdeps/x86_64/fpu/math_private.h: Do not include
8691 <sysdeps/i386/fpu/fenv_private.h>.
8693 2018-08-28 Florian Weimer <fweimer@redhat.com>
8696 * posix/tst-regcomp-truncated.c: New file.
8697 * posix/Makefile (tests): Add it.
8698 (tst-regcomp-truncated.out): Depend on generated locales.
8700 2018-08-28 Florian Weimer <fweimer@redhat.com>
8702 * support/test-container.c (main): Treat unshare failure with
8703 EPERM as an unsupported test.
8705 2018-08-28 Florian Weimer <fweimer@redhat.com>
8708 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8709 * nscd/netgroupcache.c
8710 (addgetnetgrentX): Add tofreep parameter. Do not free
8711 heap-allocated buffer.
8712 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8713 (addgetnetgrentX_ignore): New function.
8714 (addgetnetgrent): Call it.
8715 (readdgetnetgrent): Likewise.
8717 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8719 * string/memmem.c: Use memcmp for first match.
8721 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8724 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8726 2018-08-27 DJ Delorie <dj@redhat.com>
8728 * support/Makefile (others): Don't list programs explicitly as a
8729 dependency of "others".
8731 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8733 * sysdeps/generic/math-tests-trap-force.h: New file.
8734 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8735 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8736 * sysdeps/powerpc/math-tests.h: Remove file.
8737 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8739 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8740 Torvald Riegel <triegel@redhat.com>
8743 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8744 Update r to include the set wake-request flag if waiters are
8745 remaining after spinning.
8747 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8749 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8751 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8754 regex: fix uninitialized memory access
8755 I introduced this bug into gnulib in commit
8756 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8757 eventually it was merged into glibc. The bug was found by
8758 project-repo <bugs@feusi.co> and reported here:
8759 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8760 Diagnosis and draft fix reported by Assaf Gordon here:
8761 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8762 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8763 * posix/regex_internal.c (build_wcs_upper_buffer):
8764 Fix bug when mbrtowc returns 0.
8766 2018-08-24 Carlos O'Donell <carlos@redhat.com>
8768 * po/be.po: Update translation.
8770 2018-08-24 DJ Delorie <dj@delorie.com>
8772 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8775 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8778 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8779 create temporary files in source tree.
8781 2018-08-24 Joseph Myers <joseph@codesourcery.com>
8783 * sysdeps/generic/math-tests-trap.h: New file.
8784 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8785 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8786 * sysdeps/aarch64/math-tests.h: Remove file.
8787 * sysdeps/arm/math-tests.h: Likewise.
8788 * sysdeps/riscv/math-tests.h: Likewise.
8789 * sysdeps/aarch64/math-tests-trap.h: New file.
8790 * sysdeps/arm/math-tests-trap.h: Likewise.
8791 * sysdeps/riscv/math-tests-trap.h: Likewise.
8793 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8795 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8796 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8797 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8798 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8799 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8800 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8801 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8802 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8803 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8804 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8805 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8806 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8807 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8808 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8809 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8810 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8811 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8812 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8814 2018-08-23 Joseph Myers <joseph@codesourcery.com>
8816 * sysdeps/generic/math-tests-exceptions.h: New file.
8817 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8818 (EXCEPTION_TESTS_float): Do not define here.
8819 (EXCEPTION_TESTS_double): Likewise.
8820 (EXCEPTION_TESTS_long_double): Likewise.
8821 (EXCEPTION_TESTS_float128): Likewise.
8822 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
8824 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
8825 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
8826 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
8827 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
8828 * sysdeps/mips/math-tests.h: Likewise.
8829 * sysdeps/nios2/math-tests.h: Likewise.
8830 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8831 (EXCEPTION_TESTS_float): Do not define here.
8832 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
8833 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
8834 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
8836 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8838 * NEWS: Move optimized sinf entry to 2.29.
8840 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8842 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
8844 2018-08-22 DJ Delorie <dj@redhat.com>
8846 * Makefile (testroot.pristine): New rules to initialize the
8847 test-in-container "testroot".
8848 * Makerules (all-testsuite): Add tests-container.
8849 * Rules (tests-expected): Add tests-container.
8850 (binaries-all-tests): Likewise.
8851 (tests-container): New, run these tests in the testroot container.
8852 * support/Makefile (others): Add *-container, support_paths.c,
8853 xmkdirp, and links-dso-program.
8854 * support/links-dso-program-c.c: New.
8855 * support/links-dso-program.cc: New.
8856 * support/test-container.c: New.
8857 * support/shell-container.c: New.
8858 * support/echo-container.c: New.
8859 * support/true-container.c: New.
8860 * support/xmkdirp.c: New.
8861 * support/xsymlink.c: New.
8862 * support/support_paths.c: New.
8863 * support/support.h: Add support paths prototypes.
8864 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8866 * nss/tst-nss-test3.c: Convert to test-in-container.
8867 * nss/tst-nss-test3.root/: New.
8869 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8871 regex: port Gnulib code to z/OS POSIX environment
8872 Problem reported by Arnold Robbins in:
8873 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8874 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8877 2018-08-22 Joseph Myers <joseph@codesourcery.com>
8879 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8880 (ROUNDING_TESTS_double): Remove.
8881 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8882 (ROUNDING_TESTS_double): Remove.
8883 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8884 (ROUNDING_TESTS_double): Remove.
8885 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8886 (ROUNDING_TESTS_float): Remove.
8887 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8888 (ROUNDING_TESTS_float): Remove.
8889 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8890 (ROUNDING_TESTS_float): Remove.
8891 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8893 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8894 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8896 * sysdeps/generic/math-tests-rounding.h: New file.
8897 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8898 (ROUNDING_TESTS_float): Do not define here.
8899 (ROUNDING_TESTS_double): Likewise.
8900 (ROUNDING_TESTS_long_double): Likewise.
8901 (ROUNDING_TESTS_float128): Likewise.
8902 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8903 (ROUNDING_TESTS_double): Undefine before defining.
8904 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8905 (ROUNDING_TESTS_double): Undefine before defining.
8906 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8907 (ROUNDING_TESTS_double): Undefine before defining.
8908 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8909 (ROUNDING_TESTS_float): Undefine before defining.
8910 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8911 (ROUNDING_TESTS_float): Undefine before defining.
8912 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8913 (ROUNDING_TESTS_float): Undefine before defining.
8914 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8915 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8917 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8918 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8919 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8920 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8921 (ROUNDING_TESTS_float): Do not define here.
8922 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8923 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8924 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8925 (ROUNDING_TESTS_float): Likewise.
8926 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8927 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8928 * sysdeps/mips/math-tests.h [__mips_soft_float]
8929 (ROUNDING_TESTS_float): Likewise.
8930 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8931 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8932 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8933 (ROUNDING_TESTS_double): Likewise.
8934 (ROUNDING_TESTS_long_double): Likewise.
8936 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
8938 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8939 (PF_XDP): New macro.
8940 (AF_XDP): New macro.
8941 (SOL_XDP): New macro.
8943 2018-08-21 Joseph Myers <joseph@codesourcery.com>
8945 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8946 (TCP_INQ): Likewise.
8947 (TCP_CM_INQ): Likewise.
8948 (TCP_REPAIR_ON): Likewise.
8949 (TCP_REPAIR_OFF): Likewise.
8950 (TCP_REPAIR_OFF_NO_WP): Likewise.
8951 (struct tcp_zerocopy_receive): New type.
8953 2018-08-21 Florian Weimer <fweimer@redhat.com>
8955 * support/support.h (support_descriptor_supports_holes): Declare.
8956 * support/Makefile (libsupport-routines): Add
8957 support_descriptor_supports_holes.
8958 * support/support_descriptor_supports_holes.c: New file.
8959 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8960 and stop testing if holes are not supported.
8961 * io/test-lfs.c (do_prepare): Likewise.
8962 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8964 * timezone/tst-tzset.c (create_tz_file): Likewise.
8965 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8967 (do_prepare): Set it.
8968 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8970 2018-08-21 Florian Weimer <fweimer@redhat.com>
8973 * Makeconfig (+cflags): Do not sort (and deduplicate).
8975 2018-08-21 Florian Weimer <fweimer@redhat.com>
8977 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8978 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8980 2018-08-20 Florian Weimer <fweimer@redhat.com>
8982 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8983 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8985 2018-08-20 Joseph Myers <joseph@codesourcery.com>
8987 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8988 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8989 and ssi_arch members.
8991 * elf/elf.c (NT_VMCOREDD): New macro.
8992 (AT_MINSIGSTKSZ): Likewise.
8994 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8996 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8997 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8998 s_cosf-ppc64 and s_cosf-power8.
8999 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9000 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9001 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9002 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9009 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9010 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9012 2018-08-17 Florian Weimer <fweimer@redhat.com>
9014 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9016 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9018 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9020 2018-08-16 Florian Weimer <fweimer@redhat.com>
9022 * configure.ac: Add --with-nonshared-cflags option.
9023 * config.make.in (extra-nonshared-cflags): Set variable.
9024 * Makeconfig (CFLAGS-.oS): Use it.
9025 * manual/install.texi (Configuring and compiling): Document
9026 --with-nonshared-cflags.
9027 * configure: Regenerate.
9028 * INSTALL: Likewise.
9030 2018-08-16 Florian Weimer <fweimer@redhat.com>
9032 * Makeconfig (ASFLAGS): Always append required assembler flags.
9034 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
9036 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9037 (malloc_consolidate): Likewise.
9039 2018-08-16 Pochang Chen <johnchen902@gmail.com>
9041 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9043 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9045 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9048 * benchtests/bench-strlen.c: Print performance numbers in json.
9050 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9052 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9053 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9054 only for little endian.
9055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9056 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9057 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9058 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9059 Add check for little endian.
9060 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9061 (__strcmp_power9): Add check for little endian.
9062 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9063 Add check for little endian.
9064 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9065 (__strncmp_power9): Add check for little endian.
9066 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9067 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9068 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9069 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9070 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9072 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9074 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9075 [!STRLEN](STRLEN): Set to __strlen.
9076 * sysdeps/aarch64/multiarch/strlen.c: New file.
9077 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9078 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9079 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9080 (__libc_ifunc_impl_list): Add strlen.
9081 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9082 strlen_generic and strlen_asimd.
9084 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9086 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
9087 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
9088 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9090 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9092 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
9094 2018-08-14 Florian Weimer <fweimer@redhat.com>
9097 * include/stdio.h (__vfxprintf): Declare.
9098 * stdio-common/fxprintf.c (__vfxprintf): New function.
9099 (__fxprintf): Call it.
9100 * misc/err.c (convert_and_print): Remove function.
9101 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
9102 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
9103 * misc/Makefile (tests): Add tst-warn-wide.
9104 * misc/tst-warn-wide.c: New file.
9106 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
9107 Szabolcs Nagy <szabolcs.nagy@arm.com>
9109 * NEWS: Mention sinf, cosf, sincosf.
9110 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
9111 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
9112 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
9113 constants rather than including generic sincosf.h.
9114 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
9115 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
9116 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
9117 (reduced_cos): Remove.
9118 (sinf_poly): New function.
9119 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
9121 2018-08-14 Florian Weimer <fweimer@redhat.com>
9125 * nss/nss_files/files-alias.c (get_next_alias): During :include:
9126 processing, bail out if no room, and close the stream before
9128 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
9129 (tst-nss-files-alias-leak): Link with libdl.
9130 (tst-nss-files-alias-leak.out): Depend on nss_files.
9132 * nss/tst-nss-files-alias-leak.c: New file.
9134 2018-08-14 Florian Weimer <fweimer@redhat.com>
9136 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
9137 server_user, stat_user.
9139 2018-08-13 Joseph Myers <joseph@codesourcery.com>
9141 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9143 (io_pgetevents): New syscall.
9146 * manual/install.texi (Configuring and compiling): Do not list
9147 tools used for testing pretty printers here.
9148 (Tools for Compilation): List Python, PExpect and GDB here.
9149 Update descriptions of uses of Perl and Python.
9150 * INSTALL: Regenerate.
9152 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9155 2018-08-13 Florian Weimer <fweimer@redhat.com>
9157 * misc/error.c (error): Add missing va_end call.
9158 (error_at_line): Likewise.
9160 2018-08-13 Florian Weimer <fweimer@redhat.com>
9162 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
9164 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9166 * benchtests/scripts/benchout.schema.json (properties): Add
9169 * benchtests/bench-skeleton.c (main): Add duration and
9170 iterations attributes.
9172 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
9174 regex: Gnulib unibyte RRI uses bytes not chars
9175 Adjust the non-glibc code to agree with what Gawk needs for
9176 rational range interpretation (RRI) for regular expression ranges.
9177 In unibyte locales, Gawk wants ranges to use the underlying byte
9178 rather than the character code point. This change does not affect
9180 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
9181 In unibyte locales, use the byte value rather than
9182 running it through btowc.
9184 2018-08-10 Joseph Myers <joseph@codesourcery.com>
9186 * sysdeps/generic/math-tests-snan.h: New file.
9187 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
9188 (SNAN_TESTS_float): Do not define here.
9189 (SNAN_TESTS_double): Likewise.
9190 (SNAN_TESTS_long_double): Likewise.
9191 (SNAN_TESTS_float128): Likewise.
9192 * sysdeps/i386/fpu/math-tests-snan.h: New file.
9193 * sysdeps/i386/fpu/math-tests.h: Remove file.
9194 * sysdeps/ia64/math-tests-snan.h: New file.
9195 * sysdeps/ia64/math-tests.h: Remove file.
9196 * sysdeps/x86/math-tests.h: Likewise.
9197 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
9199 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9200 Szabolcs Nagy <szabolcs.nagy@arm.com>
9202 * math/Makefile: Add s_sincosf_data.c.
9203 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9204 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9205 (sincosf_poly): Likewise.
9206 (reduce_small): Likewise.
9207 (reduce_large): Likewise.
9208 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9209 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9210 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9211 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9213 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9214 Szabolcs Nagy <szabolcs.nagy@arm.com>
9216 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9217 (converttoint): Use lround.
9218 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9219 document the semantics when TOINT_INTRINSICS is set.
9220 (converttoint): Likewise.
9221 (TOINT_RINT): Remove.
9222 (TOINT_SHIFT): Remove.
9223 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9226 2018-08-10 Florian Weimer <fweimer@redhat.com>
9229 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9231 (__old_getdents64): Use getdents64. Convert entries without
9233 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9234 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9235 tst-readdir64-compat.
9237 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9239 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9242 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9244 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9245 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9246 code to s390x-mcount.h and #include it.
9247 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9248 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9251 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9253 * stdlib/Versions: Remove __fentry__.
9254 * sysdeps/i386/Versions: Add __fentry__.
9255 * sysdeps/x86_64/Versions: Add __fentry__.
9257 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9259 * sysdeps/s390/Makefile: Register the new tests.
9260 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9261 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9262 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9263 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9264 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9265 * sysdeps/s390/tst-dl-runtime.c: New file.
9267 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9269 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9272 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9274 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9277 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9279 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9282 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9284 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9287 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9289 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9290 Use symbolic offsets for stack variables.
9292 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9294 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9295 Use symbolic offsets for stack variables.
9297 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9299 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9300 Use symbolic offsets for stack variables.
9302 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9304 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9305 Use symbolic offsets for stack variables.
9307 2018-08-09 Joseph Myers <joseph@codesourcery.com>
9309 * math/gen-libm-test.py: New file.
9310 * math/gen-libm-test.pl: Remove.
9311 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
9312 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
9314 ($(libm-test-c-noauto-obj)): Likewise.
9315 ($(libm-test-c-auto-obj)): Likewise.
9316 ($(libm-test-c-narrow-obj)): Likewise.
9317 (regen-ulps): Likewise.
9318 * math/README.libm-test: Update references to gen-libm-test.pl.
9319 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
9320 referencing gen-libm-test.pl.
9321 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
9322 * math/libm-test-support.c: Likewise.
9323 * math/libm-test-support.h: Likewise.
9324 * sysdeps/generic/libm-test-ulps: Likewise.
9326 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9328 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
9331 2018-08-08 Joseph Myers <joseph@codesourcery.com>
9333 * math/libm-test-nextdown.inc (do_test): Move comment to ....
9334 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
9336 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9338 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
9340 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
9341 __pthread_setspecific): Add hidden proto.
9342 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
9343 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
9345 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9347 * benchtests/bench-string.h (buf1_size, buf2_size): New
9349 (init_sizes): New function.
9350 (test_init): Use it.
9351 (alloc_buf, exit_error): New functions.
9352 (alloc_bufs): Use ALLOC_BUF.
9353 (realloc_bufs): Remove.
9354 * benchtests/bench-memcmp.c (do_test): Adjust.
9355 * benchtests/bench-memset-large.c (do_test): Likewise.
9356 * benchtests/bench-memset-walk.c (do_test): Likewise.
9357 * benchtests/bench-memset.c (do_test): Likewise.
9358 * benchtests/bench-strncmp.c (do_test): Likewise.
9360 2018-08-06 Andreas Schwab <schwab@suse.de>
9362 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
9363 of CONST_THREAD_AREA.
9365 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
9367 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
9368 (STATE_SAVE_MASK): Likewise.
9369 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
9370 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
9371 (STATE_SAVE_MASK): Likewise.
9372 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
9373 instead of <cpu-features.h>.
9375 2018-08-03 DJ Delorie <dj@redhat.com>
9377 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
9378 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
9380 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
9382 2018-08-03 Joseph Myers <joseph@codesourcery.com>
9384 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
9386 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
9387 * math/libm-test-logb.inc (logb_test_data): Likewise.
9389 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
9391 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
9392 * string/strstr.c (AVAILABLE): Likewise.
9394 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9396 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
9398 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
9399 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
9400 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
9402 2018-08-03 Carlos O'Donell <carlos@redhat.com>
9404 * po/be.po: Update translation.
9406 * po/be.po: Update translation.
9408 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9410 * sysdeps/x86/cpu-features-offsets.sym
9411 (rtld_global_ro_offsetof): Removed.
9412 (CPU_FEATURES_SIZE): Likewise.
9413 (CPUID_OFFSET): Likewise.
9414 (CPUID_SIZE): Likewise.
9415 (CPUID_EAX_OFFSET): Likewise.
9416 (CPUID_EBX_OFFSET): Likewise.
9417 (CPUID_ECX_OFFSET): Likewise.
9418 (CPUID_EDX_OFFSET): Likewise.
9419 (FAMILY_OFFSET): Likewise.
9420 (MODEL_OFFSET): Likewise.
9421 (FEATURE_OFFSET): Likewise.
9422 (FEATURE_SIZ): Likewise.
9423 (COMMON_CPUID_INDEX_1): Likewise.
9424 (COMMON_CPUID_INDEX_7): Likewise.
9425 (FEATURE_INDEX_1): Likewise.
9426 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
9428 2018-08-02 Carlos O'Donell <carlos@redhat.com>
9430 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
9431 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
9432 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
9433 (install-locales): Depend on install-locale-archive.
9434 (install-locale-archive): Define.
9435 (install-locale-files): Define.
9436 (build-one-locale): Define macro.
9437 * manual/install.texi (Running make install): Document.
9438 * manual/INSTALL: Regenerate.
9440 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9442 * benchtests/scripts/compare_strings.py: Import traceback.
9443 (parse_file): Pretty-print error.
9445 * NEWS: Mention the change.
9446 * elf/dl-tunables.list: Rename tune namespace to cpu.
9447 * sysdeps/powerpc/dl-tunables.list: Likewise.
9448 * sysdeps/x86/dl-tunables.list: Likewise.
9449 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
9451 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
9452 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
9453 * manual/README.tunables: Likewise.
9454 * manual/tunables.texi: Likewise.
9455 * sysdeps/powerpc/cpu-features.c: Likewise.
9456 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
9457 (init_cpu_features): Likewise.
9458 * sysdeps/x86/cpu-features.c: Likewise.
9459 * sysdeps/x86/cpu-features.h: Likewise.
9460 * sysdeps/x86/cpu-tunables.c: Likewise.
9461 * sysdeps/x86_64/Makefile: Likewise.
9462 * sysdeps/x86/dl-cet.c: Likewise.
9464 2018-08-02 Joseph Myers <joseph@codesourcery.com>
9467 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
9468 [__mips_hard_float].
9469 (FE_UNDERFLOW): Likewise.
9470 (FE_OVERFLOW): Likewise.
9471 (FE_DIVBYZERO): Likewise.
9472 (FE_INVALID): Likewise.
9473 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
9474 (FE_TOWARDZERO): Define only if [__mips_hard_float].
9475 (FE_UPWARD): Likewise.
9476 (FE_DOWNWARD): Likewise.
9477 (__FE_UNDEFINED): Define if [!__mips_hard_float]
9478 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
9479 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
9480 [__mips_hard_float].
9481 (FP_ROUNDMODE): Likewise.
9482 (FP_RND_NEAREST): Likewise.
9483 (FP_RND_ZERO): Likewise.
9484 (FP_RND_PINF): Likewise.
9485 (FP_RND_MINF): Likewise.
9486 (FP_EX_INVALID): Likewise.
9487 (FP_EX_OVERFLOW): Likewise.
9488 (FP_EX_UNDERFLOW): Likewise.
9489 (FP_EX_DIVZERO): Likewise.
9490 (FP_EX_INEXACT): Likewise.
9491 (FP_INIT_ROUNDMODE): Likewise.
9492 * sysdeps/mips/nofpu/fesetenv.c: New file.
9493 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
9495 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9497 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
9498 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
9499 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
9500 conditional on [FE_UPWARD].
9502 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
9504 regex: fix memory leak in Gnulib
9505 Problem and fix reported by Assaf Gordon in:
9506 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
9507 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
9508 range_ends members too, as they are defined in 'struct
9509 re_charset_t' even if not _LIBC. This affects only Gnulib.
9511 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
9513 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
9515 (get_common_indices): This.
9516 (init_cpu_features): Updated.
9518 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9520 * sysdeps/generic/math-tests-snan-payload.h: New file.
9521 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
9522 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
9523 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
9524 * sysdeps/generic/math-tests.h: Include
9525 <math-tests-snan-payload.h>.
9526 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9527 * sysdeps/hppa/math-tests.h: Remove file.
9528 * sysdeps/mips/math-tests.h [!__mips_nan2008]
9529 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9530 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
9533 * sysdeps/generic/math-tests-snan-cast.h: New file.
9534 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
9535 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
9536 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
9537 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
9539 2018-08-01 Carlos O'Donel <carlos@redhat.com>
9541 * version.h (RELEASE): Set to "development".
9542 (VERSION): Set to "2.28.9000".
9543 * NEWS (2.29): New section.
9545 * version.h (RELEASE): Set to "stable".
9546 (VERSION): Set to "2.28".
9547 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
9548 * NEWS: Add the list of bugs fixed in 2.28.
9550 * po/ca.po: Update to latest version.
9551 * po/cs.po: Likewise
9552 * po/da.po: Likewise
9553 * po/el.po: Likewise
9554 * po/eo.po: Likewise
9555 * po/es.po: Likewise
9556 * po/fi.po: Likewise
9557 * po/fr.po: Likewise
9558 * po/gl.po: Likewise
9559 * po/hu.po: Likewise
9560 * po/ia.po: Likewise
9561 * po/id.po: Likewise
9562 * po/it.po: Likewise
9563 * po/ja.po: Likewise
9564 * po/ko.po: Likewise
9565 * po/lt.po: Likewise
9566 * po/nb.po: Likewise
9567 * po/nl.po: Likewise
9568 * po/pt_BR.po: Likewise
9569 * po/ru.po: Likewise
9570 * po/rw.po: Likewise
9571 * po/sk.po: Likewise
9572 * po/sl.po: Likewise
9573 * po/tr.po: Likewise
9574 * po/zh_CN.po: Likewise
9575 * po/zh_TW.po: Likewise
9577 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9579 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
9581 (init): ... before initializing libpthread.
9583 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
9584 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
9585 (__mach_setup_tls): ... new function.
9586 (mach_setup_tls): New alias.
9587 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
9588 __mach_setup_thread.
9589 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
9590 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
9591 * mach/Versions [libc] (mach_setup_tls): Add symbol.
9592 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
9594 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9596 * manual/install.texi: Update versions.
9597 * INSTALL: Regenerate.
9599 * manual/contrib.texi (Contributors): Update contributions.
9601 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9603 * po/be.po: Update translations.
9605 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9607 * sysdeps/sh/libm-test-ulps: Update.
9609 2018-07-30 Carlos O'Donell <carlos@redhat.com>
9611 * po/bg.po: Update translations.
9612 * po/de.po: Likewise.
9613 * po/hr.po: Likewise.
9614 * po/pt_BR.po: Likewise.
9615 * po/sv.po: Likewise.
9616 * po/vi.po: Likewise.
9618 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9621 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9622 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
9623 (CFLAGS-tst-cet-property-1.o): New.
9624 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
9625 ($(objpfx)tst-cet-property-2): Likewise.
9626 ($(objpfx)tst-cet-property-2.out): Likewise.
9627 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
9628 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
9629 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
9630 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
9631 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
9633 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9636 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
9638 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9640 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9641 __sbrk): Do not set attribute_hidden.
9642 * sysdeps/mach/hurd/not-errno.h: New file.
9643 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9644 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9646 2018-07-27 Carlos O'Donell <carlos@redhat.com>
9648 * po/uk.po: Update translations.
9649 * po/cs.po: Likewise.
9650 * po/pl.po: Likewise.
9652 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9654 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9655 parse beyond the note end.
9657 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9659 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9660 kernel does not support OFD locks.
9661 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9663 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9665 * sysdeps/mach/hurd/Versions (libc): Make __access and
9666 __access_noerrno external so they can override the ld symbols.
9667 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9668 __writev, __open64, __access_noerrno extern so they can be overrided.
9669 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9670 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9672 2018-07-26 Carlos O'Donell <carlos@redhat.com>
9674 * po/libc.pot: Regenerate.
9676 2018-07-26 Joseph Myers <joseph@codesourcery.com>
9678 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9680 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9683 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9685 (init_cpu_features): Call get_extended_indices for both Intel
9687 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9688 Remove "for AMD" comment.
9690 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9693 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9694 COMMON_CPUID_INDEX_80000001.
9696 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
9698 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9699 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9701 2018-07-26 Florian Weimer <fweimer@redhat.com>
9703 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9704 aliases for symbols not in the implementation namespace.
9706 2018-07-25 Carlos O'Donell <carlos@redhat.com>
9709 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9710 lowercase in LATIN script.
9711 * localedata/Makefile (test-input): Add en_US.UTF-8.
9712 * localedata/en_US.UTF-8.in: New file.
9713 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9714 and restore old tests.
9715 * posix/tst-regexloc.c (do_test): Add back range expression test.
9717 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9719 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9721 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9723 * nptl/threads.h: Move to ...
9724 * sysdeps/nptl/threads.h: ... here.
9725 * sysdeps/hurd/stdc-predef.h: New file.
9727 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9729 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9730 tst-cet-setcontext-1 if CET is enabled.
9731 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9732 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9734 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9736 * include/threads.h: Move to ...
9737 * sysdeps/nptl/threads.h: ... here.
9738 * sysdeps/htl/threads.h: New file.
9739 * conform/Makefile (linknamespace-libs-ISO11): Use
9740 static-thread-library instead of linking libpthread.
9741 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9743 2018-07-25 Florian Weimer <fweimer@redhat.com>
9745 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9746 nanoseconds into seconds.
9747 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9748 (do_test): Likewise.
9749 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9750 (do_test): Likewise. Avoid nanosecond overflow and spurious
9751 timeouts due to system load.
9752 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9753 (child_wait): Increment it.
9754 (do_test): Wait as long as necessary until all expected threads
9757 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9758 H.J. Lu <hongjiu.lu@intel.com>
9760 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9762 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9763 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9764 (__push___start_context): New.
9765 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9767 (__getcontext): Record the current shadow stack base. Save the
9768 caller's shadow stack pointer and base.
9769 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9770 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9771 (__push___start_context): New prototype.
9772 (__makecontext): Call __push___start_context to allocate a new
9773 shadow stack, push __start_context onto the new stack as well
9774 as the new shadow stack.
9775 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9777 (__setcontext): Restore the target shadow stack.
9778 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9780 (__swapcontext): Record the current shadow stack base. Save
9781 the caller's shadow stack pointer and base. Restore the target
9783 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9784 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9785 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9787 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9789 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9790 tst-setcontext8 and tst-setcontext9.
9791 * stdlib/tst-setcontext6.c: New file.
9792 * stdlib/tst-setcontext7.c: Likewise.
9793 * stdlib/tst-setcontext8.c: Likewise.
9794 * stdlib/tst-setcontext9.c: Likewise.
9796 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9798 * stdlib/Makefile ((tests): Add tst-setcontext5.
9799 * stdlib/tst-setcontext5.c: New file.
9801 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9803 * stdlib/Makefile (tests): Add tst-setcontext4.
9804 * stdlib/tst-setcontext4.c: New file.
9806 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9808 * stdlib/Makefile (tests): Add tst-swapcontext1.
9809 * stdlib/tst-swapcontext1.c: New test.
9811 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9813 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9814 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9815 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9816 and tst-cet-legacy-4c.
9817 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9818 and tst-cet-legacy-mod-4.
9819 (CFLAGS-tst-cet-legacy-2.c): New.
9820 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
9821 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
9822 (CFLAGS-tst-cet-legacy-3.c): Likewise.
9823 (CFLAGS-tst-cet-legacy-4.c): Likewise.
9824 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
9825 ($(objpfx)tst-cet-legacy-1): Likewise.
9826 ($(objpfx)tst-cet-legacy-2): Likewise.
9827 ($(objpfx)tst-cet-legacy-2.out): Likewise.
9828 ($(objpfx)tst-cet-legacy-2a): Likewise.
9829 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
9830 ($(objpfx)tst-cet-legacy-4): Likewise.
9831 ($(objpfx)tst-cet-legacy-4.out): Likewise.
9832 ($(objpfx)tst-cet-legacy-4a): Likewise.
9833 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
9834 (tst-cet-legacy-4a-ENV): Likewise.
9835 ($(objpfx)tst-cet-legacy-4b): Likewise.
9836 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
9837 (tst-cet-legacy-4b-ENV): Likewise.
9838 ($(objpfx)tst-cet-legacy-4c): Likewise.
9839 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
9840 (tst-cet-legacy-4c-ENV): Likewise.
9841 * sysdeps/x86/tst-cet-legacy-1.c: New file.
9842 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
9843 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
9844 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
9845 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
9846 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
9847 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
9848 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
9849 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
9850 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
9851 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9853 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9855 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9856 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9858 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9859 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9862 2018-07-25 Andreas Schwab <schwab@suse.de>
9865 * locale/weightwc.h (findidx): Handle the case where usrc is a
9866 prefix of cp but one character too short.
9868 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9870 * NEWS: Add ISO C threads addition.
9872 2018-07-24 Florian Weimer <fweimer@redhat.com>
9874 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9875 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9876 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9879 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9881 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9882 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9883 <sys/prctl.h> and <asm/prctl.h>.
9884 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9885 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9887 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9888 ARCH_CET_LEGACY_BITMAP.
9889 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9890 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9891 * sysdeps/x86/libc-start.c: Include <startup.h>.
9893 2018-07-24 Florian Weimer <fweimer@redhat.com>
9895 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9896 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9898 2018-07-24 Rical Jasan <rj@2c3t.io>
9899 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9900 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9903 * manual/debug.texi: Update adjacent chapter name.
9904 * manual/probes.texi: Likewise.
9905 * manual/threads.texi (ISO C Threads): New section.
9906 (POSIX Threads): Convert to a section.
9908 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9909 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9912 * nptl/Makefile (tests): Add new test files.
9913 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9914 * nptl/tst-cnd-basic.c: Likewise.
9915 * nptl/tst-cnd-broadcast.c: Likewise.
9916 * nptl/tst-cnd-timedwait.c: Likewise.
9917 * nptl/tst-mtx-basic.c: Likewise.
9918 * nptl/tst-mtx-recursive.c: Likewise.
9919 * nptl/tst-mtx-timedlock.c: Likewise.
9920 * nptl/tst-mtx-trylock.c: Likewise.
9921 * nptl/tst-thrd-basic.c: Likewise.
9922 * nptl/tst-thrd-detach.c: Likewise.
9923 * nptl/tst-thrd-sleep.c: Likewise.
9924 * nptl/tst-tss-basic.c: Likewise.
9926 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9929 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9930 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9932 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9933 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9934 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9935 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9936 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9937 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9938 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9939 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9940 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9941 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9942 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9943 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9951 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9952 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9953 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9954 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9955 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9956 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9957 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9958 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9959 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9960 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9961 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9962 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9963 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9965 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9966 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9967 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9968 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9969 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9970 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9971 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9972 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9973 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9974 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9975 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9976 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9983 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9984 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9985 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9986 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9987 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9988 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9989 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9990 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9993 * conform/data/threads.h-data (thread_local): New macro.
9994 (TSS_DTOR_ITERATIONS): Likewise.
9996 (tss_dtor_t): Likewise.
9997 (tss_create): New function.
9998 (tss_get): Likewise.
9999 (tss_set): Likewise.
10000 (tss_delete): Likewise.
10001 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10002 tss_get, and tss_set objects.
10003 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10004 * nptl/tss_create.c: New file.
10005 * nptl/tss_delete.c: Likewise.
10006 * nptl/tss_get.c: Likewise.
10007 * nptl/tss_set.c: Likewise.
10008 * sysdeps/nptl/threads.h (thread_local): New define.
10009 (TSS_DTOR_ITERATIONS): Likewise.
10010 (tss_t): New typedef.
10011 (tss_dtor_t): Likewise.
10012 (tss_create): New prototype.
10013 (tss_get): Likewise.
10014 (tss_set): Likewise.
10015 (tss_delete): Likewise.
10018 * conform/data/threads.h-data (cnd_t): New type.
10019 (cnd_init): New function.
10020 (cnd_signal): Likewise.
10021 (cnd_broadcast): Likewise.
10022 (cnd_wait): Likewise.
10023 (cnd_timedwait): Likewise.
10024 (cnd_destroy): Likewise.
10025 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10026 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10028 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10029 * nptl/cnd_broadcast.c: New file.
10030 * nptl/cnd_destroy.c: Likewise.
10031 * nptl/cnd_init.c: Likewise.
10032 * nptl/cnd_signal.c: Likewise.
10033 * nptl/cnd_timedwait.c: Likewise.
10034 * nptl/cnd_wait.c: Likewise.
10035 * sysdeps/nptl/threads.h (cnd_t): New type.
10036 (cnd_init): New prototype.
10037 (cnd_signa): Likewise.
10038 (cnd_broadcast): Likewise.
10039 (cnd_wait): Likewise.
10040 (cnd_timedwait): Likewise.
10041 (cnd_destroy): Likewise.
10044 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10045 (once_flag): New type.
10046 (call_once): New function.
10047 * nptl/Makefile (libpthread-routines): Add call_once object.
10048 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10049 * nptl/call_once.c: New file.
10050 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10051 (once_flag): New type.
10052 (call_once): New prototype.
10055 * conform/data/threads.h-data (mtx_plain): New constant.
10056 (mtx_recursive): Likewise.
10057 (mtx_timed): Likewise.
10059 (mtx_init): New function.
10060 (mtx_lock): Likewise.
10061 (mtx_timedlock): Likewise.
10062 (mtx_trylock): Likewise.
10063 (mtx_unlock): Likewise.
10064 (mtx_destroy): Likewise.
10065 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10066 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10067 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10068 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10069 * nptl/mtx_destroy.c: New file.
10070 * nptl/mtx_init.c: Likewise.
10071 * nptl/mtx_lock.c: Likewise.
10072 * nptl/mtx_timedlock.c: Likewise.
10073 * nptl/mtx_trylock.c: Likewise.
10074 * nptl/mtx_unlock.c: Likewise.
10075 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10076 (mtx_recursive): Likewise.
10077 (mtx_timed): Likewise.
10079 (mtx_init): New prototype.
10080 (mtx_lock): Likewise.
10081 (mtx_timedlock): Likewise.
10082 (mtx_trylock): Likewise.
10083 (mtx_unlock): Likewise.
10084 (mtx_destroy): Likewise.
10087 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
10088 (linknamespace-libs-ISO11): Add libpthread.a.
10089 * conform/data/threads.h-data: New file: add C11 thrd_* types and
10091 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
10092 * nptl/Makefile (headers): Add threads.h.
10093 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
10094 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
10096 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
10097 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
10098 thrd_join, thrd_sleep, and thrd_yield symbols.
10099 * nptl/descr.h (struct pthread): Add c11 field.
10100 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
10101 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
10102 routine with expected function prototype.
10103 (__pthread_create_2_1): Add C11 threads check based on attribute
10105 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
10106 * nptl/thrd_create.c: New file.
10107 * nptl/thrd_current.c: Likewise.
10108 * nptl/thrd_detach.c: Likewise.
10109 * nptl/thrd_equal.c: Likewise.
10110 * nptl/thrd_exit.c: Likewise.
10111 * nptl/thrd_join.c: Likewise.
10112 * nptl/thrd_priv.h: Likewise.
10113 * nptl/thrd_sleep.c: Likewise.
10114 * nptl/thrd_yield.c: Likewise.
10115 * include/threads.h: Likewise.
10117 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10119 * bits/indirect-return.h: New file.
10120 * misc/sys/cdefs.h (__glibc_has_attribute): New.
10121 * sysdeps/x86/bits/indirect-return.h: Likewise.
10122 * stdlib/Makefile (headers): Add bits/indirect-return.h.
10123 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
10124 (swapcontext): Add __INDIRECT_RETURN.
10125 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
10126 (prepare_test_buffer): Use it.
10128 2018-07-24 Andreas Schwab <schwab@suse.de>
10131 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
10132 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
10134 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10136 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
10137 Redefine if shadow stack is enabled.
10138 (SYSCALL_ERROR_LABEL): Likewise.
10139 (__vfork): Pop shadow stack and jump back to to caller directly
10140 when shadow stack is in use.
10141 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
10142 Redefine if shadow stack is enabled.
10143 (SYSCALL_ERROR_LABEL): Likewise.
10144 (__vfork): Pop shadow stack and jump back to to caller directly
10145 when shadow stack is in use.
10147 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10149 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
10152 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
10155 2018-07-20 Joseph Myers <joseph@codesourcery.com>
10157 * scripts/build-many-glibcs.py (Context.checkout): Default
10158 binutils version to 2.31 branch.
10160 2018-07-20 Zong Li <zong@andestech.com>
10162 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
10163 URL of gcc's tarball.
10165 2018-07-20 Florian Weimer <fweimer@redhat.com>
10168 * posix/regcomp.c (build_equiv_class): When comparing weights, do
10169 not compare an extra byte after the end of the weights.
10171 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10173 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
10175 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
10177 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
10178 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
10179 * scripts/check-execstack.awk: Consider `xfail' variable containing a
10180 list of libraries whose stack executability is expected.
10181 * elf/Makefile ($(objpfx)check-execstack.out): Pass
10182 $(check-execstack-xfail) to check-execstack.awk through `xfail'
10184 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
10185 libc.so libpthread.so.
10187 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
10189 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
10191 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
10193 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
10195 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
10197 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10199 * benchtests/scripts/compare_bench.py (__main__): use the argparse
10200 library to improve command line parsing.
10201 (__main__): make schema file as optional parameter (--schema),
10202 defaulting to benchtests/scripts/benchout.schema.json.
10203 (main): move out of the parsing stuff to __main_ and leave it
10204 only as caller of main comparison functions.
10206 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10208 * NEWS: Add a note for Intel CET status.
10209 * manual/install.texi: Likewise.
10210 * INSTALL: Regenerated.
10212 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10215 * localedata/locales/oc_FR (mon): Rename to...
10216 (alt_mon): This, then update October (typo fix).
10217 (mon): New content (genitive case, month names preceded by
10221 * localedata/locales/oc_FR (abday): Update all items.
10222 (day): Update Wednesday and Saturday (typo fixes).
10223 (abmon): Update all items, except May.
10224 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10225 (LC_IDENTIFICATION): Bump the revision number and date.
10226 Keep the "category" entries in alphabetic order.
10227 (LC_ADDRESS): Remove no longer needed comment.
10228 (LC_COLLATE): Use “copy "ca_ES"”.
10229 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10232 2018-07-18 Joseph Myers <joseph@codesourcery.com>
10234 * grp/tst_fgetgrent.c: Include <unistd.h>.
10235 (main): Use mkstemp instead of tmpnam.
10236 * io/test-utime.c (main): Likewise.
10237 * posix/annexc.c (macrofile): Change to modifiable array.
10238 (main): Remove macrofile here.
10239 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10241 (check_header): Do not remove macrofile here.
10242 * posix/bug-getopt1.c: Include <stdlib.h>.
10243 (do_test): Use mkstemp instead of tmpnam.
10244 * posix/bug-getopt2.c: Include <stdlib.h>.
10245 (do_test): Use mkstemp instead of tmpnam.
10246 * posix/bug-getopt3.c: Include <stdlib.h>.
10247 (do_test): Use mkstemp instead of tmpnam.
10248 * posix/bug-getopt4.c: Include <stdlib.h>.
10249 (do_test): Use mkstemp instead of tmpnam.
10250 * posix/bug-getopt5.c: Include <stdlib.h>.
10251 (do_test): Use mkstemp instead of tmpnam.
10252 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10253 (main): Use mkstemp instead of tmpnam.
10254 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10255 (main): Use mkstemp instead of tmpnam.
10256 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10257 (main): use mkstemp instead of tmpnam.
10258 * stdlib/isomac.c (macrofile): Change to modifiable array.
10259 (main): Remove macrofile here.
10260 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10262 (check_header): Do not remove macrofile here.
10264 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10266 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10267 glibc.tune.x86_shstk.
10269 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10271 * NEWS: Mention --enable-cet.
10272 * manual/install.texi: Document --enable-cet.
10273 * INSTALL: Regenerated.
10275 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10277 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
10278 Add _CET_NOTRACK before indirect jump to jump table.
10280 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10282 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
10283 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10286 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10288 * sysdeps/i386/i686/multiarch/strcat-sse2.S
10289 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10292 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10294 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
10295 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10298 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10300 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
10301 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10304 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10306 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
10307 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10309 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
10311 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10313 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
10314 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10317 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10319 * sysdeps/i386/i686/multiarch/memset-sse2.S
10320 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10323 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10325 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
10326 indirect jump to jump table.
10328 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10330 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
10331 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10333 (MEMCPY): Likewise.
10335 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10337 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
10338 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10340 (MEMCPY): Likewise.
10342 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10344 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10345 _CET_NOTRACK before indirect jump to jump table.
10347 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10349 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.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/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
10356 indirect jump to jump table.
10358 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
10361 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
10362 (LOCALES): Likewise.
10363 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
10364 * localedata/locales/sah_RU: New file.
10365 * localedata/sah_RU.UTF-8.in: New file.
10367 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10369 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
10371 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10372 _CET_ENDBR to indirect jump targets and adjust jump destination
10374 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
10376 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10377 _CET_ENDBR to indirect jump targets and adjust jump destination
10379 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
10381 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
10382 _CET_ENDBR to indirect jump targets and adjust jump destination
10385 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10387 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10390 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10392 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
10394 (_dl_tlsdesc_undefweak): Likewise.
10395 (_dl_tlsdesc_dynamic): Likewise.
10396 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
10397 (_dl_tlsdesc_resolve_rel): Likewise.
10398 (_dl_tlsdesc_resolve_rela): Likewise.
10399 (_dl_tlsdesc_resolve_hold): Likewise.
10400 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
10401 (_dl_tlsdesc_undefweak): Likewise.
10402 (_dl_tlsdesc_dynamic): Likewise.
10403 (_dl_tlsdesc_resolve_rela): Likewise.
10404 (_dl_tlsdesc_resolve_hold): Likewise.
10406 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10408 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
10410 * sysdeps/x86_64/crti.S (_init): Likewise.
10413 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
10416 * localedata/locales/os_RU (mon): Rename to...
10418 (mon): Import from CLDR (genitive case).
10420 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10422 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
10423 cet-tunables.h> when CET is enabled.
10425 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
10428 * configure.ac: Add --enable-cet.
10429 * configure: Regenerated.
10430 * elf/Makefille (all-built-dso): Add a comment.
10431 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
10432 Include <dl-prop.h>.
10433 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
10435 * elf/dl-open.c: Include <dl-prop.h>.
10436 (dl_open_worker): Call _dl_open_check.
10437 * elf/rtld.c: Include <dl-prop.h>.
10438 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
10440 * sysdeps/generic/dl-prop.h: New file.
10441 * sysdeps/i386/dl-cet.c: Likewise.
10442 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
10443 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
10444 * sysdeps/x86/cet-tunables.h: Likewise.
10445 * sysdeps/x86/check-cet.awk: Likewise.
10446 * sysdeps/x86/configure: Likewise.
10447 * sysdeps/x86/configure.ac: Likewise.
10448 * sysdeps/x86/dl-cet.c: Likewise.
10449 * sysdeps/x86/dl-procruntime.c: Likewise.
10450 * sysdeps/x86/dl-prop.h: Likewise.
10451 * sysdeps/x86/libc-start.h: Likewise.
10452 * sysdeps/x86/link_map.h: Likewise.
10453 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
10455 (_dl_runtime_profile): Likewise.
10456 (_dl_runtime_resolve_shstk): New.
10457 (_dl_runtime_profile_shstk): Likewise.
10458 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
10460 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
10461 (CFLAGS-.os): Likewise.
10462 (CFLAGS-.op): Likewise.
10463 (CFLAGS-.oS): Likewise.
10464 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
10466 (tests-special): Add $(objpfx)check-cet.out.
10467 (cet-built-dso): New.
10468 (+$(cet-built-dso:=.note)): Likewise.
10469 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
10470 ($(objpfx)check-cet.out): New.
10471 (generated): Add check-cet.out.
10472 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
10474 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
10475 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10476 (init_cpu_features): Call get_cet_status to check CET status
10477 and update dl_x86_feature_1 with CET status. Call
10478 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
10479 (set_x86_shstk). Disable and lock CET in libc.a.
10480 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
10481 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
10482 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10483 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
10484 (_CET_ENDBR): Define if not defined.
10485 (ENTRY): Add _CET_ENDBR.
10486 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
10488 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
10490 (_dl_runtime_profile): Likewise.
10492 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
10495 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
10496 restore r2 on longjmp.
10497 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
10499 Added rules to build test tst-setjmp-bug21895-static.
10500 Added module setjmp-bug21895 and rules to build a shared object from it.
10501 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
10502 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
10504 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
10506 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
10507 * benchtests/bench-strstr.c: Likewise.
10508 * string/memmem.c (FASTSEARCH): Define.
10509 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
10510 Add support for FASTSEARCH.
10511 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
10512 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
10513 (FASTSEARCH): Define.
10514 * string/test-strcasestr.c: Rename __strnlen to strnlen.
10515 * string/test-strstr.c: Likewise.
10517 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
10519 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
10520 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
10522 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
10523 H.J. Lu <hongjiu.lu@intel.com>
10525 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
10526 (__longjmp): Restore shadow stack pointer if shadow stack is
10527 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10528 isn't defined for __longjmp_cancel.
10529 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
10530 (_setjmp): Save shadow stack pointer if shadow stack is enabled
10531 and SHADOW_STACK_POINTER_OFFSET is defined.
10532 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
10533 (setjmp): Save shadow stack pointer if shadow stack is enabled
10534 and SHADOW_STACK_POINTER_OFFSET is defined.
10535 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
10536 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10537 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10538 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
10540 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10541 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10542 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
10543 Remove jmp_buf-ssp.sym.
10544 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10546 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10547 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10548 * sysdeps/x86/Makefile (gen-as-const-headers): Add
10550 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
10551 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
10552 (__longjmp): Restore shadow stack pointer if shadow stack is
10553 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10554 isn't defined for __longjmp_cancel.
10555 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
10556 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10557 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10559 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
10562 * nptl/pthread_create.c: Include <tls-setup.h>.
10563 (__pthread_create_2_1): Call tls_setup_tcbhead.
10564 * sysdeps/generic/tls-setup.h: New file.
10565 * sysdeps/x86/nptl/tls-setup.h: Likewise.
10566 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
10567 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
10569 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
10571 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10572 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
10573 (X86_FEATURE_1_SHSTK): Likewise.
10574 (CET_ENABLED): Likewise.
10575 (IBT_ENABLED): Likewise.
10576 (SHSTK_ENABLED): Likewise.
10578 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
10581 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
10582 (LOCALES): Likewise.
10583 * localedata/dsb_DE.UTF-8.in: New file.
10584 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
10586 2018-07-12 Florian Weimer <fweimer@redhat.com>
10588 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
10589 __mprotect, not mprotect.
10591 2018-07-11 Florian Weimer <fweimer@redhat.com>
10593 * io/Makefile (headers): Add bits/statx.h.
10595 2018-07-10 Mike FABIAN <mfabian@redhat.com>
10597 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
10598 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
10600 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
10601 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
10604 2018-07-10 Florian Weimer <fweimer@redhat.com>
10606 * io/Makefile (routines): Add statx.
10607 (tests-internal): Add tst-statx.
10608 * io/Versions (GLIBC_2.28): Export statx.
10609 * io/bits/statx.h: New file.
10610 * io/sys/stat.h [__USE_GNU]: Include it.
10611 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
10612 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
10614 * io/statx.c: New file.
10615 * io/statx_generic.: Likewise.
10616 * io/tst-statx.: Likewise.
10617 * include/bits/statx.h: Likewise.
10618 * sysdeps/unix/sysv/linux/kernel-features.h
10619 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
10620 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10621 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
10622 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
10624 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10625 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
10626 * sysdeps/unix/sysv/linux/statx.c: New file.
10627 * manual/filesys.texi: Note that statx is undocumented.
10628 * sysdeps/**/libc*.abilist: Update.
10630 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10632 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
10633 a kernel issue which lead to test failure in some cases.
10635 2018-07-10 Florian Weimer <fweimer@redhat.com>
10638 * posix/regexec.c (check_node_accept_bytes): When comparing
10639 weights, do not compare an extra byte after the end of the
10642 2018-07-10 Florian Weimer <fweimer@redhat.com>
10644 * libio/readline.c: Fix copyright year.
10645 * libio/tst-readline.c Likewise.
10646 * nss/tst-nss-files-hosts-getent.c: Likewise.
10648 2018-07-06 Florian Weimer <fweimer@redhat.com>
10651 * nss/nss_files/files-XXX.c (internal_getent): Use
10652 __libc_readline_unlocked. Seek back to the start of the line if
10653 parsing failes with ERANGE.
10654 (get_contents_ret, get_contents): Remove.
10655 * nss/tst-nss-files-hosts-getent.c: New file.
10656 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10657 (tst-nss-files-hosts-getent): Link with -ldl.
10659 2018-07-06 Florian Weimer <fweimer@redhat.com>
10661 * include/stdio.h (__libc_readline_unlocked): Declare.
10662 (__ftello64, __fseeko64): Declare aliases.
10663 * libio/readline.c: New file.
10664 * libio/tst-readline.c: Likewise.
10665 (routines): Add readline.
10666 (tests-internal): Add tst-readlime.
10667 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10668 __libc_readline_unlocked.
10669 * libio/fseeko.c (__fseeko): Rename from fseeko.
10670 (fseeko): Add alias.
10671 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10672 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10673 (fseeko64): Add alias.
10674 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10675 * libio/ftello64.c (__ftello64): Rename from ftello64.
10676 (ftello64): Add alias.
10678 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10680 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10683 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10685 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10686 Use dl_hwcap without masking.
10687 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10688 Remove HWCAP_CPUID.
10690 2018-07-06 Florian Weimer <fweimer@redhat.com>
10692 * conform/conformtest.pl (checknamespace): Escape literal braces
10693 in regular expressions.
10695 2018-07-06 Amit Pawar <amit.pawar@amd.com>
10697 * sysdeps/x86/cpu-features.c (get_common_indeces):
10698 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10699 * sysdeps/x86/cpu-features.c (init_cpu_features):
10700 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10702 2018-07-05 Florian Weimer <fweimer@redhat.com>
10704 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10706 (CFLAGS-elf-init.oS): Likewise.
10708 2018-07-05 Florian Weimer <fweimer@redhat.com>
10709 Carlos O'Donell <carlos@redhat.com>
10711 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10712 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10713 with stack protector enabled because there is no risk of infinite
10716 2018-07-05 Maciej W. Rozycki <macro@mips.com>
10720 * libc-abis (ABSOLUTE): New ABI.
10721 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10722 * NEWS: Mention the new ABI.
10724 2018-07-05 Florian Weimer <fweimer@redhat.com>
10727 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10728 (RENAME_WHITEOUT): Define.
10729 [__USE_GNU] (renameat2): Declare.
10730 * stdio-common/Makefile (routines): Add renameat2.
10731 (tests): Add tst-renameat2.
10732 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10733 * stdio-common/renameat2.c: New file.
10734 * stdio-common/tst-renameat2.c: Likewise.
10735 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10736 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10738 * sysdeps/unix/sysv/linux/kernel-features.h
10739 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10740 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10741 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10742 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10743 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10744 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10745 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10746 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10747 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10748 * include/stdio.h (__renameat): Add alias for renameat.
10749 * stdio-common/renameat.c (__renameat): Rename from renameat.
10750 Add hidden definition and alias.
10751 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10752 * sysdeps/mach/hurd/renameat.c: Likewise.
10753 * sysdeps/**/libc*.abilist: Add renameat2.
10755 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10757 * posix/bug-regex33.c: Fix build after regex sync.
10759 2018-07-04 Carlos O'Donell <carlos@redhat.com>
10762 * localedata/tst-langinfo-setlocale.c: New file.
10763 * localedata/tst-langinfo-setlocale-static.c: New file.
10764 * localedata/tst-langinfo-newlocale.c: New file.
10765 * localedata/tst-langinfo-newlocale-static.c: New file.
10766 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10767 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10768 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10769 (tests-static): Remove tst-langinfo-static. Add
10770 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10771 (tests-special): Remove $(objpfx)tst-langinfo.out,
10772 $(objpfx)tst-langinfo-static.out. Add
10773 $(objpfx)tst-langinfo-setlocale.out,
10774 $(objpfx)tst-langinfo-newlocale.out,
10775 $(objpfx)tst-langinfo-setlocale-static.out,
10776 $(objpfx)tst-langinfo-newlocale-static.out.
10777 ($(objpfx)tst-langinfo.out): Remove.
10778 ($(objpfx)tst-langinfo-static.out): Remove.
10779 ($(objpfx)tst-langinfo-newlocale.out): New target.
10780 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10781 (test-xfail-tst-langinfo-newlocale-static): Add.
10782 ($(objpfx)tst-langinfo-setlocale.out): New target.
10783 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10784 * localedata/tst-langinfo.c: Call test_locale.
10785 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10788 2018-07-04 Florian Weimer <fweimer@redhat.com>
10790 testrun.sh: Implement --tool=strace, --tool=valgrind
10791 * Makefile (testrun-script): Define variable.
10792 (testrun.sh): Use variable.
10793 * manual/install.texi (Tools for Compilation): make 4.0 or later
10795 * configure.ac: Check for make 4.0 or later.
10796 * INSTALL: Regenerate.
10797 * configure: Likewise.
10799 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10805 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10806 * posix/PCRE.tests: Remove invalid test.
10807 * posix/bug-regex28.c: Fix expected values for used syntax.
10808 * posix/bug-regex37.c: New file.
10809 * posix/bug-regex38.c: Likewise.
10810 * posix/regcomp.c: Sync with gnulib.
10811 * posix/regex.c: Likewise.
10812 * posix/regex.h: Likewise.
10813 * posix/regex_internal.c: Likewise.
10814 * posix/regex_internal.h: Likewise.
10815 * posix/regexec.c: Likewise.
10817 2018-06-26 Mike FABIAN <mfabian@redhat.com>
10820 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
10821 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
10822 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
10823 * localedata/unicode-gen/PropList.txt: likewise.
10824 * localedata/unicode-gen/UnicodeData.txt: likewise.
10825 * localedata/charmaps/UTF-8: Regenerate.
10826 * localedata/locales/i18n_ctype: likewise.
10827 * localedata/locales/tr_TR: likewise.
10828 * localedata/locales/translit_circle: likewise.
10829 * localedata/locales/translit_cjk_compat: likewise.
10830 * localedata/locales/translit_combining: likewise.
10831 * localedata/locales/translit_compat: likewise.
10832 * localedata/locales/translit_font: likewise.
10833 * localedata/locales/translit_fraction: likewise.
10835 2018-07-03 Florian Weimer <fweimer@redhat.com>
10838 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
10839 * stdio-common/tst-printf.sh: Adjust expected output.
10840 * LICENSES: Update.
10842 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10844 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
10847 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10849 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
10850 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
10851 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10852 * stdio-common/tst-printfsz-islongdouble.c: New file.
10853 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10854 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10855 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10856 [subdir == stdio-common] (tests-internal): Add
10857 test-printf-size-ieee128, and test-printf-size-ibm128.
10858 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10859 (CFLAGS-test-printf-size-ibm128.c): New variables.
10860 [subdir == stdio-common] (tests-special): Add
10861 $(objpfx)test-printf-size-ieee128.out and
10862 $(objpfx)test-printf-size-ibm128.out.
10863 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10864 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10865 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10866 __printf_sizeieee128.
10867 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10869 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10871 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10874 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10876 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10877 (exp2f_inline): Likewise.
10878 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10879 (__math_uflowf): Likewise.
10880 (__math_may_uflowf): Likewise.
10881 (__math_divzerof): Likewise.
10882 (__math_invalidf): Likewise.
10883 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10884 (__math_oflowf): Likewise.
10885 (__math_uflowf): Likewise.
10886 (__math_may_uflowf): Likewise.
10887 (__math_divzerof): Likewise.
10888 (__math_invalidf): Likewise.
10890 2018-06-29 DJ Delorie <dj@redhat.com>
10891 Carlos O'Donell <carlos@redhat.com>
10894 * include/libc-symbols.h: Comment the freeres framework.
10895 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10896 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10897 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10898 * dlfcn/dlerror.c: Include libc-symbols.h
10899 (__dlerror_main_freeres): New function.
10900 * dlfcn/dlfreeres.c: New file.
10901 * dlfcn/sdlfreeres.c: New file.
10902 * include/dlfcn.h: Declare __dlerror_main_freeres.
10903 * malloc/set-freeres.c: Declare __libdl_freeres, and
10904 __libpthread_freeres.
10905 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10906 the releavant libraries are loaded.
10907 * malloc/thread-freeres.c: Add comments.
10908 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10909 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10910 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10911 (__free_stacks): Rename to...
10912 (free_stacks): ...this. Mark static.
10913 (queue_stack): Call free_stacks.
10914 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10915 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10916 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10917 ptr_freeres element from struct.
10918 (pthread_functions): Remove .ptr_freeres from struct initializer.
10919 [SHARED] (nptl_freeres): Remove.
10920 * nptl/nptlfreeres.c: New file.
10922 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10923 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10925 (__free_stacks): Rename to...
10926 (__nptl_stacks_freeres): ...this.
10927 (__shm_directory_freeres): Declare.
10928 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10929 (__nptl_unwind_freeres): ...this.
10930 * resolv/res-close.c: Add comment.
10931 * resolv/resolv_conf.c: Include libc-symbols.h.
10932 * string/strerror_l.c: Include libc-symbols.h.
10933 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10934 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10935 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10936 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10938 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10940 * stdlib/tst-strfmon_l.c: Add tests for long double.
10942 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
10945 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10946 * localedata/locales/dsb_DE: New file.
10948 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10951 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10953 (alt_mon): New entry, import from CLDR (nominative case).
10955 2018-06-29 Sylvain Lesage <severo@rednegra.net>
10958 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10960 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10962 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10963 Use vector registers.
10965 * sysdeps/aarch64/multiarch/memmove_falkor.S
10966 (__memcpy_falkor): Use vector registers.
10968 2018-06-29 Martin Sebor <msebor@redhat.com>
10970 * manual/stdio.texi (Customizing Printf): Mention interaction
10971 with GCC built-ins.
10973 2018-06-29 Maciej W. Rozycki <macro@mips.com>
10976 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10977 `st_value' is 0 if `st_shndx' is SHN_ABS.
10978 * elf/tst-absolute-zero.c: New file.
10979 * elf/tst-absolute-zero-lib.c: New file.
10980 * elf/tst-absolute-zero-lib.lds: New file.
10981 * elf/Makefile (tests): Add `tst-absolute-zero'.
10982 (modules-names): Add `tst-absolute-zero-lib'.
10983 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10984 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10985 ($(objpfx)tst-absolute-zero: New dependency.
10987 2018-06-29 Zack Weinberg <zackw@panix.com>
10989 * configure.ac: New command-line option --disable-crypt.
10990 Force --disable-nss-crypt when --disable-crypt is given, with a
10991 warning if it was explicitly enabled.
10992 * configure: Regenerate.
10993 * config.make.in: New boolean substitution variable $(build-crypt).
10994 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10995 when $(build-crypt).
10996 * manual/install.texi: Document --disable-crypt.
10997 * INSTALL: Regenerate.
10999 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11000 which is never set.
11001 * conform/Makefile: Only include libcrypt.a in
11002 linknamespace-libs-xsi and linknamespace-libs-XPG4
11003 when $(build-crypt).
11004 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11005 USE_CRYPT to 1 when $(build-crypt).
11006 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11007 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11008 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11010 2018-06-29 Zack Weinberg <zackw@panix.com>
11012 * crypt/crypt.h, posix/unistd.h: Update comments and
11013 prototypes for crypt and crypt_r.
11015 * manual/crypt.texi (Cryptographic Functions): New initial
11017 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11018 (Unpredictable Bytes): Improve initial exposition. Clarify error
11019 behavior of getentropy and getrandom.
11020 * manual/examples/genpass.c: Generate a salt using getentropy
11021 instead of the current time. Use hash $5$ (SHA-2-256).
11022 * manual/examples/testpass.c: Demonstrate validation against
11023 hashes generated with three different one-way functions.
11025 * manual/intro.texi: crypt.texi does not need an overview
11028 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11029 * manual/terminal.texi: Consistently refer to "passphrases"
11030 * instead of "passwords", and to the "user database" instead
11031 * of the "password database".
11032 * manual/users.texi: Similarly. Add notes about how actual
11033 passphrase hashes are now stored in the shadow database.
11034 Remove 20-year-old junk todo note.
11036 2018-06-29 Zack Weinberg <zackw@panix.com>
11038 * manual/crypt.texi: Use a normal top-level @node declaration.
11039 Move most of the introductory text to the 'crypt' section.
11040 Move the example programs below the @deftypefun for 'crypt_r'.
11041 Move the 'getpass' section...
11042 * manual/terminal.texi: ...here.
11044 2018-06-29 Zack Weinberg <zackw@panix.com>
11045 Florian Weimer <fweimer@redhat.com>
11047 * posix/unistd.h: Do not declare encrypt.
11048 (_XOPEN_CRYPT): Remove macro definition.
11049 (crypt): Declare only for _USE_MISC.
11050 * stdlib/stdlib.h: Do not declare setkey.
11051 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11052 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11054 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11055 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11056 into compat symbols. Don't define initial_perm if it's not
11058 * crypt/cert.c: Link explicitly with the expected versions for
11059 setkey and encrypt. If they are not available at all, mark
11060 the test as unsupported.
11062 * sunrpc/des_crypt.c: Unconditionally block linkage with
11063 cbc_crypt and ecb_crypt for new binaries.
11064 * sunrpc/des_soft.c: Unconditionally block linkage with
11065 des_setparity for new binaries.
11067 * manual/crypt.texi: Remove the entire "DES Encryption"
11068 section. Also remove the paragraph talking about FIPS 140-2
11069 from the introduction.
11070 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11071 of libgcrypt for "real" encryption, not DES.
11072 * manual/conf.texi (Constants for Sysconf): Mention that
11073 _XOPEN_CRYPT is no longer impelemented.
11075 * conform/data/unistd.h-data: Remove crypt function declaration.
11077 2018-06-29 Florian Weimer <fweimer@redhat.com>
11080 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11081 (disallow_malloc_check): Remove variable.
11082 (__malloc_check_init): Adjust.
11083 (malloc_set_state): Update comment.
11084 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
11087 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11090 * localedata/locales/ast_ES (mon): Rename to...
11092 (mon): Import from CLDR (genitive case).
11094 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
11095 Jakub Sitnicki <jkbs@redhat.com>
11098 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
11099 on NLM_F_DUMP_INTR.
11101 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11103 * manual/llio.texi: Remove spurious space.
11105 2018-06-28 Florian Weimer <fweimer@redhat.com>
11108 * time/bits/types/struct_timespec.h: Change header inclusion guard to
11111 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11113 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
11114 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
11115 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
11116 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
11117 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
11118 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
11119 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
11121 2018-06-27 Maciej W. Rozycki <macro@mips.com>
11124 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
11125 Copy and null-terminate entries that are not terminated, in
11126 addition to empty ones.
11128 2018-06-27 Florian Weimer <fweimer@redhat.com>
11131 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
11132 (extend_alloca_account): Remove.
11133 * manual/stdio.texi (Variable Arguments Output): Update comment.
11135 2018-06-27 Joseph Myers <joseph@codesourcery.com>
11137 * nptl/sockperf.c: Remove file.
11139 2018-06-27 Florian Weimer <fweimer@redhat.com>
11142 * elf/dl-deps.c (_dl_map_object_deps): Use struct
11143 scratch_buffer instead of extend_alloca.
11145 2018-06-27 Florian Weimer <fweimer@redhat.com>
11148 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
11149 scratch_buffer instead of extend_alloca. Update comments.
11151 2018-06-27 Florian Weimer <fweimer@redhat.com>
11154 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
11155 instead of extend_alloca.
11157 2018-06-26 Joseph Myers <joseph@codesourcery.com>
11160 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
11161 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
11163 * scripts/test-installation.pl: Put temporary files in build
11164 directory, not /tmp.
11165 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
11166 (CFLAGS-bug4.c): Likewise.
11167 (CFLAGS-bug5.c): Likewise.
11168 (CFLAGS-test-fseek.c): Likewise.
11169 (CFLAGS-test-popen.c): Likewise.
11170 (CFLAGS-test_rdwr.c): Likewise.
11171 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
11173 * stdio-common/bug4.c (main): Likewise.
11174 * stdio-common/bug5.c (main): Likewise.
11175 * stdio-common/test-fseek.c (TESTFILE): Likewise.
11176 * stdio-common/test-popen.c (do_test): Likewise.
11177 * stdio-common/test_rdwr.c (main): Likewise.
11179 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
11181 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
11182 (sem_open): Set sem.newsem.pad to zero for valgrind.
11184 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11187 * NEWS: Mention fcntl64 addition.
11188 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
11189 * login/utmp_file.c: Likewise.
11190 * sysdeps/posix/fdopendir.c: Likewise.
11191 * sysdeps/posix/opendir.c: Likewise.
11192 * sysdeps/unix/pt-fcntl.c: Likewise.
11193 * include/fcntl.h (__libc_fcntl64, __fcntl64,
11194 __fcntl64_nocancel_adjusted): New prototype.
11195 (__fcntl_nocancel_adjusted): Remove prototype.
11196 * io/Makefile (routines): Add fcntl64.
11197 (CFLAGS-fcntl64.c): New rule.
11198 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
11199 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
11200 * io/fcntl.h (fcntl64): Add prototype and redirect if
11201 __USE_FILE_OFFSET64 is defined.
11202 * io/fcntl64.c: New file.
11203 * manual/llio.text: Add a note for which commands fcntl acts a
11204 cancellation point.
11205 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11206 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11207 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11209 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11210 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11212 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11213 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11214 to __fcntl64_nocancel.
11215 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11216 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11217 to __fcntl64_nocancel.
11218 * sysdeps/generic/not-cancel.h: Likewise.
11219 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11220 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11221 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11222 (fcntl64): New symbol.
11223 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11224 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11225 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11228 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11229 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11230 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11231 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11232 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11233 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11234 fcntl64): Likewise.
11235 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11236 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11237 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11238 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11239 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11240 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11241 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11242 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11243 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11248 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11249 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11250 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11252 2018-06-26 Florian Weimer <fweimer@redhat.com>
11254 Run thread shutdown functions in an explicit order.
11255 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11257 (__libc_thread_freeres): Call thread shutdown functions
11259 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11260 * include/string.h (__strerror_thread_freeres): Declare.
11261 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11262 arena_thread_freeres. No longer static. Remove thread shutdown
11264 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11266 * resolv/res-close.c (__res_thread_freeres): Renamed from
11267 res_thread_freeres. No longer static. Remove thread shutdown
11269 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11270 * resolv/resolv_conf.c (freeres): Remove incorrect section
11271 attribute and use libc_freeres_fn.
11272 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11273 strerror_thread_freeres. No longer static. Remove thread
11274 shutdown hook registration.
11275 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11276 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
11277 shutdown hook registration.
11278 * Makerules (shlib.lds): Do not provide section boundary symbols
11279 for __libc_thread_subfreeres.
11280 * manual/memory.texi (Basic Allocation): Update comment.
11282 2018-06-26 Florian Weimer <fweimer@redhat.com>
11284 Remove always-defined _RPC_THREAD_SAFE_ macro.
11285 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
11286 Do not define _RPC_THREAD_SAFE_.
11287 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
11289 * sunrpc/clnt_perr.c: Likewise.
11290 * sunrpc/clnt_raw.c: Likewise.
11291 * sunrpc/clnt_simp.c: Likewise.
11292 * sunrpc/key_call.c: Likewise.
11293 * sunrpc/rpc_common.c: Likewise.
11294 * sunrpc/rpc_main.c: Likewise.
11295 * sunrpc/rpc_thread.c: Likewise.
11296 * sunrpc/svc.c: Likewise.
11297 * sunrpc/svc_raw.c: Likewise.
11298 * sunrpc/svc_simple.c: Likewise.
11299 * sumrpc/svcauth_des.c: Likewise.
11301 2018-06-26 Florian Weimer <fweimer@redhat.com>
11303 * libio/Makefile (tests-internal): Add tst-vtables,
11304 tst-vtables-interposed.
11305 * libio/tst-vtables.c: New file.
11306 * libio/tst-vtables-common.c: Likewise.
11307 * libio/tst-vtables-interposed.c: Likewise.
11309 2018-06-26 Florian Weimer <fweimer@redhat.com>
11311 * support/support_test_main.c (support_test_main): Only call
11312 setvbuf if not disables.
11313 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
11314 * support/test-driver.h (struct test_config): Add no_setvbuf member.
11316 2018-06-26 Florian Weimer <fweimer@redhat.com>
11319 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
11321 2018-06-25 Florian Weimer <fweimer@redhat.com>
11324 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11325 Use struct scratch_buffer instead of extend_alloca.
11327 2018-06-25 Florian Weimer <fweimer@redhat.com>
11330 * nss/getent.c (initgroups_keys): Use dynarray instead of
11333 2018-06-25 Florian Weimer <fweimer@redhat.com>
11336 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
11337 Use struct scratch_buffer instead of extend_alloca.
11339 2018-06-25 Florian Weimer <fweimer@redhat.com>
11342 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
11343 back to malloc directly, without stack allocations.
11345 2018-06-25 Florian Weimer <fweimer@redhat.com>
11348 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
11351 2018-06-25 Florian Weimer <fweimer@redhat.com>
11354 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
11356 * nscd/hstcache.c (addhstbyX): Likewise.
11357 * nscd/pwdcache.c (addpwbyX): Likewise.
11358 * nscd/servicescache.c (addservbyX): Likewise.
11360 2018-06-25 Florian Weimer <fweimer@redhat.com>
11363 * nscd/connections.c (read_cmdline): New function.
11364 (restart): Use it. Update comment.
11366 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11369 * localedata/locales/csb_PL (mon): Rename to...
11371 (abmon): Rename to...
11372 (ab_alt_mon): This.
11373 (mon): Add with proper genitive forms, copy from Wikipedia.
11376 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11379 * localedata/locales/csb_PL (mon): Fix typos:
11380 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
11381 (yesstr): Add, value is "jo".
11382 (nostr): Add, value is "nié".
11384 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11386 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
11387 all log1p and significand functions on m680x0.
11388 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
11389 of s_significand.c..
11390 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11391 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
11392 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
11393 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
11394 s_log1p.c and include it..
11396 2018-06-21 Vincent Chen <vincentc@andestech.com>
11398 * elf/elf.h (R_NDS32_NONE): New define.
11399 (R_NDS32_32_RELA): Likewise.
11400 (R_NDS32_COPY): Likewise.
11401 (R_NDS32_GLOB_DAT): Likewise.
11402 (R_NDS32_JUMP_SLOT): Likewise.
11403 (R_NDS32_RELATIVE): Likewise.
11404 (R_NDS32_TLS_TPOFF): Likewise.
11405 (R_NDS32_TLS_DESC): Likewise.
11407 2018-06-21 Mark Wielaard <mark@klomp.org>
11409 * elf/elf.h (R_BPF_MAP_FD): Removed.
11410 (R_BPF_64_64, R_BPF_64_32): New.
11412 2018-06-21 Florian Weimer <fweimer@redhat.com>
11415 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
11416 Renamed from libc_feholdsetround_ctx.
11417 (default_libc_feresetround_ctx): Renamed from
11418 libc_feresetround_ctx.
11419 (default_libc_feholdsetround_noex_ctx): Renamed from
11420 libc_feholdsetround_noex_ctx.
11421 (default_libc_feresetround_noex_ctx): Renamed from
11422 libc_feresetround_noex_ctx.
11423 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
11424 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
11425 forwardning to the old implementations under the new names.
11426 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
11427 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
11428 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
11429 (libc_feresetround_ctx): Forward to default implements for i386
11430 and MATH_SET_BOTH_ROUNDING_MODES.
11431 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
11432 Add -DMATH_SET_BOTH_ROUNDING_MODES.
11434 2018-06-20 Joseph Myers <joseph@codesourcery.com>
11436 * string/tst-cmp.c: Include <libc-diag.h>.
11437 (strncmp_max): Disable -Wstringop-overflow= around call to
11439 (strncasecmp_max): Disable -Wstringop-overflow= around call to
11442 * string/bug-strpbrk1.c: Include <libc-diag.h>.
11443 (main): Disable -Wunused-value around call to strpbrk.
11444 * string/bug-strspn1.c: Include <libc-diag.h>.
11445 (main): Disable -Wunused-value around call to strspn.
11447 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11448 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11450 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
11451 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
11453 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11455 * math/Makefile (libm-calls): Move s_significandF to...
11456 (gen-libm-calls): ... here.
11457 * math/s_significand_template.c: New file.
11458 * math/s_significand.c: Removed.
11459 * math/s_significandf.c: Removed.
11460 * math/s_significandl.c: Removed.
11461 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
11462 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
11464 * math/e_exp2_template.c (declare_mgen_finite_alias,
11465 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
11466 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
11467 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
11469 2018-06-20 Florian Weimer <fweimer@redhat.com>
11471 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
11473 2018-06-19 Joseph Myers <joseph@codesourcery.com>
11476 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
11477 floating-point number to strtod functions rather than possibly
11478 negating result of those functions.
11479 * stdio-common/tst-scanf-round.c: New file.
11480 * stdio-common/Makefile (tests): Add tst-scanf-round.
11481 ($(objpfx)tst-scanf-round): Depend on $(libm).
11483 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11485 * sysdeps/mach/hurd/localplt.data: Move to...
11486 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
11487 R_386_GLOB_DAT like on Linux i386.
11489 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11491 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
11492 (SHM_STAT_ANY): New macro.
11493 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
11494 (SHM_STAT_ANY): Likewise.
11495 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
11496 (SHM_STAT_ANY): Likewise.
11497 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
11498 (SHM_STAT_ANY): Likewise.
11499 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
11500 (SHM_STAT_ANY): Likewise.
11501 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
11502 (SHM_STAT_ANY): Likewise.
11503 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
11504 (SHM_STAT_ANY): Likewise.
11505 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
11506 (SHM_STAT_ANY): Likewise.
11507 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
11508 (SHM_STAT_ANY): Likewise.
11509 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
11510 (SHM_STAT_ANY): Likewise.
11511 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
11512 (SHM_STAT_ANY): Likewise.
11513 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
11514 (SHM_STAT_ANY): Likewise.
11516 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
11517 (SEM_STAT_ANY): New macro.
11518 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
11519 (SEM_STAT_ANY): Likewise.
11520 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
11521 (SEM_STAT_ANY): Likewise.
11522 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
11523 (SEM_STAT_ANY): Likewise.
11524 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
11525 (SEM_STAT_ANY): Likewise.
11526 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
11527 (SEM_STAT_ANY): Likewise.
11528 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
11529 (SEM_STAT_ANY): Likewise.
11530 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
11531 (SEM_STAT_ANY): Likewise.
11532 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
11533 (SEM_STAT_ANY): Likewise.
11534 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
11535 (SEM_STAT_ANY): Likewise.
11537 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
11538 (MSG_STAT_ANY): New macro.
11539 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
11540 (MSG_STAT_ANY): Likewise.
11541 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
11542 (MSG_STAT_ANY): Likewise.
11543 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
11544 (MSG_STAT_ANY): Likewise.
11545 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
11546 (MSG_STAT_ANY): Likewise.
11547 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
11548 (MSG_STAT_ANY): Likewise.
11549 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
11550 (MSG_STAT_ANY): Likewise.
11551 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
11552 (MSG_STAT_ANY): Likewise.
11553 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
11554 (MSG_STAT_ANY): Likewise.
11555 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
11556 (MSG_STAT_ANY): Likewise.
11558 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11559 (MAP_TYPE): Change value to 0x2b.
11561 2018-06-18 Florian Weimer <fweimer@redhat.com>
11564 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
11565 socket with SOCK_CLOEXEC.
11567 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11570 * sysdeps/powerpc/powerpc64/le/Makefile
11571 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
11572 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
11573 (gnulib-tests): Also add $(f128-loader-link) for
11574 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
11576 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11578 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
11579 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
11581 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
11582 (sendfile64): New strong alias.
11583 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
11584 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
11585 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
11586 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
11588 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
11589 ___pthread_get_cleanup_stack.
11590 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
11591 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
11592 * mach/shortcut.awk: Make syscall stubs include
11593 <mach-shortcuts-hidden.h> and add hidden definition.
11594 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
11595 (__mach_msg): Add hidden prototype.
11596 * mach/msg.c: Include <mach.h>.
11597 (__mach_msg): Add hidden definition.
11598 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
11599 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
11600 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
11601 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
11602 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
11603 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
11604 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
11605 prototype and definition.
11606 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
11607 hidden target for _hurd_self_sigstate.
11609 2018-06-15 Joseph Myers <joseph@codesourcery.com>
11612 * stdlib/tst-strtod-nan-sign-main.c: New file.
11613 * stdlib/tst-strtod-nan-sign.c: Likewise.
11614 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
11615 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
11616 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
11617 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
11618 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
11620 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
11623 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
11626 2018-06-14 Florian Weimer <fweimer@redhat.com>
11629 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
11630 that the result stays within the ISO-8859-1 range.
11631 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
11632 characters are defined in IBM273.
11634 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11636 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
11637 __mach_task_self): Remove attribute_hidden.
11639 2018-06-14 Joseph Myers <joseph@codesourcery.com>
11641 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11642 ignore -Wrestrict for one test.
11644 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11645 Szabolcs Nagy <szabolcs.nagy@arm.com>
11647 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11649 2018-06-14 Florian Weimer <fweimer@redhat.com>
11651 * scripts/update-abilist.sh: Accept empty list of files to patch.
11653 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11655 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11656 test-xfail-check-abi-libmachuser): Add.
11657 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11658 __libc_read and __libc_write to __read and __write.
11659 * sysdeps/hurd/include/hurd/port.h: New file.
11660 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11661 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11662 __thread_switch, __evc_wait): Move declarations to...
11663 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11665 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11666 use PLT to call _hurd_self_sigstate.
11668 2018-06-13 Joseph Myers <joseph@codesourcery.com>
11671 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11672 MAX_EXP as overflowing.
11673 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11675 (round_str): Output also whether result overflows in each rounding
11677 * stdlib/tst-strtod-round-data: Add more tests.
11678 * stdlib/tst-strtod-round-data.h: Regenerated.
11679 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11680 (TEST): Handle extra arguments for overflow flags.
11681 (struct test_overflow): New type.
11682 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11683 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11684 (test_in_one_mode): Take argument with overflow information.
11685 (do_test): Update calls to test_in_one_mode.
11687 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11689 * elf/dl-load (_dl_dst_substitute): Correct comment.
11690 (_dl_dst_count): Likewise.
11692 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11693 lll_futex_timed_wait.
11695 2018-06-12 Joseph Myers <joseph@codesourcery.com>
11698 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11700 * math/test-nan-const.c: New file.
11701 * math/Makefile (tests): Add test-nan-const.
11702 (CFLAGS-test-nan-const.c): New variable.
11704 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11706 * benchtests/scripts/compare_strings.py (process_results): Add
11707 funcs argument. Compare only functions which are selected.
11708 (main): Check if base function is among selected functions.
11709 Pass selected functions to process_results.
11710 (__main__): Add -f/--functions argument.
11712 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11713 Hongbo Zhang <hongbo.zhang@linaro.org>
11715 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11716 __memcpy_falkor for phecda core.
11717 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11718 __memmove_falkor for phecda core.
11719 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11720 __memset_falkor for phecda core.
11721 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11723 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11724 macro to identify phecda core.
11726 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11727 Andreas Schwab <schwab@suse.de>
11728 Dmitry V. Levin <ldv@altlinux.org>
11729 Florian Weimer <fweimer@redhat.com>
11736 * elf/dl-dst.h: Remove DL_DST_COUNT.
11737 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11738 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11739 (is_dst): Comment. Support ELF gABI.
11740 (_dl_dst_count): Comment. Simplify and count DSTs.
11741 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11742 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11745 2018-06-12 Zack Weinberg <zackw@panix.com>
11747 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11748 * sysdeps/unix/sysv/linux/dl-sysdep.c
11749 Include not-cancel.h. Use __close_nocancel instead of __close,
11750 __open64_nocancel instead of __open, __read_nocancel instead of
11751 __libc_read, and __write_nocancel instead of __libc_write.
11753 * csu/check_fds.c (check_one_fd)
11754 * sysdeps/posix/fdopendir.c (__fdopendir)
11755 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
11756 instead of __fcntl and/or __libc_fcntl.
11758 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11759 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
11760 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
11761 Use __open64_nocancel instead of __open_nocancel.
11763 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11764 hidden_proto declarations to the end and issue them if either
11765 IS_IN(libc) or IS_IN(rtld).
11766 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11767 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11768 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11769 read_nocancel, waitpid_nocancel, write_nocancel.
11771 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11772 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11773 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
11775 * nptl/pt-fcntl.c: New file.
11776 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11777 (libpthread-routines): Add pt-fcntl.
11778 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11779 (__libc_fcntl): Remove attribute_hidden.
11780 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11781 __fcntl_nocancel_adjusted, not fcntl_common.
11782 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
11783 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11784 to fcntl_nocancel.c.
11785 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11788 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11790 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11791 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11792 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11793 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11794 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11795 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11796 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11797 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11798 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11799 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11800 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11801 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11802 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11803 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11804 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11805 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11806 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11807 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11808 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11809 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11811 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11812 libpthread-routines.
11813 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11816 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11817 __libc_read, and __write instead of __libc_write. Define
11818 __open64 in addition to __open.
11820 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11824 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
11825 to _private_tm[3] and add __glibc_reserved2.
11826 Add _Static_assert of offset of __private_ss == 0x30.
11827 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
11828 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
11830 2018-06-12 Florian Weimer <fweimer@redhat.com>
11832 x86: Make strncmp usable from rtld.
11833 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
11834 __strncmp_ia32 if in libc (and not in rtld).
11835 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
11836 strncmp if not in libc (and not to __strncmp_sse2).
11838 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
11841 * localedata/locales/gd_GB (mon): Rename to...
11843 (mon): Import from CLDR (genitive case).
11844 * localedata/locales/hsb_DE (mon): Rename to...
11846 (mon): Import from CLDR (genitive case).
11847 * localedata/locales/wa_BE (mon): Rename to...
11849 (mon): Add, fill with the proper genitive forms, but CLDR data
11850 is incomplete; completed according to the comments in this file.
11851 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11853 * localedata/locales/wa_BE (country_name): Reword
11854 "Beljike" -> "Beldjike".
11856 2018-06-11 Joseph Myers <joseph@codesourcery.com>
11859 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11860 cases of non-finite arguments.
11861 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11863 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
11866 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11868 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11871 * include/unistd.h (__execvpex): New prototype.
11872 * posix/Makefile (tests): Add tst-spawn4.
11873 (tests-internal): Add tst-spawn4-compat.
11874 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11875 * posix/tst-spawn4-compat.c: New file.
11876 * posix/tst-spawn4.c: Likewise.
11877 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11878 binaries as shell scripts.
11879 * sysdeps/posix/spawni.c (__spawni): Likewise.
11881 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11884 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11885 ($(all-built-dso:=.dynsym): New target.
11886 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11887 ($(objpfx)check-initfini.out): New target.
11888 (generated): Add check-initfini.out.
11889 * scripts/check-initfini.awk: New file.
11890 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11892 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11894 * sysdeps/arm/crti.S (_init): Mark as hidden.
11896 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11898 * sysdeps/i386/crti.S (_init): Mark as hidden.
11900 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11902 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11904 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11906 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11908 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11910 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11912 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11914 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11916 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11918 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11920 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11922 * sysdeps/sh/crti.S (_init): Mark as hidden.
11924 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11926 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11929 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11931 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11932 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11933 and TF redirection to KFtype and KF only when the default
11934 long double type is not the IEEE 128-bit floating point type.
11936 2018-06-05 Joseph Myers <joseph@codesourcery.com>
11938 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11940 (HWCAP_USCAT): Likewise.
11941 (HWCAP_ILRCPC): Likewise.
11942 (HWCAP_FLAGM): Likewise.
11943 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11945 (_dl_aarch64_cap_flags): Add new flag names.
11947 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11948 (MAP_FIXED_NOREPLACE): New macro.
11949 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11950 (MAP_FIXED_NOREPLACE): Likewise.
11951 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11952 (MAP_FIXED_NOREPLACE): Likewise.
11953 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11954 (MAP_FIXED_NOREPLACE): Likewise.
11955 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11956 (MAP_FIXED_NOREPLACE): Likewise.
11957 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11958 (MAP_FIXED_NOREPLACE): Likewise.
11959 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11960 (MAP_FIXED_NOREPLACE): Likewise.
11961 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11962 (MAP_FIXED_NOREPLACE): Likewise.
11963 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11964 (MAP_FIXED_NOREPLACE): Likewise.
11965 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11966 (MAP_FIXED_NOREPLACE): Likewise.
11967 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11968 (MAP_FIXED_NOREPLACE): Likewise.
11969 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11970 (MAP_FIXED_NOREPLACE): Likewise.
11971 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11972 (MAP_FIXED_NOREPLACE): Likewise.
11973 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11974 (MAP_FIXED_NOREPLACE): Likewise.
11975 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11976 (MAP_FIXED_NOREPLACE): Likewise.
11978 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11981 2018-06-04 Joseph Myers <joseph@codesourcery.com>
11983 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11986 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11988 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11990 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11992 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11994 * benchtests/scripts/compare_string.py: (process_results) Catch
11995 exception in non-existent base_func and catch exception in
11996 non-existent attribute.
11997 (parse_file) Catch exception if input file does not exist.
11999 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12001 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12002 options to avoid diff calculation and omit header, respectively.
12003 (main): process --no-diff and --no-header
12005 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12006 H.J. Lu <hongjiu.lu@intel.com>
12008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12009 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12011 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12012 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12013 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12014 and __wcsncmp_sse2.
12015 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12016 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12017 AVX unaligned load is fast and vzeroupper is preferred.
12018 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12019 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12020 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12021 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12022 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12023 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12024 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12025 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12026 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12027 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12030 2018-06-01 Florian Weimer <fweimer@redhat.com>
12032 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12033 configuring with --disable-multi-arch, building with
12034 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12037 2018-06-01 Florian Weimer <fweimer@redhat.com>
12039 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12040 results from building with “-march=x86-64 -mtune=generic
12041 -mfpmath=sse” and running on a Haswell-era CPU.
12043 2018-06-01 Joseph Myers <joseph@codesourcery.com>
12046 * soft-fp/sqrttf2.c: Remove file.
12047 * soft-fp/sqrtdf2.c: Move to ....
12048 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12050 (__sqrtdf2): Make conditional on
12051 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12053 * soft-fp/sqrtsf2.c: Move to ....
12054 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12056 (__sqrtsf2): Make conditional on
12057 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12059 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12060 (gcc-double-routines): Remove sqrtdf2.
12061 (gcc-quad-routines): Remove sqrttf2.
12062 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12063 Do not filter out sqrtsf2 and sqrtdf2.
12064 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12065 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12067 2018-06-01 Florian Weimer <fweimer@redhat.com>
12069 * sysdeps/generic/libcidn.abilist: Remove file.
12071 2018-06-01 Florian Weimer <fweimer@redhat.com>
12074 * libio/strfile.h (struct _IO_str_fields): Rename members to
12075 discourage their use and add comment.
12076 (_IO_STR_DYNAMIC): Remove unused macro.
12077 * libio/strops.c (_IO_str_init_static_internal): Do not use
12078 callback pointers. Call malloc and free.
12079 (_IO_str_overflow): Do not use callback pointers. Call malloc
12081 (enlarge_userbuf): Likewise.
12082 (_IO_str_finish): Call free.
12083 * libio/wstrops.c (_IO_wstr_init_static): Initialize
12084 _allocate_buffer_unused.
12085 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
12087 (enlarge_userbuf): Likewise.
12088 (_IO_wstr_finish): Call free.
12089 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
12090 _allocate_buffer_unused, _free_buffer_unused.
12091 * libio/memstream.c (__open_memstream): Likewise.
12092 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12093 * libio/wmemstream.c (open_wmemstream): Likewise.
12095 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12097 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
12100 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12102 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
12103 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
12104 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
12106 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
12108 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
12110 2018-05-29 Florian Weimer <fweimer@redhat.com>
12112 * support/Makefile (libsupport-routines): Add
12113 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
12114 xpthread_barrierattr_setpshared.
12115 * support/xpthread_barrierattr_destroy.c: New file.
12116 * support/xpthread_barrierattr_init.c: Likewise.
12117 * support/xpthread_barrierattr_setpshared.c: Likewise.
12119 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
12122 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
12123 _r_debug and update DT_DEBUG for debugger.
12125 2018-05-29 Florian Weimer <fweimer@redhat.com>
12127 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
12128 (tst-strtod5i.out): Likewise.
12130 2018-05-25 Joseph Myers <joseph@codesourcery.com>
12132 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
12133 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
12134 (sparc64-quad-routines): New variable. Moved from ....
12135 [$(subdir) = soft-fp] (sysdep_routines): Add
12136 $(sparc64-quad-routines). Moved from ....
12137 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
12138 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
12139 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
12141 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
12142 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
12143 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
12144 * sysdeps/sparc/sparc64/qp_add.c: ... here.
12145 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
12146 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
12147 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
12148 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
12149 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
12150 * sysdeps/sparc/sparc64/qp_div.c: ... here.
12151 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
12152 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
12153 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
12154 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
12155 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
12156 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
12157 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
12158 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
12159 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
12160 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
12161 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
12162 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
12163 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
12164 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
12165 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
12166 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
12167 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
12168 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
12169 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
12170 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
12171 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
12172 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
12173 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
12174 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
12175 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
12176 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
12177 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
12178 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
12179 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
12180 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
12181 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
12182 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
12183 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
12184 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
12185 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
12186 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
12187 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
12188 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
12189 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
12190 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
12191 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
12192 * sysdeps/sparc/sparc64/qp_util.c: ... here.
12193 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
12194 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
12195 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
12196 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
12197 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
12198 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
12200 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12201 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12202 (sparc32-quad-routines): New variable. Moved from ....
12203 [$(subdir) = soft-fp] (sysdep_routines): Add
12204 $(sparc32-quad-routines). Moved from ....
12205 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12206 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12208 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12209 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12210 * sysdeps/sparc/sparc32/q_add.c: ... here.
12211 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12212 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12213 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12214 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12215 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12216 * sysdeps/sparc/sparc32/q_div.c: ... here.
12217 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12218 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12219 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12220 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12221 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12222 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12223 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12224 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12225 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12226 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12227 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12228 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12229 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12230 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12231 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12232 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12233 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12234 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12235 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12236 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12237 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12238 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12239 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12240 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12241 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12242 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12243 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12244 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12245 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12246 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12247 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12248 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12249 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12250 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12251 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12252 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12253 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12254 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12255 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12256 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12257 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12258 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12259 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12260 * sysdeps/sparc/sparc32/q_util.c: ... here.
12261 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12262 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12263 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12264 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12266 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12267 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12269 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12270 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12271 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12272 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12274 2018-05-24 Joseph Myers <joseph@codesourcery.com>
12276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
12278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12280 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
12281 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
12283 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12286 * math/math.h [C++] (iseqsig): Fix parameter type for the long
12289 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12291 * sysdeps/sh/Implies: Remove sh/soft-fp.
12292 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
12293 * sysdeps/sh/sfp-machine.h: ... here.
12295 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12297 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12298 (__mempcpy_erms): Skip zero length.
12299 (__memmove_erms): Likewise.
12300 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12301 (__memset_erms): Likewise.
12303 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12305 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
12306 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12307 Add functions moved from ....
12308 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
12309 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
12310 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
12312 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
12313 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
12314 * sysdeps/alpha/e_sqrtl.c: ... here.
12315 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
12316 * sysdeps/alpha/local-soft-fp.h: ... here.
12317 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
12318 * sysdeps/alpha/ots_add.c: ... here.
12319 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
12320 * sysdeps/alpha/ots_cmp.c: ... here.
12321 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
12322 * sysdeps/alpha/ots_cmpe.c: ... here.
12323 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
12324 * sysdeps/alpha/ots_cvtqux.c: ... here.
12325 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
12326 * sysdeps/alpha/ots_cvtqx.c: ... here.
12327 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
12328 * sysdeps/alpha/ots_cvttx.c: ... here.
12329 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
12330 * sysdeps/alpha/ots_cvtxq.c: ... here.
12331 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
12332 * sysdeps/alpha/ots_cvtxt.c: ... here.
12333 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
12334 * sysdeps/alpha/ots_div.c: ... here.
12335 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
12336 * sysdeps/alpha/ots_mul.c: ... here.
12337 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
12338 * sysdeps/alpha/ots_nintxq.c: ... here.
12339 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
12340 * sysdeps/alpha/ots_sub.c: ... here.
12341 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
12342 * sysdeps/alpha/sfp-machine.h: ... here.
12344 2018-05-23 Florian Weimer <fweimer@redhat.com>
12352 Switch to extern IDNA implementation (libidn2).
12353 * libidn: Remove subdirectory.
12354 * LICENSES: Do not mention licensing conditions for the removed
12356 * config.h.in (HAVE_LIBIDN): Remove.
12357 * include/dlfcn.h (__libc_dlopen): Update comment.
12358 * include/idna.h: Remove file.
12359 * inet/Makefile (routines): Add idna.
12360 (tests-static, tests-internal): Add tst-idna_name_classify.
12361 (LOCALES): Generate locales for tests.
12362 (tst-idna_name_classify.out): Depend on generated locales.
12363 * inet/idna_name_classify.c: New file.
12364 * inet/tst-idna_name_classify.c: Likewise.
12365 * inet/net-internal.h (__idna_to_dns_encoding)
12366 (__idna_from_dns_encoding): Declare.
12367 * inet/net-internal.h (enum idna_name_classification): Define.
12368 (__idna_name_classify): Declare.
12369 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
12370 __idna_from_dns_encoding.
12371 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
12372 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
12373 name as a fallback in case of encoding errors.
12374 (getnameinfo): Use DEPRECATED_NI_IDN.
12375 * inet/idna.c: New file.
12376 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
12377 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
12378 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
12379 (modules-names): Add tst-no-libidn2.
12380 (extra-test-objs): Add tst-no-libidn2.os.
12381 (LDFLAGS-tst-no-libidn2.so): Set soname.
12382 (LOCALES): Set, and generate locales.
12383 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
12384 (tst-resolv-ai_idn-latin1): Likewise.
12385 (tst-resolv-ai_idn-nolibidn2): Likewise.
12386 (tst-resolv-ai_idn.out): Depend on locales.
12387 (tst-resolv-ai_idn-latin1.out): Depend on locales.
12388 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
12390 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
12391 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
12392 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
12393 * resolv/tst-resolv-ai_idn.c: New file.
12394 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
12395 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
12396 * resolv/tst-no-libidn2.c: Likewise.
12397 * support/support_format_addrinfo.c (format_ai_flags): Do not
12398 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
12399 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
12400 (gaih_inet): Call __idna_to_dns_encoding and
12401 __idna_from_dns_encoding, and use the original (punycode) name if
12402 __idna_from_dns_encoding fails due to an encoding error.
12403 (getaddrinfo): Use DEPRECATED_AI_IDN.
12404 * sysdeps/unix/inet/Subdirs (libidn): Remove.
12405 * sysdeps/unix/inet/configure: Remove file.
12406 * sysdeps/unix/inet/configure.ac: Likewise.
12408 2018-05-23 Florian Weimer <fweimer@redhat.com>
12410 Implement allocate_once.
12411 * include/allocate_once.h: New file.
12412 * misc/allocate_once.c: Likewise.
12413 * misc/tst-allocate_once.c: Likewise.
12414 * misc/Makefile (routines): Add allocate_once.
12415 (tests-internal): Add tst-allocate_once.
12416 (generated): Add tst-allocate_once.mtrace,
12417 tst-allocate_once-mem.out.
12418 (tests-special): Add tst-allocate_once-mem.out.
12419 (tst-allocate_once-ENV): Set MALLOC_TRACE.
12420 (tst-allocate_once-mem.out): Call mtrace.
12421 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
12423 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12426 * string/test-memcpy.c (do_test1): New function.
12427 (test_main): Call it.
12429 2018-05-23 Andreas Schwab <schwab@suse.de>
12433 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
12434 (L(preloop_large)): Save initial destination pointer in %r11 and
12435 use it instead of %rax after the loop.
12436 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
12438 2018-05-22 Joseph Myers <joseph@codesourcery.com>
12440 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
12441 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
12442 -I../soft-fp. Moved from ....
12443 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
12444 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
12445 * sysdeps/aarch64/e_sqrtl.c: ... here.
12446 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
12447 * sysdeps/aarch64/sfp-machine.h: ... here.
12449 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
12450 -Wmaybe-uninitialized around access to fq[0].
12451 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12455 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
12456 aliases for non-libc case of versioned symbols.
12457 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
12458 (llseek): Define as compat symbol if
12459 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
12461 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
12462 Make into a compat symbol, disabled for minimum symbol version
12463 GLIBC_2.28 and later.
12464 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
12466 2018-05-22 Florian Weimer <fweimer@redhat.com>
12468 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
12469 not add -mpreferred-stack-boundary=4.
12470 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
12471 (stack-align-test-flags): Likewise.
12472 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
12474 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
12475 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
12476 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
12477 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
12478 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
12479 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
12480 (CFLAGS-tst-align2.c): Likewise.
12482 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12484 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
12485 (index_arch_Prefer_FSRM): Likewise.
12486 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12487 Also check Prefer_FSRM.
12488 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
12489 Also return OPTIMIZE (erms) for Prefer_FSRM.
12491 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12493 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
12494 (index_cpu_FSRM): Likewise.
12495 (reg_FSRM): Likewise.
12497 2018-05-18 Joseph Myers <joseph@codesourcery.com>
12499 * math/gen-tgmath-tests.py: Import sys.
12500 (Tests.__init__): Initialize macros_seen.
12501 (Tests.add_tests): Add macro to macros_seen. Only generate tests
12502 if requested to do so for this macro.
12503 (Tests.add_all_tests): Take argument for macro for which to
12505 (Tests.check_macro_list): New function.
12506 (main): Handle check-list argument and argument specifying macro
12507 for which to generate tests.
12508 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
12509 [PYTHON] (tgmath3-macro-tests): Likewise.
12510 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
12511 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
12512 not test-tgmath3.c.
12513 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
12514 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
12516 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
12517 [PYTHON] ($(foreach
12518 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
12520 [PYTHON] (tests-special): Add
12521 $(objpfx)test-tgmath3-macro-list.out.
12522 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
12524 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
12525 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
12529 * time/tzset.c (SECSPERDAY): Cast to time_t.
12530 * time/tst-y2039.c: New file.
12531 * time/Makefile (tests): Add tst-y2039.
12533 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12535 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12536 (PREFETCH_ONE_SET): Remove duplicate line.
12538 2018-05-17 Florian Weimer <fweimer@redhat.com>
12540 * sysdeps/generic/math-type-macros-double.h: Include
12541 <math-nan-payload-double.h> after <libm-alias-double.h>.
12542 * sysdeps/generic/math-type-macros-float.h: Include
12543 <math-nan-payload-float.h> after <libm-alias-float.h>.
12544 * sysdeps/generic/math-type-macros-float128.h: Include
12545 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
12546 * sysdeps/generic/math-type-macros-ldouble.h: Include
12547 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
12549 2018-05-17 Andreas Schwab <schwab@suse.de>
12551 * resolv/res_send.c (__res_context_send): Don't set errno when
12552 returing error after malloc failure.
12554 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
12556 * nptl/allocatestack.c (allocate_stack): Remove the
12557 !__ASSUME_PRIVATE_FUTEX paths.
12558 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
12559 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12561 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
12562 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12563 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12564 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12565 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
12566 !__ASSUME_PRIVATE_FUTEX path.
12567 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
12568 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
12569 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12570 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
12571 !__ASSUME_PRIVATE_FUTEX macros.
12572 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12573 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12574 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12575 * sysdeps/unix/sysv/linux/kernel-features.h
12576 (__ASSUME_PRIVATE_FUTEX): Removed.
12578 2018-05-17 Joseph Myers <joseph@codesourcery.com>
12580 * math/Makefile (libm-narrow-fns): Add div.
12581 (libm-test-funcs-narrow): Likewise.
12582 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
12583 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
12584 * math/gen-auto-libm-tests.c (test_functions): Add div.
12585 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
12586 (NARROW_DIV_ROUND_TO_ODD): Likewise.
12587 (NARROW_DIV_TRIVIAL): Likewise.
12588 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
12590 (__ddivl): Likewise.
12591 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
12593 (CFLAGS-nldbl-ddiv.c): New variable.
12594 (CFLAGS-nldbl-fdiv.c): Likewise.
12595 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12597 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
12599 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
12600 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
12601 * math/auto-libm-test-in: Add tests of div.
12602 * math/auto-libm-test-out-narrow-div: New generated file.
12603 * math/libm-test-narrow-div.inc: New file.
12604 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
12605 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
12606 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
12607 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
12608 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
12609 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
12610 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
12611 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
12612 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
12613 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
12614 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
12615 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
12616 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
12617 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
12618 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
12619 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
12620 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
12621 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
12622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12623 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12624 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12625 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12626 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12627 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12628 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12629 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12630 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12631 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12632 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12633 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12634 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12635 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12640 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12641 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12642 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12643 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12644 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12645 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12646 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12647 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12649 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12652 * nscd/nscd-client.h (sendfileall): Remove prototype.
12653 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12654 (handle_request): Use writeall instead of sendfileall.
12655 * nscd/aicache.c (addhstaiX): Likewise.
12656 * nscd/grpcache.c (cache_addgr): Likewise.
12657 * nscd/hstcache.c (cache_addhst): Likewise.
12658 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12659 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12660 * nscd/pwdcache.c (cache_addpw): Likewise.
12661 * nscd/servicescache.c (cache_addserv): Likewise.
12662 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12663 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12664 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12667 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12669 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12670 Include <string/strncat.c>.
12671 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12673 (__GI___strncat): New hidden alias.
12675 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12677 * sysdeps/mips/mips32/libm-test-ulps: Update.
12678 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12680 2018-05-16 Florian Weimer <fweimer@redhat.com>
12682 * support/Makefile (libsupport-routines): Add support_quote_blob,
12683 support_test_compare_blob.
12684 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12685 * support/check.h (TEST_COMPARE_BLOB): Define.
12686 (support_test_compare_blob): Declare.
12687 * support/support.h (support_quote_blob): Declare.
12688 * support/support_quote_blob.c: New file.
12689 * support/support_test_compare_blob.c: Likewise.
12690 * support/tst-support_quote_blob.c: Likewise.
12691 * support/tst-test_compare_blob.c: Likewise.
12693 2018-05-16 Florian Weimer <fweimer@redhat.com>
12695 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12696 of <strtod_nan_double.h>.
12697 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12698 instead of SET_MANTISSA.
12699 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12700 of include <strtod_nan_float.h>.
12701 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12702 instead of <strtod_nan_ldouble.h>.
12703 * stdlib/strtod_nan_double.h: Move to ...
12704 * sysdeps/generic/math-nan-payload-double.h: ... here.
12705 (FLOAT): Remove definition.
12706 (SET_MANTISSA): Rename to ...
12707 (SET_NAN_PAYLOAD): ... this.
12708 * stdlib/strtod_nan_float.h: Move to ...
12709 * sysdeps/generic/math-nan-payload-float.h: ... here.
12710 (FLOAT): Remove definition.
12711 (SET_MANTISSA): Rename to ...
12712 (SET_NAN_PAYLOAD): ... this.
12713 * sysdeps/generic/math-type-macros-double.h: Include
12714 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12715 instead of <math-svid-compat.h>.
12716 * sysdeps/generic/math-type-macros-float.h: Include
12717 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12718 instead of <math-svid-compat.h>.
12719 * sysdeps/generic/math-type-macros-float128.h: Include
12720 <math-nan-payload-float128.h>.
12721 * sysdeps/generic/math-type-macros-ldouble.h: Include
12722 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12723 instead of <math-svid-compat.h>.
12724 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12725 check for definition.
12726 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12727 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12728 Include <ieee754_float128.h>.
12729 (FLOAT): Remove definition.
12730 (SET_MANTISSA): Rename to ...
12731 (SET_NAN_PAYLOAD): ... this.
12732 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12733 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12734 Do not include <float128_private.h>.
12735 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12736 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12737 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12738 (FLOAT): Remove definition.
12739 (SET_MANTISSA): Rename to ...
12740 (SET_NAN_PAYLOAD): ... this.
12741 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12742 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12743 (FLOAT): Remove definition.
12744 (SET_MANTISSA): Rename to ...
12745 (SET_NAN_PAYLOAD): ... this.
12746 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12747 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12748 (FLOAT): Remove definition.
12749 (SET_MANTISSA): Rename to ...
12750 (SET_NAN_PAYLOAD): ... this.
12751 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12752 of "../stdlib/strtod_nan_double.h".
12753 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12754 of "../stdlib/strtod_nan_float.h".
12755 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12756 instead of "../stdlib/strtod_nan_ldouble.h".
12757 * manual/arith.texi (Parsing of Floats): Adjust comment.
12759 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12761 * math/Makefile (libm-narrow-fns): Add mul.
12762 (libm-test-funcs-narrow): Likewise.
12763 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12764 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12765 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12766 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12767 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12768 (NARROW_MUL_TRIVIAL): Likewise.
12769 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12770 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12772 (__dmull): Likewise.
12773 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12775 (CFLAGS-nldbl-dmul.c): New variable.
12776 (CFLAGS-nldbl-fmul.c): Likewise.
12777 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12779 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12781 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12782 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12783 * math/auto-libm-test-in: Add tests of mul.
12784 * math/auto-libm-test-out-narrow-mul: New generated file.
12785 * math/libm-test-narrow-mul.inc: New file.
12786 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12787 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12788 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12789 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12790 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12791 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12792 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12793 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12794 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12795 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12796 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12797 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12798 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12799 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12800 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12801 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12802 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12803 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12805 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12806 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12807 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12808 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12809 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12810 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12811 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12812 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12813 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12814 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12815 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12816 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12817 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12822 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12823 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12824 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12825 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12826 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12827 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12828 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12829 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12831 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12833 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12834 with *%eax in call.
12836 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12838 * sysdeps/i386/ldsodefs.h: Removed.
12839 * sysdeps/x86_64/ldsodefs.h: Moved to ...
12840 * sysdeps/x86/ldsodefs.h: This.
12841 (La_i86_regs): New.
12842 (La_i86_retval): Likewise.
12843 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
12844 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
12846 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12848 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
12851 2018-05-13 Alan Modra <amodra@gmail.com>
12853 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12854 R_PARISC_TLS_DTPOFF32 reloc addend.
12856 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12858 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12859 * math/math.h: Restrict the prototype definition for the functions
12860 issignaling(_Float128) and iszero(_Float128); and template
12861 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12862 __HAVE_FLOAT128_UNLIKE_LDBL.
12863 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12864 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12865 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12866 __f128() constants; define the type _Float128 as long double;
12867 and reuse long double in __CFLOAT128.
12869 2018-05-11 Joseph Myers <joseph@codesourcery.com>
12871 * sysdeps/generic/math_private.h: Do not include
12873 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12875 * math/fromfp.h: Include <math-barriers.h>.
12876 * math/math-narrow.h: Likewise.
12877 * math/s_nextafter.c: Likewise.
12878 * math/s_nexttowardf.c: Likewise.
12879 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12880 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12881 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12882 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12883 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12884 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12885 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12886 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12887 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12888 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12889 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12890 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12891 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12892 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12893 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12894 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12895 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12896 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12897 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12898 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12899 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12900 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12901 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12902 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12903 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12904 * sysdeps/ieee754/k_standardl.c: Likewise.
12905 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12906 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12907 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12908 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12909 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12910 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12911 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12912 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12913 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12914 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12915 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12916 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12917 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12918 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12919 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12920 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12921 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12922 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12923 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12924 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12925 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12926 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12928 2018-05-11 Florian Weimer <fweimer@redhat.com>
12930 Use 64-bit epoch values in the time zone file parser.
12931 * include/time.h (internal_time_t): Define.
12932 (__tzfile_compute): Use it.
12933 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12935 (transitions): Switch to internal_time_t.
12936 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12938 (__tzfile_compute): Use internal_time_t for timer argument. Check
12939 for truncation before calling __offtime.
12941 2018-05-11 Florian Weimer <fweimer@redhat.com>
12944 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12945 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12947 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12948 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12949 export without --enable-obsolete-rpc.
12950 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12951 symbol. This should not have been exported, ever.
12953 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12956 * localedata/locales/gd_GB (abmon): Fix typo in May:
12957 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12959 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12961 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12962 Use multiple registers to copy data in loop tail.
12964 * sysdeps/aarch64/multiarch/memmove_falkor.S
12965 (__memmove_falkor): Use multiple registers to move data in
12968 2018-05-10 Joseph Myers <joseph@codesourcery.com>
12970 * math/math-underflow.h: New file.
12971 * sysdeps/generic/math_private.h: Do not include <float.h>.
12972 (fabs_tg): Remove macro. Moved to math-underflow.h.
12973 (min_of_type_f): Likewise.
12974 (min_of_type_): Likewise.
12975 (min_of_type_l): Likewise.
12976 (min_of_type_f128): Likewise.
12977 (min_of_type): Likewise.
12978 (math_check_force_underflow): Likewise.
12979 (math_check_force_underflow_nonneg): Likewise.
12980 (math_check_force_underflow_complex): Likewise.
12981 * math/e_exp2_template.c: Include <math-underflow.h>.
12982 * math/k_casinh_template.c: Likewise.
12983 * math/s_catan_template.c: Likewise.
12984 * math/s_catanh_template.c: Likewise.
12985 * math/s_ccosh_template.c: Likewise.
12986 * math/s_cexp_template.c: Likewise.
12987 * math/s_clog10_template.c: Likewise.
12988 * math/s_clog_template.c: Likewise.
12989 * math/s_csin_template.c: Likewise.
12990 * math/s_csinh_template.c: Likewise.
12991 * math/s_csqrt_template.c: Likewise.
12992 * math/s_ctan_template.c: Likewise.
12993 * math/s_ctanh_template.c: Likewise.
12994 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12995 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12996 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12997 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12998 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12999 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13000 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13001 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13002 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13003 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13004 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13005 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13006 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13007 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13008 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13009 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13010 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13011 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13012 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13013 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13014 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13015 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13016 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13017 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13018 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13019 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13020 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13021 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13022 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13023 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13024 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13025 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13026 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13027 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13028 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13029 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13030 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13031 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13032 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13033 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13034 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13035 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13036 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13037 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13038 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13039 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13040 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13041 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13042 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13043 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13044 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13045 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13046 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13047 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13049 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13050 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13051 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13052 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13053 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13054 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13055 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13056 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13057 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13058 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13059 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13060 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13061 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13062 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13063 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13064 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13065 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13066 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13067 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13068 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13069 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13070 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13071 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13072 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13073 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13074 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13075 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13076 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13077 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13079 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13081 * sysdeps/generic/math-barriers.h: New file.
13082 * sysdeps/generic/math_private.h [!math_opt_barrier]
13083 (math_opt_barrier): Move to math-barriers.h.
13084 [!math_opt_barrier] (math_force_eval): Likewise.
13085 * sysdeps/aarch64/fpu/math-barriers.h: New file.
13086 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
13088 (math_force_eval): Likewise.
13089 * sysdeps/alpha/fpu/math-barriers.h: New file.
13090 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
13092 (math_force_eval): Likewise.
13093 * sysdeps/x86/fpu/math-barriers.h: New file.
13094 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
13096 (math_force_eval): Likewise.
13097 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
13098 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
13099 multiple-include guard for rename.
13100 * sysdeps/powerpc/fpu/math-barriers.h: New file.
13101 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
13103 (math_force_eval): Likewise.
13105 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
13109 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
13111 * stdlib/Makefile (test-bz22786): New test.
13112 * stdlib/test-bz22786.c: New test.
13114 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13116 * include/math-narrow-eval.h: New file. Contents moved from ....
13117 * sysdeps/generic/math_private.h: ... here.
13118 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
13119 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13120 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
13121 * stdlib/strtod_l.c: Likewise.
13122 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13123 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13124 * sysdeps/i386/fpu/s_fdim.c: Likewise.
13125 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13126 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13127 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13128 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13129 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13130 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13131 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13132 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13133 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13134 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13135 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13136 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13137 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13138 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13139 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13140 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13141 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13142 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13143 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13144 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13145 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13146 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13147 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13148 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13149 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13150 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13152 2018-05-08 Andreas Schwab <schwab@suse.de>
13154 * sysdeps/nptl/internaltypes.h: Fix comment.
13156 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
13158 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13159 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
13162 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13164 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
13165 of I into loop header.
13166 * benchtests/bench-memmove-walk.c
13167 (test_main): Likewise.
13169 2018-05-07 Alexandre Oliva <oliva@gnu.org>
13172 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13173 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13175 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13178 * elf/dl-load.c (open_verify): Fix stack overflow.
13179 * elf/Makefile (tst-big-note): New test.
13180 * elf/tst-big-note-lib.S: New.
13181 * elf/tst-big-note.c: New.
13183 2018-05-04 Joseph Myers <joseph@codesourcery.com>
13185 * scripts/abilist.awk: Ignore absolute symbols.
13186 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
13187 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
13188 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
13189 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
13190 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
13191 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
13192 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13193 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
13194 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
13195 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
13196 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
13197 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
13198 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13199 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
13200 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13201 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13202 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13203 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13204 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13205 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13206 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13207 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13208 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13209 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13210 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13211 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13212 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13213 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13214 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13215 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13216 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13217 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13218 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13219 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13220 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13221 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13222 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13223 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13224 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13225 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13226 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13227 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13228 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13229 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13230 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13231 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13232 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13233 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13234 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13235 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13236 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13237 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13238 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13239 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13240 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13241 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13242 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13243 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13244 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13245 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13246 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13247 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13248 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13249 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13250 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13251 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13252 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13253 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13254 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13255 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13256 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13257 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13258 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13259 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13260 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13261 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13262 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13263 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13264 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13265 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13266 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13267 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13268 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13269 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13270 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13271 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13272 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13273 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13274 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13275 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13276 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13277 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13279 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
13280 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13281 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
13282 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
13283 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13284 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
13285 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13286 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
13287 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
13288 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
13289 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
13290 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13291 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13293 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
13294 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13295 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
13296 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
13297 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13298 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
13299 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13300 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
13301 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
13302 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
13303 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
13304 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13305 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
13306 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
13307 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13308 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
13309 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
13310 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13311 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
13312 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13313 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
13314 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
13315 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
13316 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
13317 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13318 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13319 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13321 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
13322 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
13323 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
13324 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
13325 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13326 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
13327 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
13328 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
13329 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
13330 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
13331 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
13332 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
13333 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
13334 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13335 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
13336 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
13337 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
13338 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
13339 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13340 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13342 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
13343 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
13344 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
13345 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13346 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
13347 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13348 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
13349 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
13350 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
13351 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13352 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13353 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
13354 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13355 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13356 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
13357 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13358 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
13359 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
13360 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13361 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
13362 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
13363 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13364 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
13365 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13366 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
13367 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
13368 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
13369 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
13370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
13376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
13377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
13378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
13379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
13383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
13384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
13387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
13399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
13400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
13405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
13406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
13407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
13411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
13412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
13420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
13421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
13422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
13429 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13430 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
13432 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13433 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13434 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
13435 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13436 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13437 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13438 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13439 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
13440 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13441 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
13442 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13443 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
13444 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13445 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13447 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13448 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
13449 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
13450 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13451 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
13452 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13453 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
13454 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
13455 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
13456 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
13457 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13458 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13460 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13461 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
13462 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
13463 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13464 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
13465 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13466 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
13467 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
13468 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
13469 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
13470 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13471 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
13472 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
13473 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13474 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
13475 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
13476 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13477 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
13478 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13479 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
13480 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
13481 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
13482 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
13483 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13484 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13486 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
13487 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13488 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
13489 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
13490 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13491 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
13492 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13493 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
13494 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
13495 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
13496 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
13497 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13498 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13500 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
13501 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13502 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
13503 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
13504 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13505 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
13506 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13507 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
13508 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
13509 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
13510 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
13511 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13512 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
13513 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
13514 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13515 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
13516 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
13517 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13518 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
13519 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13520 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
13521 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
13522 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
13523 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
13524 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13525 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13526 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
13527 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
13528 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13529 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
13530 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
13531 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13532 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
13533 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13534 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
13535 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
13536 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
13537 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
13539 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
13542 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
13543 Use atomic_load_acquire to load __tid.
13545 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13547 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
13548 Restore the pointer into %rdx, after syscall and use %rdx,
13549 instead of %rsi, to restore context.
13551 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13553 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
13554 Pop the pointer into %rdx after syscall and use %rdx, instead
13555 of %rsi, to restore context.
13557 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13559 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
13560 handlers after setjmp.
13561 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
13563 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
13564 <libc-pointer-arith.h>.
13565 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
13566 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
13567 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
13568 _JUMP_BUF_SIGSET_BITS_PER_WORD.
13569 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
13570 * sysdeps/x86/__longjmp_cancel.S: New file.
13571 * sysdeps/x86/longjmp.c: Likewise.
13572 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
13574 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13576 * NEWS: Add ustat.h deprecation entry.
13577 * bits/ustat.h: Remove file.
13578 * misc/sys/ustat.h: Likewise.
13579 * misc/ustat.h: Likewise.
13580 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
13581 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
13582 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
13583 compatibility mode.
13584 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
13585 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
13586 generic Linux implementation.
13588 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13590 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
13591 * math/w_expl_compat.c: Likewise.
13592 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
13594 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13596 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13598 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13600 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
13601 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
13602 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
13604 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
13605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13606 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13607 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
13608 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
13611 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13613 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
13615 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
13616 * math/w_asin_template.c: Likewise.
13617 * math/w_atanh_template.c: Likewise.
13619 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13621 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
13622 to powerpc/powerpc64/be for big-endian.
13623 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
13626 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
13627 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
13628 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
13629 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
13630 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13631 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
13632 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
13633 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
13634 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
13635 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13636 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
13637 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
13638 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
13639 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13640 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13641 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13642 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13643 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13644 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13645 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13646 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13647 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13648 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13649 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13650 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13651 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13652 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13653 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13654 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13655 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13656 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13657 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13659 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13660 adjusted to imply powerpc64 and older processors on powerpc64/be.
13661 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13662 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13663 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13664 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13665 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13666 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13667 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13668 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13669 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13670 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13671 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13672 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13673 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13674 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13675 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13676 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13677 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13678 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13679 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13680 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13681 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13682 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13683 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13684 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13685 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13686 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13687 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13688 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13689 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13690 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13691 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13693 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13694 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13695 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13696 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13698 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13699 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13700 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13701 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13703 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13704 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13705 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13706 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13707 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13708 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13709 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13710 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13711 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13712 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13713 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13715 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13716 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13717 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13718 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13719 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13720 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13721 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13722 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13723 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13724 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13725 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13727 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13728 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13729 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13730 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13731 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13732 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13733 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13734 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13735 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13736 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13737 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13738 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13740 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13741 and adjusted to imply olders processors.
13742 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13743 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13744 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13745 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13746 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13747 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13748 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13749 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13750 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13751 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13752 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13754 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13756 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13757 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13771 powerpc64 and adjusted.
13772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13777 2018-04-27 Joseph Myers <joseph@codesourcery.com>
13779 * sysdeps/tile: Remove.
13780 * sysdeps/unix/sysv/linux/tile: Likewise.
13781 * README (tilegx-*-linux-gnu): Remove from list of supported
13783 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13784 contribution of support for generic Linux kernel syscall
13786 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13787 tilegx configurations.
13788 (Config.install_linux_headers): Do not handle tile.
13789 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13791 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13792 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13793 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13794 conditional undefine and redefine.
13795 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13797 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13798 conditional undefine and redefine.
13800 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13802 * signal/tst-sigaction.c: New file to test BZ #23069.
13803 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13805 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13808 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13809 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13810 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13811 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13813 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13815 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13816 _DIRENT_MATCHES_DIRENT64 is not defined.
13817 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13818 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13820 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
13821 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
13823 2018-04-25 Joseph Myers <joseph@codesourcery.com>
13825 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
13826 version to GCC 8 branch.
13828 2018-04-24 Joseph Myers <joseph@codesourcery.com>
13830 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
13831 (check_no_hidden): Use type of original function when declaring
13834 * sysdeps/unix/sysv/linux/sys/ptrace.h
13835 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
13836 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
13837 (struct __ptrace_seccomp_metadata): New type.
13838 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13839 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13840 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
13841 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13842 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
13843 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13844 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13845 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13846 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13847 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13848 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13849 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13850 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
13851 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13852 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13853 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13855 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13857 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13859 * dirent/versionsort.c (versionsort): Likewise.
13860 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13861 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13862 * dirent/versionsort64.c (versionsort64): Likewise.
13863 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13864 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13865 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13866 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13867 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13868 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13869 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13870 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13871 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13872 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13875 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13876 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13878 2018-04-23 Joseph Myers <joseph@codesourcery.com>
13880 * elf/elf.h (NT_PPC_PKEY): New macro.
13882 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
13885 * localedata/locales/hr_HR: fix thousands_sep and
13888 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13890 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13891 (XTABS): Define to TAB3.
13893 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13895 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13897 * dirent/scandir-tail-common.c: New file.
13898 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13899 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13900 * dirent/scandir.c: Use scandir-tail-common.c.
13901 * dirent/scandirat.c: Likewise.
13902 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13903 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13904 if _DIRENT_MATCHES_DIRENT64 is defined.
13905 * dirent/scandirat64.c (scandirat64): Likewise.
13906 * include/dirent.h (__scandir_tail): Only define iff
13907 _DIRENT_MATCHES_DIRENT64 is not defined.
13908 (__scandir64_tail): Define regardless.
13909 (__scandirat, scandirat64): Remove libc_hidden_proto.
13910 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13911 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13913 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13914 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13915 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13916 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13918 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13920 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13922 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13924 (_dl_aarch64_cap_flags): Add asimdfhm.
13926 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13928 * sysdeps/nios2/libm-test-ulps: Update.
13930 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13932 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13933 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13935 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13937 (_DIRENT_MATCHES_DIRENT64): Undef
13938 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13939 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13940 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13941 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13942 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13943 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13944 use getdents64 syscalls as base.
13945 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13946 symbol if required.
13947 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13948 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13949 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13950 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13951 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13952 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13953 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13954 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13955 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13956 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13957 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13959 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13961 * scripts/test_printers_common.py (init_test): Disable lock elision.
13963 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13965 * math/test-tgmath.c (count_double, count_float,
13966 count_ldouble, count_cdouble, count_cfloat,
13967 count_cldouble): Use volatile int.
13969 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13971 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13972 (conformtest-xfail-conds): Add i386-gnu.
13973 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
13975 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13976 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13977 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13978 msqid_ds.msg_lrpid): Likewise.
13979 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13981 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13982 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
13983 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13984 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13986 (struct statvfs64): Likewise.
13987 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13989 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13990 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13991 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13992 instead of wait_queue.
13993 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13994 instead of vm_area_struct.
13995 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13996 struct sched_param definition to it.
13997 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13998 * bits/types/struct_sched_param.h: New file.
13999 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14000 <bits/types/struct_sched_param.h> instead of <sched.h>.
14001 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
14002 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14003 generic version but include <bits/pthreadtypes.h> to make struct
14004 sigevent's sigev_notify_attributes field a pthread_attr_t*.
14005 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14007 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14008 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14009 [__USE_XOPEN] (OFDEL): New macro.
14010 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
14011 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
14012 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14014 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14015 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
14016 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14018 * sysdeps/i386/sys/ucontext.h: Likewise.
14019 * sysdeps/m68k/sys/ucontext.h: Likewise.
14020 * sysdeps/mips/sys/ucontext.h: Likewise.
14021 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
14022 * sysdeps/mach/hurd/i386/Makefile
14023 (test-xfail-POSIX/fcntl.h/conform): Add.
14024 (test-xfail-POSIX/signal.h/conform): Add.
14025 (test-xfail-POSIX/semaphore.h/conform): Add.
14026 (test-xfail-POSIX/regex.h/conform): Add.
14027 (test-xfail-POSIX/aio.h/conform): Add.
14028 (test-xfail-POSIX/mqueue.h/conform): Add.
14029 (test-xfail-POSIX/sys/types.h/conform): Add.
14030 (test-xfail-UNIX98/fcntl.h/conform): Add.
14031 (test-xfail-UNIX98/netdb.h/conform): Add.
14032 (test-xfail-UNIX98/signal.h/conform): Add.
14033 (test-xfail-UNIX98/semaphore.h/conform): Add.
14034 (test-xfail-UNIX98/regex.h/conform): Add.
14035 (test-xfail-UNIX98/aio.h/conform): Add.
14036 (test-xfail-UNIX98/ftw.h/conform): Add.
14037 (test-xfail-UNIX98/mqueue.h/conform): Add.
14038 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14039 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14040 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14041 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14042 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14043 (test-xfail-UNIX98/sys/types.h/conform): Add.
14044 (test-xfail-UNIX98/stdlib.h/conform): Add.
14045 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14046 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14047 (test-xfail-POSIX2008/netdb.h/conform): Add.
14048 (test-xfail-POSIX2008/signal.h/conform): Add.
14049 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14050 (test-xfail-POSIX2008/regex.h/conform): Add.
14051 (test-xfail-POSIX2008/aio.h/conform): Add.
14052 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14053 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14054 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14055 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14056 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14057 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14058 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14059 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14060 (test-xfail-XOPEN2K/signal.h/conform): Add.
14061 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14062 (test-xfail-XOPEN2K/regex.h/conform): Add.
14063 (test-xfail-XOPEN2K/aio.h/conform): Add.
14064 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14065 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14066 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14067 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14068 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14069 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14070 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14071 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14072 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14073 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14074 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14075 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14076 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14077 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14078 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14079 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14080 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14081 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14082 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14083 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
14084 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
14085 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
14086 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
14087 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
14088 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
14089 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
14090 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
14092 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
14093 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
14095 2018-04-18 Joseph Myers <joseph@codesourcery.com>
14097 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14098 --enable-obsolete for powerpc-linux-gnuspe.
14100 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14102 * conform/data/sys/un.h-data: Allow sun_ prefix.
14103 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
14105 * sysdeps/mach/include/mach.h: Likewise.
14106 * sysdeps/mach/include/mach/mig_support.h: Likewise.
14107 * sysdeps/mach/include/mach_error.h: Likewise.
14109 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14111 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
14112 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
14113 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
14114 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
14116 2018-04-16 Andreas Schwab <schwab@suse.de>
14119 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
14121 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14123 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
14124 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
14126 2018-04-12 DJ Delorie <dj@redhat.com>
14128 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14131 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14133 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
14134 (struct kernel_sigaction): Use the same definition on 31bit as is used
14137 2018-04-09 Florian Weimer <fweimer@redhat.com>
14140 * resolv/res_send.c (send_dg): Use designated initializers instead
14141 of assignment to zero-initialize other fields of struct mmsghdr.
14143 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14145 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
14146 __READDIR_ALIAS): Undefine after usage.
14147 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
14148 __READDIR_R_ALIAS): Likewise.
14149 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
14150 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
14151 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
14152 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
14153 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
14154 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
14155 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14156 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14157 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
14158 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
14159 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
14160 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
14161 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14162 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
14163 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
14164 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
14165 * sysdeps/unix/sysv/linux/readdir.c: New file.
14166 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
14167 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
14168 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
14170 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14172 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
14174 * manual/charset.texi (Converting a Character): Fix typo.
14176 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14180 * sysdeps/arm/libm-test-ulps: Update.
14182 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
14183 as base implementation.
14184 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14185 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14186 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14187 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14188 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14189 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
14190 remove unrequired definitions and update comments.
14191 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
14192 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
14193 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
14194 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
14195 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
14196 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
14197 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
14198 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
14199 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
14200 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14201 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14202 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14203 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14204 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14205 and RESET_SA_RESTORER hooks.
14207 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14209 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14211 2018-04-05 Florian Weimer <fweimer@redhat.com>
14213 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14214 integer overflow, memory leak on error, and indeterminate errno
14215 value. Add a null wide character to terminate the result string.
14216 * manual/charset.texi (Converting a Character): Mention embedded
14217 null bytes in the mbrtowc input string. Explain what happens in
14218 the -2 result case. Do not claim that mbrtowc is simple or
14219 obvious to use. Adjust the description of the code example. Use
14220 @code, not @var, for concrete variables.
14222 2018-04-05 Florian Weimer <fweimer@redhat.com>
14224 * manual/examples/mbstouwcs.c: New file.
14225 * manual/charset.texi (Converting a Character): Include it.
14227 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14229 * include/dirent.h (dirfd): Add hidden proto.
14230 * dirent/dirfd.c (dirfd): Add hidden def.
14231 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14232 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
14234 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14236 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14237 sin, cos and sincos to 1 ULP.
14239 2018-04-04 Maciej W. Rozycki <macro@mips.com>
14242 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14244 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14245 * elf/tst-absolute-sym.c: New file.
14246 * elf/tst-absolute-sym-lib.c: New file.
14247 * elf/tst-absolute-sym-lib.lds: New file.
14248 * elf/Makefile (tests): Add `tst-absolute-sym'.
14249 (modules-names): Add `tst-absolute-sym-lib'.
14250 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14251 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14252 ($(objpfx)tst-absolute-sym): New dependency.
14255 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14257 (SYMBOL_ADDRESS): New macro.
14258 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14259 SYMBOL_ADDRESS for symbol address calculation.
14260 * elf/dl-runtime.c (_dl_fixup): Likewise.
14261 (_dl_profile_fixup): Likewise.
14262 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14263 * elf/rtld.c (dl_main): Likewise.
14264 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14265 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14266 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14267 (elf_machine_rela): Likewise.
14268 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14269 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14270 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14271 (elf_machine_rela): Likewise.
14272 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14273 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14274 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14275 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14277 (elf_machine_reloc): Likewise.
14278 (elf_machine_got_rel): Likewise.
14279 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
14280 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
14281 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14283 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14285 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
14286 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14288 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14290 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14291 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14293 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14295 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
14296 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14298 2018-04-04 Zack Weinberg <zackw@panix.com>
14300 * sysdeps/generic/internal-signals.h: Include signal.h,
14301 sigsetops.h, and stdbool.h.
14302 (__libc_signal_block_all): Actually block all signals.
14303 (__libc_signal_block_app): Likewise.
14304 (__libc_signal_restore_set): Actually restore the signal mask.
14306 2018-04-04 Florian Weimer <fweimer@redhat.com>
14308 inet: Actually build and run tst-deadline.
14309 * inet/Makefile (tests-internal): Add tst-deadline and do not
14310 overwrite the variable.
14311 (tests-static-internal): Remove variable.
14313 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
14316 * bits/uio-ext.h (RWF_APPEND): New.
14317 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
14318 * manual/llio.texi: Document RWF_APPEND.
14319 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
14320 (RWF_SUPPORTED): Add RWF_APPEND.
14322 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14325 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
14326 check for internal nptl signals.
14327 * nptl/sigaction.c (__sigaction): Likewise.
14328 * signal/sigaddset.c (sigaddset): Likewise.
14329 * signal/sigdelset.c (sigdelset): Likewise.
14330 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14331 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
14333 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
14334 to filter out internal nptl signals.
14335 * signal/tst-sigset.c (do_test): Check ech signal indidually and
14336 also check realtime signals using standard macros.
14337 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
14338 __is_internal_signal, __libc_signal_block_all,
14339 __libc_signal_block_app, __libc_signal_restore_set): New functions.
14340 * sysdeps/nptl/sigfillset.c: Remove file.
14341 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
14342 Change return to bool.
14343 (__clear_internal_signals): Remove SIGTIMER clean since it is
14344 equal to SIGCANEL on Linux.
14345 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
14346 signal set was constructed using standard functions.
14348 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14350 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
14351 ifname is too long.
14352 * hurd/hurdsig.c (interrupted_reply_port_location): Use
14353 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
14354 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
14356 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
14357 * signal/sigaddset.c: Include <sigsetopts.h>.
14358 * signal/sigdelset.c: Likewise.
14360 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14362 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
14364 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
14365 logic as sin and cos.
14367 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14369 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
14370 inputs. Return correct sign.
14371 (do_sincos): Remove small input check before do_sin, let do_sin set
14376 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14378 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
14379 (do_cos_slow): Likewise.
14380 (do_sin_slow): Likewise.
14381 (reduce_and_compute): Likewise.
14386 (sloww1): Likewise.
14387 (sloww2): Likewise.
14389 (bslow1): Likewise.
14390 (bslow2): Likewise.
14391 (cslow2): Likewise.
14393 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14395 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
14396 (do_cos): Remove corp parameter and calculations.
14397 (do_sin): Likewise.
14398 (do_sincos): Remove cor variable.
14399 (__sin): Use do_sincos for huge inputs.
14401 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14402 (reduce_and_compute_sincos): Remove unused function.
14404 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14406 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
14407 reduce_sincos, improve accuracy to 136 bits.
14408 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
14409 (__sin): Use improved reduction and simplified do_sincos calculation.
14411 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14413 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14415 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
14416 (do_sincos_2): Likewise.
14417 (__sin): Remove middle range reduction case.
14419 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
14422 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14424 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
14425 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
14428 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
14430 2018-04-03 Joseph Myers <joseph@codesourcery.com>
14432 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14435 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14437 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
14438 Remove definitions.
14439 (opendir_oflags): Use O_DIRECTORY regardless.
14440 (__opendir, __opendirat): Remove need_isdir_precheck usage.
14441 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
14443 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14445 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
14446 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
14448 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
14449 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
14450 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
14451 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
14452 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
14453 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
14455 * htl/Makefile: Bump licence to LGPL 2.1+.
14456 * htl/alloca_cutoff.c: Likewise.
14457 * htl/cthreads-compat.c: Likewise.
14458 * htl/lockfile.c: Likewise.
14459 * htl/pt-alloc.c: Likewise.
14460 * htl/pt-cancel.c: Likewise.
14461 * htl/pt-cleanup.c: Likewise.
14462 * htl/pt-create.c: Likewise.
14463 * htl/pt-dealloc.c: Likewise.
14464 * htl/pt-detach.c: Likewise.
14465 * htl/pt-exit.c: Likewise.
14466 * htl/pt-getattr.c: Likewise.
14467 * htl/pt-initialize.c: Likewise.
14468 * htl/pt-internal.h: Likewise.
14469 * htl/pt-join.c: Likewise.
14470 * htl/pt-self.c: Likewise.
14471 * htl/pt-setcancelstate.c: Likewise.
14472 * htl/pt-setcanceltype.c: Likewise.
14473 * htl/pt-sigmask.c: Likewise.
14474 * htl/pt-spin-inlines.c: Likewise.
14475 * htl/pt-testcancel.c: Likewise.
14476 * htl/pt-yield.c: Likewise.
14477 * htl/tests/test-1.c: Likewise.
14478 * htl/tests/test-10.c: Likewise.
14479 * htl/tests/test-11.c: Likewise.
14480 * htl/tests/test-12.c: Likewise.
14481 * htl/tests/test-13.c: Likewise.
14482 * htl/tests/test-14.c: Likewise.
14483 * htl/tests/test-15.c: Likewise.
14484 * htl/tests/test-16.c: Likewise.
14485 * htl/tests/test-17.c: Likewise.
14486 * htl/tests/test-2.c: Likewise.
14487 * htl/tests/test-3.c: Likewise.
14488 * htl/tests/test-4.c: Likewise.
14489 * htl/tests/test-5.c: Likewise.
14490 * htl/tests/test-6.c: Likewise.
14491 * htl/tests/test-7.c: Likewise.
14492 * htl/tests/test-8.c: Likewise.
14493 * htl/tests/test-9.c: Likewise.
14494 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
14495 * sysdeps/htl/bits/cancelation.h: Likewise.
14496 * sysdeps/htl/bits/pthread-np.h: Likewise.
14497 * sysdeps/htl/bits/pthread.h: Likewise.
14498 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
14499 * sysdeps/htl/bits/semaphore.h: Likewise.
14500 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
14501 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
14502 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
14503 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
14504 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
14505 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
14506 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
14507 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
14508 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
14509 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
14510 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
14511 * sysdeps/htl/old_pt-atfork.c: Likewise.
14512 * sysdeps/htl/pt-atfork.c: Likewise.
14513 * sysdeps/htl/pt-attr-destroy.c: Likewise.
14514 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
14515 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
14516 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
14517 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
14518 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
14519 * sysdeps/htl/pt-attr-getscope.c: Likewise.
14520 * sysdeps/htl/pt-attr-getstack.c: Likewise.
14521 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
14522 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
14523 * sysdeps/htl/pt-attr-init.c: Likewise.
14524 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
14525 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
14526 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
14527 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
14528 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
14529 * sysdeps/htl/pt-attr-setscope.c: Likewise.
14530 * sysdeps/htl/pt-attr-setstack.c: Likewise.
14531 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
14532 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
14533 * sysdeps/htl/pt-attr.c: Likewise.
14534 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
14535 * sysdeps/htl/pt-barrier-init.c: Likewise.
14536 * sysdeps/htl/pt-barrier-wait.c: Likewise.
14537 * sysdeps/htl/pt-barrier.c: Likewise.
14538 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
14539 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
14540 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
14541 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
14542 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
14543 * sysdeps/htl/pt-cond-destroy.c: Likewise.
14544 * sysdeps/htl/pt-cond-init.c: Likewise.
14545 * sysdeps/htl/pt-cond-signal.c: Likewise.
14546 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
14547 * sysdeps/htl/pt-cond-wait.c: Likewise.
14548 * sysdeps/htl/pt-cond.c: Likewise.
14549 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
14550 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
14551 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
14552 * sysdeps/htl/pt-condattr-init.c: Likewise.
14553 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
14554 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
14555 * sysdeps/htl/pt-destroy-specific.c: Likewise.
14556 * sysdeps/htl/pt-equal.c: Likewise.
14557 * sysdeps/htl/pt-getconcurrency.c: Likewise.
14558 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
14559 * sysdeps/htl/pt-getschedparam.c: Likewise.
14560 * sysdeps/htl/pt-getspecific.c: Likewise.
14561 * sysdeps/htl/pt-init-specific.c: Likewise.
14562 * sysdeps/htl/pt-key-create.c: Likewise.
14563 * sysdeps/htl/pt-key-delete.c: Likewise.
14564 * sysdeps/htl/pt-key.h: Likewise.
14565 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
14566 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
14567 * sysdeps/htl/pt-mutex-init.c: Likewise.
14568 * sysdeps/htl/pt-mutex-lock.c: Likewise.
14569 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
14570 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
14571 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
14572 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
14573 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
14574 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
14575 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
14576 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
14577 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
14578 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
14579 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
14580 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
14581 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
14582 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
14583 * sysdeps/htl/pt-mutexattr.c: Likewise.
14584 * sysdeps/htl/pt-once.c: Likewise.
14585 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
14586 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
14587 * sysdeps/htl/pt-rwlock-init.c: Likewise.
14588 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
14589 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
14590 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
14591 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
14592 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
14593 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
14594 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
14595 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
14596 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
14597 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
14598 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
14599 * sysdeps/htl/pt-setconcurrency.c: Likewise.
14600 * sysdeps/htl/pt-setschedparam.c: Likewise.
14601 * sysdeps/htl/pt-setschedprio.c: Likewise.
14602 * sysdeps/htl/pt-setspecific.c: Likewise.
14603 * sysdeps/htl/pt-spin.c: Likewise.
14604 * sysdeps/htl/pt-startup.c: Likewise.
14605 * sysdeps/htl/pthread.h: Likewise.
14606 * sysdeps/htl/sem-close.c: Likewise.
14607 * sysdeps/htl/sem-destroy.c: Likewise.
14608 * sysdeps/htl/sem-getvalue.c: Likewise.
14609 * sysdeps/htl/sem-init.c: Likewise.
14610 * sysdeps/htl/sem-open.c: Likewise.
14611 * sysdeps/htl/sem-post.c: Likewise.
14612 * sysdeps/htl/sem-timedwait.c: Likewise.
14613 * sysdeps/htl/sem-trywait.c: Likewise.
14614 * sysdeps/htl/sem-unlink.c: Likewise.
14615 * sysdeps/htl/sem-wait.c: Likewise.
14616 * sysdeps/hurd/htl/pt-kill.c: Likewise.
14617 * sysdeps/i386/htl/pt-machdep.h: Likewise.
14618 * sysdeps/mach/htl/pt-block.c: Likewise.
14619 * sysdeps/mach/htl/pt-spin.c: Likewise.
14620 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
14621 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
14622 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
14623 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
14624 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
14625 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
14626 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
14627 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
14628 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
14629 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
14630 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
14631 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
14632 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
14633 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
14634 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
14635 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
14636 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
14637 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
14638 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
14639 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14640 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14641 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14642 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14643 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14644 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14645 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14646 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14647 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14648 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14649 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14650 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14651 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14652 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14653 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14654 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14655 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14656 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14657 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14658 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14659 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14660 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14661 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14662 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14664 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14665 * README: Remove the mention of out-of-tree patches needed for
14668 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14669 (UTIME_NOW, UTIME_OMIT): Define macros.
14671 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14672 instead of pthread_detach.
14673 (__cthread_fork): Call __pthread_create instead of pthread_create.
14674 (__cthread_keycreate): Call __pthread_key_create instead of
14675 pthread_key_create.
14676 (__cthread_getspecific): Call __pthread_getspecific instead of
14677 pthread_getspecific.
14678 (__cthread_setspecific): Call __pthread_setspecific instead of
14679 pthread_setspecific.
14680 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14681 __pthread_mutex_unlock instead of pthread_mutex_lock and
14682 pthread_mutex_unlock.
14683 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14684 ___pthread_get_cleanup_stack.
14685 (__pthread_get_cleanup_stack): New strong alias.
14686 * htl/pt-create.c: Include <pthreadP.h>.
14687 (entry_point): Call __pthread_exit instead of pthread_exit.
14688 (pthread_create): Rename to __pthread_create.
14689 (pthread_create): New strong alias.
14690 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14691 (pthread_detach): New strong alias.
14692 (__pthread_detach): Call __pthread_cond_broadcast instead of
14693 pthread_cond_broadcast.
14694 * htl/pt-exit.c: Include <pthreadP.h>.
14695 (__pthread_exit): Call __pthread_setcancelstate and
14696 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14697 __pthread_get_cleanup_stack.
14698 * htl/pt-testcancel.c: Include <pthreadP.h>.
14699 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14700 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14701 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14702 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14703 pthread_attr_getstacksize.
14704 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14705 Rename to __pthread_attr_getstackaddr.
14706 (pthread_attr_getstackaddr): New strong alias.
14707 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14708 Rename to __pthread_attr_getstacksize.
14709 (pthread_attr_getstacksize): New strong alias.
14710 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14711 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14712 (pthread_attr_setstack): New strong alias.
14713 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14714 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14715 pthread_attr_getstacksize, pthread_attr_setstacksize and
14716 pthread_attr_setstackaddr.
14717 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14718 Rename to __pthread_attr_setstackaddr.
14719 (pthread_attr_setstackaddr): New strong alias.
14720 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14721 Rename to __pthread_attr_setstacksize.
14722 (pthread_attr_setstacksize): New strong alias.
14723 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14724 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14726 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14727 (__pthread_key_create): New hidden def.
14728 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14729 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14730 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14731 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14732 __pthread_setspecific, __pthread_setcancelstate,
14733 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14734 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14735 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14737 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14738 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14739 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14740 (pthread_attr_setstackaddr): New strong alias.
14741 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14742 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14743 (pthread_attr_setstacksize): New strong alias.
14744 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14745 (call_exit): Call __pthread_exit instead of pthread_exit.
14746 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14747 (_pthread_mutex_init): New hidden definition.
14748 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14749 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14750 instead of pthread_attr_init and pthread_attr_setstack.
14752 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14753 __vm_deallocate instead of vm_allocate and vm_deallocate.
14754 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14756 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14758 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14760 * hurd/siginfo.c: Include <libioP.h>.
14761 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14762 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14764 * mach/devstream.c: Include <libioP.h>.
14765 (dealloc_ref): Call __mach_port_deallocate instead of
14766 mach_port_deallocate.
14767 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14768 Call __mach_port_deallocate instead of mach_port_deallocate.
14769 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14771 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14773 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14774 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14775 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14777 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14779 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14780 instead of sysconf.
14781 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14782 __clock_gettime instead of clock_gettime.
14783 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14784 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14785 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14786 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14787 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14789 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14790 __clock_gettime and __nanosleep instead of clock_gettime and
14792 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14793 __hurd_catch_signal.
14794 (hurd_catch_signal): New strong alias.
14795 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14796 __hurd_catch_signal instead of hurd_catch_signal.
14797 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14798 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14799 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14800 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14801 (_hurd_thread_sigstate): Add hidden def.
14802 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14804 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14805 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14806 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14807 __hurd_file_name_path_lookup.
14808 (hurd_file_name_path_lookup): New strong alias.
14809 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14810 hurd_file_name_path_lookup.
14811 * mach/errstring.c (mach_error_type): Add hidden def.
14812 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14813 * mach/mutex-init.c (__mutex_init): Add hidden def.
14814 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14815 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14816 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14817 * sysdeps/mach/hurd/getcwd.c
14818 (_hurd_canonicalize_directory_name_internal): Rename to
14819 __hurd_canonicalize_directory_name_internal.
14820 (_hurd_canonicalize_directory_name_internal): New strong alias.
14821 (__canonicalize_directory_name_internal, __getcwd): Call
14822 __hurd_canonicalize_directory_name_internal instead of
14823 _hurd_canonicalize_directory_name_internal.
14824 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
14825 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
14827 * sysdeps/hurd/include/hurd.h: New file.
14828 * sysdeps/hurd/include/hurd/fd.h: New file.
14829 * sysdeps/hurd/include/hurd/signal.h: New file.
14830 * sysdeps/mach/include/lock-intern.h: New file.
14831 * sysdeps/mach/include/mach.h: New file.
14832 * sysdeps/mach/include/mach/mig_support.h: New file.
14833 * sysdeps/mach/include/mach_error.h: New file.
14834 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
14836 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
14837 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
14838 _HEADER_H_HIDDEN_DEF macro.
14839 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
14840 _hurd_fd_error_signal): Add hidden prototype.
14841 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
14843 * libio/iolibio.h (_IO_puts): New hidden prototype.
14844 * libio/ioputs.c (_IO_puts): New hidden def.
14845 * sysdeps/mach/hurd/localplt.data: New file.
14847 2018-04-02 Agustina Arzille <avarzille@riseup.net>
14848 Amos Jeffries <squid3@treenet.co.nz>
14849 David Michael <fedora.dm0@gmail.com>
14850 Marco Gerards <marco@gnu.org>
14851 Marcus Brinkmann <marcus@gnu.org>
14852 Neal H. Walfield <neal@gnu.org>
14853 Pino Toscano <toscano.pino@tiscali.it>
14854 Richard Braun <rbraun@sceen.net>
14855 Roland McGrath <roland@gnu.org>
14856 Samuel Thibault <samuel.thibault@ens-lyon.org>
14857 Thomas DiModica <ricinwich@yahoo.com>
14858 Thomas Schwinge <tschwinge@gnu.org>
14860 * htl: New directory.
14861 * sysdeps/htl: New directory.
14862 * sysdeps/hurd/htl: New directory.
14863 * sysdeps/i386/htl: New directory.
14864 * sysdeps/mach/htl: New directory.
14865 * sysdeps/mach/hurd/htl: New directory.
14866 * sysdeps/mach/hurd/i386/htl: New directory.
14867 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14868 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14869 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14871 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14873 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14874 signals in thread created for runing timers.
14876 2018-04-01 Florian Weimer <fweimer@redhat.com>
14878 * support/support_format_addrinfo.c (support_format_addrinfo):
14879 Include unknown error number in formatted result.
14881 2018-03-29 Florian Weimer <fweimer@redhat.com>
14883 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14886 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14888 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14889 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14890 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14891 (__ASSUME_CLONE_BACKWARDS): Define.
14893 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14896 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14897 early when linux sentinel value is set.
14899 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14901 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14903 2018-03-27 Andreas Schwab <schwab@suse.de>
14906 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14907 allocation of private copy of nsaddr_list fails.
14909 2018-03-26 Joseph Myers <joseph@codesourcery.com>
14912 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14913 * sysdeps/unix/sysv/linux/umount.c: ... here.
14914 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14915 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14916 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14917 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14919 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14920 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14922 2018-03-26 Andreas Schwab <schwab@suse.de>
14924 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14925 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14926 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14927 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14928 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14929 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14930 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14931 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14932 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14933 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14934 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14935 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14936 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14937 (R_RISCV_NUM): Define.
14939 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14941 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14942 TLS declaration of errno.
14943 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14945 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14946 (ARCH_SETUP_TLS): Likewise.
14947 * sysdeps/mach/hurd/libc-start.h: New file copied from
14948 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
14949 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14950 instead of __libc_setup_tls.
14951 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
14952 __libc_setup_tls before initializing libpthread and running _hurd_init
14953 which starts the signal thread.
14954 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14956 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14958 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14961 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14962 after it is defined.
14964 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14965 Max Horn <max@quendi.de>
14969 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14971 * string/test-memmove.c (do_test2): New testcase.
14973 2018-03-22 Joseph Myers <joseph@codesourcery.com>
14975 * sysdeps/generic/frame.h: Remove file.
14976 * sysdeps/arm/frame.h: Likewise.
14977 * sysdeps/hppa/frame.h: Likewise.
14978 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14980 (GET_FRAME): Likewise.
14981 (GET_STACK): Likewise.
14982 (CALL_SIGHANDLER): Likewise.
14983 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14985 (GET_FRAME): Likewise.
14986 (GET_STACK): Likewise.
14987 (CALL_SIGHANDLER): Likewise.
14988 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14989 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14990 (GET_FRAME): Likewise.
14991 (GET_STACK): Likewise.
14992 (CALL_SIGHANDLER): Likewise.
14993 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14994 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14995 (GET_FRAME): Likewise.
14996 (GET_STACK): Likewise.
14997 (ADVANCE_STACK_FRAME): Likewise.
14998 (CALL_SIGHANDLER): Likewise.
14999 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15000 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15001 (GET_FRAME): Likewise.
15002 (GET_STACK): Likewise.
15003 (CALL_SIGHANDLER): Likewise.
15004 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15005 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15006 (GET_FRAME): Likewise.
15007 (GET_STACK): Likewise.
15008 (CALL_SIGHANDLER): Likewise.
15009 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15010 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15011 (GET_FRAME): Likewise.
15012 (GET_STACK): Likewise.
15013 (CALL_SIGHANDLER): Likewise.
15014 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15015 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15016 (GET_FRAME): Likewise.
15017 (GET_STACK): Likewise.
15018 (CALL_SIGHANDLER): Likewise.
15019 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15020 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15021 (GET_FRAME): Likewise.
15022 (GET_STACK): Likewise.
15023 (CALL_SIGHANDLER): Likewise.
15024 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15025 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15026 (GET_FRAME): Likewise.
15027 (GET_STACK): Likewise.
15028 (CALL_SIGHANDLER): Likewise.
15029 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15030 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15031 (GET_FRAME): Likewise.
15032 (GET_STACK): Likewise.
15033 (CALL_SIGHANDLER): Likewise.
15034 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15035 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15036 (GET_FRAME): Likewise.
15037 (GET_STACK): Likewise.
15038 (CALL_SIGHANDLER): Likewise.
15039 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15040 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15041 (GET_FRAME): Likewise.
15042 (GET_STACK): Likewise.
15043 (CALL_SIGHANDLER): Likewise.
15044 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15045 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15046 (FIRST_FRAME_POINTER): Likewise.
15047 (ADVANCE_STACK_FRAME): Likewise.
15048 (GET_STACK): Likewise.
15049 (GET_FRAME): Likewise.
15050 (CALL_SIGHANDLER): Likewise.
15051 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15052 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15053 (ADVANCE_STACK_FRAME): Likewise.
15054 (GET_STACK): Likewise.
15055 (GET_FRAME): Likewise.
15056 (CALL_SIGHANDLER): Likewise.
15057 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15058 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15059 (GET_FRAME): Likewise.
15060 (GET_STACK): Likewise.
15061 (CALL_SIGHANDLER): Likewise.
15062 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15063 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15064 (GET_FRAME): Likewise.
15065 (GET_STACK): Likewise.
15066 (CALL_SIGHANDLER): Likewise.
15068 2018-03-21 Joseph Myers <joseph@codesourcery.com>
15070 * sysdeps/x86_64/backtrace.c: Move to ....
15071 * debug/backtrace.c: ... here.
15072 * sysdeps/aarch64/backtrace.c: Remove file.
15073 * sysdeps/alpha/backtrace.c: Likewise.
15074 * sysdeps/hppa/backtrace.c: Likewise.
15075 * sysdeps/ia64/backtrace.c: Likewise.
15076 * sysdeps/mips/backtrace.c: Likewise.
15077 * sysdeps/nios2/backtrace.c: Likewise.
15078 * sysdeps/riscv/backtrace.c: Likewise.
15079 * sysdeps/sh/backtrace.c: Likewise.
15080 * sysdeps/tile/backtrace.c: Likewise.
15082 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15085 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
15088 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
15091 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
15092 possibly overflowing computations.
15094 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15096 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
15097 values from Linux-specific section now that it is in the GNU section.
15098 * sysdeps/gnu/errlist.c: Regenerate.
15100 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15102 * math/Makefile (libm-narrow-fns): Add sub.
15103 (libm-test-funcs-narrow): Likewise.
15104 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
15105 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
15106 * math/gen-auto-libm-tests.c (test_functions): Add sub.
15107 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
15108 (NARROW_SUB_ROUND_TO_ODD): Likewise.
15109 (NARROW_SUB_TRIVIAL): Likewise.
15110 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
15112 (__dsubl): Likewise.
15113 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
15115 (CFLAGS-nldbl-dsub.c): New variable.
15116 (CFLAGS-nldbl-fsub.c): Likewise.
15117 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15119 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
15121 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
15122 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
15123 * math/auto-libm-test-in: Add tests of sub.
15124 * math/auto-libm-test-out-narrow-sub: New generated file.
15125 * math/libm-test-narrow-sub.inc: New file.
15126 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15127 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
15128 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
15129 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
15130 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
15131 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
15132 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
15133 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
15134 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
15135 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
15136 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
15137 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
15138 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
15139 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
15140 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
15141 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
15142 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
15143 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
15144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15145 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15146 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15147 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15148 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15149 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15150 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15151 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15152 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15153 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15154 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15155 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15156 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15157 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15162 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15163 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15164 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15165 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15166 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15167 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15168 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15169 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15170 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15171 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15173 2018-03-19 Joseph Myers <joseph@codesourcery.com>
15176 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
15178 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
15180 * benchtests/bench-timing.h (attribute_hidden): Undefine.
15182 2018-03-18 Richard Braun <rbraun@sceen.net>
15184 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
15187 2018-03-18 Agustina Arzille <avarzille@riseup.net>
15189 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
15190 (__libc_cleanup_fct): Define function.
15191 (__libc_cleanup_region_start, __libc_cleanup_region_end,
15192 __libc_cleanup_end): Rewrite implementation using
15193 __attribute__ ((__cleanup__)).
15194 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
15195 * hurd/Makefile (routines): Add hurdlock.
15196 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
15198 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
15199 * hurd/hurdpid.c: Include <lowlevellock.h>
15200 (_S_msg_proc_newids): Use lll_wait to synchronize.
15201 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15202 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15203 * mach/Makefile (lock-headers): Remove machine-lock.h.
15204 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15206 (__spin_lock_t): New type.
15207 (__SPIN_LOCK_INITIALIZER): New macro.
15208 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15209 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15210 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15211 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15212 (__mutex_init): Initialize with lll.
15213 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15214 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15216 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15217 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15218 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15219 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15220 (__setpgid): Use lll for synchronization.
15221 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15222 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15223 instead of <cthreads.h>.
15224 (_IO_lock_inexpensive): New macro
15225 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15226 (__libc_lock_self0): New declaration.
15227 (__libc_lock_owner_self): New macro.
15228 (__libc_key_t): Remove type.
15229 (_LIBC_LOCK_INITIALIZER): New macro.
15230 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15231 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15232 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15233 __libc_lock_define_initialized_recursive,
15234 __rtld_lock_define_initialized_recursive,
15235 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15236 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15237 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15238 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15239 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15240 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15241 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15243 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15244 * hurd/hurdlock.c: New file.
15245 * hurd/hurdlock.h: New file.
15246 * mach/lowlevellock.h: New file
15248 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15250 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
15251 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15252 when opening a symlink with O_NOFOLLOW.
15253 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15254 path when flags contains O_NOFOLLOW.
15255 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15256 if flags contains O_DIRECTORY and the result is a directory.
15257 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15258 oneself when the pointer given in D is nul (as set by ext2fs).
15259 * sysdeps/mach/hurd/mlockall.c: New file.
15260 * sysdeps/mach/hurd/munlockall.c: New file.
15262 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15264 * hurd/hurdsig.c: Include <pthread.h>.
15265 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15266 get the signal thread stack layout.
15267 * hurd/Makefile (headers): Remove threadvar.h.
15268 (inline-headers): Remove threadvar.h.
15269 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15270 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15271 __hurd_threadvar_max, __hurd_errno_location.
15272 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15273 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15274 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15275 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15276 unless TLS is not initialized yet, in which case we do not need a
15277 critical section yet anyway.
15278 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
15280 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
15282 (__hurd_threadvar_index): Remove enum.
15283 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
15284 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
15286 (__hurd_reply_port0): New variable declaration.
15287 (__hurd_local_reply_port): New macro.
15288 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
15289 (interrupted_reply_port_location): Add thread_t parameter. Use it
15290 with THREAD_TCB to access thread-local variables.
15291 (_hurdsig_abort_rpcs): Pass ss->thread to
15292 interrupted_reply_port_location.
15293 (_hurd_internal_post_signal): Likewise.
15294 (_hurdsig_init): Use presence of cthread_fork instead of
15295 __hurd_threadvar_stack_mask to start signal thread by hand.
15296 Remove signal thread threadvar initialization.
15297 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
15298 * hurd/sigunwind.c: Include <hurd/threadvar.h>
15299 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
15301 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
15303 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
15304 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
15305 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
15306 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
15307 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
15308 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
15309 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
15311 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
15312 <hurd/threadvar.h>.
15313 [IS_IN(rtld)] (rtld_errno): New variable.
15314 [IS_IN(rtld)] (__errno_location): New weak function.
15315 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
15316 * sysdeps/mach/hurd/errno.c: Remove file.
15317 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
15318 (__fork): Remove THREADVAR_SPACE macro and its use.
15319 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
15321 (init): Do not initialize threadvar.
15322 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
15324 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
15325 __hurd_local_reply_port instead of threadvar.
15326 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
15327 _hurd_sigstate fields.
15328 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
15329 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
15330 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
15331 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
15332 instead of threadvar.
15333 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
15334 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
15335 (use_threadvar, global_reply_port): Remove variables.
15336 (__hurd_reply_port0): New variable.
15337 (__mig_get_reply_port): Use __hurd_local_reply_port and
15338 __hurd_reply_port0 instead of threadvar.
15339 (__mig_dealloc_reply_port): Likewise.
15340 (__mig_init): Do not initialize threadvar.
15341 * sysdeps/mach/hurd/profil.c: Fix comment.
15342 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
15343 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
15344 cthread_keycreate, cthread_getspecific, cthread_setspecific to
15345 __cthread_fork, __cthread_detach, __pthread_getattr_np,
15346 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
15347 __cthread_setspecific.
15348 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
15349 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
15350 __cthread_t instead of cthread_fork, cthread_detach,
15351 pthread_getattr_np, pthread_attr_getstack.
15352 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
15353 __cthread_keycreate.
15354 (cthread_getspecific): Rename to __cthread_getspecific.
15355 (cthread_setspecific): Rename to __cthread_setspecific.
15356 (__libc_getspecific): Use __cthread_getspecific instead of
15357 cthread_getspecific.
15358 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
15359 __cthread_keycreate instead of cthread_keycreate.
15360 (__libc_setspecific): Use __cthread_setspecific instead of
15361 cthread_setspecific.
15362 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
15364 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
15365 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
15366 testing whether it is defined.
15368 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15370 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
15372 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
15373 * sysdeps/mach/i386/thread_state.h
15374 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
15376 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
15378 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
15380 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
15381 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
15383 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
15385 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
15386 descriptor instead of creating a new one.
15387 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
15389 * mach/setup-thread.c: Include <ldsodefs.h>.
15390 (__mach_setup_thread): Call _dl_allocate_tls, pass
15391 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
15392 MACHINE_THREAD_STATE_FLAVOR, before getting
15393 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
15394 MACHINE_THREAD_STATE_FLAVOR with the result.
15395 * hurd/hurdfault.c (_hurdsig_fault_init): Call
15396 MACHINE_THREAD_STATE_FIX_NEW.
15397 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
15398 too. Add original thread parameter.
15400 2018-03-16 Joseph Myers <joseph@codesourcery.com>
15402 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
15403 Remove inline function.
15405 * sysdeps/i386/fpu/libm-test-ulps: Update.
15406 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15408 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
15410 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
15413 2018-03-15 Joseph Myers <joseph@codesourcery.com>
15415 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
15416 (__sincos_code): Remove define and undefine.
15417 [__FAST_MATH__] (__sincos): Remove inline function.
15418 [__FAST_MATH__] (__sincosf): Remove inline function.
15419 [__FAST_MATH__] (__sincosl): Remove inline function.
15420 (__atan2l): Remove inline functions.
15421 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
15422 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
15424 (floor): Remove inline function.
15426 [__FAST_MATH__] (__ldexp_code): Remove macro.
15427 [__FAST_MATH__] (ldexp): Remove inline function.
15428 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
15429 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
15430 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
15431 [__USE_ISOC99] (__lrint_code): Remove macro.
15432 [__USE_ISOC99] (__llrint_code): Likewise.
15433 [__USE_ISOC99] (lrintf): Remove inline function.
15434 [__USE_ISOC99] (lrint): Likewise.
15435 [__USE_ISOC99] (lrintl): Likewise.
15436 [__USE_ISOC99] (llrint): Likewise.
15437 [__USE_ISOC99] (llrintf): Likewise.
15438 [__USE_ISOC99] (llrintl): Likewise.
15440 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15442 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
15443 (__ieee754_sqrtf): Remove.
15444 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
15445 (__ieee754_sqrtf): Remove.
15446 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
15447 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15448 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
15449 (__ieee754_sqrtf): Remove.
15450 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
15451 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
15454 (__ieee754_sqrt): Remove.
15455 (__ieee754_sqrtf): Remove.
15456 (__ieee754_sqrtl): Remove.
15457 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15458 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
15459 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
15460 (__ieee754_sqrtf): Remove.
15461 (__ieee754_sqrtl): Remove.
15463 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15465 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
15466 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15467 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15468 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
15469 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
15470 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15471 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15472 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15474 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
15475 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
15476 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15477 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15478 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
15479 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
15480 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15481 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15482 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15483 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15484 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
15485 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15486 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
15487 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
15488 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
15489 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15490 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15491 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15492 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
15493 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
15494 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15495 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15496 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
15497 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
15498 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
15499 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
15500 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15501 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15502 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
15503 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15504 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15505 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
15506 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15507 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15508 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15509 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15510 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
15511 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
15512 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15513 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
15515 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15517 * include/math.h (sqrt): Declare with asm redirect.
15520 (sqrtf128): Likewise.
15521 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
15522 nonlib and libnldbl with -fmath-errno.
15523 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
15524 * math/w_sqrt_template.c: Likewise.
15525 * math/w_sqrtf_compat.c: Likewise.
15526 * math/w_sqrtl_compat.c: Likewise.
15527 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
15528 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
15529 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
15532 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15534 * benchtests/Makefile: Define _ISOMAC.
15535 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
15536 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
15537 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
15538 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
15539 * benchtests/bench-timing.h: Define attribute_hidden.
15541 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
15543 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
15546 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15549 * localedata/locales/cs_CZ (mon): Rename to...
15551 (mon): Import from CLDR (genitive case).
15553 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15556 * localedata/locales/el_CY (abmon): Rename to...
15557 (ab_alt_mon): This.
15558 (abmon): Import from CLDR (abbreviated genitive case).
15559 * localedata/locales/el_GR (abmon): Rename to...
15560 (ab_alt_mon): This.
15561 (abmon): Import from CLDR (abbreviated genitive case).
15563 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15566 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
15568 2018-03-15 Robert Buj <robert.buj@gmail.com>
15571 * localedata/locales/ca_ES (abmon): Rename to...
15572 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15573 (mon): Rename to...
15575 (abmon): Import from CLDR (genitive case, month names preceded by
15578 (abday): Synchronize with CLDR.
15579 (d_t_fmt): Likewise.
15583 (LC_TIME): Improve indentation.
15584 (LC_TELEPHONE): Likewise.
15585 (LC_NAME): Likewise.
15586 (LC_ADDRESS): Likewise.
15588 2018-03-14 Joseph Myers <joseph@codesourcery.com>
15590 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
15591 (lrintf): Remove definitions used only with old GCC.
15592 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
15593 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
15594 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
15595 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
15596 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
15597 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
15598 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
15599 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
15600 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
15601 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
15602 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
15603 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
15604 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
15605 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
15606 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
15607 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
15608 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
15609 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
15610 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
15611 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
15612 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
15613 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
15614 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
15615 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
15616 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
15617 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
15618 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
15619 [__FAST_MATH__] (__M_SQRT2): Remove macro.
15621 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15623 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
15624 instruction to unbreak builds with binutils 2.26 and older.
15626 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15628 * sysdeps/aarch64/strncmp.S (count): New macro.
15629 (strncmp): Store misaligned length in SRC1 in COUNT.
15630 (mutual_align): Adjust.
15631 (misaligned8): Load dword at a time when it is safe.
15633 2018-03-12 Zack Weinberg <zackw@panix.com>
15637 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
15638 if the _IO_EOF_SEEN bit is already set; update commentary.
15639 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15640 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15642 * support/support_openpty.c, support/tty.h: New files.
15643 * support/Makefile (libsupport-routines): Add support_openpty.
15645 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15647 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15648 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15650 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15652 * po/pt_BR.po: Update translations.
15654 2018-03-12 David Michael <fedora.dm0@gmail.com>
15656 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15657 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15658 get a port to the startup server.
15660 2018-03-11 Zack Weinberg <zackw@panix.com>
15662 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15663 before nldbl-compat.h.
15665 2018-03-10 Zack Weinberg <zackw@panix.com>
15667 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15668 math.h or math_private.h.
15670 * sysdeps/alpha/fpu/s_isnan.c
15671 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15672 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15673 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15674 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15675 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15676 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15677 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15678 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15679 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15682 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15683 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15684 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15685 Include math_private.h.
15687 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15688 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15689 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15690 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15691 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15692 * sysdeps/powerpc/power7/fpu/s_logb.c:
15693 Include math.h and math_private.h.
15695 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15696 uses of $at in .set noat / .set at.
15698 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15700 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15701 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15702 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15703 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15706 2018-03-09 Florian Weimer <fweimer@redhat.com>
15708 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15711 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15714 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15715 Add nop before __startcontext, add explaining comments.
15717 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15720 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15722 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15723 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15724 Do not build hardware transactional code for __SPE__.
15725 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15726 (__lll_trylock_elision): Likewise.
15727 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15728 (__lll_unlock_elision): Likewise.
15730 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
15731 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15732 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15733 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15734 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15735 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15736 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15737 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15738 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15739 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15740 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15741 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15742 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15743 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15744 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15745 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15746 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15747 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15748 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15749 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15750 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15751 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15752 (__ASSUME_CLONE_BACKWARDS): Define.
15753 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15754 __clone2 if __NR_clone2 is defined.
15755 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15756 (__ASSUME_CLONE_BACKWARDS): Likewise.
15757 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15758 (__ASSUME_CLONE_BACKWARDS): Likewise.
15759 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15760 (__ASSUME_CLONE2): Likewise.
15761 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15762 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15763 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15764 variants and the define architecture can use.
15765 (__ASSUME_CLONE_DEFAULT): Define as default.
15766 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15767 (__ASSUME_CLONE_BACKWARDS): Likewise.
15768 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15769 (__ASSUME_CLONE_BACKWARDS): Likewise.
15770 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15771 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15773 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15775 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15777 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15780 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15781 (do_test_limit): Likewise.
15783 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15784 for every implementation.
15785 (do_test): Likewise.
15787 * benchtests/bench-strncmp.c: Convert output to json.
15789 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15791 * io/futimens.c: Add missing start-of-file descriptive comment.
15792 * io/utime.c: Likewise.
15793 * misc/futimesat.c: Likewise.
15794 * misc/utimes.c: Likewise.
15795 * sysdeps/mach/hurd/futimesat.c: Likewise.
15796 * sysdeps/mach/hurd/utimes.c: Likewise.
15797 * sysdeps/posix/utime.c: Likewise.
15798 * sysdeps/posix/utimes.c: Likewise.
15799 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15800 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15801 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15802 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15804 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15806 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15808 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15809 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15810 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15811 (__futimens): Move implementation to...
15812 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15813 utime_tvalue_from_tspec): ... new helper functions.
15814 (hurd_futimens): New function.
15815 * sysdeps/mach/hurd/futimesat.c: New file.
15816 * sysdeps/mach/hurd/utimensat.c: New file.
15818 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15820 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
15821 UTIME_OMIT): New macros.
15822 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
15823 before reverting to converting time spec to time value and calling
15825 * sysdeps/mach/hurd/utime-helper.c: New file.
15826 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
15827 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
15828 reverting to utime_tvalue_from_tval and __file_utimes.
15829 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
15830 (__lutimes): Just call hurd_futimens after lookup.
15831 * sysdeps/mach/hurd/utimes.c: Likewise.
15833 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15835 * bits/sigaction.h: Add include guard.
15836 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
15837 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
15838 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
15839 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
15840 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
15841 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
15842 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
15843 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
15844 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
15846 2018-03-05 Joseph Myers <joseph@codesourcery.com>
15848 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
15849 -Wmaybe-uninitialized for -Os.
15850 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15853 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15855 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15856 __INO_T_MATCHES_INO64_T is defined.
15857 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15858 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15860 * dirent/alphasort64.c: Likewise.
15861 * dirent/scandir.c: Likewise.
15862 * dirent/scandir64-tail.c: Likewise.
15863 * dirent/scandir64.c: Likewise.
15864 * dirent/scandirat.c: Likewise.
15865 * dirent/scandirat64.c: Likewise.
15866 * dirent/versionsort.c: Likewise.
15867 * dirent/versionsort64.c: Likewise.
15868 * include/dirent.h: Likewise.
15870 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15871 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15872 for socketpair endpoint.
15873 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15874 WRITE_BUFFER_SIZE as buffer size for sending socket.
15875 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15876 issue on system where send is implemented with sendto syscall.
15877 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15878 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15879 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15880 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15883 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15884 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15885 sa_restorer for vDSO case.
15886 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15888 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15890 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
15891 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15892 * hurd/hurd/ioctl.h: Include <mach/port.h>
15893 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
15894 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15895 <mach/mach_types.h> and <mach/message.h>.
15896 (headers): Move mach/param.h to bits/mach/param.h.
15897 * sysdeps/mach/i386/mach/param.h: Move file to ...
15898 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15899 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15901 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15902 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15903 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
15904 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15905 trivial, for C++ conformity.
15906 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
15907 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15908 Process mig output through $(migheadersed).
15909 * hurd/Makefile (migheadersed): Define variable.
15910 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15911 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15913 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15914 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15915 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15916 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15917 <bits/types/sigset_t.h>.
15918 [!defined __USE_GNU]: Do not #error out.
15919 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15920 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15921 Include <stddef.h> and <bits/types/sigset_t.h>
15922 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15923 instead of sighandler_t.
15924 * stdlib/errno.h (error_t): Move definition to...
15925 * bits/types/error_t.h: ... new header.
15926 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15927 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15928 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15929 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15930 * hurd/hurd.h: Include <bits/types/error_t.h>
15931 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15932 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15933 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15934 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15935 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15936 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
15937 * sysdeps/mach/hurd/futimens.c: New file.
15939 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15942 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15943 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15944 * nscd/gai.c (__nss_hosts_database): Readd definition.
15945 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15946 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15947 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15949 2018-03-02 Joseph Myers <joseph@codesourcery.com>
15951 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15952 (ifunc_one): Likewise.
15954 2018-03-01 DJ Delorie <dj@delorie.com>
15957 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15960 2018-03-01 Maciej W. Rozycki <macro@mips.com>
15962 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15963 `match_pid' parameter.
15964 (td_ta_thr_iter): Update accordingly.
15966 2018-03-01 Florian Weimer <fweimer@redhat.com>
15968 * nptl/Makefile (install-lib-ldscripts): Remove.
15969 (install): Remove rule.
15970 ($(inst_libdir)/libpthread.so): Likewise.
15972 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15975 * localedata/locales/an_ES: update month and day names,
15976 improve d_fmt, improve postal_fmt, add country_post,
15979 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15981 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15982 Ukrainian instead of Bulgarian.
15984 2018-03-01 Florian Weimer <fweimer@redhat.com>
15986 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15989 2018-03-01 Florian Weimer <fweimer@redhat.com>
15991 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15992 * nptl/Makefile (routines): Add pthread_atfork.
15993 (static-only-routines): Set to pthread_atfork.
15994 (libpthread-routines): Remove pthread_atfork.
15995 (libpthread-static-only-routines): Remove.
15996 (install): Update comment.
15997 (libpthread.so): Do not install libpthread_nonshared.a.
15998 (tests): Do not link with libpthread_nonshared.a.
15999 (generated): Remove libpthread_nonshared.a.
16000 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16001 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16002 with libpthread_nonshared.a.
16004 2018-02-28 Joseph Myers <joseph@codesourcery.com>
16007 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16008 (libc_feholdexcept_setroundf128): New macro.
16009 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16012 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16014 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16015 * include/inttypes.h: New file.
16017 2018-02-27 Joseph Myers <joseph@codesourcery.com>
16019 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16020 -Os in two more places.
16022 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16024 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16025 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16026 be sorted correctly at the moment because of a bug.
16028 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16030 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16031 treat ñ as a primary different character, sync the collation
16032 for Spanish with CLDR.
16033 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16034 * localedata/Makefile: Add new test files.
16035 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16036 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16038 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16039 * localedata/am_ET.UTF-8.in: New test file.
16040 * localedata/az_AZ.UTF-8.in: Likewise.
16041 * localedata/be_BY.UTF-8.in: Likewise.
16042 * localedata/ber_DZ.UTF-8.in: Likewise.
16043 * localedata/ber_MA.UTF-8.in: Likewise.
16044 * localedata/bg_BG.UTF-8.in: Likewise.
16045 * localedata/br_FR.UTF-8.in: Likewise.
16046 * localedata/cmn_TW.UTF-8.in: Likewise.
16047 * localedata/crh_UA.UTF-8.in: Likewise.
16048 * localedata/csb_PL.UTF-8.in: Likewise.
16049 * localedata/cv_RU.UTF-8.in: Likewise.
16050 * localedata/cy_GB.UTF-8.in: Likewise.
16051 * localedata/dz_BT.UTF-8.in: Likewise.
16052 * localedata/eo.UTF-8.in: Likewise.
16053 * localedata/es_ES.UTF-8.in: Likewise.
16054 * localedata/fa_IR.UTF-8.in: Likewise.
16055 * localedata/fi_FI.UTF-8.in: Likewise.
16056 * localedata/fil_PH.UTF-8.in: Likewise.
16057 * localedata/fur_IT.UTF-8.in: Likewise.
16058 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16059 * localedata/ha_NG.UTF-8.in: Likewise.
16060 * localedata/ig_NG.UTF-8.in: Likewise.
16061 * localedata/ik_CA.UTF-8.in: Likewise.
16062 * localedata/kk_KZ.UTF-8.in: Likewise.
16063 * localedata/ku_TR.UTF-8.in: Likewise.
16064 * localedata/ky_KG.UTF-8.in: Likewise.
16065 * localedata/ln_CD.UTF-8.in: Likewise.
16066 * localedata/mi_NZ.UTF-8.in: Likewise.
16067 * localedata/ml_IN.UTF-8.in: Likewise.
16068 * localedata/mn_MN.UTF-8.in: Likewise.
16069 * localedata/mr_IN.UTF-8.in: Likewise.
16070 * localedata/mt_MT.UTF-8.in: Likewise.
16071 * localedata/nb_NO.UTF-8.in: Likewise.
16072 * localedata/om_KE.UTF-8.in: Likewise.
16073 * localedata/os_RU.UTF-8.in: Likewise.
16074 * localedata/ps_AF.UTF-8.in: Likewise.
16075 * localedata/ro_RO.UTF-8.in: Likewise.
16076 * localedata/ru_RU.UTF-8.in: Likewise.
16077 * localedata/sc_IT.UTF-8.in: Likewise.
16078 * localedata/se_NO.UTF-8.in: Likewise.
16079 * localedata/sq_AL.UTF-8.in: Likewise.
16080 * localedata/sv_SE.UTF-8.in: Likewise.
16081 * localedata/szl_PL.UTF-8.in: Likewise.
16082 * localedata/tg_TJ.UTF-8.in: Likewise.
16083 * localedata/tk_TM.UTF-8.in: Likewise.
16084 * localedata/tt_RU.UTF-8.in: Likewise.
16085 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
16086 * localedata/ug_CN.UTF-8.in: Likewise.
16087 * localedata/uz_UZ.UTF-8.in: Likewise.
16088 * localedata/vi_VN.UTF-8.in: Likewise.
16089 * localedata/yi_US.UTF-8.in: Likewise.
16090 * localedata/yo_NG.UTF-8.in: Likewise.
16091 * localedata/zh_CN.UTF-8.in: Likewise.
16092 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
16093 file and fix bugs in the collation.
16094 * localedata/locales/az_AZ: Likewise.
16095 * localedata/locales/be_BY: Likewise.
16096 * localedata/locales/ber_DZ: Likewise.
16097 * localedata/locales/ber_MA: Likewise.
16098 * localedata/locales/bg_BG: Likewise.
16099 * localedata/locales/br_FR: Likewise.
16100 * localedata/locales/br_FR@euro: Likewise.
16101 * localedata/locales/ca_ES: Likewise.
16102 * localedata/locales/cns11643_stroke: Likewise.
16103 * localedata/locales/crh_UA: Likewise.
16104 * localedata/locales/cs_CZ: Likewise.
16105 * localedata/locales/csb_PL: Likewise.
16106 * localedata/locales/cv_RU: Likewise.
16107 * localedata/locales/cy_GB: Likewise.
16108 * localedata/locales/da_DK: Likewise.
16109 * localedata/locales/dz_BT: Likewise.
16110 * localedata/locales/en_CA: Likewise.
16111 * localedata/locales/eo: Likewise.
16112 * localedata/locales/es_CU: Likewise.
16113 * localedata/locales/es_EC: Likewise.
16114 * localedata/locales/es_ES: Likewise.
16115 * localedata/locales/es_US: Likewise.
16116 * localedata/locales/et_EE: Likewise.
16117 * localedata/locales/fa_IR: Likewise.
16118 * localedata/locales/fi_FI: Likewise.
16119 * localedata/locales/fil_PH: Likewise.
16120 * localedata/locales/fur_IT: Likewise.
16121 * localedata/locales/gez_ER@abegede: Likewise.
16122 * localedata/locales/ha_NG: Likewise.
16123 * localedata/locales/hr_HR: Likewise.
16124 * localedata/locales/hsb_DE: Likewise.
16125 * localedata/locales/hu_HU: Likewise.
16126 * localedata/locales/ig_NG: Likewise.
16127 * localedata/locales/ik_CA: Likewise.
16128 * localedata/locales/is_IS: Likewise.
16129 * localedata/locales/iso14651_t1_pinyin: Likewise.
16130 * localedata/locales/kk_KZ: Likewise.
16131 * localedata/locales/ku_TR: Likewise.
16132 * localedata/locales/ky_KG: Likewise.
16133 * localedata/locales/ln_CD: Likewise.
16134 * localedata/locales/lt_LT: Likewise.
16135 * localedata/locales/lv_LV: Likewise.
16136 * localedata/locales/mi_NZ: Likewise.
16137 * localedata/locales/ml_IN: Likewise.
16138 * localedata/locales/mn_MN: Likewise.
16139 * localedata/locales/mr_IN: Likewise.
16140 * localedata/locales/mt_MT: Likewise.
16141 * localedata/locales/nb_NO: Likewise.
16142 * localedata/locales/om_KE: Likewise.
16143 * localedata/locales/os_RU: Likewise.
16144 * localedata/locales/pl_PL: Likewise.
16145 * localedata/locales/ps_AF: Likewise.
16146 * localedata/locales/ro_RO: Likewise.
16147 * localedata/locales/ru_RU: Likewise.
16148 * localedata/locales/ru_UA: Likewise.
16149 * localedata/locales/sc_IT: Likewise.
16150 * localedata/locales/se_NO: Likewise.
16151 * localedata/locales/si_LK: Likewise.
16152 * localedata/locales/sq_AL: Likewise.
16153 * localedata/locales/sv_FI: Likewise.
16154 * localedata/locales/sv_FI@euro: Likewise.
16155 * localedata/locales/sv_SE: Likewise.
16156 * localedata/locales/szl_PL: Likewise.
16157 * localedata/locales/tg_TJ: Likewise.
16158 * localedata/locales/ti_ER: Likewise.
16159 * localedata/locales/tk_TM: Likewise.
16160 * localedata/locales/tl_PH: Likewise.
16161 * localedata/locales/tr_TR: Likewise.
16162 * localedata/locales/tt_RU: Likewise.
16163 * localedata/locales/tt_RU@iqtelif: Likewise.
16164 * localedata/locales/ug_CN: Likewise.
16165 * localedata/locales/uk_UA: Likewise.
16166 * localedata/locales/uz_UZ: Likewise.
16167 * localedata/locales/uz_UZ@cyrillic: Likewise.
16168 * localedata/locales/vi_VN: Likewise.
16169 * localedata/locales/yi_US: Likewise.
16170 * localedata/locales/yo_NG: Likewise.
16172 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16174 * gen-locales.mk: Make test files which contain @ modifiers in their
16176 * localedata/gen-locale.sh: Likewise.
16178 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16180 * posix/tst-fnmatch.input: Fix results for range expressions
16182 * posix/tst-regexloc.c: Do not use a range expression for
16183 de_DE.ISO-8859-1 locale.
16185 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16187 * posix/bug-regex5.c: Fix test case because with the new
16188 iso14651_t1_common file, the da_DK locale now has 6 collating elements
16189 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
16192 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16194 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
16195 downloaded from ISO, the collation order of @-. and space has changed.
16196 Therefore, this test file needed to be adapted.
16197 * localedata/fr_CA.UTF-8.in: Likewise.
16198 * localedata/fr_FR.UTF-8.in: Likewise.
16199 * localedata/uk_UA.UTF-8.in: Likewise.
16201 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16203 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16204 order of ȥ in the new iso14651_t1_common file.
16205 * localedata/pl_PL.UTF-8.in: Likewise.
16207 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16209 * localedata/locales/iso14651_t1_common: Add sections for various
16210 scripts to the iso14651_t1_common file.
16212 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16214 * localedata/locales/iso14651_t1_common: Use the code point of a
16215 character in the fourth collation level instead of IGNORE for all
16216 entries which have IGNORE on all 4 levels.
16218 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16220 * localedata/locales/iso14651_t1_common: Add some convenient collation
16221 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16222 rules similar to those in CLDR.
16224 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16226 * localedata/locales/iso14651_t1_common: The new version of this
16227 file downloaded from ISO contained several syntax errors which
16228 are fixed by this patch.
16230 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16232 * localedata/locales/iso14651_t1_common: replace all <U.....>
16233 with <U000.....> because glibc understands only 4 digit or 8 digit
16235 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16237 * localedata/locales/iso14651_t1_common: Necessary changes
16238 to make the file downloaded from ISO usable by glibc.
16240 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16243 * localedata/locales/iso14651_t1_common: Update file to
16244 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16246 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16248 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16249 of <nptl/pthreadP.h>
16250 (thread_attr_compare): Move function to...
16251 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
16252 * sysdeps/nptl/timer_routines.h: ... new header.
16253 * sysdeps/mach/hurd/gai_misc.h: New file.
16255 2018-02-26 Joseph Myers <joseph@codesourcery.com>
16257 * string/strcoll_l.c: Include <libc-diag.h>.
16258 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16259 declarations of seq1 and seq2.
16262 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16263 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16265 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16269 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16270 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16271 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16272 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16273 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16274 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16276 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16278 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
16279 macros used in __ptrace_request.
16281 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
16284 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
16286 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
16287 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
16288 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
16291 2018-02-23 Joseph Myers <joseph@codesourcery.com>
16294 * ctype/ctype.c (tolower): Use libc_hidden_def.
16295 (toupper): Likewise.
16296 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
16297 [!_ISOMAC] (toupper): Likewise.
16299 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16301 * localedata/Makefile: Remove --quiet argument when
16304 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16307 * localedata/locales/pt_BR (LC_TIME): use / instead of -
16309 * localedata/locales/pt_PT (LC_TIME): likewise
16311 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16314 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
16315 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
16316 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
16318 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16322 * nptl/Makefile (routines): Remove unregister-atfork.
16323 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
16324 (fork_handler_alloc): Remove function.
16325 (fork_handlers, fork_handler_init): New variables.
16326 (__fork_lock): Rename to atfork_lock.
16327 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
16328 to use a dynamic array to add/remove atfork handlers.
16329 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16330 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
16331 Remove declaration.
16332 (fork_handler): Remove next, refcntr, and need_signal member.
16333 (__run_fork_handler_type): New enum.
16334 (__run_fork_handlers): New prototype.
16335 * nptl/register-atfork.c: Remove file.
16336 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
16338 * sysdeps/nptl/nptl-signals.h: Move to ...
16339 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
16341 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
16342 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
16343 unnecessary check for SIGTIMER.
16344 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
16345 remove unnecessary removal of SIGTIMER.
16346 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
16347 include-signals.h rename.
16348 * nptl/pthreadP.h: Likewise.
16349 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
16350 __is_internal_signal instead of __nptl_is_internal_signal.
16352 2018-02-22 Andrew Waterman <andrew@sifive.com>
16355 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
16356 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
16357 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
16358 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
16360 2018-02-22 DJ Delorie <dj@delorie.com>
16362 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
16364 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
16366 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
16367 do_misaligned, not misaligned8.
16369 2018-02-22 Steve Ellcey <sellcey@cavium.com>
16371 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
16372 Add memcpy_thunderx2.
16373 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16375 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
16376 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
16377 and IS_THUNDERX2PA checks.
16378 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
16379 Use macro to set name appropriately.
16380 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
16381 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
16382 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
16384 (IS_THUNDERX2): New macro.
16386 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
16388 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16390 2018-02-21 Zack Weinberg <zackw@panix.com>
16392 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
16393 Define here, unconditionally.
16394 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
16395 * libio/libioP.h: Remove #if 0 blocks.
16396 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
16397 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
16398 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
16400 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
16401 Assume weak_alias is always defined.
16403 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
16404 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
16405 Remove #if 0 and #ifdef TODO blocks.
16406 Assume text_set_element is always defined.
16408 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
16409 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
16410 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
16412 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
16413 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
16414 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
16415 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
16416 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
16417 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
16418 Reformat bit flags for _flags field to make occupancy clearer.
16420 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
16421 Keep definitions consistent with those in libio/libio.h.
16423 * libio/libio.h (_IO_file_flags): Remove macro.
16424 All uses changed to _flags.
16426 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
16427 (__HAVE_COLUMN, _IO_BE): Don't define.
16428 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
16429 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
16430 * libio/libioP.h (EOF): Don't define.
16431 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
16432 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
16433 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
16434 testing _IO_UNIFIED_JUMPTABLES.
16436 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
16437 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
16438 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
16439 (_IO_size_t): Delete; all uses changed to size_t.
16440 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
16441 (_IO_off_t): Delete; all uses changed to off_t.
16442 (_IO_off64_t): Delete; all uses changed to off64_t.
16443 (_IO_pid_t): Delete; all uses changed to pid_t.
16444 (_IO_uid_t): Delete; all uses changed to uid_t.
16445 (_IO_wint_t): Delete; all uses changed to wint_t.
16446 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
16447 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
16448 (_IO_cookie_io_functions_t): Delete; all uses changed to
16449 cookie_io_functions_t.
16450 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
16451 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
16452 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
16453 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
16455 * libio/iofopncook.c: Remove unnecessary forward declarations.
16456 * libio/iolibio.h: Correct outdated commentary.
16457 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
16458 * stdio-common/fxprintf.c (__fxprintf_nocancel):
16459 Remove unnecessary casts.
16460 * stdio-common/getline.c: Use _IO_getdelim directly.
16461 Don't redefine ssize_t.
16462 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
16463 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
16464 Remove outdated comments.
16465 * stdio-common/vfscanf.c: Don't redefine va_list.
16467 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
16468 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
16469 Remove preprocessor conditionals on _LIBC and __USE_GNU,
16470 which are always true, and __cplusplus, which is always false.
16472 2018-02-21 Joseph Myers <joseph@codesourcery.com>
16476 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
16477 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
16478 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
16479 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
16481 [!_ISOMAC] (putc_unlocked): Likewise.
16482 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
16483 define inline if [__USE_EXTERN_INLINES].
16484 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
16489 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
16490 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
16491 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
16492 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
16493 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
16495 * time/tzfile.c (__tzfile_read): Likewise.
16497 2018-02-21 Mike FABIAN <mfabian@redhat.com>
16500 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
16502 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16504 * io/fcntl.h: Fix a typo in a comment.
16506 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16509 * include/features.h: Add _ISOC11_SOURCE to test for whether to
16510 define _DEFAULT_SOURCE.
16511 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
16513 2018-02-21 Florian Weimer <fweimer@redhat.com>
16516 * elf/cache.c (save_cache): Call fsync on temporary file before
16518 (save_aux_cache): Call fdatasync on temporary file before renaming
16521 2018-02-21 Florian Weimer <fweimer@redhat.com>
16524 * include/caller.h: Remove file.
16525 * elf/dl-caller.c: Likewise.
16526 * elf/Makefile (dl-routines): Remove dl-caller.
16527 (shared-only-routines): Do not add dl-caller.
16528 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
16530 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
16532 (dl_open_worker): Do not call __check_caller.
16533 (_dl_open): Do not set caller_dl_open member.
16534 * elf/rtld.c (_rtld_global_ro): Do not initialize
16535 _dl_check_caller member.
16536 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
16537 _dl_check_caller member.
16538 (_dl_check_caller): Remove declaration.
16539 * sysdeps/unix/sysv/linux/dl-execstack.c
16540 (_dl_make_stack_executable): Do not call __check_caller.
16542 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
16544 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
16545 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
16547 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16549 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
16552 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16555 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
16556 of 199606L, 200112L, and 200809L.
16557 (_XOPEN_SOURCE): Document special values of 600 and 700.
16558 (_ISOC11_SOURCE): Document macro.
16559 (_ATFILE_SOURCE): Likewise.
16560 (_FORTIFY_SOURCE): Likewise.
16562 2018-02-19 Joseph Myers <joseph@codesourcery.com>
16566 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
16567 and define as weak alias of __ferror_unlocked. Use
16569 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
16571 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
16572 function if [__USE_EXTERN_INLINES].
16573 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
16576 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
16579 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
16581 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16584 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
16585 the GLIBC_2.1 version.
16587 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16590 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
16591 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
16592 intl/tst-gettext-de.po from po/de.po by removing the
16593 POT-Creation-Date line.
16594 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
16596 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
16599 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16601 * mach/Makefile (headers): Add mach/param.h.
16602 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
16603 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
16604 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
16605 (__ptsname_r): Move implementation to...
16606 (__ptsname_internal): ... new function. Add filling the STP
16609 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
16611 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
16614 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
16616 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
16619 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16621 * nptl/Makefile (tst-mutex8-ENV): Delete.
16622 * nptl/tst-mutex8.c (check_type):
16623 Add runtime check if mutex will be elided.
16625 2018-02-15 Joseph Myers <joseph@codesourcery.com>
16629 * manual/install.texi (Configuring and compiling): Describe
16630 passing CC and CFLAGS on configure command line, not as
16631 environment variables. Use @code markup on those variables.
16632 Specify what options go in CC and what go in CFLAGS. Note the
16633 requirement to compile with optimization.
16634 * INSTALL: Regenerated.
16637 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
16638 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
16639 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16640 __sigprocmask instead of sigprocmask.
16641 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16643 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16644 __sigsetjmp and sigprocmask.
16647 * include/argz.h (argz_next): Use libc_hidden_proto.
16648 (__argz_next): Likewise.
16649 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16650 (argz_next): Use libc_hidden_weak.
16653 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16655 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16659 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16661 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16665 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16666 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16667 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16668 (__feof_unlocked): New declaration, and inline function if
16669 [__USE_EXTERN_INLINES].
16670 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16671 instead of feof_unlocked.
16672 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16673 * nss/nsswitch.c (nss_parse_file): Likewise.
16674 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16676 * time/getdate.c (__getdate_r): Likewise.
16677 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16678 Define as macro to call __feof_unlocked.
16680 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16682 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16684 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16686 * math/Makefile: Remove mpexp.c and mplog.c
16687 * sysdeps/i386/fpu/mpexp.c: Delete file.
16688 * sysdeps/i386/fpu/mplog.c: Likewise.
16689 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16690 * sysdeps/ia64/fpu/mplog.c: Likewise.
16691 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16692 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16693 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16694 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16695 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16696 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16697 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16698 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16699 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16700 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16701 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16702 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16703 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16704 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16705 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16706 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16708 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16710 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16712 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16714 * sysdeps/sh/libm-test-ulps: Update.
16716 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16718 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16721 2018-02-12 Zack Weinberg <zackw@panix.com>
16724 * posix/sys/types.h: Don't include sys/sysmacros.h.
16725 * misc/sys/sysmacros.h: Remove the conditional deprecation
16726 warnings for the macros defined by this header.
16728 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16730 * manual/probes.texi: Remove slowexp probes.
16731 * math/Makefile: Remove slowexp.
16732 * sysdeps/generic/math_private.h (__slowexp): Remove.
16733 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16734 document error bounds.
16735 * sysdeps/i386/fpu/slowexp.c: Remove.
16736 * sysdeps/ia64/fpu/slowexp.c: Remove.
16737 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16738 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16739 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16740 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16741 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16742 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16743 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16744 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16745 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16746 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16747 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16749 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16752 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16753 * benchtests/pow-inputs: Update comment for slow path cases.
16754 * manual/probes.texi (slowpow_p10): Delete removed probe.
16755 (slowpow_p10): Likewise.
16756 * math/Makefile: Remove halfulp.c and slowpow.c.
16757 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16758 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16759 (__halfulp): Remove.
16760 (__slowpow): Remove.
16761 * sysdeps/i386/fpu/halfulp.c: Delete file.
16762 * sysdeps/i386/fpu/slowpow.c: Likewise.
16763 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16764 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16765 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16766 improve comments and add error analysis.
16767 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16768 (power1): Remove function:
16769 (log1): Remove error argument, add error analysis.
16770 (my_log2): Remove function.
16771 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16772 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16773 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16774 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16775 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16776 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16777 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16778 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16779 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16780 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16781 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16782 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16783 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16784 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16786 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16788 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16789 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16791 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16794 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16795 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16796 and PTRACE_SETHBPREGS.
16798 2018-02-10 Zack Weinberg <zackw@panix.com>
16801 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16803 * malloc/tst-malloc-stats-cancellation.c: New test case.
16804 * malloc/Makefile: Add new test case.
16806 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16808 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16810 2018-02-10 Joseph Myers <joseph@codesourcery.com>
16812 * math/Makefile (libm-narrow-fns): Add add.
16813 (libm-test-funcs-narrow): Likewise.
16814 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16815 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16816 * math/gen-auto-libm-tests.c (test_functions): Add add.
16817 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16818 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16819 (NARROW_ADD_TRIVIAL): Likewise.
16820 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
16822 (__daddl): Likewise.
16823 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
16825 (CFLAGS-nldbl-dadd.c): New variable.
16826 (CFLAGS-nldbl-fadd.c): Likewise.
16827 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16829 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
16831 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
16832 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
16833 * math/auto-libm-test-in: Add tests of add.
16834 * math/auto-libm-test-out-narrow-add: New generated file.
16835 * math/libm-test-narrow-add.inc: New file.
16836 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16837 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
16838 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
16839 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
16840 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
16841 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
16842 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
16843 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
16844 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
16845 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
16846 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
16847 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
16848 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
16849 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
16850 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
16851 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16852 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16853 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16855 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16856 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16857 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16858 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16859 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16860 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16861 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16862 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16863 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16864 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16865 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16866 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16867 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16872 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16873 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16874 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16875 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16876 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16877 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16878 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16879 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16880 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16881 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16883 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16884 (f128-pairs): New variable.
16885 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16886 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16888 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16889 Also make tests add $(f128-loader-link) to gnulib-tests.
16891 2018-02-09 DJ Delorie <dj@redhat.com>
16894 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16895 64-bit ELF type for 64-bit ELF objects.
16897 2018-02-09 Joseph Myers <joseph@codesourcery.com>
16899 * math/libm-test-driver.c (snan_tests_arg): New variable.
16900 * math/libm-test-support.h (snan_tests_arg): New declaration.
16901 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16903 * math/Makefile (test-type-pairs): New variable.
16904 (test-type-pairs-f64xf128-yes): Likewise.
16905 (tests): Add test-narrow-macros.
16906 (libm-test-funcs-narrow): New variable.
16907 (libm-test-c-narrow): Likewise.
16908 (generated): Add $(libm-test-c-narrow).
16909 (libm-tests-base-narrow): New variable.
16910 (libm-tests-narrow): Likewise.
16911 (libm-tests): Add $(libm-tests-narrow).
16912 (libm-tests-for-type): Handle $(libm-tests-narrow).
16913 (libm-test-c-narrow-obj): New variable.
16914 ($(libm-test-c-narrow-obj)): New rule.
16915 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16916 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16917 $(o-iterator) to set dependencies and CFLAGS.
16918 * math/gen-auto-libm-tests.c: Document use for narrowing
16920 (output_for_one_input_case): Take argument NARROW.
16921 (generate_output): Likewise. Update call to
16922 output_for_one_input_case.
16923 (main): Take --narrow option. Update call to generate_output.
16924 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16925 (apply_lit): Update call to _apply_lit.
16926 (apply_arglit): New function.
16927 (parse_args): Handle "a" arguments.
16928 (parse_auto_input): Handle format names using ":".
16929 * math/README.libm-test: Document "a" parameter type.
16930 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16931 (ARG_TYPE_TRUE_MIN): Likewise.
16932 (ARG_TYPE_MAX): Likwise.
16933 (ARG_MIN_EXP): Likewise.
16934 (ARG_MAX_EXP): Likewise.
16935 (ARG_MANT_DIG): Likewise.
16936 (TEST_COND_arg_ibm128): Likewise.
16937 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16938 (TEST_COND_arg_fmt): New macro.
16939 (init_max_error): Update prototype.
16940 * math/libm-test-support.c (test_ibm128): New variable.
16941 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16942 instead of using [TEST_COND_ibm128] conditional.
16943 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16944 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16945 [TEST_NARROW] (TEST_MSG): New definition.
16946 (arg_plus_zero): New macro.
16947 (arg_minus_zero): Likewise.
16948 (arg_plus_infty): Likewise.
16949 (arg_minus_infty): Likewise.
16950 (arg_qnan_value_pl): Likewise.
16951 (arg_qnan_value): Likewise.
16952 (arg_snan_value_pl): Likewise.
16953 (arg_snan_value): Likewise.
16954 (arg_max_value): Likewise.
16955 (arg_min_value): Likewise.
16956 (arg_min_subnorm_value): Likewise.
16957 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16958 (RUN_TEST_LOOP_aa_f): New macro.
16959 (TEST_SUFF): New macro.
16960 (TEST_SUFF_STR): Likewise.
16961 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16962 (TEST_COND_any_ibm128): New macro.
16963 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16964 this_func. Update call to init_max_error.
16965 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16966 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16967 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16968 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16969 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16970 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16971 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16972 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16973 * math/test-math-vector.h (TEST_NARROW): Likewise.
16974 * math/test-arg-double.h: New file.
16975 * math/test-arg-float128.h: Likewise.
16976 * math/test-arg-float32x.h: Likewise.
16977 * math/test-arg-float64.h: Likewise.
16978 * math/test-arg-float64x.h: Likewise.
16979 * math/test-arg-ldouble.h: Likewise.
16980 * math/test-math-narrow.h: Likewise.
16981 * math/test-narrow-macros.c: Likewise.
16982 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16983 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16984 test-narrow-macros-ldbl-64.
16985 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16987 * math/bits/mathcalls-narrow.h: New file.
16988 * include/bits/mathcalls-narrow.h: Likewise.
16989 * math/math-narrow.h: Likewise.
16990 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16991 (__MATHCALL_NARROW_ARGS_2): Likewise.
16992 (__MATHCALL_NARROW_ARGS_3): Likewise.
16993 (__MATHCALL_NARROW_NORMAL): Likewise.
16994 (__MATHCALL_NARROW_REDIR): Likewise.
16995 (__MATHCALL_NARROW): Likewise.
16996 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16997 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16999 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17000 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17001 (libm-narrow-fns): New variable.
17002 (libm-narrow-types-basic): Likewise.
17003 (libm-narrow-types-ldouble-yes): Likewise.
17004 (libm-narrow-types-float128-yes): Likewise.
17005 (libm-narrow-types-float128-alias-yes): Likewise.
17006 (libm-narrow-types): Likewise.
17007 (libm-routines): Add narrowing functions.
17008 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17009 (libc_feholdexcept_setroundf128): New macro.
17010 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17011 * sysdeps/ieee754/float128/float128_private.h: Include
17012 <math/math-narrow.h>.
17013 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17014 Undefine and redefine.
17015 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17016 (libm_alias_float_ldouble): Undefine and redefine.
17017 (libm_alias_double_ldouble): Likewise.
17019 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17021 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17023 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17026 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
17028 * manual/creature.texi: Convert references to gcc.info to gcc.
17029 * manual/stdio.texi: Likewise.
17030 * manual/string.texi: Likewise.
17032 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17035 * posix/bits/types.h (__int_least8_t): New typedef.
17036 (__uint_least8_t): Likewise.
17037 (__int_least16_t): Likewise.
17038 (__uint_least16_t): Likewise.
17039 (__int_least32_t): Likewise.
17040 (__uint_least32_t): Likewise.
17041 (__int_least64_t): Likewise.
17042 (__uint_least64_t): Likewise.
17043 * sysdeps/generic/stdint.h (int_least8_t): Define using
17045 (int_least16_t): Define using __int_least16_t.
17046 (int_least32_t): Define using __int_least32_t.
17047 (int_least64_t): Define using __int_least64_t.
17048 (uint_least8_t): Define using __uint_least8_t.
17049 (uint_least16_t): Define using __uint_least16_t.
17050 (uint_least32_t): Define using __uint_least32_t.
17051 (uint_least64_t): Define using __uint_least64_t.
17052 * wcsmbs/uchar.h: Include <bits/types.h>.
17053 (char16_t): Define using __uint_least16_t conditional only on
17055 (char32_t): Define using __uint_least32_t conditional only on
17057 * wcsmbs/test-char-types.c: New file.
17058 * wcsmbs/Makefile (tests): Add test-char-types.
17060 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17063 2018-02-07 Zack Weinberg <zackw@panix.com>
17065 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17066 Delete all contents except for definitions of _G_HAVE_MMAP and
17067 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17068 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17069 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17072 * libio/libio.h: Don't include bits/_G_config.h here.
17073 Include stddef.h with __need_wchar_t defined. Include
17074 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17075 Define _IO_iconv_t here, directly.
17076 Don't define _IO_HAVE_ST_BLKSIZE.
17077 * libio/libioP.h: Include _G_config.h here. Move include of
17078 shlib-compat.h up with rest of includes. Simplify conditionals
17079 controlling definition of _IO_JUMPS_OFFSET.
17081 * csu/init.c: Remove always-true #if around entire file.
17082 Don't include stdio.h. Set _IO_stdin_used to hardwired
17083 constant 0x20001, and update commentary.
17084 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
17085 Replace all uses of _G_va_list with __gnuc_va_list.
17086 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
17087 instead of #if _IO_HAVE_ST_BLKSIZE.
17088 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
17089 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
17092 * libio/bits/libio.h: Move back to libio/libio.h and adjust
17093 multiple-include guard to match.
17094 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
17096 Remove preprocessor conditionals that are always true and/or
17097 redundant to other preprocessor conditionals in the same nest.
17098 Include shlib-compat.h unconditionally.
17099 Error out if _LIBC is not defined, or if _ISOMAC is defined,
17100 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
17101 defined after including stdio.h.
17102 Use __BEGIN_DECLS/__END_DECLS.
17104 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
17105 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
17106 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
17108 2018-02-07 Zack Weinberg <zackw@panix.com>
17110 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
17111 New single-type headers split from _G_config.h.
17112 * libio/bits/types/cookie_io_functions_t.h
17113 * libio/bits/types/struct_FILE.h
17114 New single-type headers split from libio.h.
17116 * libio/Makefile: Install the above new headers. Don't install
17117 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
17119 * libio/_G_config.h, libio/libio.h: Delete file.
17121 * libio/bits/libio.h: Remove improper-inclusion guard.
17122 Include stdio.h and don't repeat anything that it does.
17123 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
17124 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
17125 __io_read_fn as cookie_read_function_t,
17126 __io_write_fn as cookie_write_function_t,
17127 __io_seek_fn as cookie_seek_function_t,
17128 __io_close_fn as cookie_close_function_t,
17129 and _IO_cookie_io_functions_t as cookie_io_functions_t.
17130 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
17131 here, in the "compatibility defines" section. Remove an #if 0
17132 block. Use the "body" macros from bits/types/struct_FILE.h to
17133 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
17134 and _IO_ferror_unlocked.
17135 Move prototypes of __uflow and __overflow...
17137 * libio/stdio.h: ...here. Don't include bits/libio.h.
17138 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
17139 directly from stdarg.h. Include bits/types/__fpos_t.h,
17140 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
17141 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
17142 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
17143 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
17144 cookie_io_functions_t, not _IO_cookie_io_functions_t;
17145 __ssize_t, not _IO_ssize_t. Unconditionally define
17146 BUFSIZ as 8192 and EOF as (-1).
17148 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
17149 macros from bits/types/struct_FILE.h instead of _IO_* macros
17150 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
17151 instead of _IO_ssize_t.
17152 * libio/bits/stdio2.h: Similarly.
17154 * libio/iolibio.h: Add multiple-include guard.
17155 Include bits/libio.h after stdio.h.
17156 * libio/libioP.h: Add multiple-include guard.
17157 Include stdio.h and bits/libio.h before iolibio.h.
17159 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
17160 * include/bits/types/cookie_io_functions_t.h
17161 * include/bits/types/struct_FILE.h: New wrappers.
17163 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
17164 Get definitions of _G_fpos_t and _G_fpos64_t from
17165 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
17166 respectively. Remove improper-inclusion guards.
17168 * conform/data/stdio.h-data: Update expectations of va_list.
17169 * scripts/check-installed-headers.sh: Remove special case for
17170 libio.h and _G_config.h.
17172 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17176 * include/sys/sysmacros.h [!_ISOMAC]
17177 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
17178 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
17179 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
17180 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
17182 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
17183 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
17185 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
17186 Undefine and redefine to add use __gnu_dev_ prefix.
17187 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
17189 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
17190 and define as hidden inline function.
17191 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
17193 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
17195 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
17196 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
17197 (gnu_dev_minor): Likewise.
17198 (gnu_dev_makedev): Likewise.
17199 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
17201 * posix/wordexp.c (exec_comm_child): Likewise.
17202 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17203 instead of minor and __gnu_dev_major instead of major.
17204 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17205 __gnu_dev_major instead of major.
17206 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17207 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17208 instead of gnu_dev_minor.
17209 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17210 (SLAVE_P): Likewise.
17211 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17212 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17216 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17218 * locale/weightwc.h (findidx): Likewise.
17220 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17222 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17223 (slowlog_inexact): Likewise
17224 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17225 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17227 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17230 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17231 missing second underscore to parameter name.
17233 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17239 * bits/byteswap.h: Update file comment. Do not include
17240 <bits/byteswap-16.h>.
17241 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17243 (__bswap_16): Define as inline function.
17244 (__bswap_constant_32): Reformat definition.
17245 (__bswap_32): Always define as inline function, not macro, using
17246 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17247 otherwise __bswap_constant_32.
17248 (__bswap_constant_64): Reformat definition. Do not use
17249 __extension__ here.
17250 (__bswap_64): Always define as inline function, not macro. Use
17251 __extension__ on function definition. Use __builtin_bswap64 if
17252 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17253 * string/test-endian-file-scope.c: New file.
17254 * string/test-endian-sign-conversion.c: Likewise.
17255 * string/Makefile (headers): Remove bits/byteswap-16.h.
17256 (tests): Add test-endian-file-scope and
17257 test-endian-sign-conversion.
17258 (CFLAGS-test-endian-sign-conversion.c): New variable.
17259 * bits/byteswap-16.h: Remove file.
17260 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17261 * sysdeps/ia64/bits/byteswap.h: Likewise.
17262 * sysdeps/m68k/bits/byteswap.h: Likewise.
17263 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17264 * sysdeps/s390/bits/byteswap.h: Likewise.
17265 * sysdeps/tile/bits/byteswap.h: Likewise.
17266 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17267 * sysdeps/x86/bits/byteswap.h: Likewise.
17270 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17271 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17272 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17273 199901L] (__restrict): Define to restrict.
17276 * string/testcopy.c: Include <support/support.h>. Do not include
17277 <malloc.h>. Use <support/test-driver.c>.
17278 (main): Rename to do_test. Make static. Use xmalloc instead of
17282 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
17283 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
17284 (SSIZE_MAX): Define to INT_MAX.
17285 * posix/test-ssize-max.c: New file.
17286 * posix/Makefile (tests): Add test-ssize-max.
17289 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
17290 <support/support.h>. Do not include <malloc.h>.
17291 (query_auxv): Use xmalloc instead of malloc.
17294 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
17295 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
17298 2018-02-06 Florian Weimer <fweimer@redhat.com>
17301 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17302 Use scratch_buffer instead of extend_alloca.
17304 2018-02-06 Zack Weinberg <zackw@panix.com>
17306 * libio/stdio.h: Don't define getc or putc as macros.
17307 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
17308 not _IO_getc and _IO_putc.
17310 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
17311 * stdio-common/tstgetln.c: Don't redefine ssize_t.
17313 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17315 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
17316 (TCP_FASTOPEN_NO_COOKIE): Likewise.
17318 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
17321 * elf/elf.h (NT_PRFPREG): New macro.
17322 (NT_S390_VXRS_LOW): Likewise.
17323 (NT_S390_VXRS_HIGH): Likewise.
17324 (NT_S390_GS_CB): Likewise.
17325 (NT_S390_GS_BC): Likewise.
17326 (NT_S390_RI_CB): Likewise.
17328 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17329 (MAP_SYNC): New macro.
17330 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
17332 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17333 (MAP_SYNC): Likewise.
17334 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17335 (MAP_SYNC): Likewise.
17336 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17337 (MAP_SYNC): Likewise.
17338 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17339 (MAP_SYNC): Likewise.
17340 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17341 (MAP_SYNC): Likewise.
17342 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17343 (MAP_SYNC): Likewise.
17344 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
17346 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
17349 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
17350 (MAP_SHARED_VALIDATE): New macro.
17351 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17352 (MAP_SHARED_VALIDATE): Likewise.
17354 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17356 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
17357 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
17358 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17360 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17362 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
17363 (DT_NUM): Updated to 35.
17365 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17367 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
17368 __builtin_expect with __glibc_likely and __glibc_unlikely.
17369 (elf_machine_rela): Likewise.
17370 (elf_machine_lazy_rel): Likewise.
17372 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17374 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
17375 __builtin_expect with __glibc_likely and __glibc_unlikely.
17376 (elf_machine_lazy_rel): Likewise.
17378 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17381 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
17383 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
17385 2018-02-05 Andreas Schwab <schwab@suse.de>
17388 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
17391 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17393 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
17394 not check against PTHREAD_STACK_MIN.
17396 2018-02-02 Sean McKean <smckean83@gmail.com>
17399 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
17401 2018-02-02 Florian Weimer <fweimer@redhat.com>
17404 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
17405 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17406 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17407 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
17408 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17409 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17410 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17411 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
17412 * manual/llio.texi (Scatter-Gather): Mention offset -1.
17413 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
17414 * misc/tst-preadvwritev2.c (do_test): Call it.
17415 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
17417 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17419 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
17421 * benchtests/bench-memcmp.c: Print json instead of plain text.
17423 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
17426 2018-02-01 Joseph Myers <joseph@codesourcery.com>
17428 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17430 (s390_sthyi): New syscall.
17432 * sysdeps/generic/ldbl-classify-compat.h: New file.
17433 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
17434 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
17435 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
17436 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
17437 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
17438 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
17439 * sysdeps/ieee754/dbl-64/s_finite.c: Include
17440 <ldbl-classify-compat.h>.
17441 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17442 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
17443 <ldbl-classify-compat.h>.
17444 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17445 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
17446 <ldbl-classify-compat.h>.
17447 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17448 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
17449 <ldbl-classify-compat.h>.
17450 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17451 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
17452 <ldbl-classify-compat.h>.
17453 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17454 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
17455 <ldbl-classify-compat.h>.
17456 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17457 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
17458 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17459 * sysdeps/m68k/coldfire/math_private.h: Remove file.
17460 * sysdeps/microblaze/math_private.h: Likewise.
17461 * sysdeps/nios2/math_private.h: Likewise.
17462 * sysdeps/sh/math_private.h: Likewise.
17464 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
17465 * sysdeps/m68k/coldfire/math_private.h: ... here.
17466 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
17467 * sysdeps/tile/math_private.h: Likewise.
17468 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
17470 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
17473 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
17475 (libc_fetestexcept): Likewise.
17476 (libc_feupdateenv_test): Likewise.
17477 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
17478 (libc_fetestexcept): Likewise.
17479 (libc_feupdateenv_test): Likewise.
17480 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
17481 (libc_fetestexcept): Likewise.
17482 (libc_feupdateenv_test): Likewise.
17483 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
17484 (libc_fetestexcept): Likewise.
17485 (libc_feupdateenv_test): Likewise.
17487 * sysdeps/generic/math_private.h
17488 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
17489 New inline function.
17490 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
17493 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
17494 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
17495 * sysdeps/generic/math_private.h
17496 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
17498 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
17500 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
17502 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
17504 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
17506 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
17508 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
17509 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
17510 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
17511 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
17512 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
17513 (__fegetenv): Likewise.
17514 (fesetenv): Likewise.
17515 (__fesetenv): Likewise.
17516 (feupdateenv): Likewise.
17517 (__feupdateenv): Likewise.
17518 (fegetround): Likewise.
17519 (__fegetround): Likewise.
17520 (fesetround): Likewise.
17521 (__fesetround): Likewise.
17523 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
17524 (feraiseexcept): New macro.
17525 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
17526 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
17528 (__feraiseexcept): Likewise.
17529 (feclearexcept): Likewise.
17530 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
17531 (__feraiseexcept): Likewise.
17532 (feclearexcept): Likewise.
17533 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
17534 (__feraiseexcept): Likewise.
17535 (feclearexcept): Likewise.
17536 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
17537 (__feraiseexcept): Likewise.
17538 (feclearexcept): Likewise.
17539 (fetestexcept): Likewise.
17541 * sysdeps/m68k/coldfire/math-tests.h: New file.
17543 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
17544 * sysdeps/m68k/bits/fenv.h: ... here.
17545 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
17547 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
17549 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
17551 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
17553 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
17555 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
17557 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
17558 (__FE_UNDEFINED): New enum constant.
17559 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
17561 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
17563 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
17565 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
17566 to match generic bits/fenv.h.
17567 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
17570 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
17572 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
17573 * soft-fp/half.h (union _FP_UNION_H): Likewise.
17574 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
17575 * soft-fp/single.h (union _FP_UNION_S): Likewise.
17577 2018-02-01 Carlos O'Donell <carlos@redhat.com>
17578 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
17579 Joseph Myers <joseph@codesourcery.com>
17582 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
17583 (__log1p): Disable -Wmaybe-uninitialized for -Os around
17584 computation using c.
17585 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
17586 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
17587 computation using c.
17589 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17591 * version.h (RELEASE): Set to "development".
17592 (VERSION): Set to "2.27.9000".
17593 * NEWS (2.28): New section.
17595 * version.h (RELEASE): Set to "stable".
17596 (VERSION): Set to "2.27".
17597 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
17599 * NEWS: Add the list of bugs fixed in 2.27.
17601 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17603 * stdlib/test-atexit-race-common.c (do_test): Check stack size
17604 against PTHREAD_STACK_MIN.
17606 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17608 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
17610 (Rafal Luzynski, Andreas Schwab): Update.
17612 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
17615 * NEWS: List the languages which actually use the alternative
17616 months feature in this release. Also explain that "alt_mon" and
17617 "ab_alt_mon" are optional.
17619 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
17622 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
17624 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
17626 * manual/install.texi (Tools for Compilation): Update the newest
17627 versions of gcc, binutils, texinfo, gawk, bison, and sed.
17628 * INSTALL: Regenerated.
17630 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17632 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
17633 instead of __builtin_expect.
17635 2018-01-30 Florian Weimer <fweimer@redhat.com>
17637 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
17639 * nss/tst-nss-getpwent.c (do_test): Likewise.
17641 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17644 * localedata/locales/hr_HR (mon): Rename to...
17646 (mon): Import from CLDR (genitive case).
17647 (d_t_fmt): Update the comment.
17649 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17651 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17652 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17653 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17655 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17657 * mach/Versions: Fix version when __mach_host_self_ was added.
17658 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17659 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17660 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17661 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17662 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17663 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17664 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17665 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17666 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17667 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17668 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17669 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
17670 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17671 || to respect codestyle.
17672 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17673 (do_test_bz20181): Rename accordingly.
17674 * malloc/malloc.c: Include <assert.h>.
17675 (assert): Do not define.
17676 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
17677 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17678 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
17679 * sysdeps/mach/hurd/hp-timing.h: New file.
17680 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
17682 2018-01-29 Darius Rad <darius@bluespec.com>
17684 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17686 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
17688 * sysdeps/init_array/crti.S (.section .init_array): Add
17689 PREINIT_FUNCTION when defined.
17690 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
17691 * config.h.in: Regenerate.
17692 * manual/platform.texi: Add RISC-V documenation for
17693 __riscv_flush_icache.
17694 * sysdeps/riscv/__longjmp.S: New file.
17695 * sysdeps/riscv/backtrace.c: Likewise.
17696 * sysdeps/riscv/bits/endian.h: Likewise.
17697 * sysdeps/riscv/bits/setjmp.h: Likewise.
17698 * sysdeps/riscv/bits/wordsize.h: Likewise.
17699 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17700 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17701 * sysdeps/riscv/dl-trampoline.S: Likewise.
17702 * sysdeps/riscv/gccframe.h: Likewise.
17703 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17704 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17705 * sysdeps/riscv/machine-gmon.h: Likewise.
17706 * sysdeps/riscv/memusage.h: Likewise.
17707 * sysdeps/riscv/setjmp.S: Likewise.
17708 * sysdeps/riscv/sys/asm.h: Likewise.
17709 * sysdeps/riscv/tls-macros.h: Likewise.
17710 * sysdeps/riscv/dl-tls.h: New file.
17711 * sysdeps/riscv/libc-tls.c: Likewise.
17712 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17713 * sysdeps/riscv/nptl/tls.h: Likewise.
17714 * sysdeps/riscv/stackinfo.h: Likewise.
17715 * sysdeps/riscv/bits/fenv.h: New file.
17716 * sysdeps/riscv/e_sqrtl.c: Likewise.
17717 * sysdeps/riscv/fpu_control.h: Likewise.
17718 * sysdeps/riscv/math-tests.h: Likewise.
17719 * sysdeps/riscv/nofpu/Implies: Likewise.
17720 * sysdeps/riscv/sfp-machine.h: Likewise.
17721 * sysdeps/riscv/tininess.h: Likewise.
17722 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17723 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17724 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17725 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17726 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17727 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17728 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17729 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17730 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17731 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17732 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17733 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17734 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17735 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17736 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17737 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17738 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17739 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17740 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17741 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17742 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17743 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17744 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17745 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17746 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17747 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17748 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17749 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17750 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17751 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17752 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17753 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17754 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17755 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17756 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17757 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17758 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17759 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17760 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17761 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17762 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17763 * sysdeps/riscv/rvf/math_private.h: Likewise.
17764 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17765 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17766 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17767 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17768 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17769 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17770 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17771 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17772 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17773 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17774 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17775 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17776 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17777 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17778 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17779 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
17780 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17781 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17782 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17783 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
17784 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17785 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17786 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17787 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17788 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17789 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17790 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17791 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17792 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
17793 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17794 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17795 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17796 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17797 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17798 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17799 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17800 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17801 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17802 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17803 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17804 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17805 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17806 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17807 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17808 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17809 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17810 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17811 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17812 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17813 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17814 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
17815 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17816 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17817 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
17818 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17819 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17820 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
17821 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
17822 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
17823 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
17824 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17825 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17826 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17827 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17828 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17829 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17830 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17831 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17832 * sysdeps/riscv/Implies: New file.
17833 * sysdeps/riscv/Makefile: Likewise.
17834 * sysdeps/riscv/configure: Likewise.
17835 * sysdeps/riscv/configure.ac: Likewise.
17836 * sysdeps/riscv/nptl/Makefile: Likewise.
17837 * sysdeps/riscv/preconfigure: Likewise.
17838 * sysdeps/riscv/rv64/Implies-after: Likewise.
17839 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
17840 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
17841 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
17842 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
17843 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
17844 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
17845 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
17846 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
17847 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
17848 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
17849 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
17850 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
17851 (Config): Likewise.
17853 2018-01-29 Florian Weimer <fweimer@redhat.com>
17856 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17857 libnsl_hidden_proto.
17858 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17859 libnsl_hidden_proto.
17860 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17861 * nis/Makefile (libnsl-routines): Add nss-default only for
17862 build-obsolete-nsl.
17863 * nis/nis_defaults.c (__nis_default_ttl): Add
17864 libnsl_hidden_nolink_def.
17865 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17867 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17868 * nis/ypclnt.c (yp_maplist): Likewise.
17870 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17872 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17873 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17875 2018-01-29 Joseph Myers <joseph@codesourcery.com>
17877 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17878 clean -dxfq for git updates when replacing sources.
17880 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17881 --disable-libcilkrts unconditionally, not just for the final GCC
17884 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17887 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17890 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17893 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17896 * localedata/locales/be_BY (mon): Rename to...
17897 (alt_mon): This, then synchronize with CLDR (nominative case).
17898 (abmon): Rename to...
17899 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17900 (mon): Import from CLDR (genitive case).
17902 * localedata/locales/be_BY@latin (mon): Rename to...
17904 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17906 * localedata/locales/be_BY@latin (lang_name): Reworded to
17907 "biełaruskaja mova".
17909 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17912 * localedata/locales/el_CY (mon): Renamed to...
17914 (mon): Import from CLDR (genitive case).
17915 * localedata/locales/el_GR: Likewise.
17917 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17920 * localedata/locales/ru_RU (mon): Rename to...
17922 (abmon): Rename to...
17923 (ab_alt_mon): This.
17924 (mon): Import from CLDR (genitive case).
17925 (abmon): Copy from the old content except the 5th month which is
17926 now in the genitive case, even when abbreviated.
17927 * localedata/locales/ru_UA: Likewise.
17928 * time/tst-strptime.c (day_tests): Add an actual example of
17929 a difference between %b and %Ob in Russian.
17931 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17933 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
17934 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17936 * resolv/res-close.c: Include <stdlib.h>.
17937 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17938 <sys/wait.h>, <time.h>, <sys/uio.h>.
17939 (NOT_CANCEL_H): Add inclusion guard.
17940 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
17941 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17942 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17944 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17945 vm_address_t * to ElfW(Addr) * for dl_main parameter.
17946 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17948 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17949 timer_ptr2id to cast struct timer_node * to void *.
17950 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17951 --disable-libcilkrts to gcc configure.
17952 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17953 and make them the default for now.
17954 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17955 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
17956 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17957 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17958 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17960 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17961 __task_terminate would ever return successfully.
17962 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17964 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17965 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
17966 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17967 critical section to make code simpler and avoid warning.
17968 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17969 critical section to make code simpler and avoid warning.
17970 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17971 const char * instead of char *.
17972 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17973 __hurd_file_name_split, hurd_file_name_split,
17974 __hurd_directory_name_split, hurd_directory_name_split,
17975 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17976 hurd_file_name_path_lookup): Make lookup function parameter take a
17977 const char *name instead of char *name.
17978 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17979 __hurd_directory_name_split): Likewise.
17980 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17981 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
17982 * sysdeps/mach/hurd/check_native.c: New file.
17983 * sysdeps/mach/hurd/check_pf.c: New file.
17984 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17985 (__freeifaddrs): Define macro to freeifaddrs.
17986 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17987 * sysdeps/mach/libmachuser.abilist: New file.
17988 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17989 (do_test_bz20181): Rename accordingly.
17990 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
17991 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17993 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17994 version only if __USE_EXTERN_INLINES is defined.
17995 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17996 __hurd_sockfail): Likewise.
17997 (_hurd_fd_get): Always declare functions, and provide inline versions
17998 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17999 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18000 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18001 _hurd_port_set): Always declare functions, and provide inline versions
18002 only if __USE_EXTERN_INLINES and _LIBC are defined and
18004 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18005 _hurd_critical_section_unlock): Likewise.
18006 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18007 * __hurd_threadvar_location): Likewise.
18008 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18009 _hurd_userlink_clear): Likewise.
18010 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18011 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18012 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18013 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18014 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18015 __spin_lock_locked): Likewise.
18016 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18017 __spin_lock_locked): Likewise.
18018 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18019 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18020 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18021 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18022 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
18023 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18024 _POSIX_NO_TRUNC): Define to 0.
18025 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18026 check size against PTHREAD_STACK_MIN.
18027 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18028 IS_IN(libpthread)]: Include <sigsetops.h>.
18029 * mach/Makefile (user-interfaces): Add mach/gnumach.
18030 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18031 * sysdeps/mach/configure (mach_interface_list): Regenerate.
18032 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18033 instead of invalid -1.
18034 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18035 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18036 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18039 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
18041 * hurd/fcntl-internal.h: New file.
18043 2018-01-27 James Clarke <jrtc27@jrtc27.com>
18045 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18047 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18049 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18052 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18053 Build only shared objects.
18055 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18057 * README: Update for hppa.
18059 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18061 * sysdeps/sparc/fpu/libm-test-ulps: Update
18062 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
18064 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18068 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18071 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18072 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18073 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18074 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18077 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18080 * bits/types/__cancel_jmp_buf_tag.h: New file.
18081 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18082 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18083 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18084 * nptl/Makefile (headers): Add
18085 bits/types/__cancel_jmp_buf_tag.h.
18086 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18087 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18088 * sysdeps/nptl/pthread.h: Include
18089 <bits/types/__cancel_jmp_buf_tag.h>.
18090 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18092 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18094 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
18097 * localedata/locales/uk_UA (mon): Renamed to...
18099 (alt_digits): "0" removed and then renamed to...
18101 (date_fmt): Definition changed not to use the alternative
18104 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
18106 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
18107 FLAG_RISCV_FLOAT_ABI_DOUBLE.
18108 * elf/elf.h (EF_RISCV_RVC): New define.
18109 (EF_RISCV_FLOAT_ABI): Likewise.
18110 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
18111 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
18112 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18113 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
18114 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
18116 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18118 2018-01-25 Andreas Schwab <schwab@suse.de>
18120 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
18122 * sysdeps/gnu/configure: Regenerate.
18123 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18124 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18126 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18127 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18128 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
18129 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18130 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18132 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18134 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
18135 URL, and run autoconf, make it the default for now.
18137 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18139 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18140 soft-float ColdFire configuration.
18142 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
18143 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
18144 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
18146 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
18149 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
18151 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
18153 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
18156 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
18157 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
18158 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
18161 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18164 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
18165 Rename to __reserved and add comment.
18166 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
18167 Rename to __reserved.
18169 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18171 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18172 i686-gnu configurations.
18173 (Context.run_builds): Include mig, gnumach and hurd in components
18175 (Context.checkout): Add mig, gnumach and hurd to components.
18176 (Context.checkout_tar): Add URL mappings for mig, gnumach and
18178 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
18179 (Config.build): Install gnumach headers, build mig and install
18180 hurd headers for 'gnu' OS.
18181 (Config.install_gnumach_headers): New function.
18182 (Config.install_hurd_headers): Likewise.
18183 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
18184 when building for 'gnu' OS.
18186 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
18188 * manual/tunables.texi (Hardware Capability Tunables): Fix
18191 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
18193 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
18194 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
18195 (ALTMON_11, ALTMON_12): Improve documentation.
18196 * manual/time.texi (strftime): Likewise.
18198 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18201 * localedata/locales/pl_PL: Alternative month names added,
18202 primary month names are genitive now.
18203 * time/tst-strptime.c (day_tests): Actually use a genitive case
18204 of a month name in Polish language.
18206 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18209 * manual/locale.texi: Document ALTMON_1..12 constants for
18210 nl_langinfo. Specify when to use ALTMON instead of MON.
18211 * manual/time.texi (strftime, strptime): Document GNU extension
18212 permitting O modifier with %B and %b. Specify when to use
18215 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18218 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18219 names, define them as the same as abbreviated month names explicitly.
18220 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18221 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18222 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18223 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18224 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18225 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18226 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18227 _NL_WABALTMON_12): New enum constants.
18228 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18229 wab_alt_mon, and ab_alt_mon_defined members.
18230 (time_output): Output ab_alt_mon and wab_alt_mon members.
18231 (time_read): Read them, initialize them as copies of abmon and wabmon
18232 respectively if they are missing, initialize ab_alt_mon_defined.
18233 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18234 * locale/programs/locfile-kw.h: Regenerate.
18235 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18236 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18238 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18239 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18240 (__strftime_internal): Handle %Ob and %Oh formats.
18241 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18242 (__strptime_internal): Handle %Ob and %Oh formats.
18243 * time/tst-strptime.c (day_tests): Add more tests to parse different
18244 forms of month names including the new %Ob format specifier.
18246 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18249 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18250 define them as the same as primary full month names explicitly.
18251 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18252 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18253 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18254 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18255 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18256 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18257 _NL_WALTMON_12): New enum constants.
18258 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18259 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18261 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18262 walt_mon, and alt_mon_defined members.
18263 (time_output): Output alt_mon and walt_mon members.
18264 (time_read): Read them, initialize them as copies of mon and wmon
18265 respectively if they are missing, initialize alt_mon_defined.
18266 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18267 * locale/programs/locfile-kw.h: Regenerate.
18268 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18269 * localedata/tst-langinfo.c (map): Add tests for the new constants
18270 ALTMON_1 .. ALTMON_12.
18271 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18273 * time/strftime_l.c (f_altmonth): New macro.
18274 (__strftime_internal): Handle %OB format.
18275 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18276 (__strptime_internal): Handle %OB format.
18277 * time/tst-strptime.c (day_tests): Add tests to parse different forms
18278 of month names including the new %OB format specifier.
18280 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18283 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
18284 from ABORT_TRANSACTION.
18285 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
18286 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
18287 ABORT_TRANSACTION_IMPL): Likewise.
18288 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
18289 Linux code, but remove the code that aborts transactions.
18291 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18293 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
18295 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
18297 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
18298 in date: "2004-14-09" should be "2004-09-14".
18299 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
18300 "2003-15-09" should be "2003-09-15".
18302 2018-01-18 Arjun Shankar <arjun@redhat.com>
18308 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
18310 (_int_memalign): check for integer overflow before calling
18312 * malloc/tst-malloc-too-large.c: New test.
18313 * malloc/Makefile: Add tst-malloc-too-large.
18315 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
18317 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
18318 in date: "2017-24-07" should be "2017-07-24".
18319 * localedata/locales/mai_IN: Likewise.
18320 * localedata/locales/mai_NP: Likewise.
18322 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
18324 * po/ru.po: Update translations.
18326 2018-01-17 Joseph Myers <joseph@codesourcery.com>
18329 * sysdeps/hppa/backtrace.c: New file.
18331 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
18334 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
18335 align La_x86_64_retval to VEC_SIZE.
18337 2018-01-16 Joseph Myers <joseph@codesourcery.com>
18339 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
18340 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
18342 2018-01-16 Florian Weimer <fweimer@redhat.com>
18344 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
18345 Move tst-thread-exit-clobber ...
18346 [$(CXX)] (tests-unsupported): ... to here.
18348 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18350 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
18351 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
18352 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18353 (_dl_aarch64_cap_flags): Update.
18354 (_DL_HWCAP_COUNT): Update.
18356 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18358 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
18359 (_DL_HWCAP_LAST): Remove.
18360 (_DL_HWCAP_COUNT): Move to ...
18361 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18362 (_DL_HWCAP_COUNT): ... here.
18364 2018-01-16 Florian Weimer <fweimer@redhat.com>
18366 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
18367 mode with GNU extensions.
18369 2018-01-15 Alan Hayward <alan.hayward@arm.com>
18371 * elf/elf.h (NT_ARM_SVE): Define.
18373 2018-01-15 Florian Weimer <fweimer@redhat.com>
18376 * nptl/tst-minstack-throw.cc: New file.
18377 * nptl/Makefile (tests): Add tst-minstack-throw.
18378 (LDLIBS-tst-minstack-throw): Link with libstdc++.
18379 [!CXX] (tests-unsupported): Add tst-minstack-throw.
18381 2018-01-15 Joseph Myers <joseph@codesourcery.com>
18383 * scripts/build-many-glibcs.py (Context.checkout): Default
18384 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
18387 2018-01-13 Carlos O'Donell <carlos@redhat.com>
18390 * elf/elf.h (DF_1_STUB): Define.
18391 (DF_1_PIE): Define.
18393 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18396 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
18397 Do not add 0.5 to integer or out-of-range arguments.
18399 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18401 * po/bg.po: Update translations.
18402 * po/cs.po: Likewise.
18403 * po/de.po: Likewise.
18404 * po/ko.po: Likewise.
18405 * po/pl.po: Likewise.
18406 * po/sv.po: Likewise.
18407 * po/uk.po: Likewise.
18408 * po/vi.po: Likewise.
18410 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18412 * aarch64/start.S (_start): Use __wrap_main.
18413 (__wrap_main): New local symbol.
18415 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18419 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
18420 generic_getcwd if the path returned by getcwd syscall is not absolute.
18421 * io/tst-getcwd-abspath.c: New test.
18422 * io/Makefile (tests): Add tst-getcwd-abspath.
18424 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
18426 * malloc/malloc.c (malloc_consolidate): Add size check.
18428 2018-01-12 Florian Weimer <fweimer@redhat.com>
18430 * support/write_message.c (write_message): Preserve errno.
18431 * support/check.c (print_failure): Likewise.
18432 * support/support_test_verify_impl.c (support_test_verify_impl):
18434 * support/support_test_compare_failure.c
18435 (support_test_compare_failure): Likewise.
18437 2018-01-12 Florian Weimer <fweimer@redhat.com>
18440 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
18441 Prevent installation of libnsl.so.
18442 (libnsl-inhibit-o): Do not build (or install) static libraries.
18444 2018-01-12 Egmont Koblinger <egmont@gmail.com>
18447 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
18448 before the day number which may produce a double space.
18449 (date_fmt): Likewise.
18451 2018-01-12 Joseph Myers <joseph@codesourcery.com>
18453 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
18454 instead of fegetenv.
18456 2018-01-11 Joseph Myers <joseph@codesourcery.com>
18459 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
18460 comment to say exceptions are discarded.
18461 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
18463 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
18466 2018-01-11 Florian Weimer <fweimer@redhat.com>
18468 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
18471 2018-01-11 Florian Weimer <fweimer@redhat.com>
18474 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
18475 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
18477 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18480 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
18481 negative arguments in test for NaN or infinity argument.
18483 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
18485 * po/libc.pot: Regenerate.
18487 2018-01-10 Florian Weimer <fweimer@redhat.com>
18490 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
18491 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
18493 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18495 * hurd/hurd/fd.h: Include <fcntl.h>
18496 (__hurd_at_flags): New function.
18497 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
18498 with call to __hurd_at_flags.
18499 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
18500 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
18502 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
18503 (__access_noerrno): Use __faccessat_common instead of access_common.
18504 (__access): Likewise.
18505 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
18506 with a call to __faccessat.
18507 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
18508 (__faccessat_common): ... this. Move implementation of __access into it when
18509 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
18510 reauthenticate_cwdir_at helper to implement AT mechanism.
18511 (__faccessat_noerrno): New function, just calls __faccessat_common.
18512 (__faccessat): New function, just calls __faccessat_common.
18513 (faccessat): Define weak alias.
18515 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18518 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18519 (CFLAGS-s_fmaxmagl.c): New variable.
18520 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
18523 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
18524 long int for arguments of possibly overflowing addition or
18526 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18528 2018-01-09 Joseph Myers <joseph@codesourcery.com>
18531 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18532 (CFLAGS-e_remainderl.c): New variable.
18535 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
18537 (CFLAGS-s_cacoshl.c): Likewise.
18538 (CFLAGS-s_casinhl.c): Likewise.
18539 (CFLAGS-s_catanl.c): Likewise.
18540 (CFLAGS-s_catanhl.c): Likewise.
18541 (CFLAGS-s_cexpl.c): Likewise.
18542 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
18543 (CFLAGS-s_csinhl.c): Likewise.
18544 (CFLAGS-s_clogl.c): Likewise.
18545 (CFLAGS-s_clog10l.c): Likewise.
18546 (CFLAGS-s_csinl.c): Likewise.
18547 (CFLAGS-s_csqrtl.c): Likewise.
18549 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
18550 2017-01-09 Svante Signell <svante.signell@gmail.com>
18552 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
18553 (_hurd_exec_paths): New function.
18554 * hurd/hurd.h (_hurd_exec): Deprecate function.
18555 (_hurd_exec_paths): Declare function.
18556 * hurd/Versions: Export _hurd_exec_paths.
18557 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
18558 (__execve): Use __getcwd to build absolute path, and use
18559 _hurd_exec_paths instead of _hurd_exec.
18560 * sysdeps/mach/hurd/spawni.c: Likewise.
18561 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
18564 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
18566 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
18567 test instead of failing in case of ENOENT returned by posix_openpt.
18569 2018-01-08 Florian Weimer <fweimer@redhat.com>
18571 resolv: Support binary labels in test framework.
18572 * support/resolv_test.c (struct to_be_freed): Remove.
18573 (struct compressed_name): New.
18574 (allocate_compressed_name, ascii_tolower)
18575 (compare_compressed_name): New functions.
18576 (struct resolv_response_builder): Update type of
18577 compression_offsets for use with tsearch. Rempve to_be_freed.
18578 (response_push_pointer_to_free): Remove function.
18579 (resolv_response_add_name): Rewrite using struct compressed_name
18580 and tsearch instead of hsearch_r.
18581 (response_builder_allocate): Remove initialization of
18582 compression_offsets.
18583 (response_builder_free): Update for removal of to_be_freed. Use
18584 tdestroy instead of hdestroy_r.
18585 * resolv/Makefile (tests): Add tst-resolv-binary.
18586 (tst-resolv-binary): Link with -lresolv -lpthread.
18588 2018-01-08 Florian Weimer <fweimer@redhat.com>
18590 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
18591 time. Pass positive flag instead of negative flag to
18592 support_test_compare_failure.
18593 (support_test_compare_failure): Change negative parameter to
18595 * support/support_test_compare_failure.c (report)
18596 (support_test_compare_failure): Likewise.
18597 * support/tst-test_compare.c (return_ssize_t, return_int): New.
18598 (do_test): Check int/size_t, ssize_t/size_t comparisons.
18600 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
18603 * nptl/descr.h (stackblock, stackblock_size): Update comments.
18604 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
18605 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
18607 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18609 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
18611 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18612 Add s_sincosf-sse2 and s_sincosf-fma.
18613 (CFLAGS-s_sincosf-fma.c): New.
18614 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
18615 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
18616 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
18617 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
18618 __sincosf is defined.
18620 2018-01-08 Florian Weimer <fweimer@redhat.com>
18622 * nptl/tst-thread-exit-clobber.cc: New file.
18623 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
18625 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
18626 (tests): Add tst-thread-exit-clobber.
18627 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
18629 2018-01-08 Florian Weimer <fweimer@redhat.com>
18631 * support/check.h (support_static_assert): Define.
18632 (TEST_COMPARE): Use it.
18634 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
18636 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
18637 [!__RLIM_T_MATCHES_RLIM64_T]
18638 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
18639 __getrlimit64. Add libc_hidden_weak.
18641 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
18643 * elf/elf.h (R_RISCV_NONE): New define.
18644 (R_RISCV_32): Likewise.
18645 (R_RISCV_64): Likewise.
18646 (R_RISCV_RELATIVE): Likewise.
18647 (R_RISCV_COPY): Likewise.
18648 (R_RISCV_JUMP_SLOT): Likewise.
18649 (R_RISCV_TLS_DTPMOD32): Likewise.
18650 (R_RISCV_TLS_DTPMOD64): Likewise.
18651 (R_RISCV_TLS_DTPREL32): Likewise.
18652 (R_RISCV_TLS_DTPREL64): Likewise.
18653 (R_RISCV_TLS_TPREL32): Likewise.
18654 (R_RISCV_TLS_TPREL64): Likewise.
18655 * Makerules (make-link-multidir): Make directories before linking into
18657 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18659 (VDSO_HASH_LINUX_4_15): Likewise.
18660 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18661 in subdirectories of lib.
18662 * nptl/Makefile (/librt.so): Always depend on
18663 "$(shared-thread-library)".
18665 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18667 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
18668 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18669 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18671 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
18672 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18674 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
18675 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18676 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18677 * sysdeps/gnu/glob-lstat-compat.c: New file.
18678 * sysdeps/gnu/glob64-lstat-compat.c: New file.
18679 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
18681 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18683 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18684 Reserve 16 chars to reloc_addr before calling _itoa_word.
18686 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18689 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18690 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18692 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18693 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18695 * resource/tst-getrlimit.c: Add copyright header.
18697 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18698 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18700 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18701 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18702 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18703 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18705 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18706 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18707 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18708 RLIM64_INFINITY): Fix values to match the kernel ones.
18709 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18710 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18711 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18712 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18713 getrlimit64@@GLIBC_2_27.
18714 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18716 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18717 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18718 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18719 setrlimit, getrlimit64 and setrlimit64.
18721 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18724 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18725 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18727 2018-01-04 Joseph Myers <joseph@codesourcery.com>
18729 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18730 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18731 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18733 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18737 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18738 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18742 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18743 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18744 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18745 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18747 2018-01-04 Florian Weimer <fweimer@redhat.com>
18750 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18751 Align the stack before calling exit.
18752 * stdlib/tst-makecontext-align.c: New file.
18753 * stdlib/Makefile (tests): Add tst-makecontext-align.
18755 2018-01-04 Florian Weimer <fweimer@redhat.com>
18757 Add support for calling dlvsym from libc.so.
18758 * include/dlfcn.h (__libc_dlvsym): Declare.
18759 * elf/Makefile (tests-static-internal): Add
18760 tst-libc_dlvsym-static.
18761 (tests-internal): Add tst-libc_dlvsym.
18762 (modules-names): Add tst-libc_dlvsym-dso.
18763 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18764 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18765 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18766 object tst-libc_dlvsym-dso.so needs to be built before running
18768 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18769 * elf/Versions: Export __libc_dlvsym.
18770 * elf/dl-libc.c (struct do_dlvsym_args): New.
18771 (do_dlvsym, __libc_dlvsym): New functions.
18772 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18773 (_dl_open_hook2): New variable.
18774 (__libc_register_dl_open_hook): Set it.
18775 * elf/tst-libc_dlvsym-dso.c: New file.
18776 * elf/tst-libc_dlvsym-static.c: Likewise.
18777 * elf/tst-libc_dlvsym.c: Likewise.
18778 * elf/tst-libc_dlvsym.h: Likewise.
18780 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18782 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18783 include <sys/mount.h>.
18785 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18787 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18788 Add __NO_MATH_ERRNO__ check.
18790 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18792 * sysdeps/mips/mips32/libm-test-ulps: Update.
18793 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18795 2018-01-02 Florian Weimer <fweimer@redhat.com>
18797 * misc/tst-pselect.c: Add copyright header.
18799 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18801 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18803 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18805 (settrlimit): Rename into setrlimit.
18806 (__sttrlimit): Rename into __setrlimit.
18808 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18809 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18810 never defined in that case.
18812 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18814 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18816 * sysdeps/arm/libm-test-ulps: Update.
18818 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18819 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18821 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18823 * NEWS: Add cosf and sincosf to list of optimized functions.
18825 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18828 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
18829 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
18830 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
18831 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
18833 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
18836 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
18838 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
18839 making a copy of it.
18841 2018-01-01 Joseph Myers <joseph@codesourcery.com>
18843 * manual/texinfo.tex: Update to version 2017-12-26.21 with
18844 trailing whitespace removed.
18845 * scripts/config.guess: Update to version 2018-01-01.
18846 * scripts/config.sub: Update to version 2018-01-01.
18847 * scripts/move-if-change: Update from gnulib.
18849 * NEWS: Update copyright dates.
18850 * catgets/gencat.c (print_version): Likewise.
18851 * csu/version.c (banner): Likewise.
18852 * debug/catchsegv.sh: Likewise.
18853 * debug/pcprofiledump.c (print_version): Likewise.
18854 * debug/xtrace.sh (do_version): Likewise.
18855 * elf/ldconfig.c (print_version): Likewise.
18856 * elf/ldd.bash.in: Likewise.
18857 * elf/pldd.c (print_version): Likewise.
18858 * elf/sotruss.sh: Likewise.
18859 * elf/sprof.c (print_version): Likewise.
18860 * iconv/iconv_prog.c (print_version): Likewise.
18861 * iconv/iconvconfig.c (print_version): Likewise.
18862 * locale/programs/locale.c (print_version): Likewise.
18863 * locale/programs/localedef.c (print_version): Likewise.
18864 * login/programs/pt_chown.c (print_version): Likewise.
18865 * malloc/memusage.sh (do_version): Likewise.
18866 * malloc/memusagestat.c (print_version): Likewise.
18867 * malloc/mtrace.pl: Likewise.
18868 * manual/libc.texinfo: Likewise.
18869 * nptl/version.c (banner): Likewise.
18870 * nscd/nscd.c (print_version): Likewise.
18871 * nss/getent.c (print_version): Likewise.
18872 * nss/makedb.c (print_version): Likewise.
18873 * posix/getconf.c (main): Likewise.
18874 * scripts/test-installation.pl: Likewise.
18875 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18877 * All files with FSF copyright notices: Update copyright dates
18878 using scripts/update-copyrights.
18879 * locale/programs/charmap-kw.h: Regenerated.
18880 * locale/programs/locfile-kw.h: Likewise.
18882 2017-12-31 Zack Weinberg <zackw@panix.com>
18884 * libio/bits/libio-ldbl.h: Correct check for improper
18885 inclusion. Add own multiple include guard.
18887 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18888 Dmitry V. Levin <ldv@altlinux.org>
18892 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18893 string token expansion. Check for NULL pointer or empty string possibly
18894 returned by expand_dynamic_string_token.
18895 (decompose_rpath): Check for empty path after dynamic string
18898 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18901 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18903 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18904 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18905 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18906 and PTRACE_SYSCALL.
18907 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18908 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18909 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18910 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18911 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18912 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18914 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18915 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18916 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18917 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18919 bits/ptrace-shared.h.
18920 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18921 <bits/ptrace-shared.h>.
18922 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18923 __ptrace_peeksiginfo_flags, ptrace): Remove.
18924 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18925 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18926 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18927 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18928 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18930 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18933 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18934 end of the loop. Improve comments.
18936 2017-12-29 Zack Weinberg <zackw@panix.com>
18939 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18940 might be set on success.
18942 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18945 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18946 is unchanged on success.
18948 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18950 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18952 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18953 expand_dynamic_string_token): Likewise.
18954 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18957 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18960 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18961 is set and name contains ':', and all code depending on these checks.
18963 2017-12-24 Zack Weinberg <zackw@panix.com>
18965 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18966 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18968 * libio/libio.h: Rename the original version of this file to
18969 libio/bits/libio.h. Error out if not included by stdio.h or the
18971 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18972 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18973 if not included by bits/libio.h or the stub _G_config.h.
18974 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18975 sysdeps/unix/sysv/linux/bits. Error out if not included by
18976 bits/libio.h or the stub _G_config.h.
18977 * libio/stdio.h: Include bits/libio.h, not libio.h.
18978 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18979 well as libio.h and _G_config.h.
18981 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18982 * libio/strfile.h, stdio-common/vfscanf.c
18983 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18984 Include stdio.h, not _G_config.h nor libio.h.
18985 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18986 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18988 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18990 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18993 * stdlib/getrandom.c (getrandom): Fix comment.
18994 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18996 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
18999 * manual/arith.texi (strtoul): Fix a typo.
19002 * manual/arith.texi (finite): Fix the description of the return
19005 2017-12-22 Eric Blake <ebb9@byu.net>
19007 Avoid gcc warnings on cygwin
19008 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19009 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19010 Avoid unused variable.
19012 2017-12-22 Florian Weimer <fweimer@redhat.com>
19014 * io/Makefile (routines): Add copy_file_range.
19015 (tests): Add tst-copy_file_range.
19016 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19017 * io/Versions (GLIBC_2.27): Export copy_file_range.
19018 * io/copy_file_range-compat.c: New file.
19019 * io/copy_file_range.c: Likewise.
19020 * io/tst-copy_file_range-compat.c: Likewise.
19021 * io/tst-copy_file_range.c: Likewise.
19022 * manual/llio.texi (Copying File Data): New section.
19023 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19024 * support/Makefile (libsupport-routines): Add support-xfstat,
19025 xftruncate, xlseek.
19026 * support/support-xfstat.c: New file.
19027 * support/xftruncate.c: Likewise.
19028 * support/xlseek.c: Likewise.
19029 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19030 * sysdeps/unix/sysv/linux/**.abilist: Update.
19031 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19033 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19035 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19036 disable-multi-arch variant to aarch64-linux-gnu.
19038 2017-12-20 Joseph Myers <joseph@codesourcery.com>
19040 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19041 trailing whitespace removed.
19042 * scripts/config.guess: Update to version 2017-12-17.
19043 * scripts/config.sub: Update to version 2017-11-23.
19044 * scripts/install-sh: Update to version 2017-09-23.17.
19045 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19047 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19049 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19050 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19051 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19052 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19053 * sysdeps/tile/crtn.S: Likewise.
19054 * sysdeps/tile/dl-start.S (_start): Likewise.
19055 * sysdeps/tile/dl-trampoline.S: Likewise.
19056 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19057 * sysdeps/tile/start.S (_start): Likewise.
19058 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19059 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19060 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19061 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19062 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19063 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19064 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19066 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19068 * sysdeps/tile/preconfigure: Remove tilegx folder.
19069 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19070 * sysdeps/tile/Implies: ... here.
19071 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19072 * sysdeps/tile/Makefile: ... here.
19073 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19074 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19075 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19076 * sysdeps/tile/bits/wordsize.h: ... here.
19077 * sysdeps/tile/tilegx/*: Move to ...
19078 * sysdeps/tile/*: ... here.
19079 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19080 * sysdeps/tile/tilegx32/Implies: ... here.
19081 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19082 * sysdeps/tile/tilegx64/Implies: ... here.
19083 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
19085 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19086 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
19087 * sysdeps/unix/sysv/linux/tile/*: ... here.
19088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
19089 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
19090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
19091 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
19093 * README: Remove tilepro-*-linux-gnu from supported architecture.
19094 * scripts/build-many-glibcs.py: Likewise.
19095 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19096 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
19097 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
19098 elf_machine_matches_host, elf_machine_dynamic,
19099 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
19100 howto, elf_machine_rela): Likewise.
19101 * sysdeps/tile/dl-start.S (_start): Likewise.
19102 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
19103 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
19104 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
19105 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
19106 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
19107 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19109 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
19110 * sysdeps/tile/preconfigure: Likewise.
19111 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
19112 POINTER_CHK_GUARD): Likewise.
19113 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
19114 * sysdeps/tile/start.S (_start): Likewise.
19115 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
19117 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
19118 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
19120 * sysdeps/unix/sysv/linux/tile/bits/environments.h
19121 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
19122 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
19124 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
19125 * sysdeps/tile/tilepro/Implies: Remove file.
19126 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
19127 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
19128 * sysdeps/tile/tilepro/memchr.c: Likewise.
19129 * sysdeps/tile/tilepro/memcpy.S: Likewise.
19130 * sysdeps/tile/tilepro/memset.c: Likewise.
19131 * sysdeps/tile/tilepro/memusage.h: Likewise.
19132 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
19133 * sysdeps/tile/tilepro/strchr.c: Likewise.
19134 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
19135 * sysdeps/tile/tilepro/strlen.c: Likewise.
19136 * sysdeps/tile/tilepro/strrchr.c: Likewise.
19137 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
19138 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
19139 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19140 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
19141 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
19142 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19144 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
19145 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19146 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
19147 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
19148 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19149 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
19150 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
19151 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
19152 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
19153 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
19154 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
19155 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
19156 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
19157 tilepro mention in comment.
19159 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
19160 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
19161 * nptl/pthread_join_common.c: New file: common function used on
19162 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
19163 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
19164 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
19165 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19166 (cleanup): Move definition to pthread_join_common.c.
19167 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
19168 Remove superflous checks.
19169 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
19172 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
19174 * sysdeps/aarch64/libm-test-ulps: Update.
19176 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19178 * sysdeps/aarch64/memset.S (MEMSET): Define.
19180 2017-12-20 Florian Weimer <fweimer@redhat.com>
19183 nptl: Provide full implementation of pthread_self in libc.so.
19184 * nptl/Makefile (routines): Add pthread_self.
19185 (libpthread-routines): Replace pthread_self with
19186 compat-pthread_self.
19187 * nptl/forward.c (pthread_self): Remove.
19188 * nptl/nptl-init.c (pthread_functions): Do not initialize
19190 * nptl/pthread_self.c (pthread_self): Remove weak alias.
19191 * nptl/compat-pthread_self.c: New file.
19192 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
19193 Remove ptr_pthread_self.
19195 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
19197 * posix/regcomp.c: Fix spelling in comments.
19198 * posix/regex.h: Likewise.
19199 * posix/regex_internal.c: Likewise.
19200 * posix/regexec.c: Likewise.
19202 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19205 * math/Makefile [C++] (tests): Add test for iseqsig.
19206 * math/math.h [C++] (iseqsig): New implementation, which does
19207 not rely on __MATH_TG/__builtin_types_compatible_p.
19208 * math/test-math-iseqsig.cc: New file.
19209 * sysdeps/powerpc/powerpc64le/Makefile
19210 (CFLAGS-test-math-iseqsig.cc): New variable.
19212 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19214 * elf/dl-load.c (is_trusted_path): Remove.
19215 (fillin_rpath): Remove check_trusted argument and its use,
19216 all callers changed.
19218 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19221 * Makeconfig (link-pie-before-libc): Replace -pie with
19222 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19223 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19224 (tst-dlopen-aout-no-pie): New.
19225 (LDFLAGS-tst-prelink): Removed.
19226 (tst-prelink-no-pie): New.
19227 (LDFLAGS-tst-main1): Removed.
19228 (tst-main1-no-pie): New.
19229 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19230 (tst-gmon-no-pie): New.
19232 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19234 * manual/install.texi: Document that --enable-static-pie
19236 * INSTALL: Regenerated.
19238 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19241 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19244 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19248 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19252 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19254 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19255 <errno.h>. Include "eexp.tbl".
19256 (half): New constant.
19258 (__ieee754_exp): Rewrite.
19259 (__slowexp): Remove prototype.
19260 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19261 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19262 * sysdeps/i386/fpu/slowexp.c: Likewise.
19263 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19264 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19265 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19266 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19267 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19268 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19269 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19271 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19272 (CPPFLAGS-slowexp.c): Remove variable.
19273 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19274 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19275 (CFLAGS-slowexp-fma.c): Remove variable.
19276 (CFLAGS-slowexp-fma4.c): Likewise.
19277 (CFLAGS-slowexp-avx.c): Likewise.
19278 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19280 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19281 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19282 * math/Makefile (type-double-routines): Remove slowexp.
19283 * manual/probes.texi (slowexp_p6): Remove.
19284 (slowexp_p32): Likewise.
19286 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19288 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
19291 * lib/glob.c (glob): Do not pass NULL to mempcpy.
19293 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19297 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19299 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19300 <errno.h>. Include "eexp.tbl".
19301 (half): New constant.
19303 (__ieee754_exp): Rewrite.
19304 (__slowexp): Remove prototype.
19305 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19306 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19307 * sysdeps/i386/fpu/slowexp.c: Likewise.
19308 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19309 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19310 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19311 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19312 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19313 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19314 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19316 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19317 (CPPFLAGS-slowexp.c): Remove variable.
19318 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19319 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19320 (CFLAGS-slowexp-fma.c): Remove variable.
19321 (CFLAGS-slowexp-fma4.c): Likewise.
19322 (CFLAGS-slowexp-avx.c): Likewise.
19323 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19325 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19326 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19327 * math/Makefile (type-double-routines): Remove slowexp.
19328 * manual/probes.texi (slowexp_p6): Remove.
19329 (slowexp_p32): Likewise.
19331 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19332 James Clarke <jrtc27@jrtc27.com>
19335 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
19338 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19341 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
19344 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19347 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19348 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19349 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19350 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19353 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19356 * bits/types/__cancel_jmp_buf_tag.h: New file.
19357 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19358 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19359 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19360 * nptl/Makefile (headers): Add
19361 bits/types/__cancel_jmp_buf_tag.h.
19362 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19363 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19364 * sysdeps/nptl/pthread.h: Include
19365 <bits/types/__cancel_jmp_buf_tag.h>.
19366 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19368 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19370 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19372 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19373 --enable-static-pie variants to x86_64, x32 and i686.
19375 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19378 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
19379 argument for attrubutes. All callers changed.
19380 (__inline_mathop1): Likewise. All callers changed.
19381 (__inline_mathop): Likewise. All callers changed.
19382 [__USE_MISC] (scalbn): Use __inline_forward instead of
19383 __inline_forward_c.
19384 [__USE_ISOC99] (scalbln): Likewise.
19385 [__USE_ISOC99] (nearbyint): Likewise.
19386 [__USE_ISOC99] (lrint): Likewise.
19387 [__USE_MISC] (scalbnf): Likewise.
19388 [__USE_ISOC99] (scalblnf): Likewise.
19389 [__USE_ISOC99] (nearbyintf): Likewise.
19390 [__USE_ISOC99] (lrintf): Likewise.
19391 [__USE_MISC] (scalbnl): Likewise.
19392 [__USE_ISOC99] (scalblnl): Likewise.
19393 [__USE_ISOC99] (nearbyintl): Likewise.
19394 [__USE_ISOC99] (lrintl): Likewise.
19395 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
19396 __inline_mathop and __m81_defun changed.
19398 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
19399 CPU or FPU for ARM hard-float configurations.
19401 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19403 * nptl/tst-attr3.c: Include <libc-diag.h>.
19404 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
19406 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
19408 * string/tester.c (test_strncat): Also disable -Warray-bounds
19409 warnings for two tests.
19411 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19414 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
19415 $(cc-pie-default) == yes.
19416 * config.make.in (cc-pie-default): New.
19417 * configure.ac (libc_cv_pie_default): Renamed to ...
19418 (libc_cv_cc_pie_default): This.
19419 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
19420 * configure: Regenerated.
19422 2017-12-18 Florian Weimer <fweimer@redhat.com>
19425 ld.so: Harden dl-libc/libdl hooks.
19426 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
19427 (rtld_active): New function.
19428 * dlfcn/dladdr.c (__dladdr): Call it.
19429 * dlfcn/dladdr1.c (__dladdr1): Likewise.
19430 * dlfcn/dlclose.c (__dlcose): Likewise.
19431 * dlfcn/dlerror.c (__dlerror): Likewise.
19432 * dlfcn/dlinfo.c (__dlinfo): Likewise.
19433 * dlfcn/dlmopen.c (__dlmopen): Likewise.
19434 * dlfcn/dlopen.c (__dlopen): Likewise.
19435 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19436 * dlfcn/dlsym.c (__dlsym): Likewise.
19437 * dlfcn/dlvsym.c (__dlvsym): Likewise.
19438 * libio/vtables.c (_IO_vtable_check): Likewise.
19439 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
19440 (__libc_dlclose): Likewise.
19441 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
19444 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19447 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
19448 buffers for readlink input and output.
19450 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
19453 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
19454 inhibit_stack_protector.
19457 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
19458 inhibit_stack_protector.
19460 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
19463 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
19464 code and invocation.
19466 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19468 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
19470 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
19473 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
19475 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19477 * sysdeps/s390/fpu/libm-test-ulps: Update.
19479 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19483 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19485 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
19486 constants to s_sincosf.h file.
19487 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19488 * sysdeps/ieee754/flt-32/s_sincosf.c: New
19490 * sysdeps/ieee754/flt-32/s_sincosf.h:
19493 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19496 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
19499 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
19502 * INSTALL: Regenerated.
19503 * Makeconfig (real-static-start-installed-name): New.
19504 (pic-default): Updated for --enable-static-pie.
19505 (pie-default): New for --enable-static-pie.
19506 (default-pie-ldflag): Likewise.
19507 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
19508 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
19509 Replace $(static-start-installed-name) with
19510 $(real-static-start-installed-name).
19511 (+prectorT): Updated for --enable-static-pie.
19512 (+postctorT): Likewise.
19513 (CFLAGS-.o): Add $(pie-default).
19514 (CFLAGS-.op): Likewise.
19515 * NEWS: Mention --enable-static-pie.
19516 * config.h.in (ENABLE_STATIC_PIE): New.
19517 * configure.ac (--enable-static-pie): New configure option.
19518 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
19519 (have-static-pie): Likewise.
19520 Enable static PIE if linker supports --no-dynamic-linker.
19521 (ENABLE_STATIC_PIE): New AC_DEFINE.
19522 (enable-static-pie): New LIBC_CONFIG_VAR.
19523 * configure: Regenerated.
19524 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
19525 gr$(start-installed-name) for --enable-static-pie.
19526 (extra-objs): Likewise.
19527 (install-lib): Likewise.
19528 (extra-objs): Add static-reloc.o and static-reloc.os
19529 ($(objpfx)$(start-installed-name)): Also depend on
19530 $(objpfx)static-reloc.o.
19531 ($(objpfx)r$(start-installed-name)): New.
19532 ($(objpfx)g$(start-installed-name)): Also depend on
19533 $(objpfx)static-reloc.os.
19534 ($(objpfx)gr$(start-installed-name)): New.
19535 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
19537 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
19539 * csu/static-reloc.c: New file.
19540 * elf/Makefile (routines): Add dl-reloc-static-pie.
19541 (elide-routines.os): Likewise.
19542 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
19543 (tst-tls1-static-non-pie-no-pie): New.
19544 * elf/dl-reloc-static-pie.c: New file.
19545 * elf/dl-support.c (_dl_get_dl_main_map): New function.
19546 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
19547 STATIC_PIE_BOOTSTRAP.
19548 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19549 * gmon/Makefile (tests): Add tst-gmon-static-pie.
19550 (tests-static): Likewise.
19551 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
19552 (tst-gmon-static-no-pie): New.
19553 (CFLAGS-tst-gmon-static-pie.c): Likewise.
19554 (CRT-tst-gmon-static-pie): Likewise.
19555 (tst-gmon-static-pie-ENV): Likewise.
19556 (tests-special): Likewise.
19557 ($(objpfx)tst-gmon-static-pie.out): Likewise.
19558 (clean-tst-gmon-static-pie-data): Likewise.
19559 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
19560 * gmon/tst-gmon-static-pie.c: New file.
19561 * manual/install.texi: Document --enable-static-pie.
19562 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
19563 (_dl_get_dl_main_map): Likewise.
19564 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
19565 * sysdeps/x86_64/configure.ac: Likewise.
19566 * sysdeps/i386/configure: Regenerated.
19567 * sysdeps/x86_64/configure: Likewise.
19568 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
19569 (ASFLAGS-.op): Likewise.
19571 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19573 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
19574 * posix/tst-mmap-offset.c (fname): Use /tmp.
19575 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
19577 2017-12-15 Steve Ellcey <sellcey@cavium.com>
19579 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
19581 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
19583 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
19586 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19588 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19589 --with-float=hard for arm-linux-gnueabihf configurations.
19592 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
19593 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
19594 ($(mo-installed)): Use $(objpfx)%.mo.
19595 (realclean): Remove rule.
19597 * po/Makefile (linguas): Remove rule and dependencies.
19598 (linguas.mo): Likewise.
19599 (.PHONY): Do not depend on linguas and linguas.mo.
19600 (podir): Remove variable.
19601 (pofiles): Likewise.
19602 [$(pofiles)] (%.po): Remove rule.
19604 * sysdeps/sparc/sparc32/Makefile
19605 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
19606 start-of-line whitespace in argument of echo.
19607 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
19608 with whitespace. Generate __wrap_.udiv alias.
19609 * sysdeps/sparc/sparc32/rem.S: Regenerated.
19610 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19611 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19612 * sysdeps/sparc/sparc32/urem.S: Likewise.
19614 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19616 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
19617 for aligned inputs.
19619 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19621 * benchtests/bench-strcmp.c: Print output in JSON format.
19623 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
19625 2017-12-14 Florian Weimer <fweimer@redhat.com>
19629 * elf/dl-load.c (_dl_init_paths): Compute number of components in
19630 the expanded path string.
19632 2017-12-14 Florian Weimer <fweimer@redhat.com>
19636 * elf/dl-load.c (system_dirs): Update comment.
19637 (nsystem_dirs_len): Use array_length.
19638 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19640 2017-12-14 Florian Weimer <fweimer@redhat.com>
19642 Simplify compiling most of support/ outside of glibc.
19643 * support/check_addrinfo.c: Include <string.h>.
19644 * support/check_dns_packet.c: Likewise.
19645 * support/check_hostent.c: Likewise.
19646 * support/support_can_chroot.c: Include <support/xunistd.h>.
19647 * support/support_format_addrinfo.c: Include <stdlib.h>
19648 * support/support_format_dns_packet.c: Include <stdbool.h>.
19649 * support/support_format_hostent.c: Include <stdlib.h>.
19650 * support/support_format_netent.c: Likewise.
19651 * support/support_write_string.c: Include <support/xunistd.h>.
19652 * support/xdlfcn.c: Include <stddef.h>.
19654 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19656 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19658 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19659 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19661 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19662 (sysdeps_routines): Add memset-niagara7.
19663 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19665 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19667 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19668 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19669 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19670 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19671 Add niagara7 option.
19672 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19675 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19676 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19677 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19679 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19681 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19682 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19683 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19684 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19685 and __memmove_niagara7.
19686 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19687 Add niagara7 option.
19688 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19689 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19690 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19691 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19692 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19694 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19696 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19697 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19698 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19699 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19701 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19702 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19703 _dl_sparc_cap_flags array.
19704 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19706 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19708 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19709 time whenever possible.
19711 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19713 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19714 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19716 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19718 * soft-fp/fmadf4.c: Move to ....
19719 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19720 * soft-fp/fmasf4.c: Move to ....
19721 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19722 * soft-fp/fmatf4.c: Move to ....
19723 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19724 * sysdeps/ieee754/soft-fp/Makefile: New file.
19725 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19726 * sysdeps/arm/preconfigure: Regenerated.
19727 * sysdeps/arm/nofpu/Implies: New file.
19728 * sysdeps/arm/s_fma.c: Remove file.
19729 * sysdeps/arm/s_fmaf.c: Likewise.
19730 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19731 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19732 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19733 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19734 * sysdeps/microblaze/s_fma.c: Remove file.
19735 * sysdeps/microblaze/s_fmaf.c: Likewise.
19736 * sysdeps/mips/mips32/nofpu/Implies: New file.
19737 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19738 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19739 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19740 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19741 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19742 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19743 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19745 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19746 * sysdeps/nios2/s_fma.c: Remove file.
19747 * sysdeps/nios2/s_fmaf.c: Likewise.
19748 * sysdeps/sh/nofpu/Implies: New file.
19749 * sysdeps/sh/s_fma.c: Remove file.
19750 * sysdeps/sh/s_fmaf.c: Likewise.
19751 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19752 * sysdeps/tile/s_fma.c: Remove file.
19753 * sysdeps/tile/s_fmaf.c: Likewise.
19755 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19757 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19758 Add s_cosf-sse2 and s_cosf-fma.
19759 (CFLAGS-s_cosf-fma.c): New.
19760 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19761 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19762 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19764 2017-12-12 Steve Ellcey <sellcey@cavium.com>
19766 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19768 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19770 * libio/Makefile (tests): Add tst-bz22415.
19771 (tst-bz22415-ENV): New rule.
19772 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19773 (tests-special): Add tst-bz22415-mem.out.
19774 ($(objpfx)tst-bz22415-mem.out): New rule.
19775 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19776 in case of a successful seek operation.
19777 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19778 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19779 buffer is required.
19780 * libio/tst-bz22415.c: New test.
19782 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19784 2017-12-12 James Clarke <jrtc27@jrtc27.com>
19786 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19787 __IPC_64 to 0 to avoid IPC_64 being set.
19789 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19792 * math/bits/mathcalls.h (nextafter): Remove const.
19793 (nexttoward): Likewise.
19795 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19797 * configure.ac (--with-fp): Remove configure option.
19798 (with_fp_cond): New variable.
19799 (libc_cv_with_fp): New configure test. Use this variable instead
19801 * configure: Regenerated.
19802 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19803 * manual/install.texi (Configuring and compiling): Remove
19805 * INSTALL: Regenerated.
19806 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19807 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19808 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19809 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19810 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19811 use --without-fp to configure glibc.
19813 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
19815 * manual/locale.texi (nl_langinfo): Fix a typo.
19817 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
19820 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
19822 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19824 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
19825 (CFLAGS-argp-parse.c): Likewise.
19826 (CFLAGS-argp-fmtstream.c): Likewise.
19827 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
19828 (CPPFLAGS-sha512-crypt.c): Likewise.
19829 (CPPFLAGS-md5-crypt.c): Likewise.
19830 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
19831 (CFLAGS-stack_chk_fail_local.c): Likewise.
19832 (CFLAGS-backtrace.c): Likewise.
19833 (CFLAGS-sprintf_chk.c): Likewise.
19834 (CFLAGS-snprintf_chk.c): Likewise.
19835 (CFLAGS-vsprintf_chk.c): Likewise.
19836 (CFLAGS-vsnprintf_chk.c): Likewise.
19837 (CFLAGS-asprintf_chk.c): Likewise.
19838 (CFLAGS-vasprintf_chk.c): Likewise.
19839 (CFLAGS-obprintf_chk.c): Likewise.
19840 (CFLAGS-dprintf_chk.c): Likewise.
19841 (CFLAGS-vdprintf_chk.c): Likewise.
19842 (CFLAGS-printf_chk.c): Likewise.
19843 (CFLAGS-fprintf_chk.c): Likewise.
19844 (CFLAGS-vprintf_chk.c): Likewise.
19845 (CFLAGS-vfprintf_chk.c): Likewise.
19846 (CFLAGS-gets_chk.c): Likewise.
19847 (CFLAGS-fgets_chk.c): Likewise.
19848 (CFLAGS-fgets_u_chk.c): Likewise.
19849 (CFLAGS-fread_chk.c): Likewise.
19850 (CFLAGS-fread_u_chk.c): Likewise.
19851 (CFLAGS-swprintf_chk.c): Likewise.
19852 (CFLAGS-vswprintf_chk.c): Likewise.
19853 (CFLAGS-wprintf_chk.c): Likewise.
19854 (CFLAGS-fwprintf_chk.c): Likewise.
19855 (CFLAGS-vwprintf_chk.c): Likewise.
19856 (CFLAGS-vfwprintf_chk.c): Likewise.
19857 (CFLAGS-fgetws_chk.c): Likewise.
19858 (CFLAGS-fgetws_u_chk.c): Likewise.
19859 (CFLAGS-read_chk.c): Likewise.
19860 (CFLAGS-pread_chk.c): Likewise.
19861 (CFLAGS-pread64_chk.c): Likewise.
19862 (CFLAGS-recv_chk.c): Likewise.
19863 (CFLAGS-recvfrom_chk.c): Likewise.
19864 (CFLAGS-tst-longjmp_chk.c): Likewise.
19865 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19866 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19867 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19868 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19869 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19870 (CFLAGS-tst-chk1.c): Likewise.
19871 (CFLAGS-tst-chk2.c): Likewise.
19872 (CFLAGS-tst-chk3.c): Likewise.
19873 (CFLAGS-tst-chk4.cc): Likewise.
19874 (CFLAGS-tst-chk5.cc): Likewise.
19875 (CFLAGS-tst-chk6.cc): Likewise.
19876 (CFLAGS-tst-lfschk1.c): Likewise.
19877 (CFLAGS-tst-lfschk2.c): Likewise.
19878 (CFLAGS-tst-lfschk3.c): Likewise.
19879 (CFLAGS-tst-lfschk4.cc): Likewise.
19880 (CFLAGS-tst-lfschk5.cc): Likewise.
19881 (CFLAGS-tst-lfschk6.cc): Likewise.
19882 (CFLAGS-tst-ssp-1.c): Likewise.
19883 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19884 (CFLAGS-scandir64.c): Likewise.
19885 (CFLAGS-scandir-tail.c): Likewise.
19886 (CFLAGS-scandir64-tail.c): Likewise.
19887 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19888 (CFLAGS-dl-tunables.c): Likewise.
19889 (CFLAGS-dl-runtime.c): Likewise.
19890 (CFLAGS-dl-lookup.c): Likewise.
19891 (CFLAGS-dl-iterate-phdr.c): Likewise.
19892 (CFLAGS-vismain.c): Likewise.
19893 (CFLAGS-tst-linkall-static.c): Likewise.
19894 (CFLAGS-tst-linkall-static.c): Likewise.
19895 (CPPFLAGS-dl-load.c): Likewise.
19896 (CFLAGS-ldconfig.c): Likewise.
19897 (CFLAGS-dl-cache.c): Likewise.
19898 (CFLAGS-cache.c): Likewise.
19899 (CFLAGS-rtld.c): Likewise.
19900 (CFLAGS-multiload.c): Likewise.
19901 (CFLAGS-filtmod1.c): Likewise.
19902 (CFLAGS-tst-align.c): Likewise.
19903 (CFLAGS-tst-align2.c): Likewise.
19904 (CFLAGS-tst-alignmod.c): Likewise.
19905 (CFLAGS-tst-alignmod2.c): Likewise.
19906 (CPPFLAGS-tst-execstack.c): Likewise.
19907 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19908 (CFLAGS-tst-latepthreadmod.c): Likewise.
19909 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19910 (CFLAGS-getgrnam_r.c): Likewise.
19911 (CFLAGS-getgrent_r.c): Likewise.
19912 (CFLAGS-getgrent.c): Likewise.
19913 (CFLAGS-fgetgrent.c): Likewise.
19914 (CFLAGS-fgetgrent_r.c): Likewise.
19915 (CFLAGS-putgrent.c): Likewise.
19916 (CFLAGS-initgroups.c): Likewise.
19917 (CFLAGS-getgrgid.c): Likewise.
19918 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19919 (CFLAGS-getsgent.c): Likewise.
19920 (CFLAGS-fgetsgent.c): Likewise.
19921 (CFLAGS-fgetsgent_r.c): Likewise.
19922 (CFLAGS-putsgent.c): Likewise.
19923 (CFLAGS-getsgnam.c): Likewise.
19924 (CFLAGS-getsgnam_r.c): Likewise.
19925 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19926 (CFLAGS-iconv_charmap.c): Likewise.
19927 (CFLAGS-dummy-repertoire.c): Likewise.
19928 (CFLAGS-charmap.c): Likewise.
19929 (CFLAGS-linereader.c): Likewise.
19930 (CFLAGS-simple-hash.c): Likewise.
19931 (CFLAGS-gconv_conf.c): Likewise.
19932 (CFLAGS-iconvconfig.c): Likewise.
19933 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19934 (CFLAGS-gethstbyad.c): Likewise.
19935 (CFLAGS-gethstbynm_r.c): Likewise.
19936 (CFLAGS-gethstbynm.c): Likewise.
19937 (CFLAGS-gethstbynm2_r.c): Likewise.
19938 (CFLAGS-gethstbynm2.c): Likewise.
19939 (CFLAGS-gethstent_r.c): Likewise.
19940 (CFLAGS-gethstent.c): Likewise.
19941 (CFLAGS-rcmd.c): Likewise.
19942 (CFLAGS-getnetbynm_r.c): Likewise.
19943 (CFLAGS-getnetbynm.c): Likewise.
19944 (CFLAGS-getnetbyad_r.c): Likewise.
19945 (CFLAGS-getnetbyad.c): Likewise.
19946 (CFLAGS-getnetent_r.c): Likewise.
19947 (CFLAGS-getnetent.c): Likewise.
19948 (CFLAGS-getaliasent_r.c): Likewise.
19949 (CFLAGS-getaliasent.c): Likewise.
19950 (CFLAGS-getrpcent_r.c): Likewise.
19951 (CFLAGS-getrpcent.c): Likewise.
19952 (CFLAGS-getservent_r.c): Likewise.
19953 (CFLAGS-getservent.c): Likewise.
19954 (CFLAGS-getprtent_r.c): Likewise.
19955 (CFLAGS-getprtent.c): Likewise.
19956 (CFLAGS-either_ntoh.c): Likewise.
19957 (CFLAGS-either_hton.c): Likewise.
19958 (CFLAGS-getnetgrent.c): Likewise.
19959 (CFLAGS-getnetgrent_r.c): Likewise.
19960 (CFLAGS-tst-checks-posix.c): Likewise.
19961 (CFLAGS-tst-sockaddr.c): Likewise.
19962 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19963 (CFLAGS-tst-translit.c): Likewise.
19964 (CFLAGS-tst-gettext2.c): Likewise.
19965 (CFLAGS-tst-codeset.c): Likewise.
19966 (CFLAGS-tst-gettext3.c): Likewise.
19967 (CFLAGS-tst-gettext4.c): Likewise.
19968 (CFLAGS-tst-gettext5.c): Likewise.
19969 (CFLAGS-tst-gettext6.c): Likewise.
19970 * io/Makefile (CFLAGS-open.c): Likewise.
19971 (CFLAGS-open64.c): Likewise.
19972 (CFLAGS-creat.c): Likewise.
19973 (CFLAGS-creat64.c): Likewise.
19974 (CFLAGS-fcntl.c): Likewise.
19975 (CFLAGS-poll.c): Likewise.
19976 (CFLAGS-ppoll.c): Likewise.
19977 (CFLAGS-lockf.c): Likewise.
19978 (CFLAGS-statfs.c): Likewise.
19979 (CFLAGS-fstatfs.c): Likewise.
19980 (CFLAGS-statvfs.c): Likewise.
19981 (CFLAGS-fstatvfs.c): Likewise.
19982 (CFLAGS-fts.c): Likewise.
19983 (CFLAGS-fts64.c): Likewise.
19984 (CFLAGS-ftw.c): Likewise.
19985 (CFLAGS-ftw64.c): Likewise.
19986 (CFLAGS-lockf.c): Likewise.
19987 (CFLAGS-posix_fallocate.c): Likewise.
19988 (CFLAGS-posix_fallocate64.c): Likewise.
19989 (CFLAGS-fallocate.c): Likewise.
19990 (CFLAGS-fallocate64.c): Likewise.
19991 (CFLAGS-read.c): Likewise.
19992 (CFLAGS-write.c): Likewise.
19993 (CFLAGS-test-stat.c): Likewise.
19994 (CFLAGS-test-lfs.c): Likewise.
19995 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19996 (CFLAGS-fputc.c): Likewise.
19997 (CFLAGS-fputwc.c): Likewise.
19998 (CFLAGS-freopen64.c): Likewise.
19999 (CFLAGS-freopen.c): Likewise.
20000 (CFLAGS-fseek.c): Likewise.
20001 (CFLAGS-fseeko64.c): Likewise.
20002 (CFLAGS-fseeko.c): Likewise.
20003 (CFLAGS-ftello64.c): Likewise.
20004 (CFLAGS-ftello.c): Likewise.
20005 (CFLAGS-fwide.c): Likewise.
20006 (CFLAGS-genops.c): Likewise.
20007 (CFLAGS-getc.c): Likewise.
20008 (CFLAGS-getchar.c): Likewise.
20009 (CFLAGS-getwc.c): Likewise.
20010 (CFLAGS-getwchar.c): Likewise.
20011 (CFLAGS-iofclose.c): Likewise.
20012 (CFLAGS-iofflush.c): Likewise.
20013 (CFLAGS-iofgetpos64.c): Likewise.
20014 (CFLAGS-iofgetpos.c): Likewise.
20015 (CFLAGS-iofgets.c): Likewise.
20016 (CFLAGS-iofgetws.c): Likewise.
20017 (CFLAGS-iofputs.c): Likewise.
20018 (CFLAGS-iofputws.c): Likewise.
20019 (CFLAGS-iofread.c): Likewise.
20020 (CFLAGS-iofsetpos64.c): Likewise.
20021 (CFLAGS-iofsetpos.c): Likewise.
20022 (CFLAGS-ioftell.c): Likewise.
20023 (CFLAGS-iofwrite.c): Likewise.
20024 (CFLAGS-iogetdelim.c): Likewise.
20025 (CFLAGS-iogetline.c): Likewise.
20026 (CFLAGS-iogets.c): Likewise.
20027 (CFLAGS-iogetwline.c): Likewise.
20028 (CFLAGS-ioputs.c): Likewise.
20029 (CFLAGS-ioseekoff.c): Likewise.
20030 (CFLAGS-ioseekpos.c): Likewise.
20031 (CFLAGS-iosetbuffer.c): Likewise.
20032 (CFLAGS-iosetvbuf.c): Likewise.
20033 (CFLAGS-ioungetc.c): Likewise.
20034 (CFLAGS-ioungetwc.c): Likewise.
20035 (CFLAGS-oldfileops.c): Likewise.
20036 (CFLAGS-oldiofclose.c): Likewise.
20037 (CFLAGS-oldiofgetpos64.c): Likewise.
20038 (CFLAGS-oldiofgetpos.c): Likewise.
20039 (CFLAGS-oldiofsetpos64.c): Likewise.
20040 (CFLAGS-oldiofsetpos.c): Likewise.
20041 (CFLAGS-peekc.c): Likewise.
20042 (CFLAGS-putc.c): Likewise.
20043 (CFLAGS-putchar.c): Likewise.
20044 (CFLAGS-putwc.c): Likewise.
20045 (CFLAGS-putwchar.c): Likewise.
20046 (CFLAGS-rewind.c): Likewise.
20047 (CFLAGS-wfileops.c): Likewise.
20048 (CFLAGS-wgenops.c): Likewise.
20049 (CFLAGS-oldiofopen.c): Likewise.
20050 (CFLAGS-iofopen.c): Likewise.
20051 (CFLAGS-iofopen64.c): Likewise.
20052 (CFLAGS-oldtmpfile.c): Likewise.
20053 (CFLAGS-tst_putwc.c): Likewise.
20054 * locale/Makefile (CFLAGS-md5.c): Likewise.
20055 (CFLAGS-charmap.c): Likewise.
20056 (CFLAGS-locfile.c): Likewise.
20057 (CFLAGS-charmap-dir.c): Likewise.
20058 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20059 (CFLAGS-getpt.c): Likewise.
20060 (CFLAGS-pt_chown.c): Likewise.
20061 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20062 (CFLAGS-obstack.c): Likewise.
20063 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20064 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20065 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20066 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20067 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20068 (CFLAGS-test-tgmath.c): Likewise.
20069 (CFLAGS-test-tgmath2.c): Likewise.
20070 (CFLAGS-test-tgmath-ret.c): Likewise.
20071 (CFLAGS-test-powl.c): Likewise.
20072 (CFLAGS-test-snan.c): Likewise.
20073 (CFLAGS-test-signgam-finite.c): Likewise.
20074 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20075 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20076 (CFLAGS-test-signgam-uchar.c): Likewise.
20077 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20078 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20079 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20080 (CFLAGS-test-signgam-uint.c): Likewise.
20081 (CFLAGS-test-signgam-uint-init.c): Likewise.
20082 (CFLAGS-test-signgam-uint-static.c): Likewise.
20083 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20084 (CFLAGS-test-signgam-ullong.c): Likewise.
20085 (CFLAGS-test-signgam-ullong-init.c): Likewise.
20086 (CFLAGS-test-signgam-ullong-static.c): Likewise.
20087 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20088 (CFLAGS-test-math-cxx11.cc): Likewise.
20089 (CFLAGS-test-math-isinff.cc): Likewise.
20090 (CFLAGS-test-math-iszero.cc): Likewise.
20091 (CFLAGS-test-math-issignaling.cc): Likewise.
20092 (CFLAGS-test-math-iscanonical.cc): Likewise.
20093 (CFLAGS-test-iszero-excess-precision.c): Likewise.
20094 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
20095 (CFLAGS-test-flt-eval-method.c): Likewise.
20096 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
20097 (CFLAGS-test-finite-macros.c): Likewise.
20098 * misc/Makefile (CFLAGS-select.c): Likewise.
20099 (CFLAGS-tsearch.c): Likewise.
20100 (CFLAGS-lsearch.c): Likewise.
20101 (CFLAGS-pselect.c): Likewise.
20102 (CFLAGS-readv.c): Likewise.
20103 (CFLAGS-writev.c): Likewise.
20104 (CFLAGS-preadv.c): Likewise.
20105 (CFLAGS-preadv64.c): Likewise.
20106 (CFLAGS-pwritev.c): Likewise.
20107 (CFLAGS-pwritev64.c): Likewise.
20108 (CFLAGS-preadv2.c): Likewise.
20109 (CFLAGS-preadv64v2.c): Likewise.
20110 (CFLAGS-pwritev2.c): Likewise.
20111 (CFLAGS-pwritev64v2.c): Likewise.
20112 (CFLAGS-usleep.c): Likewise.
20113 (CFLAGS-syslog.c): Likewise.
20114 (CFLAGS-error.c): Likewise.
20115 (CFLAGS-getpass.c): Likewise.
20116 (CFLAGS-mkstemp.c): Likewise.
20117 (CFLAGS-mkstemp64.c): Likewise.
20118 (CFLAGS-getsysstats.c): Likewise.
20119 (CFLAGS-getusershell.c): Likewise.
20120 (CFLAGS-err.c): Likewise.
20121 (CFLAGS-tst-tsearch.c): Likewise.
20122 (CFLAGS-msync.c): Likewise.
20123 (CFLAGS-fdatasync.c): Likewise.
20124 (CFLAGS-fsync.c): Likewise.
20125 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
20126 (CFLAGS-unwind.c): Likewise.
20127 (CFLAGS-unwind-forcedunwind.c): Likewise.
20128 (CFLAGS-pthread_cancel.c): Likewise.
20129 (CFLAGS-pthread_setcancelstate.c): Likewise.
20130 (CFLAGS-pthread_setcanceltype.c): Likewise.
20131 (CFLAGS-cancellation.c): Likewise.
20132 (CFLAGS-libc-cancellation.c): Likewise.
20133 (CFLAGS-pthread_exit.c): Likewise.
20134 (CFLAGS-forward.c): Likewise.
20135 (CFLAGS-pthread_testcancel.c): Likewise.
20136 (CFLAGS-pthread_join.c): Likewise.
20137 (CFLAGS-pthread_timedjoin.c): Likewise.
20138 (CFLAGS-pthread_once.c): Likewise.
20139 (CFLAGS-pthread_cond_wait.c): Likewise.
20140 (CFLAGS-sem_wait.c): Likewise.
20141 (CFLAGS-sem_timedwait.c): Likewise.
20142 (CFLAGS-fcntl.c): Likewise.
20143 (CFLAGS-lockf.c): Likewise.
20144 (CFLAGS-pread.c): Likewise.
20145 (CFLAGS-pread64.c): Likewise.
20146 (CFLAGS-pwrite.c): Likewise.
20147 (CFLAGS-pwrite64.c): Likewise.
20148 (CFLAGS-wait.c): Likewise.
20149 (CFLAGS-waitpid.c): Likewise.
20150 (CFLAGS-sigwait.c): Likewise.
20151 (CFLAGS-msgrcv.c): Likewise.
20152 (CFLAGS-msgsnd.c): Likewise.
20153 (CFLAGS-tcdrain.c): Likewise.
20154 (CFLAGS-open.c): Likewise.
20155 (CFLAGS-open64.c): Likewise.
20156 (CFLAGS-pause.c): Likewise.
20157 (CFLAGS-recv.c): Likewise.
20158 (CFLAGS-send.c): Likewise.
20159 (CFLAGS-accept.c): Likewise.
20160 (CFLAGS-sendto.c): Likewise.
20161 (CFLAGS-connect.c): Likewise.
20162 (CFLAGS-recvfrom.c): Likewise.
20163 (CFLAGS-recvmsg.c): Likewise.
20164 (CFLAGS-sendmsg.c): Likewise.
20165 (CFLAGS-close.c): Likewise.
20166 (CFLAGS-read.c): Likewise.
20167 (CFLAGS-write.c): Likewise.
20168 (CFLAGS-nanosleep.c): Likewise.
20169 (CFLAGS-sigsuspend.c): Likewise.
20170 (CFLAGS-msync.c): Likewise.
20171 (CFLAGS-fdatasync.c): Likewise.
20172 (CFLAGS-fsync.c): Likewise.
20173 (CFLAGS-pt-system.c): Likewise.
20174 (CFLAGS-tst-cleanup2.c): Likewise.
20175 (CFLAGS-tst-cleanupx2.c): Likewise.
20176 (CFLAGS-flockfile.c): Likewise.
20177 (CFLAGS-ftrylockfile.c): Likewise.
20178 (CFLAGS-funlockfile.c): Likewise.
20179 (CFLAGS-tst-initializers1.c): Likewise.
20180 (CFLAGS-tst-initializers1-c89.c): Likewise.
20181 (CFLAGS-tst-initializers1-c99.c): Likewise.
20182 (CFLAGS-tst-initializers1-c11.c): Likewise.
20183 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
20184 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
20185 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20186 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
20187 (CFLAGS-nscd_getgr_r.c): Likewise.
20188 (CFLAGS-nscd_gethst_r.c): Likewise.
20189 (CFLAGS-nscd_getai.c): Likewise.
20190 (CFLAGS-nscd_initgroups.c): Likewise.
20191 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
20192 (CFLAGS-pause.c): Likewise.
20193 (CFLAGS-pread.c): Likewise.
20194 (CFLAGS-pread64.c): Likewise.
20195 (CFLAGS-pwrite.c): Likewise.
20196 (CFLAGS-pwrite64.c): Likewise.
20197 (CFLAGS-sleep.c): Likewise.
20198 (CFLAGS-wait.c): Likewise.
20199 (CFLAGS-waitid.c): Likewise.
20200 (CFLAGS-waitpid.c): Likewise.
20201 (CFLAGS-getopt.c): Likewise.
20202 (CFLAGS-wordexp.c): Likewise.
20203 (CFLAGS-sysconf.c): Likewise.
20204 (CFLAGS-pathconf.c): Likewise.
20205 (CFLAGS-fpathconf.c): Likewise.
20206 (CFLAGS-spawn.c): Likewise.
20207 (CFLAGS-spawnp.c): Likewise.
20208 (CFLAGS-spawni.c): Likewise.
20209 (CFLAGS-glob.c): Likewise.
20210 (CFLAGS-glob64.c): Likewise.
20211 (CFLAGS-getconf.c): Likewise.
20212 (CFLAGS-nanosleep.c): Likewise.
20213 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20214 (CFLAGS-getpwent.c): Likewise.
20215 (CFLAGS-getpw.c): Likewise.
20216 (CFLAGS-fgetpwent_r.c): Likewise.
20217 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20218 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20219 (CFLAGS-mq_timedreceive.c): Likewise.
20220 (CFLAGS-mq_timedsend.c): Likewise.
20221 (CFLAGS-clock_nanosleep.c): Likewise.
20222 (CFLAGS-librt-cancellation.c): Likewise.
20223 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20224 (CFLAGS-getspent.c): Likewise.
20225 (CFLAGS-fgetspent.c): Likewise.
20226 (CFLAGS-fgetspent_r.c): Likewise.
20227 (CFLAGS-putspent.c): Likewise.
20228 (CFLAGS-getspnam.c): Likewise.
20229 (CFLAGS-getspnam_r.c): Likewise.
20230 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20231 (CFLAGS-sigsuspend.c): Likewise.
20232 (CFLAGS-sigtimedwait.c): Likewise.
20233 (CFLAGS-sigwait.c): Likewise.
20234 (CFLAGS-sigwaitinfo.c): Likewise.
20235 (CFLAGS-sigreturn.c): Likewise.
20236 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20237 (CFLAGS-vfwprintf.c): Likewise.
20238 (CFLAGS-tmpfile.c): Likewise.
20239 (CFLAGS-tmpfile64.c): Likewise.
20240 (CFLAGS-tempname.c): Likewise.
20241 (CFLAGS-psignal.c): Likewise.
20242 (CFLAGS-vprintf.c): Likewise.
20243 (CFLAGS-cuserid.c): Likewise.
20244 (CFLAGS-errlist.c): Likewise.
20245 (CFLAGS-siglist.c): Likewise.
20246 (CFLAGS-scanf15.c): Likewise.
20247 (CFLAGS-scanf17.c): Likewise.
20248 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20249 (CFLAGS-msort.c): Likewise.
20250 (CFLAGS-qsort.c): Likewise.
20251 (CFLAGS-system.c): Likewise.
20252 (CFLAGS-fmtmsg.c): Likewise.
20253 (CFLAGS-strfmon.c): Likewise.
20254 (CFLAGS-strfmon_l.c): Likewise.
20255 (CFLAGS-strfromd.c): Likewise.
20256 (CFLAGS-strfromf.c): Likewise.
20257 (CFLAGS-strfroml.c): Likewise.
20258 (CFLAGS-tst-bsearch.c): Likewise.
20259 (CFLAGS-tst-qsort.c): Likewise.
20260 (CFLAGS-tst-makecontext2.c): Likewise.
20261 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20262 (CFLAGS-xnlm_prot.c): Likewise.
20263 (CFLAGS-xrstat.c): Likewise.
20264 (CFLAGS-xyppasswd.c): Likewise.
20265 (CFLAGS-xklm_prot.c): Likewise.
20266 (CFLAGS-xrex.c): Likewise.
20267 (CFLAGS-xsm_inter.c): Likewise.
20268 (CFLAGS-xmount.c): Likewise.
20269 (CFLAGS-xrusers.c): Likewise.
20270 (CFLAGS-xspray.c): Likewise.
20271 (CFLAGS-xnfs_prot.c): Likewise.
20272 (CFLAGS-xrquota.c): Likewise.
20273 (CFLAGS-xkey_prot.c): Likewise.
20274 (CFLAGS-auth_unix.c): Likewise.
20275 (CFLAGS-key_call.c): Likewise.
20276 (CFLAGS-pmap_rmt.c): Likewise.
20277 (CFLAGS-clnt_perr.c): Likewise.
20278 (CFLAGS-openchild.c): Likewise.
20279 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
20280 (CFLAGS-msgsnd.c): Likewise.
20281 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
20282 * time/Makefile (CFLAGS-tzfile.c): Likewise.
20283 (CFLAGS-tzset.c): Likewise.
20284 (CFLAGS-getdate.c): Likewise.
20285 (CFLAGS-test_time.c): Likewise.
20286 (CPPFLAGS-tst-tzname.c): Likewise.
20287 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
20288 (CFLAGS-zic.c): Likewise.
20289 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
20290 (CFLAGS-wcswidth.c): Likewise.
20291 (CFLAGS-wcstol.c): Likewise.
20292 (CFLAGS-wcstoul.c): Likewise.
20293 (CFLAGS-wcstoll.c): Likewise.
20294 (CFLAGS-wcstoull.c): Likewise.
20295 (CFLAGS-wcstod.c): Likewise.
20296 (CFLAGS-wcstold.c): Likewise.
20297 (CFLAGS-wcstof128.c): Likewise.
20298 (CFLAGS-wcstof.c): Likewise.
20299 (CFLAGS-wcstol_l.c): Likewise.
20300 (CFLAGS-wcstoul_l.c): Likewise.
20301 (CFLAGS-wcstoll_l.c): Likewise.
20302 (CFLAGS-wcstoull_l.c): Likewise.
20303 (CFLAGS-wcstod_l.c): Likewise.
20304 (CFLAGS-wcstold_l.c): Likewise.
20305 (CFLAGS-wcstof128_l.c): Likewise.
20306 (CFLAGS-wcstof_l.c): Likewise.
20307 (CPPFLAGS-tst-wchar-h.c): Likewise.
20308 (CPPFLAGS-wcstold_l.c): Likewise.
20310 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
20312 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
20314 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20315 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20317 * manual/tunables.texi (Hardware Capability Tunables): Document
20318 glibc.tune.cached_memopt.
20319 * sysdeps/powerpc/cpu-features.c: New file.
20320 * sysdeps/powerpc/cpu-features.h: New file.
20321 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
20322 _dl_powerpc_cpu_features.
20323 * sysdeps/powerpc/dl-tunables.list: New file.
20324 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
20325 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20326 (INIT_ARCH): Initialize use_aligned_memopt.
20327 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
20328 IS_IN(rtld))]: Restrict dl_platform_init availability and
20329 initialize CPU features used by tunables.
20330 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
20331 Add memcpy-power8-cached.
20332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
20333 __memcpy_power8_cached.
20334 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20335 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
20338 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20340 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
20341 (CFLAGS-noinl-tester.c): Likewise.
20342 (CFLAGS-tst-strlen.c): Likewise.
20343 (CFLAGS-stratcliff.c): Likewise.
20344 (CFLAGS-test-ffs.c): Likewise.
20345 (CFLAGS-tst-inlcall.c): Likewise.
20346 (CFLAGS-tst-xbzero-opt.c): Likewise.
20347 (CFLAGS-memcpy.c): Likewise.
20348 (CFLAGS-wordcopy.c): Likewise.
20350 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20352 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
20353 Store r15 on stack and add cfi rule.
20354 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20357 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
20360 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
20363 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20365 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20366 Add s_sinf-sse2 and s_sinf-fma.
20367 (CFLAGS-s_sinf-fma.c): New.
20368 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
20369 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
20370 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
20372 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20374 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
20376 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20379 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
20380 part of result to imaginary part of argument if it is zero and the
20381 real part of the argument is not finite.
20382 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
20383 of result to real part of argument if it is zero and the imaginary
20384 part of the argument is not finite.
20386 2017-12-07 Mike FABIAN <mfabian@redhat.com>
20389 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
20390 and to the list of locales to be built for testing.
20391 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
20392 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
20393 and build the collation rules upon that.
20395 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20397 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
20398 * manual/math.texi (Mathematics): Document support for _Float32.
20399 * math/Makefile (test-types): Add float32.
20400 * math/Versions (GLIBC_2.27): Add _Float32 functions.
20401 * stdlib/Versions (GLIBC_2.27): Likewise.
20402 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20403 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20404 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20405 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20406 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20407 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20408 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20409 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20410 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20411 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20412 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20413 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20414 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20415 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20416 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20417 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20418 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20419 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20420 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20421 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20422 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20423 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20425 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20426 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20427 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20428 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20429 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20447 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20448 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20449 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20450 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20451 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20452 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20453 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20454 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20455 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20456 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20465 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20466 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20467 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20468 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20469 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20470 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20471 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20472 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20474 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20476 * stdlib/strtof.c: Include <bits/floatn.h>
20477 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
20478 and later undefine as macro. Define as weak alias if
20480 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
20481 and later undefine as macro. Define as weak alias if
20483 * stdlib/strtof_l.c: Include <bits/floatn.h>
20484 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
20485 and later undefine as macro. Define as weak alias if
20487 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
20488 and later undefine as macro. Define as weak alias if
20491 * stdlib/strfromf.c: Include <bits/floatn.h>.
20492 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
20493 and later undefine as macro and define as weak alias.
20495 * math/test-float32.h: New file.
20497 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
20498 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
20499 (libm_alias_float_other_r): Create f32 alias.
20500 (libm_alias_float_r): Use semicolon before call to
20501 libm_alias_float_other_r.
20503 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
20504 second argument to libm_alias_float_other.
20505 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
20506 second argument to libm_alias_float_other.
20507 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
20508 argument to libm_alias_float_other.
20511 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
20512 real part of result for argument 0 + i * NaN.
20513 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
20514 results for tests of 0 + i * NaN.
20516 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20518 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20520 2017-12-06 David S. Miller <davem@davemloft.net>
20522 * sysdeps/sparc/fpu/libm-test-ulps: Update
20523 exp_{downward,towardzero,upward} ulps.
20525 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20527 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
20530 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
20532 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
20534 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
20536 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
20539 2017-12-06 Mike FABIAN <mfabian@redhat.com>
20542 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
20543 and to the list of locales to be built for testing.
20544 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
20545 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
20546 and build the collation rules upon that.
20548 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20550 * NEWS: Add sinf to list of optimized functions.
20552 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20554 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
20555 (__HAVE_FLOAT32X): Likewise.
20556 * manual/math.texi (Mathematics): Document support for _Float64
20558 * math/Makefile (test-types): Add float64 and float32x.
20559 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
20561 * stdlib/Versions (GLIBC_2.27): Likewise.
20562 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20563 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20564 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20565 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20566 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20567 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20568 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20569 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20570 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20571 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20572 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20573 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20574 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20575 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20576 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20577 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20578 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20579 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20580 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20581 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20582 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20583 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20585 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20586 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20587 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20588 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20589 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20606 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20607 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20608 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20609 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20610 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20611 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20612 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20613 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20614 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20615 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20624 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20625 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20626 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20627 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20628 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20629 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20630 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20631 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20633 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20635 * bits/floatn-common.h: Include <bits/long-double.h>.
20636 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20637 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
20638 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20639 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20640 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20641 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20642 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20643 (__builtin_huge_valf64): Use __builtin_huge_vall.
20644 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20645 (__builtin_inff64): Use __builtin_infl.
20646 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20647 (__builtin_nanf64): Use __builtin_nanl.
20648 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20649 (__builtin_nansf64): Use __builtin_nansl.
20651 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20652 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20653 Carlos O'Donnell <carlos@redhat.com>
20655 * elf/dl-tunables.list: Add elision parameters.
20656 * manual/tunables.texi: Add entries about elision tunable.
20657 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20658 Add callback functions to dynamically enable/disable elision.
20659 Add multiple callbacks functions to set elision parameters.
20660 Deleted __libc_enable_secure check.
20661 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20662 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20663 * configure: Regenerated.
20664 * configure.ac: Option enable_lock_elision was deleted.
20665 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20666 * config.make.in: Remove references to enable_lock_elision.
20667 * manual/install.texi: Elision configure option was removed.
20668 * INSTALL: Regenerated to remove enable_lock_elision.
20670 Disable elision so it can verify error case for destroying a mutex.
20671 * sysdeps/powerpc/nptl/elide.h:
20672 Cleanup ENABLE_LOCK_ELISION check.
20673 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20674 * sysdeps/s390/configure: Regenerated.
20675 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20676 * nptl/tst-mutex8.c:
20677 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20678 * sysdeps/powerpc/powerpc32/sysdep.h:
20679 Deleted all ENABLE_LOCK_ELISION checks.
20680 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20681 * sysdeps/powerpc/sysdep.h: Likewise.
20682 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20683 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20684 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20685 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20686 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20687 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20688 enable-lock-elision.
20690 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20692 * stdlib/strtod.c: Include <bits/floatn.h>.
20693 (BUILD_DOUBLE): New macro.
20694 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20695 (strtof64): Define and later undefine as macro. Define as weak
20696 alias if [!USE_WIDE_CHAR].
20697 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20698 (wcstof64): Define and later undefine as macro. Define as weak
20699 alias if [USE_WIDE_CHAR].
20700 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20701 (strtof32x): Define and later undefine as macro. Define as weak
20702 alias if [!USE_WIDE_CHAR].
20703 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20704 (wcstof32x): Define and later undefine as macro. Define as weak
20705 alias if [USE_WIDE_CHAR].
20706 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20707 (BUILD_DOUBLE): New macro.
20708 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20709 (strtof64_l): Define and later undefine as macro. Define as weak
20710 alias if [!USE_WIDE_CHAR].
20711 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20712 (wcstof64_l): Define and later undefine as macro. Define as weak
20713 alias if [USE_WIDE_CHAR].
20714 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20715 (strtof32x_l): Define and later undefine as macro. Define as weak
20716 alias if [!USE_WIDE_CHAR].
20717 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20718 (wcstof32x_l): Define and later undefine as macro. Define as weak
20719 alias if [USE_WIDE_CHAR].
20721 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20723 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20724 (reduced): Use ones as double instead of integer.
20726 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20728 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20730 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20732 * stdlib/strfromd.c: Include <bits/floatn.h>.
20733 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20734 and later undefine as macro and define as weak alias.
20735 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20738 * math/test-float32x.h: New file.
20739 * math/test-float64.h: Likewise.
20741 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20742 (libm_alias_double_other_r_f64): New macro.
20743 (libm_alias_double_other_r_f32x): Likewise.
20744 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20745 libm_alias_double_other_r_f32x.
20746 (libm_alias_double_r): Use semicolon before call to
20747 libm_alias_double_other_r.
20748 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20750 (libm_alias_double_other_r_f64): New macro.
20751 (libm_alias_double_other_r_f32x): Likewise.
20752 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20753 libm_alias_double_other_r_f32x.
20755 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20757 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20759 (SINF_FUNC): Likewise. Replace floor with simple casts.
20761 2017-12-05 Mike FABIAN <mfabian@redhat.com>
20764 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20765 and to the list of locales to be built for testing.
20766 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20767 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20768 and build the collation rules upon that.
20770 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20772 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20773 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20774 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20775 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20776 instead of __insn__xxx.
20777 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20778 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20779 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20780 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20781 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20782 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20784 2017-12-05 Florian Weimer <fweimer@redhat.com>
20786 Linux: Implement interfaces for memory protection keys
20787 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20789 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20790 * support/xunistd.h (xsysconf): Declare.
20791 * support/xraise.c: New file.
20792 * support/xsigaction.c: Likewise.
20793 * support/xsignal.c: Likewise.
20794 * support/xsysconf.c: Likewise.
20795 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20796 pkey_set, pkey_get, pkey_mprotect.
20797 [misc] (tests): Add tst-pkey.
20798 (tst-pkey): Link with -lpthread.
20799 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20800 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20801 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20802 (PKEY_DISABLE_WRITE): Define.
20803 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20805 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20806 (SEGV_PKUERR): Add.
20807 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20808 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20809 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20810 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20812 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20813 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20814 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20815 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20816 * sysdeps/unix/sysv/linux/**.abilist: Update.
20818 2017-12-05 Florian Weimer <fweimer@redhat.com>
20820 * support/tst-test_compare.c (subprocess): Use long long instead
20821 of long argument for consistent type width across 32-bit and
20822 64-bit architectures.
20823 (do_test): Adjust expected output.
20825 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20827 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
20828 (cosf): Define using libm_alias_float.
20829 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
20830 (fabsf): Define using libm_alias_float.
20831 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
20832 (fmaf): Define using libm_alias_float.
20833 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
20834 (rintf): Define using libm_alias_float.
20835 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
20836 (sinf): Define using libm_alias_float.
20837 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
20838 <libm-alias-float.h>.
20839 (modff): Define using libm_alias_float.
20840 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
20841 <libm-alias-float.h>.
20842 (logbf): Define using libm_alias_float.
20843 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
20844 <libm-alias-float.h>.
20845 (ceilf): Define using libm_alias_float.
20846 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20847 <libm-alias-float.h>.
20848 (copysignf): Define using libm_alias_float.
20849 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
20850 <libm-alias-float.h>.
20851 (floorf): Define using libm_alias_float.
20852 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20853 <libm-alias-float.h>.
20854 (llrintf): Define using libm_alias_float.
20855 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20856 <libm-alias-float.h>.
20857 (llroundf): Define using libm_alias_float.
20858 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20859 <libm-alias-float.h>.
20860 (lrintf): Define using libm_alias_float.
20861 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20862 <libm-alias-float.h>.
20863 (lroundf): Define using libm_alias_float.
20864 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20865 <libm-alias-float.h>.
20866 (nearbyintf): Define using libm_alias_float.
20867 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20868 <libm-alias-float.h>.
20869 (rintf): Define using libm_alias_float.
20870 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20871 <libm-alias-float.h>.
20872 (roundf): Define using libm_alias_float.
20873 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20874 <libm-alias-float.h>.
20875 (truncf): Define using libm_alias_float.
20876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20877 Include <libm-alias-float.h>.
20878 (ceilf): Define using libm_alias_float.
20879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20880 Include <libm-alias-float.h>.
20881 (copysignf): Define using libm_alias_float.
20882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20883 Include <libm-alias-float.h>.
20884 (floorf): Define using libm_alias_float.
20885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20886 Include <libm-alias-float.h>.
20887 (llrintf): Define using libm_alias_float.
20888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20889 Include <libm-alias-float.h>.
20890 (llroundf): Define using libm_alias_float.
20891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20892 Include <libm-alias-float.h>.
20893 (logbf): Define using libm_alias_float.
20894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20895 Include <libm-alias-float.h>.
20896 (lrintf): Define using libm_alias_float.
20897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20898 Include <libm-alias-float.h>.
20899 (lroundf): Define using libm_alias_float.
20900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20901 Include <libm-alias-float.h>.
20902 (modff): Define using libm_alias_float.
20903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20904 Include <libm-alias-float.h>.
20905 (roundf): Define using libm_alias_float.
20906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20907 Include <libm-alias-float.h>.
20908 (truncf): Define using libm_alias_float.
20909 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20910 <libm-alias-float.h>.
20911 (llrintf): Define using libm_alias_float.
20912 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20913 <libm-alias-float.h>.
20914 (llroundf): Define using libm_alias_float.
20915 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20916 <libm-alias-float.h>.
20917 (ceilf): Define using libm_alias_float.
20918 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20919 <libm-alias-float.h>.
20920 (floorf): Define using libm_alias_float.
20921 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20922 <libm-alias-float.h>.
20923 (llroundf): Define using libm_alias_float.
20924 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20925 <libm-alias-float.h>.
20926 (lroundf): Define using libm_alias_float.
20927 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20928 <libm-alias-float.h>.
20929 (roundf): Define using libm_alias_float.
20930 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20931 <libm-alias-float.h>.
20932 (truncf): Define using libm_alias_float.
20933 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20934 <libm-alias-float.h>.
20935 (copysignf): Define using libm_alias_float.
20936 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20937 <libm-alias-float.h>.
20938 (llrintf): Define using libm_alias_float.
20939 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20940 <libm-alias-float.h>.
20941 (llroundf): Define using libm_alias_float.
20942 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20943 <libm-alias-float.h>.
20944 (lrintf): Define using libm_alias_float.
20945 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20946 <libm-alias-float.h>.
20947 (lroundf): Define using libm_alias_float.
20948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20949 <libm-alias-float.h>.
20950 (ceilf): Define using libm_alias_float.
20951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20952 <libm-alias-float.h>.
20953 (copysignf): Define using libm_alias_float.
20954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20955 <libm-alias-float.h>.
20956 (cosf): Define using libm_alias_float.
20957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20958 <libm-alias-float.h>.
20959 (floorf): Define using libm_alias_float.
20960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20961 <libm-alias-float.h>.
20962 (llrintf): Define using libm_alias_float.
20963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20964 <libm-alias-float.h>.
20965 (llroundf): Define using libm_alias_float.
20966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20967 <libm-alias-float.h>.
20968 (logbf): Define using libm_alias_float.
20969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20970 <libm-alias-float.h>.
20971 (modff): Define using libm_alias_float.
20972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20973 <libm-alias-float.h>.
20974 (roundf): Define using libm_alias_float.
20975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20976 <libm-alias-float.h>.
20977 (sinf): Define using libm_alias_float.
20978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20979 <libm-alias-float.h>.
20980 (truncf): Define using libm_alias_float.
20981 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20982 <libm-alias-float.h>.
20983 (ceilf): Define using libm_alias_float.
20984 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20985 <libm-alias-float.h>.
20986 (copysignf): Define using libm_alias_float.
20987 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20988 <libm-alias-float.h>.
20989 (floorf): Define using libm_alias_float.
20990 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20991 <libm-alias-float.h>.
20992 (llrintf): Define using libm_alias_float.
20993 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20994 <libm-alias-float.h>.
20995 (llroundf): Define using libm_alias_float.
20996 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20997 <libm-alias-float.h>.
20998 (nearbyintf): Define using libm_alias_float.
20999 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21000 <libm-alias-float.h>.
21001 (rintf): Define using libm_alias_float.
21002 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21003 <libm-alias-float.h>.
21004 (roundf): Define using libm_alias_float.
21005 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21006 <libm-alias-float.h>.
21007 (truncf): Define using libm_alias_float.
21008 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21009 <libm-alias-float.h>.
21010 (ceilf): Define using libm_alias_float.
21011 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21012 <libm-alias-float.h>.
21013 (floorf): Define using libm_alias_float.
21014 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21015 <libm-alias-float.h>.
21016 (llroundf): Define using libm_alias_float.
21017 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21018 <libm-alias-float.h>.
21019 (roundf): Define using libm_alias_float.
21020 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21021 <libm-alias-float.h>.
21022 (truncf): Define using libm_alias_float.
21023 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21024 <libm-alias-float.h>.
21025 (copysignf): Define using libm_alias_float.
21026 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21027 <libm-alias-float.h>.
21028 (llrintf): Define using libm_alias_float.
21029 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21030 <libm-alias-float.h>.
21031 (llroundf): Define using libm_alias_float.
21032 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21033 <libm-alias-float.h>.
21034 (cosf): Define using libm_alias_float.
21035 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21036 <libm-alias-float.h>.
21037 (llrintf): Define using libm_alias_float.
21038 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21039 <libm-alias-float.h>.
21040 (llroundf): Define using libm_alias_float.
21041 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21042 <libm-alias-float.h>.
21043 (sinf): Define using libm_alias_float.
21045 2017-12-04 Florian Weimer <fweimer@redhat.com>
21047 * support/check.h (TEST_COMPARE): Define.
21048 (support_test_compare_failure): Declare.
21049 * support/Makefile (libsupport-routines): Add
21050 support_test_compare_failure.
21051 (tests): Add tst-test_compare.
21052 * support /support_test_compare_failure.c: New file.
21053 * support/tst-test_compare.c: Likewise.
21055 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21058 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21059 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21060 available, this rewrite of the collation rules does reproduce
21061 the test file in the same order.
21063 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21066 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21067 digraphs in the month and day names. Using single code points for
21068 digraphs is deprecated. While there are dedicated Unicode
21069 codepoints, for the digraphs, these are included for backwards
21070 compatibility and modern texts use a sequence of Basic Latin
21071 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21072 This makes the month and day names agree exactly with CLDR now,
21073 CLDR does not use the single code points for the digraphs either.
21075 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21077 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21079 2017-12-04 Joseph Myers <joseph@codesourcery.com>
21081 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
21084 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
21086 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
21087 Define only for libc.so.
21089 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
21091 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21092 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
21093 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
21094 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
21095 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21097 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21100 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
21102 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
21105 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
21106 PREINIT_FUNCTION_WEAK is nonzero.
21107 (gmon_initializer): New function. Put procedure label for it in
21108 .init_array section.
21109 (_init): Don't call PREINIT_FUNCTION.
21110 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
21111 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
21112 value when map argument is null.
21114 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
21115 depi instruction from PIC pc-relative sequence.
21116 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
21117 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
21118 (elf_machine_load_address): Likewise.
21119 (elf_machine_runtime_setup): Likewise.
21121 2017-12-02 Joseph Myers <joseph@codesourcery.com>
21123 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
21124 <libm-alias-double.h>.
21125 (logb): Define using libm_alias_double.
21126 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21127 <libm-alias-double.h>.
21128 (copysign): Define using libm_alias_double.
21129 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
21130 <libm-alias-double.h>.
21131 (llrint): Define using libm_alias_double.
21132 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
21133 <libm-alias-double.h>.
21134 (llround): Define using libm_alias_double.
21135 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21136 <libm-alias-double.h>.
21137 (lrint): Define using libm_alias_double.
21138 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21139 <libm-alias-double.h>.
21140 (lround): Define using libm_alias_double.
21141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21142 Include <libm-alias-double.h>.
21143 (copysign): Define using libm_alias_double.
21144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
21145 Include <libm-alias-double.h>.
21146 (llrint): Define using libm_alias_double.
21147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
21148 Include <libm-alias-double.h>.
21149 (llround): Define using libm_alias_double.
21150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
21151 <libm-alias-double.h>.
21152 (logb): Define using libm_alias_double.
21153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
21154 Include <libm-alias-double.h>.
21155 (lrint): Define using libm_alias_double.
21156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
21157 Include <libm-alias-double.h>.
21158 (lround): Define using libm_alias_double.
21159 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
21160 <libm-alias-double.h>.
21161 (llrint): Define using libm_alias_double.
21162 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21163 <libm-alias-double.h>.
21164 (llround): Define using libm_alias_double.
21165 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21166 <libm-alias-double.h>.
21167 (llround): Define using libm_alias_double.
21168 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21169 <libm-alias-double.h>.
21170 (lround): Define using libm_alias_double.
21171 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21172 <libm-alias-double.h>.
21173 (copysign): Define using libm_alias_double.
21174 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
21175 <libm-alias-double.h>.
21176 (llrint): Define using libm_alias_double.
21177 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21178 <libm-alias-double.h>.
21179 (llround): Define using libm_alias_double.
21180 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21181 <libm-alias-double.h>.
21182 (lrint): Define using libm_alias_double.
21183 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21184 <libm-alias-double.h>.
21185 (lround): Define using libm_alias_double.
21186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
21187 <libm-alias-double.h>.
21188 (copysign): Define using libm_alias_double.
21189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
21190 <libm-alias-double.h>.
21191 (llrint): Define using libm_alias_double.
21193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
21194 <libm-alias-double.h>.
21195 (llround): Define using libm_alias_double.
21196 (lround): Likewise.
21197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
21198 <libm-alias-double.h>.
21199 (logb): Define using libm_alias_double.
21200 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21201 <libm-alias-double.h>.
21202 (copysign): Define using libm_alias_double.
21203 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21204 <libm-alias-double.h>.
21205 (llrint): Define using libm_alias_double.
21207 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21208 <libm-alias-double.h>.
21209 (llround): Define using libm_alias_double.
21210 (lround): Likewise.
21211 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21212 <libm-alias-double.h>.
21213 (llround): Define using libm_alias_double.
21214 (lround): Likewise.
21215 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21216 <libm-alias-double.h>.
21217 (copysign): Define using libm_alias_double.
21218 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21219 <libm-alias-double.h>.
21220 (llrint): Define using libm_alias_double.
21222 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21223 <libm-alias-double.h>.
21224 (llround): Define using libm_alias_double.
21225 (lround): Likewise.
21226 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21227 <libm-alias-double.h>.
21228 (llrint): Define using libm_alias_double.
21230 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21231 <libm-alias-double.h>.
21232 (llround): Define using libm_alias_double.
21233 (lround): Likewise.
21235 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21238 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21239 compat symbol based on llround.
21241 * sysdeps/powerpc/power7/fpu/s_logb.c
21242 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21243 symbol based on __logb, not on logb.
21244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21245 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21247 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21249 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21250 (rint): Define using libm_alias_double.
21251 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21252 <libm-alias-double.h>.
21253 (modf): Define using libm_alias_double.
21254 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21255 <libm-alias-double.h>.
21256 (ceil): Define using libm_alias_double.
21257 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21258 <libm-alias-double.h>.
21259 (floor): Define using libm_alias_double.
21260 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21261 <libm-alias-double.h>.
21262 (nearbyint): Define using libm_alias_double.
21263 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21264 <libm-alias-double.h>.
21265 (rint): Define using libm_alias_double.
21266 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21267 <libm-alias-double.h>.
21268 (round): Define using libm_alias_double.
21269 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21270 <libm-alias-double.h>.
21271 (trunc): Define using libm_alias_double.
21272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21273 <libm-alias-double.h>.
21274 (ceil): Define using libm_alias_double.
21275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21276 Include <libm-alias-double.h>.
21277 (floor): Define using libm_alias_double.
21278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
21279 <libm-alias-double.h>.
21280 (modf): Define using libm_alias_double.
21281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
21282 Include <libm-alias-double.h>.
21283 (round): Define using libm_alias_double.
21284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
21285 Include <libm-alias-double.h>.
21286 (trunc): Define using libm_alias_double.
21287 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
21288 <libm-alias-double.h>.
21289 (ceil): Define using libm_alias_double.
21290 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
21291 <libm-alias-double.h>.
21292 (floor): Define using libm_alias_double.
21293 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
21294 <libm-alias-double.h>.
21295 (round): Define using libm_alias_double.
21296 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
21297 <libm-alias-double.h>.
21298 (trunc): Define using libm_alias_double.
21299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
21300 <libm-alias-double.h>.
21301 (ceil): Define using libm_alias_double.
21302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
21303 <libm-alias-double.h>.
21304 (floor): Define using libm_alias_double.
21305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
21306 <libm-alias-double.h>.
21307 (modf): Define using libm_alias_double.
21308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
21309 <libm-alias-double.h>.
21310 (round): Define using libm_alias_double.
21311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
21312 <libm-alias-double.h>.
21313 (trunc): Define using libm_alias_double.
21314 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
21315 <libm-alias-double.h>.
21316 (ceil): Define using libm_alias_double.
21317 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
21318 <libm-alias-double.h>.
21319 (floor): Define using libm_alias_double.
21320 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
21321 <libm-alias-double.h>.
21322 (nearbyint): Define using libm_alias_double.
21323 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
21324 <libm-alias-double.h>.
21325 (rint): Define using libm_alias_double.
21326 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
21327 <libm-alias-double.h>.
21328 (round): Define using libm_alias_double.
21329 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
21330 <libm-alias-double.h>.
21331 (trunc): Define using libm_alias_double.
21332 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
21333 <libm-alias-double.h>.
21334 (ceil): Define using libm_alias_double.
21335 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
21336 <libm-alias-double.h>.
21337 (floor): Define using libm_alias_double.
21338 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
21339 <libm-alias-double.h>.
21340 (round): Define using libm_alias_double.
21341 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
21342 <libm-alias-double.h>.
21343 (trunc): Define using libm_alias_double.
21345 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
21346 (fabs): Define using libm_alias_double.
21347 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
21348 (fma): Define using libm_alias_double.
21349 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
21350 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
21351 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
21352 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
21354 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21356 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
21358 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
21359 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
21360 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
21363 due redirect macro.
21365 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
21367 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
21369 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21371 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
21372 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
21373 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
21374 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
21376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21377 (libm-sysdep_routines): Add s_nearbyintf-generic and
21378 s_nearbyint-generic.
21379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
21381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
21382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
21384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
21386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
21388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21392 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
21393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
21395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
21396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
21398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
21399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
21400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21403 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
21404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
21406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
21407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
21409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
21410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
21411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
21413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21414 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
21415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
21417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
21418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
21420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
21421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
21422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21425 (sysdep_calls): New rule.
21426 (sysdep_routines): Use sysdep_calls as base.
21427 (libm-sysdep_routines): Add generic rule for symbols shared with
21428 libc. Add s_copysign-generic and s_copysign-generic objects.
21429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
21431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
21432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
21434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
21435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
21436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
21438 2017-12-01 Mike FABIAN <mfabian@redhat.com>
21441 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
21442 the list of locales to be built for testing.
21443 * localedata/is_IS.UTF-8.in: New file.
21444 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
21447 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21449 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
21450 <libm-alias-float.h>.
21451 (fabsf): Define using libm_alias_float.
21453 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21455 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
21457 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21459 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
21460 <libm-alias-float.h>.
21461 (fabsf): Define using libm_alias_float.
21462 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
21463 <libm-alias-float.h>.
21464 (lrintf): Define using libm_alias_float.
21465 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
21466 <libm-alias-float.h>.
21467 (rintf): Define using libm_alias_float.
21469 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
21470 <libm-alias-double.h>.
21471 (fabs): Define using libm_alias_double.
21472 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
21473 <libm-alias-double.h>.
21474 (lrint): Define using libm_alias_double.
21475 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
21476 <libm-alias-double.h>.
21477 (rint): Define using libm_alias_double.
21479 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
21480 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
21481 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
21482 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
21483 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
21484 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
21485 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
21486 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
21487 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
21488 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
21489 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
21490 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
21491 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
21492 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
21493 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
21494 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
21495 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
21496 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
21498 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
21499 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
21500 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
21502 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
21503 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
21504 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
21506 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
21507 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
21508 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
21509 s_expm1_template.c.
21510 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
21511 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
21512 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
21514 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
21515 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
21516 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
21517 s_floor_template.c.
21518 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
21519 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
21520 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
21521 s_frexp_template.c.
21522 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
21523 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
21524 s_lrint_template.c.
21525 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
21526 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
21527 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
21529 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
21530 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
21531 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
21532 s_nearbyint_template.c.
21533 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
21534 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
21535 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
21536 s_remquo_template.c.
21537 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
21538 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
21539 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
21541 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
21542 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
21543 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
21545 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
21546 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
21547 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
21548 s_sincos_template.c.
21549 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
21550 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
21551 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
21553 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
21554 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
21555 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
21557 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
21558 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
21559 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
21560 s_trunc_template.c.
21561 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
21562 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
21563 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
21564 s_atan.c instead of including s_atan.c.
21565 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
21566 s_atanf.c instead of including s_atanf.c.
21567 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
21568 s_atanl.c instead of including s_atanl.c.
21569 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
21570 instead of s_atan.c.
21571 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
21572 instead of s_atanf.c.
21573 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
21574 instead of s_atanl.c.
21576 * scripts/update-copyrights: Do not handle intl/plural.c
21579 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
21582 * configure.ac (BISON): Require to be present.
21583 * configure: Regenerated.
21584 * intl/Makefile (generated): Add plural.c.
21585 [$(BISON) != no]: Make code unconditional.
21586 (plural.c): Change rule to $(objpfx)plural.c.
21587 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
21588 * intl/plural.c: Remove.
21589 * manual/install.texi (Tools for Compilation): Document bison as
21591 * INSTALL: Regenerated.
21593 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21595 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
21596 <libm-alias-double.h>.
21597 (llrint): Define using libm_alias_double.
21598 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
21599 <libm-alias-float.h>.
21600 (llrintf): Define using libm_alias_float.
21601 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
21602 <libm-alias-ldouble.h>.
21603 (llrintl): Define using libm_alias_ldouble.
21605 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
21606 declare_mgen_alias instead of weak_alias.
21607 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
21608 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
21609 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
21611 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21613 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21615 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
21616 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
21617 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
21619 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21620 Add submul_1-generic.
21621 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
21622 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
21623 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
21625 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21626 Add addmul_1-generic.
21627 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
21628 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
21629 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
21631 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21633 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
21634 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
21635 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
21637 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21639 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21640 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21641 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21643 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21645 According to CLDR, collation rules for Serbian and Bosnian
21646 should be the same as for Croatian.
21649 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21650 and to the list of locales to be built for testing.
21651 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21652 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21653 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21654 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21656 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21658 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21659 to make test case pass.
21660 * localedata/hr_HR.UTF-8.in: Add more test strings.
21662 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21664 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21666 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21668 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21669 the list of locales to built for testing.
21670 * localedata/hr_HR.UTF-8.in: New file.
21672 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21675 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21677 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21678 CLDR (except use ligatures for the digraphs, CLDR does not use
21679 the ligatures), add first_workday, some fixes in the date and time
21681 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21683 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21684 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21685 Add int_p_cs_precedes and int_n_cs_precedes.
21686 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21687 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21689 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21690 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21692 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21693 and lang_lib. Change postal_fmt.
21695 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21697 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21699 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21700 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21701 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21702 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21703 * sysdeps/generic/setjmpP.h: New file.
21704 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21705 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21706 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21707 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21708 Add jmp_buf-ssp.sym.
21709 (tests): Add tst-saved_mask-1.
21711 2017-11-30 Arjun Shankar <arjun@redhat.com>
21715 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21716 instead of request2size.
21718 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21721 (__lllrint): Remove alias.
21722 (lllrint): Likewise.
21723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21724 (__lllrintf): Likewise.
21725 (lllrintf): Likewise.
21727 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21728 <libm-alias-float.h>.
21729 (copysignf): Define using libm_alias_float.
21730 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21731 <libm-alias-float.h>.
21732 (fabsf): Define using libm_alias_float.
21733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21734 Include <libm-alias-float.h>.
21735 (copysignf): Define using libm_alias_float.
21736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21737 <libm-alias-float.h>.
21738 (fabsf): Define using libm_alias_float.
21739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21740 <libm-alias-float.h>.
21741 (fdimf): Define using libm_alias_float.
21742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21743 <libm-alias-float.h>.
21744 (fmaf): Define using libm_alias_float.
21745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21746 <libm-alias-float.h>.
21747 (llrintf): Define using libm_alias_float.
21748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21749 Include <libm-alias-float.h>.
21750 (nearbyintf): Define using libm_alias_float.
21751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21752 <libm-alias-float.h>.
21753 (rintf): Define using libm_alias_float.
21754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21755 <libm-alias-float.h>.
21756 (llrintf): Define using libm_alias_float.
21757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21758 <libm-alias-float.h>.
21759 (lrintf): Define using libm_alias_float.
21760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21761 <libm-alias-float.h>.
21762 (nearbyintf): Define using libm_alias_float.
21763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21764 <libm-alias-float.h>.
21765 (rintf): Define using libm_alias_float.
21766 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21767 <libm-alias-float.h>.
21768 (ceilf): Define using libm_alias_float.
21769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21770 <libm-alias-float.h>.
21771 (floorf): Define using libm_alias_float.
21772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21773 <libm-alias-float.h>.
21774 (fmaf): Define using libm_alias_float.
21775 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21776 <libm-alias-float.h>.
21777 (lrintf): Define using libm_alias_float.
21778 (llrintf): Likewise.
21779 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21780 <libm-alias-float.h>.
21781 (nearbyintf): Define using libm_alias_float.
21782 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21783 <libm-alias-float.h>.
21784 (rintf): Define using libm_alias_float.
21785 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21786 <libm-alias-float.h>.
21787 (truncf): Define using libm_alias_float.
21788 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21789 <libm-alias-float.h>.
21790 (copysignf): Define using libm_alias_float.
21791 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21792 <libm-alias-float.h>.
21793 (fabsf): Define using libm_alias_float.
21794 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21795 <libm-alias-float.h>.
21796 (lrintf): Define using libm_alias_float.
21797 (llrintf): Likewise.
21798 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21799 <libm-alias-float.h>.
21800 (nearbyintf): Define using libm_alias_float.
21801 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21802 <libm-alias-float.h>.
21803 (rintf): Define using libm_alias_float.
21805 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21807 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21808 <libm-alias-double.h>.
21809 (copysign): Define using libm_alias_double.
21810 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21811 <libm-alias-double.h>.
21812 (fabs): Define using libm_alias_double.
21813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21814 Include <libm-alias-double.h>.
21815 (copysign): Define using libm_alias_double.
21816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21817 <libm-alias-double.h>.
21818 (fabs): Define using libm_alias_double.
21819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21820 <libm-alias-double.h>.
21821 (fdim): Define using libm_alias_double.
21822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
21823 <libm-alias-double.h>.
21824 (fma): Define using libm_alias_double.
21825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
21826 <libm-alias-double.h>.
21827 (llrint): Define using libm_alias_double.
21828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
21829 Include <libm-alias-double.h>.
21830 (nearbyint): Define using libm_alias_double.
21831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
21832 <libm-alias-double.h>.
21833 (rint): Define using libm_alias_double.
21834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21835 <libm-alias-double.h>.
21836 (fabs): Define using libm_alias_double.
21837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
21838 <libm-alias-double.h>.
21839 (llrint): Define using libm_alias_double.
21840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
21841 <libm-alias-double.h>.
21842 (nearbyint): Define using libm_alias_double.
21843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
21844 <libm-alias-double.h>.
21845 (rint): Define using libm_alias_double.
21846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
21847 <libm-alias-double.h>.
21848 (ceil): Define using libm_alias_double.
21849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
21850 <libm-alias-double.h>.
21851 (floor): Define using libm_alias_double.
21852 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21853 <libm-alias-double.h>.
21854 (fma): Define using libm_alias_double.
21855 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21856 <libm-alias-double.h>.
21857 (lrint): Define using libm_alias_double.
21858 (llrint): Likewise.
21859 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21860 <libm-alias-double.h>.
21861 (nearbyint): Define using libm_alias_double.
21862 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21863 <libm-alias-double.h>.
21864 (rint): Define using libm_alias_double.
21865 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21866 <libm-alias-double.h>.
21867 (trunc): Define using libm_alias_double.
21868 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21869 <libm-alias-double.h>.
21870 (copysign): Define using libm_alias_double.
21871 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21872 <libm-alias-double.h>.
21873 (fabs): Define using libm_alias_double.
21874 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21875 <libm-alias-double.h>.
21876 (lrint): Define using libm_alias_double.
21877 (llrint): Likewise.
21878 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21879 <libm-alias-double.h>.
21880 (nearbyint): Define using libm_alias_double.
21881 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21882 <libm-alias-double.h>.
21883 (rint): Define using libm_alias_double.
21886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21888 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21890 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21891 SPARC --disable-multi-arch glibc variants.
21893 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21894 <libm-alias-float.h>.
21895 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21897 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21898 <libm-alias-float.h>.
21899 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21901 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21902 <libm-alias-float.h>.
21903 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21905 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21906 <libm-alias-float.h>.
21907 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21909 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21910 <libm-alias-float.h>.
21911 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21913 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21914 <libm-alias-float.h>.
21915 (ceilf): Define using libm_alias_float.
21916 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21917 <libm-alias-float.h>.
21918 (floorf): Define using libm_alias_float.
21919 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21920 <libm-alias-float.h>.
21921 (fmaf): Define using libm_alias_float.
21922 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21923 <libm-alias-float.h>.
21924 (nearbyintf): Define using libm_alias_float.
21925 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21926 <libm-alias-float.h>.
21927 (rintf): Define using libm_alias_float.
21928 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21929 <libm-alias-float.h>.
21930 (truncf): Define using libm_alias_float.
21931 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21932 (copysignf): Define using libm_alias_float.
21933 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21934 (cosf): Define using libm_alias_float.
21935 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21936 (fabsf): Define using libm_alias_float.
21937 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21938 (fmaxf): Define using libm_alias_float.
21939 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21940 (fminf): Define using libm_alias_float.
21941 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21942 (llrintf): Define using libm_alias_float.
21943 [!__ILP32__] (lrintf): Likewise.
21944 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21945 (sincosf): Define using libm_alias_float.
21946 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21947 (sinf): Define using libm_alias_float.
21948 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21949 (lrintf): Define using libm_alias_float.
21951 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21952 <libm-alias-double.h>.
21953 (atan): Define using libm_alias_double.
21954 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21955 <libm-alias-double.h>.
21956 (ceil): Define using libm_alias_double.
21957 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21958 <libm-alias-double.h>.
21959 (floor): Define using libm_alias_double.
21960 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21961 <libm-alias-double.h>.
21962 (fma): Define using libm_alias_double.
21963 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21964 <libm-alias-double.h>.
21965 (nearbyint): Define using libm_alias_double.
21966 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21967 <libm-alias-double.h>.
21968 (rint): Define using libm_alias_double.
21969 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21970 <libm-alias-double.h>.
21971 (sin): Define using libm_alias_double.
21973 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21974 <libm-alias-double.h>.
21975 (tan): Define using libm_alias_double.
21976 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21977 <libm-alias-double.h>.
21978 (trunc): Define using libm_alias_double.
21979 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21980 (copysign): Define using libm_alias_double.
21981 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21982 (fabs): Define using libm_alias_double.
21983 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21984 (fmax): Define using libm_alias_double.
21985 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21986 (fmin): Define using libm_alias_double.
21987 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21988 (llrint): Define using libm_alias_double.
21989 [!__ILP32__] (lrint): Likewise.
21990 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21991 (lrint): Define using libm_alias_double.
21993 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21995 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21996 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21998 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21999 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22000 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22001 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22002 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22003 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22005 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22006 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22008 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22009 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22010 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22011 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22012 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22013 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22015 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22016 (libm-sysdep_routines): Add s_nearbyint-generic and
22017 s_nearbyintf-generic objects.
22018 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22019 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22020 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22021 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22022 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22023 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22025 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22026 Add s_finitef-generic and s_finite-generic objects.
22027 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22028 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22029 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22030 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22031 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22032 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22034 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22035 Add s_isinff-generic and s_isinf-generic objects.
22036 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22037 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22038 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22039 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22040 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22041 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22043 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22044 Add s_isnanf-generic and s_isnan-generic objects.
22045 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22052 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22054 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22056 (sysdep_routines): Use sysdep_calls as base.
22057 (libm-sysdep_routines): Add generic rule for symbols shared with
22058 libc. Add s_signbit-generic and s_signbitf-generic objects.
22059 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22060 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22061 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22062 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22063 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22064 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22066 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22068 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22069 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22070 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22071 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22072 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22073 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22074 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22075 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22076 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22077 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22078 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22079 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22080 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22081 libm_alias_float_r.
22082 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22083 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
22085 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
22086 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
22087 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
22088 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
22089 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
22090 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
22091 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
22092 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
22093 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
22094 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
22096 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
22098 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
22099 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
22100 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
22101 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
22102 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
22103 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
22104 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
22105 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
22106 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
22107 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
22108 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
22109 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
22110 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
22111 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
22112 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
22113 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
22114 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
22115 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
22116 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
22118 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
22119 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
22120 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
22121 * sysdeps/ia64/fpu/w_lgammaf_main.c
22122 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
22123 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
22125 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22126 Alexandre Oliva <aoliva@redhat.com>
22129 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
22130 * localedata/fr_CA.UTF-8.in: New file with test data for backward
22132 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
22134 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
22135 * localedata/locales/de_DE (LC_COLLATE): Likewise.
22136 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
22137 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
22138 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
22139 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
22140 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
22141 instead of “ifdef DIACRIT_BACKWARD”.
22143 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22145 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
22146 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
22147 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
22148 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
22149 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
22150 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
22151 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
22152 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
22153 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
22154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
22155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
22156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
22157 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
22158 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
22159 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
22160 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22161 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
22162 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
22163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22164 ($(have-as-vis3) == yes): Remove conditional.
22165 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
22167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
22169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
22171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
22173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
22175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
22176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
22177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
22178 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
22179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
22180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
22181 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
22182 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
22184 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22186 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
22187 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
22188 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
22189 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
22190 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
22191 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
22192 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
22193 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
22194 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
22195 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
22196 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
22197 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
22198 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
22199 libm_alias_double_r.
22200 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22202 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22203 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22204 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22205 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22206 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22207 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22208 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22209 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22210 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22211 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22212 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22214 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22216 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22217 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22218 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22219 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22220 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22221 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22222 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22223 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22224 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22225 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22226 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22227 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22228 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22229 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22230 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22231 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22232 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22233 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22235 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22236 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22237 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22238 * sysdeps/ia64/fpu/w_lgamma_main.c
22239 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22240 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22242 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
22244 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22245 address of $global$ into %dp register earlier. Use pc-relative
22246 instruction sequence for PIC case.
22248 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22250 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22251 (asinhf): Define using libm_alias_float.
22252 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22253 (atanf): Define using libm_alias_float.
22254 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22255 (cbrtf): Define using libm_alias_float.
22256 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22257 (ceilf): Define using libm_alias_float.
22258 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22259 (copysignf): Define using libm_alias_float.
22260 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22261 (expm1f): Define using libm_alias_float.
22262 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22263 (fabsf): Define using libm_alias_float.
22264 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22265 (floorf): Define using libm_alias_float.
22266 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22267 (fmaxf): Define using libm_alias_float.
22268 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22269 (fminf): Define using libm_alias_float.
22270 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22271 (frexpf): Define using libm_alias_float.
22272 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22273 (llrintf): Define using libm_alias_float.
22274 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22275 (logbf): Define using libm_alias_float.
22276 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22277 (lrintf): Define using libm_alias_float.
22278 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
22279 (nearbyintf): Define using libm_alias_float.
22280 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
22281 (remquof): Define using libm_alias_float.
22282 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
22283 (rintf): Define using libm_alias_float.
22284 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
22285 (truncf): Define using libm_alias_float.
22286 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
22287 <libm-alias-float.h>.
22288 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22290 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
22291 <libm-alias-float.h>.
22292 (expf): Define using libm_alias_float, or libm_alias_float_other
22294 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
22295 <libm-alias-float.h>.
22296 (log2f): Define using libm_alias_float, or libm_alias_float_other
22298 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
22299 <libm-alias-float.h>.
22300 (logf): Define using libm_alias_float, or libm_alias_float_other
22302 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
22303 <libm-alias-float.h>.
22304 (powf): Define using libm_alias_float, or libm_alias_float_other
22306 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
22307 <libm-alias-float.h>.
22308 (cosf): Define using libm_alias_float.
22309 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
22310 <libm-alias-float.h>.
22311 (sincosf): Define using libm_alias_float.
22312 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
22313 <libm-alias-float.h>.
22314 (sinf): Define using libm_alias_float.
22315 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22316 (fmaxf): Define using libm_alias_float.
22317 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
22318 (fminf): Define using libm_alias_float.
22319 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22320 <libm-alias-float.h>.
22321 (fmaf): Define using libm_alias_float.
22323 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
22324 (asinh): Define using libm_alias_double.
22325 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
22326 (atan): Define using libm_alias_double.
22327 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
22328 (cbrt): Define using libm_alias_double.
22329 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
22330 (ceil): Define using libm_alias_double.
22331 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
22332 (copysign): Define using libm_alias_double.
22333 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
22334 (expm1): Define using libm_alias_double.
22335 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
22336 (fabs): Define using libm_alias_double.
22337 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
22338 (fdim): Define using libm_alias_double.
22339 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
22340 (floor): Define using libm_alias_double.
22341 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
22342 (fmax): Define using libm_alias_double.
22343 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
22344 (fmin): Define using libm_alias_double.
22345 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
22346 (frexp): Define using libm_alias_double.
22347 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
22348 (llrint): Define using libm_alias_double.
22349 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
22350 (logb): Define using libm_alias_double.
22351 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
22352 (lrint): Define using libm_alias_double.
22353 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
22354 (nearbyint): Define using libm_alias_double.
22355 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
22356 (remquo): Define using libm_alias_double.
22357 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
22358 (rint): Define using libm_alias_double.
22359 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
22360 (trunc): Define using libm_alias_double.
22361 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
22362 (fmax): Define using libm_alias_double.
22363 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
22364 (fmin): Define using libm_alias_double.
22365 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
22366 (fma): Define using libm_alias_double.
22368 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
22371 * elf/dl-hwcaps.c (ROUND): Removed.
22372 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
22373 and ELF_NOTE_NEXT_OFFSET.
22374 * elf/dl-load.c (ROUND): Removed.
22375 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22376 * elf/readelflib.c (ROUND): Removed.
22377 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22378 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
22379 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
22380 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
22382 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22384 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22385 [!__fmaf] (fmaf): Define using libm_alias_float.
22387 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
22388 [!__fma] (fma): Define using libm_alias_double.
22389 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
22391 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22394 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
22395 and implement the collation rules for cs from CLDR on top of that.
22396 * Makefile: Add cs_CZ.UTF-8 to test-input.
22397 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
22399 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
22401 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
22403 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22404 Icarus Sparry <icarus.w.sparry@intel.com>
22406 * benchtests/Makefile:Add BENCHSET to allow subsets of
22407 benchmarks to be run.
22408 * benchtests/README: Add documentation for: Running subsets of
22411 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22413 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
22414 range of tests names.
22416 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
22417 result from property and remove "max", min" and "mean" from
22418 required properties based on benchtests/bench-skeleton.c.
22420 2017-11-28 Florian Weimer <fweimer@redhat.com>
22423 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
22424 due to Internet requirement.
22425 * posix/Makefile (tests): Remove tst-getaddrinfo4,
22427 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
22429 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22431 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22432 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
22433 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22434 (sysdep_routines): Add memset-ultra1.
22435 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
22437 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
22438 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
22439 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
22440 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
22441 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
22442 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
22443 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
22444 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22446 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
22448 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
22449 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
22450 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
22451 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
22452 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
22453 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
22454 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
22456 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22457 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
22458 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22459 (sysdep_routines): Add memcpy-ultra1.
22460 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
22461 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
22463 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22465 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
22466 (cfloat_versions): Take function argument without trailing 'f'.
22467 Call libm_alias_float_other.
22468 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
22469 * sysdeps/alpha/fpu/cargf.c: Likewise.
22470 * sysdeps/alpha/fpu/cimagf.c: Likewise.
22471 * sysdeps/alpha/fpu/conjf.c: Likewise.
22472 * sysdeps/alpha/fpu/crealf.c: Likewise.
22473 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
22474 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
22475 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
22476 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
22477 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
22478 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
22479 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
22480 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
22481 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
22482 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
22483 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
22484 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
22485 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
22486 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
22487 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
22488 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
22489 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
22490 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
22491 (clog10f): Use libm_alias_float_other.
22492 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22493 (ceilf): Define using libm_alias_float.
22494 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
22495 (copysignf): Define using libm_alias_float.
22496 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22497 (fabsf): Define using libm_alias_float.
22498 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
22499 (floorf): Define using libm_alias_float.
22500 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
22501 (fmaxf): Define using libm_alias_float.
22502 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
22503 (fminf): Define using libm_alias_float.
22504 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22505 (lrintf): Define using libm_alias_float.
22506 (llrintf): Likewise.
22507 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22508 (lroundf): Define using libm_alias_float.
22509 (llroundf): Likewise.
22510 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
22511 (rintf): Define using libm_alias_float.
22512 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
22513 (truncf): Define using libm_alias_float.
22515 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22516 (ceilf): Define using libm_alias_float.
22517 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
22518 (floorf): Define using libm_alias_float.
22519 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22520 (fmaf): Define using libm_alias_float.
22521 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
22522 (fmaxf): Define using libm_alias_float.
22523 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
22524 (fminf): Define using libm_alias_float.
22525 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
22526 (llrintf): Define using libm_alias_float.
22527 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
22528 (llroundf): Define using libm_alias_float.
22529 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22530 (lrintf): Define using libm_alias_float.
22531 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22532 (lroundf): Define using libm_alias_float.
22533 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
22534 <libm-alias-float.h>.
22535 (nearbyintf): Define using libm_alias_float.
22536 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
22537 (rintf): Define using libm_alias_float.
22538 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
22539 (roundf): Define using libm_alias_float.
22540 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
22541 (truncf): Define using libm_alias_float.
22543 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
22544 (ceil): Define using libm_alias_double.
22545 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
22546 (copysign): Define using libm_alias_double.
22547 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
22548 (fabs): Define using libm_alias_double.
22549 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
22550 (floor): Define using libm_alias_double.
22551 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
22552 (fmax): Define using libm_alias_double.
22553 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
22554 (fmin): Define using libm_alias_double.
22555 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
22556 (lrint): Define using libm_alias_double.
22557 (llrint): Likewise.
22558 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
22559 (lround): Define using libm_alias_double.
22560 (llround): Likewise.
22561 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
22562 (rint): Define using libm_alias_double.
22563 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
22564 (trunc): Define using libm_alias_double.
22566 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
22567 (libm_alias_double_r): Add semicolon after weak_alias call.
22569 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22571 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
22572 (ceil): Define using libm_alias_double.
22573 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
22574 (floor): Define using libm_alias_double.
22575 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
22576 (fma): Define using libm_alias_double.
22577 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
22578 (fmax): Define using libm_alias_double.
22579 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
22580 (fmin): Define using libm_alias_double.
22581 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
22582 (llrint): Define using libm_alias_double.
22583 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
22584 (llround): Define using libm_alias_double.
22585 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
22586 (lrint): Define using libm_alias_double.
22587 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
22588 (lround): Define using libm_alias_double.
22589 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
22590 (nearbyint): Define using libm_alias_double.
22591 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
22592 (rint): Define using libm_alias_double.
22593 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
22594 (round): Define using libm_alias_double.
22595 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
22596 (trunc): Define using libm_alias_double.
22598 2017-11-27 Florian Weimer <fweimer@redhat.com>
22600 * sysdeps/unix/sysv/linux/mlock2.c: New file.
22601 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
22602 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
22603 (tests): Add tst-mlock2.
22604 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
22605 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
22606 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
22607 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
22608 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
22609 for mlock. Document mlock2.
22611 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22613 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
22614 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
22616 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
22618 * sysdeps/x86/Makeconfig: New file.
22619 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
22620 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22621 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
22622 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22623 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22624 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22625 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
22627 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22628 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22629 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22630 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22631 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22632 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22633 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22634 * manual/math.texi (Mathematics): Document support for _Float64x.
22635 * math/Versions (GLIBC_2.27): Add _Float64x functions.
22636 * stdlib/Versions (GLIBC_2.27): Likewise.
22637 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22638 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22639 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22640 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22641 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22642 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22643 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22644 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22645 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22646 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22647 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22648 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22653 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22654 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22655 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22656 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22657 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22658 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22659 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22660 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22661 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22662 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22663 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22664 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22665 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22666 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22668 2017-11-27 Andreas Schwab <schwab@suse.de>
22670 * elf/Makefile (dl-routines): Add dl-sort-maps.
22671 * elf/dl-sort-maps.c: New file.
22672 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22673 (_dl_sort_maps): Declare.
22674 * elf/dl-fini.c (_dl_sort_fini): Remove.
22675 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22676 * elf/dl-close.c (_dl_close_worker): Likewise.
22677 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22679 * elf/dl-open.c (dl_open_worker): Likewise.
22681 2017-11-24 Joseph Myers <joseph@codesourcery.com>
22683 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22684 using libm_alias_float128.
22685 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22687 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22689 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22690 (setpayloadsigf128): Likewise.
22691 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22693 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22696 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22697 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22698 -mfloat128 to CFLAGS.
22700 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22702 (CFLAGS-libm-test-support-float64x.c): New variable.
22703 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22704 $(f128-loader-link) to gnulib-tests.
22706 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22707 (libm_alias_float128_other_r): If
22708 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22710 (libm_alias_float128_r): Add semicolon after weak_alias call.
22711 * sysdeps/generic/libm-alias-ldouble.h
22712 (libm_alias_ldouble_other_r_f128): New macro.
22713 (libm_alias_ldouble_other_r_f64x): Likewise.
22714 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22715 and libm_alias_ldouble_other_r_f64x.
22716 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22717 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22718 (libm_alias_ldouble_other_r_f128): New macro.
22719 (libm_alias_ldouble_other_r_f64x): Likewise.
22720 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22721 and libm_alias_ldouble_other_r_f64x.
22723 * stdlib/strfroml.c: Always include <stdlib.h>.
22724 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22725 undefine as macro and define as weak alias.
22726 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22727 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22729 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22730 Define and later undefine as macro and define as weak alias.
22732 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22733 Define and later undefine as macro. Define as weak alias if
22735 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22736 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22737 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22738 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22739 Define and later undefine as macro. Define as weak alias if
22741 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22742 Define and later undefine as macro. Define as weak alias if
22744 * sysdeps/ieee754/float128/strtof128_l.c
22745 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22746 Define and later undefine as macro. Define as weak alias if
22748 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22749 Define and later undefine as macro. Define as weak alias if
22751 * sysdeps/ieee754/ldbl-128/strtold_l.c
22752 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22753 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22754 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22755 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22756 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22757 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22758 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22759 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22760 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22761 * sysdeps/ieee754/ldbl-96/strtold_l.c
22762 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22763 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22764 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22765 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22767 * math/test-float64x.h: New file.
22768 * math/Makefile (type-float64x-yes): New variable.
22769 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22771 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22772 function-like macro.
22773 (min_of_type_): Likewise.
22774 (min_of_type_l): Likewise.
22775 (min_of_type_f128): Likewise.
22776 (min_of_type): Pass () as last argument of __MATH_TG.
22778 * stdlib/tst-strtod-round-skeleton.c
22779 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22782 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22783 for combinations of long double with _Float64 and _Float64x.
22785 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22786 (__DECL_SIMD_cosf32): Likewise.
22787 (__DECL_SIMD_cosf64): Likewise.
22788 (__DECL_SIMD_cosf32x): Likewise.
22789 (__DECL_SIMD_cosf64x): Likewise.
22790 (__DECL_SIMD_cosf128x): Likewise.
22791 (__DECL_SIMD_sinf16): Likewise.
22792 (__DECL_SIMD_sinf32): Likewise.
22793 (__DECL_SIMD_sinf64): Likewise.
22794 (__DECL_SIMD_sinf32x): Likewise.
22795 (__DECL_SIMD_sinf64x): Likewise.
22796 (__DECL_SIMD_sinf128x): Likewise.
22797 (__DECL_SIMD_sincosf16): Likewise.
22798 (__DECL_SIMD_sincosf32): Likewise.
22799 (__DECL_SIMD_sincosf64): Likewise.
22800 (__DECL_SIMD_sincosf32x): Likewise.
22801 (__DECL_SIMD_sincosf64x): Likewise.
22802 (__DECL_SIMD_sincosf128x): Likewise.
22803 (__DECL_SIMD_logf16): Likewise.
22804 (__DECL_SIMD_logf32): Likewise.
22805 (__DECL_SIMD_logf64): Likewise.
22806 (__DECL_SIMD_logf32x): Likewise.
22807 (__DECL_SIMD_logf64x): Likewise.
22808 (__DECL_SIMD_logf128x): Likewise.
22809 (__DECL_SIMD_expf16): Likewise.
22810 (__DECL_SIMD_expf32): Likewise.
22811 (__DECL_SIMD_expf64): Likewise.
22812 (__DECL_SIMD_expf32x): Likewise.
22813 (__DECL_SIMD_expf64x): Likewise.
22814 (__DECL_SIMD_expf128x): Likewise.
22815 (__DECL_SIMD_powf16): Likewise.
22816 (__DECL_SIMD_powf32): Likewise.
22817 (__DECL_SIMD_powf64): Likewise.
22818 (__DECL_SIMD_powf32x): Likewise.
22819 (__DECL_SIMD_powf64x): Likewise.
22820 (__DECL_SIMD_powf128x): Likewise.
22822 * stdlib/Versions (libc): Move entries for wcstof128 and
22823 wcstof128_l to ....
22824 * wcsmbs/Versions (libc): ... here.
22825 Include <float128-abi.h>.
22827 2017-11-24 Florian Weimer <fweimer@redhat.com>
22829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22830 bits/mman-shared.h.
22831 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
22832 <bits/mman-shared.h>.
22833 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
22835 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
22836 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
22837 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
22838 <bits/mman-shared.h>.
22840 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22843 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
22844 posix_memalign/free.
22845 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
22847 2017-11-22 Mike FABIAN <mfabian@redhat.com>
22850 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
22851 and implement the collation rules for pl from CLDR on top of that.
22852 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22853 of locales to be built for testing.
22854 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22856 2017-11-23 Joseph Myers <joseph@codesourcery.com>
22858 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22859 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22860 libm_alias_ldouble_other.
22861 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22862 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22863 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22864 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22865 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22866 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22867 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22868 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22869 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22870 libm_alias_ldouble_r.
22871 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22872 libm_alias_ldouble_other.
22873 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22874 (log10l): Likewise.
22875 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22876 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22877 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22878 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22879 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22880 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22881 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22882 (atan2l): Likewise.
22883 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22884 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22885 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22886 libm_alias_ldouble.
22887 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22889 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22890 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22891 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22893 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22894 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22895 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22896 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22897 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22898 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22899 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22900 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22901 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22902 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22903 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22904 libm_alias_ldouble.
22905 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22906 libm_alias_ldouble_other.
22907 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22908 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22909 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22910 libm_alias_ldouble.
22911 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22912 libm_alias_ldouble_other.
22913 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22914 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22915 * sysdeps/ia64/fpu/w_lgammal_main.c
22916 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22917 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22919 2017-11-23 Florian Weimer <fweimer@redhat.com>
22921 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22922 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22923 alike. Remove freeres marker.
22924 * malloc/arena.c (arena_thread_freeres): Call
22925 tcache_thread_shutdown.
22927 2017-11-23 Florian Weimer <fweimer@redhat.com>
22930 Export nscd hash function as __nss_hash.
22931 * include/nss.h (__nss_hash): Declare.
22932 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22934 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22935 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22937 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22938 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22939 * nss/Makefiles (routines): Add nss_hash.
22940 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22941 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22942 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22943 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22945 2017-11-23 Florian Weimer <fweimer@redhat.com>
22948 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22949 Return error code, not -1.
22950 * signal/tst-sigwait-eintr.c: New file.
22951 * signal/Makefile (tests): Add tst-sigwait-eintr.
22953 2017-11-23 Florian Weimer <fweimer@redhat.com>
22955 Linux: Add memfd_create system call wrapper
22956 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22958 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22959 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22960 [__USE_GNU] (memfd_create): Declare.
22961 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22962 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22963 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22964 * sysdeps/unix/sysv/linux/**.abilist: Update.
22965 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22967 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22969 * localedata/gen-locale.sh: Fix typo in variable name.
22971 * resolv/res_debug.c (p_secstodate): Condition definition on
22972 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22973 directly as __p_secstodate, and as a compat symbol. Do not use
22974 libresolv_hidden_def.
22975 * resolv/resolv.h (p_secstodate): Remove macro and function
22977 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22978 using p_secstodate.
22979 * include/resolv.h (__p_secstodate): Do not use
22980 libresolv_hidden_proto.
22981 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22982 (tests-internal): ... here.
22983 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22984 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22985 and declare and use __p_secstodate and use compat_symbol_reference
22987 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22988 implementation returning 77.
22991 * resolv/res_debug.c: Include <libc-diag.h>.
22992 (p_secstodate): Assert time_t at least as wide as u_long. On
22993 overflow, use integer seconds since the epoch as output, or use
22994 "<overflow>" as output and set errno to EOVERFLOW if integer
22995 seconds since the epoch would be 14 or more characters.
22996 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22998 * resolv/tst-p_secstodate.c: New file.
22999 * resolv/Makefile (tests): Add tst-p_secstodate.
23000 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23002 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23003 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23004 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23006 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23008 * posix/regcomp.c (init_word_char): Add comments.
23010 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23013 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23014 strlen to compute length of ut_user and set trailing NUL byte of
23017 2017-11-21 Mike FABIAN <mfabian@redhat.com>
23020 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23021 using “copy "iso14651_t1"” and then implementing the
23022 collation rules for lv from CLDR on top of that.
23023 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23024 of locales to be built for testing.
23025 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23028 2017-11-21 Joseph Myers <joseph@codesourcery.com>
23030 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23031 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23032 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23033 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23034 [__USE_MISC] (MADV_HWPOISON): New macro.
23035 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23037 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23039 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23040 -Wmissing-braces on GCC 4.9.
23042 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23044 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23045 * sysdeps/s390/s390-32/start.S (_start): Likewise
23046 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23047 (thread_start): Likewise.
23048 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23049 (thread_start): Likewise.
23050 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23051 (__makecontext_ret): Likewise.
23052 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23053 (__makecontext_ret): Likewise.
23055 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23057 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23058 __wcschrnul): Remove attribute_hidden.
23060 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23062 regex: don't assume uint64_t or uint32_t
23063 This avoids -Werror=overflow errors for 32-bit systems in
23064 the 64-bit case. Problem reported by Joseph Myers in:
23065 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23066 Also, when this code is used in Gnulib it ports to platforms
23067 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23068 them, and on some 32-bit compilers there is no uint64_t.
23069 Problem reported by Gianluigi Tiesi in:
23070 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23071 * posix/regcomp.c (init_word_char): Don't assume that the types
23072 uint64_t and uint32_t exist. Adapted from Gnulib patch
23073 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23074 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23076 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23078 * sysdeps/aarch64/memset-reg.h: New file.
23079 * sysdeps/aarch64/memset.S: Use it.
23080 (__memset): Rename to MEMSET macro.
23081 [ZVA_MACRO]: Use zva_macro.
23082 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23083 Add memset_generic and memset_falkor.
23084 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23085 (__libc_ifunc_impl_list): Add memset ifuncs.
23086 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
23087 local variable zva_size.
23088 * sysdeps/aarch64/multiarch/memset.c: New file.
23089 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
23090 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
23091 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
23092 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
23093 (DCZID_DZP_MASK): New macro.
23094 (DCZID_BS_MASK): Likewise.
23095 (init_cpu_features): Read and set zva_size.
23096 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
23097 (struct cpu_features): New member zva_size.
23099 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
23100 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
23101 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
23103 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
23104 backwards. Fix timing computation.
23105 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
23106 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
23107 on memset by N at a time. Fix timing computation.
23109 2017-11-20 Florian Weimer <fweimer@redhat.com>
23111 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
23112 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
23114 2017-11-19 Florian Weimer <fweimer@redhat.com>
23116 manual: Document mprotect
23117 * manual/memory.texi (Memory Protection): New section.
23118 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
23119 documentation of PROT_* flags and reference the Memory Protection
23122 2017-11-19 Florian Weimer <fweimer@redhat.com>
23124 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
23125 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
23126 (Scatter-Gather): ... to here. Remove misleading comment.
23128 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
23130 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
23133 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
23134 when /proc/<pid>/setgroups does not exist.
23136 2017-11-18 Florian Weimer <fweimer@redhat.com>
23138 * sysdeps/unix/sysv/linux/tst-ttyname.c
23139 (become_root_in_mount_ns): Remove.
23140 (do_in_chroot_1): Call support_enter_mount_namespace.
23141 (do_in_chroot_2): Likewise.
23142 (do_test): Call support_become_root early.
23144 2017-11-18 Florian Weimer <fweimer@redhat.com>
23146 * support/namespace.h (support_enter_mount_namespace): Declare.
23147 * support/support_enter_mount_namespace.c: New file.
23148 * support/Makefile (libsupport-routines): Add
23149 support_enter_mount_namespace.
23151 2017-11-18 Florian Weimer <fweimer@redhat.com>
23153 * support/temp_file.c (support_create_temp_directory): Use
23154 test_dir and do not rely on the presence of the XXXXXX suffix.
23155 * support/temp_file.h (support_create_temp_directory): Update
23157 * support/tst-xreadlink.c (do_test): Adjust.
23158 * support/support_chroot.c (support_chroot_create): Likewise.
23160 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23162 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
23164 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
23167 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23169 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23170 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23171 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23172 (ceill): Define using libm_alias_ldouble.
23173 * sysdeps/x86_64/fpu/s_copysignl.S: Include
23174 <libm-alias-ldouble.h>.
23175 (copysignl): Define using libm_alias_ldouble.
23176 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23177 (fabsl): Define using libm_alias_ldouble.
23178 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23179 (floorl): Define using libm_alias_ldouble.
23180 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23181 (fmaxl): Define using libm_alias_ldouble.
23182 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23183 (fminl): Define using libm_alias_ldouble.
23184 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23185 (llrintl): Define using libm_alias_ldouble.
23186 (lrintl): Likewise.
23187 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
23188 <libm-alias-ldouble.h>.
23189 (nearbyintl): Define using libm_alias_ldouble.
23190 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23191 (truncl): Define using libm_alias_ldouble.
23192 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
23193 <libm-alias-ldouble.h>.
23194 (lrintl): Define using libm_alias_ldouble.
23196 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23197 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23198 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
23199 (asinhl): Define using libm_alias_ldouble.
23200 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23201 (atanl): Define using libm_alias_ldouble.
23202 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23203 (cbrtl): Define using libm_alias_ldouble.
23204 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23205 (ceill): Define using libm_alias_ldouble.
23206 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23207 (copysignl): Define using libm_alias_ldouble.
23208 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23209 (fabsl): Define using libm_alias_ldouble.
23210 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23211 (floorl): Define using libm_alias_ldouble.
23212 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23213 (fmaxl): Define using libm_alias_ldouble.
23214 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23215 (fminl): Define using libm_alias_ldouble.
23216 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23217 (frexpl): Define using libm_alias_ldouble.
23218 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23219 (llrintl): Define using libm_alias_ldouble.
23220 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23221 (logbl): Define using libm_alias_ldouble.
23222 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23223 (lrintl): Define using libm_alias_ldouble.
23224 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23225 (nearbyintl): Define using libm_alias_ldouble.
23226 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23227 (nextafterl): Define using libm_alias_ldouble.
23228 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23229 (remquol): Define using libm_alias_ldouble.
23230 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23231 (rintl): Define using libm_alias_ldouble.
23232 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23233 (truncl): Define using libm_alias_ldouble.
23234 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23235 (fmaxl): Define using libm_alias_ldouble.
23236 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23237 (fminl): Define using libm_alias_ldouble.
23239 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23240 to C syntax instead of availability and properties of types.
23241 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23242 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23243 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23244 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23245 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23246 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23248 2017-11-17 Florian Weimer <fweimer@redhat.com>
23250 support_become_root: Enable file creation in namespaces.
23251 * support/support_become_root.c (setup_mapping): New function.
23252 (support_become_root): Call it.
23254 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23256 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23259 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23261 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23262 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23264 2017-11-16 Joseph Myers <joseph@codesourcery.com>
23266 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23268 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23271 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23273 * INSTALL: Fix botched up regeneration.
23275 * NEWS: Update sourceare link to https.
23276 * configure.ac: Likewise.
23277 * crypt/md5test-giant.c: Likewise.
23278 * dlfcn/bug-atexit1.c: Likewise.
23279 * dlfcn/bug-atexit2.c: Likewise.
23280 * localedata/README: Likewise.
23281 * malloc/tst-mallocfork.c: Likewise.
23282 * manual/install.texi: Likewise.
23283 * nptl/tst-pthread-getattr.c: Likewise.
23284 * stdio-common/tst-fgets.c: Likewise.
23285 * stdio-common/tst-fwrite.c: Likewise.
23286 * sunrpc/Makefile: Likewise.
23287 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
23288 * wcsmbs/tst-mbrtowc2.c: Likewise.
23289 * configure: Regenerate.
23290 * INSTALL: Regenerate.
23292 2017-11-15 Martin Sebor <msebor@redhat.com>
23294 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
23295 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
23296 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
23298 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23301 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
23302 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
23305 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
23306 Defer is_pty check until end of the function.
23307 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23310 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
23311 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
23312 (ttyname): Likewise.
23313 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
23314 (__ttyname_r): Likewise.
23316 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
23319 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
23321 * manual/terminal.texi (Is It a Terminal):
23322 Mention ENODEV for ttyname and ttyname_r.
23324 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23326 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
23327 constant and macro.
23329 * sysdeps/unix/sysv/linux/bits/mman-linux.h
23330 [__USE_MISC] (MADV_WIPEONFORK): New macro.
23331 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23332 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23333 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
23334 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23336 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23338 * signal/sigrelse.c (sigrelse): Optimize implementation.
23340 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
23341 (__sigpause): Rely on __sigsuspend to implement single thread
23342 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
23344 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23346 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23347 kernel version to 4.14.
23349 2017-11-15 Steve Ellcey <sellcey@cavium.com>
23352 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
23353 Check if ifname is too long.
23355 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23357 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
23359 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23361 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
23362 was accidentally lost.
23364 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23366 * localedata/locales/az_IR: Add standard copyright header.
23368 2017-11-15 Florian Weimer <fweimer@redhat.com>
23371 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
23372 not just the top one. Output a new "subheaps" statistic.
23374 2017-11-15 Florian Weimer <fweimer@redhat.com>
23377 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
23378 under the per-arena lock.
23379 * malloc/Makefile (tests): Add tst-malloc_info.
23380 (tst-malloc_info): Link with libpthread.
23381 * malloc/tst-malloc_info.c: New file.
23383 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23386 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
23387 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
23388 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
23389 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
23390 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
23391 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
23392 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
23393 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
23394 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
23395 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
23396 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
23397 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
23398 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
23399 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
23400 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
23401 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
23402 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
23403 (__floating_type): Likewise.
23404 (__real_integer_type): Likewise.
23405 (__complex_integer_type): Likewise.
23406 (__expr_is_real): Likewise.
23407 (__tgmath_real_type_sub): Likewise.
23408 (__tgmath_real_type): Likewise.
23409 (__tgmath_complex_type_sub): Likewise.
23410 (__tgmath_complex_type): Likewise.
23411 (__TGMATH_F128): Likewise.
23412 (__TGMATH_CF128): Likewise.
23413 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
23415 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
23416 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
23418 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
23420 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
23421 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23422 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23423 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
23425 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23426 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
23428 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
23429 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
23430 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
23432 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
23433 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
23434 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
23438 2017-11-14 Joseph Myers <joseph@codesourcery.com>
23440 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
23441 for stpncpy calls for GCC 8.
23442 (test_strncat): Disable -Wstringop-truncation warning for strncat
23443 calls for GCC 8. Disable -Wstringop-overflow= warning for one
23444 strncat call for GCC 7.
23445 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
23447 (test_memcmp): Use memcpy instead of strncpy for calls not copying
23450 * string/bug-strncat1.c: Include <libc-diag.h>.
23451 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
23453 2017-11-13 Claude Paroz <claude@2xlibre.net>
23456 * localedata/locales/aa_DJ: Improved readibility by replacing
23457 <Uxxxx> sequences in the ASCII printable range by their ASCII
23458 character equivalents.
23459 * localedata/locales/aa_ER: Likewise.
23460 * localedata/locales/aa_ER@saaho: Likewise.
23461 * localedata/locales/aa_ET: Likewise.
23462 * localedata/locales/af_ZA: Likewise.
23463 * localedata/locales/agr_PE: Likewise.
23464 * localedata/locales/ak_GH: Likewise.
23465 * localedata/locales/am_ET: Likewise.
23466 * localedata/locales/anp_IN: Likewise.
23467 * localedata/locales/ar_AE: Likewise.
23468 * localedata/locales/ar_BH: Likewise.
23469 * localedata/locales/ar_DZ: Likewise.
23470 * localedata/locales/ar_EG: Likewise.
23471 * localedata/locales/ar_IN: Likewise.
23472 * localedata/locales/ar_IQ: Likewise.
23473 * localedata/locales/ar_JO: Likewise.
23474 * localedata/locales/ar_KW: Likewise.
23475 * localedata/locales/ar_LB: Likewise.
23476 * localedata/locales/ar_LY: Likewise.
23477 * localedata/locales/ar_MA: Likewise.
23478 * localedata/locales/ar_OM: Likewise.
23479 * localedata/locales/ar_QA: Likewise.
23480 * localedata/locales/ar_SA: Likewise.
23481 * localedata/locales/ar_SD: Likewise.
23482 * localedata/locales/ar_SS: Likewise.
23483 * localedata/locales/ar_SY: Likewise.
23484 * localedata/locales/ar_TN: Likewise.
23485 * localedata/locales/ar_YE: Likewise.
23486 * localedata/locales/as_IN: Likewise.
23487 * localedata/locales/ast_ES: Likewise.
23488 * localedata/locales/ayc_PE: Likewise.
23489 * localedata/locales/az_AZ: Likewise.
23490 * localedata/locales/az_IR: Likewise.
23491 * localedata/locales/be_BY: Likewise.
23492 * localedata/locales/be_BY@latin: Likewise.
23493 * localedata/locales/bem_ZM: Likewise.
23494 * localedata/locales/ber_DZ: Likewise.
23495 * localedata/locales/ber_MA: Likewise.
23496 * localedata/locales/bg_BG: Likewise.
23497 * localedata/locales/bhb_IN: Likewise.
23498 * localedata/locales/bho_IN: Likewise.
23499 * localedata/locales/bi_VU: Likewise.
23500 * localedata/locales/bn_BD: Likewise.
23501 * localedata/locales/bn_IN: Likewise.
23502 * localedata/locales/bo_CN: Likewise.
23503 * localedata/locales/bo_IN: Likewise.
23504 * localedata/locales/br_FR: Likewise.
23505 * localedata/locales/brx_IN: Likewise.
23506 * localedata/locales/bs_BA: Likewise.
23507 * localedata/locales/byn_ER: Likewise.
23508 * localedata/locales/ca_AD: Likewise.
23509 * localedata/locales/ca_ES: Likewise.
23510 * localedata/locales/ca_FR: Likewise.
23511 * localedata/locales/ca_IT: Likewise.
23512 * localedata/locales/ce_RU: Likewise.
23513 * localedata/locales/chr_US: Likewise.
23514 * localedata/locales/cmn_TW: Likewise.
23515 * localedata/locales/crh_UA: Likewise.
23516 * localedata/locales/cs_CZ: Likewise.
23517 * localedata/locales/csb_PL: Likewise.
23518 * localedata/locales/cv_RU: Likewise.
23519 * localedata/locales/cy_GB: Likewise.
23520 * localedata/locales/da_DK: Likewise.
23521 * localedata/locales/de_AT: Likewise.
23522 * localedata/locales/de_BE: Likewise.
23523 * localedata/locales/de_CH: Likewise.
23524 * localedata/locales/de_DE: Likewise.
23525 * localedata/locales/de_IT: Likewise.
23526 * localedata/locales/de_LI: Likewise.
23527 * localedata/locales/de_LU: Likewise.
23528 * localedata/locales/doi_IN: Likewise.
23529 * localedata/locales/dv_MV: Likewise.
23530 * localedata/locales/dz_BT: Likewise.
23531 * localedata/locales/el_CY: Likewise.
23532 * localedata/locales/el_GR: Likewise.
23533 * localedata/locales/en_AG: Likewise.
23534 * localedata/locales/en_AU: Likewise.
23535 * localedata/locales/en_BW: Likewise.
23536 * localedata/locales/en_CA: Likewise.
23537 * localedata/locales/en_DK: Likewise.
23538 * localedata/locales/en_GB: Likewise.
23539 * localedata/locales/en_HK: Likewise.
23540 * localedata/locales/en_IE: Likewise.
23541 * localedata/locales/en_IL: Likewise.
23542 * localedata/locales/en_IN: Likewise.
23543 * localedata/locales/en_NG: Likewise.
23544 * localedata/locales/en_NZ: Likewise.
23545 * localedata/locales/en_PH: Likewise.
23546 * localedata/locales/en_SG: Likewise.
23547 * localedata/locales/en_US: Likewise.
23548 * localedata/locales/en_ZA: Likewise.
23549 * localedata/locales/en_ZM: Likewise.
23550 * localedata/locales/en_ZW: Likewise.
23551 * localedata/locales/eo: Likewise.
23552 * localedata/locales/es_AR: Likewise.
23553 * localedata/locales/es_BO: Likewise.
23554 * localedata/locales/es_CL: Likewise.
23555 * localedata/locales/es_CO: Likewise.
23556 * localedata/locales/es_CR: Likewise.
23557 * localedata/locales/es_CU: Likewise.
23558 * localedata/locales/es_DO: Likewise.
23559 * localedata/locales/es_EC: Likewise.
23560 * localedata/locales/es_ES: Likewise.
23561 * localedata/locales/es_GT: Likewise.
23562 * localedata/locales/es_HN: Likewise.
23563 * localedata/locales/es_MX: Likewise.
23564 * localedata/locales/es_NI: Likewise.
23565 * localedata/locales/es_PA: Likewise.
23566 * localedata/locales/es_PE: Likewise.
23567 * localedata/locales/es_PR: Likewise.
23568 * localedata/locales/es_PY: Likewise.
23569 * localedata/locales/es_SV: Likewise.
23570 * localedata/locales/es_US: Likewise.
23571 * localedata/locales/es_UY: Likewise.
23572 * localedata/locales/es_VE: Likewise.
23573 * localedata/locales/et_EE: Likewise.
23574 * localedata/locales/eu_ES: Likewise.
23575 * localedata/locales/eu_ES@euro: Likewise.
23576 * localedata/locales/fa_IR: Likewise.
23577 * localedata/locales/ff_SN: Likewise.
23578 * localedata/locales/fi_FI: Likewise.
23579 * localedata/locales/fil_PH: Likewise.
23580 * localedata/locales/fo_FO: Likewise.
23581 * localedata/locales/fr_BE: Likewise.
23582 * localedata/locales/fr_CA: Likewise.
23583 * localedata/locales/fr_CH: Likewise.
23584 * localedata/locales/fr_FR: Likewise.
23585 * localedata/locales/fr_LU: Likewise.
23586 * localedata/locales/fur_IT: Likewise.
23587 * localedata/locales/fy_DE: Likewise.
23588 * localedata/locales/fy_NL: Likewise.
23589 * localedata/locales/ga_IE: Likewise.
23590 * localedata/locales/gd_GB: Likewise.
23591 * localedata/locales/gez_ER: Likewise.
23592 * localedata/locales/gez_ET: Likewise.
23593 * localedata/locales/gl_ES: Likewise.
23594 * localedata/locales/gu_IN: Likewise.
23595 * localedata/locales/gv_GB: Likewise.
23596 * localedata/locales/ha_NG: Likewise.
23597 * localedata/locales/hak_TW: Likewise.
23598 * localedata/locales/he_IL: Likewise.
23599 * localedata/locales/hi_IN: Likewise.
23600 * localedata/locales/hif_FJ: Likewise.
23601 * localedata/locales/hne_IN: Likewise.
23602 * localedata/locales/hr_HR: Likewise.
23603 * localedata/locales/hsb_DE: Likewise.
23604 * localedata/locales/ht_HT: Likewise.
23605 * localedata/locales/hu_HU: Likewise.
23606 * localedata/locales/hy_AM: Likewise.
23607 * localedata/locales/i18n: Likewise.
23608 * localedata/locales/ia_FR: Likewise.
23609 * localedata/locales/id_ID: Likewise.
23610 * localedata/locales/ig_NG: Likewise.
23611 * localedata/locales/ik_CA: Likewise.
23612 * localedata/locales/is_IS: Likewise.
23613 * localedata/locales/it_CH: Likewise.
23614 * localedata/locales/it_IT: Likewise.
23615 * localedata/locales/iu_CA: Likewise.
23616 * localedata/locales/ja_JP: Likewise.
23617 * localedata/locales/ka_GE: Likewise.
23618 * localedata/locales/kk_KZ: Likewise.
23619 * localedata/locales/kl_GL: Likewise.
23620 * localedata/locales/kn_IN: Likewise.
23621 * localedata/locales/ko_KR: Likewise.
23622 * localedata/locales/kok_IN: Likewise.
23623 * localedata/locales/ks_IN: Likewise.
23624 * localedata/locales/ks_IN@devanagari: Likewise.
23625 * localedata/locales/ku_TR: Likewise.
23626 * localedata/locales/kw_GB: Likewise.
23627 * localedata/locales/ky_KG: Likewise.
23628 * localedata/locales/lb_LU: Likewise.
23629 * localedata/locales/lg_UG: Likewise.
23630 * localedata/locales/li_BE: Likewise.
23631 * localedata/locales/li_NL: Likewise.
23632 * localedata/locales/lij_IT: Likewise.
23633 * localedata/locales/ln_CD: Likewise.
23634 * localedata/locales/lo_LA: Likewise.
23635 * localedata/locales/lt_LT: Likewise.
23636 * localedata/locales/lv_LV: Likewise.
23637 * localedata/locales/lzh_TW: Likewise.
23638 * localedata/locales/mag_IN: Likewise.
23639 * localedata/locales/mai_IN: Likewise.
23640 * localedata/locales/mg_MG: Likewise.
23641 * localedata/locales/mhr_RU: Likewise.
23642 * localedata/locales/mi_NZ: Likewise.
23643 * localedata/locales/mk_MK: Likewise.
23644 * localedata/locales/ml_IN: Likewise.
23645 * localedata/locales/mn_MN: Likewise.
23646 * localedata/locales/mni_IN: Likewise.
23647 * localedata/locales/mr_IN: Likewise.
23648 * localedata/locales/ms_MY: Likewise.
23649 * localedata/locales/mt_MT: Likewise.
23650 * localedata/locales/my_MM: Likewise.
23651 * localedata/locales/nan_TW: Likewise.
23652 * localedata/locales/nan_TW@latin: Likewise.
23653 * localedata/locales/nb_NO: Likewise.
23654 * localedata/locales/nds_DE: Likewise.
23655 * localedata/locales/nds_NL: Likewise.
23656 * localedata/locales/ne_NP: Likewise.
23657 * localedata/locales/nhn_MX: Likewise.
23658 * localedata/locales/niu_NU: Likewise.
23659 * localedata/locales/niu_NZ: Likewise.
23660 * localedata/locales/nl_AW: Likewise.
23661 * localedata/locales/nl_BE: Likewise.
23662 * localedata/locales/nl_NL: Likewise.
23663 * localedata/locales/nn_NO: Likewise.
23664 * localedata/locales/nr_ZA: Likewise.
23665 * localedata/locales/nso_ZA: Likewise.
23666 * localedata/locales/oc_FR: Likewise.
23667 * localedata/locales/om_ET: Likewise.
23668 * localedata/locales/om_KE: Likewise.
23669 * localedata/locales/or_IN: Likewise.
23670 * localedata/locales/os_RU: Likewise.
23671 * localedata/locales/pa_IN: Likewise.
23672 * localedata/locales/pa_PK: Likewise.
23673 * localedata/locales/pap_AW: Likewise.
23674 * localedata/locales/pap_CW: Likewise.
23675 * localedata/locales/pl_PL: Likewise.
23676 * localedata/locales/ps_AF: Likewise.
23677 * localedata/locales/pt_BR: Likewise.
23678 * localedata/locales/pt_PT: Likewise.
23679 * localedata/locales/quz_PE: Likewise.
23680 * localedata/locales/raj_IN: Likewise.
23681 * localedata/locales/ro_RO: Likewise.
23682 * localedata/locales/ru_RU: Likewise.
23683 * localedata/locales/ru_UA: Likewise.
23684 * localedata/locales/rw_RW: Likewise.
23685 * localedata/locales/sa_IN: Likewise.
23686 * localedata/locales/sat_IN: Likewise.
23687 * localedata/locales/sc_IT: Likewise.
23688 * localedata/locales/sd_IN: Likewise.
23689 * localedata/locales/sd_IN@devanagari: Likewise.
23690 * localedata/locales/se_NO: Likewise.
23691 * localedata/locales/sgs_LT: Likewise.
23692 * localedata/locales/shs_CA: Likewise.
23693 * localedata/locales/si_LK: Likewise.
23694 * localedata/locales/sid_ET: Likewise.
23695 * localedata/locales/sk_SK: Likewise.
23696 * localedata/locales/sl_SI: Likewise.
23697 * localedata/locales/sm_WS: Likewise.
23698 * localedata/locales/so_DJ: Likewise.
23699 * localedata/locales/so_ET: Likewise.
23700 * localedata/locales/so_KE: Likewise.
23701 * localedata/locales/so_SO: Likewise.
23702 * localedata/locales/sq_AL: Likewise.
23703 * localedata/locales/sq_MK: Likewise.
23704 * localedata/locales/sr_ME: Likewise.
23705 * localedata/locales/sr_RS: Likewise.
23706 * localedata/locales/sr_RS@latin: Likewise.
23707 * localedata/locales/ss_ZA: Likewise.
23708 * localedata/locales/st_ZA: Likewise.
23709 * localedata/locales/sv_FI: Likewise.
23710 * localedata/locales/sv_SE: Likewise.
23711 * localedata/locales/sw_KE: Likewise.
23712 * localedata/locales/sw_TZ: Likewise.
23713 * localedata/locales/szl_PL: Likewise.
23714 * localedata/locales/ta_IN: Likewise.
23715 * localedata/locales/ta_LK: Likewise.
23716 * localedata/locales/tcy_IN: Likewise.
23717 * localedata/locales/te_IN: Likewise.
23718 * localedata/locales/tg_TJ: Likewise.
23719 * localedata/locales/th_TH: Likewise.
23720 * localedata/locales/the_NP: Likewise.
23721 * localedata/locales/ti_ER: Likewise.
23722 * localedata/locales/ti_ET: Likewise.
23723 * localedata/locales/tig_ER: Likewise.
23724 * localedata/locales/tk_TM: Likewise.
23725 * localedata/locales/tl_PH: Likewise.
23726 * localedata/locales/tn_ZA: Likewise.
23727 * localedata/locales/to_TO: Likewise.
23728 * localedata/locales/tpi_PG: Likewise.
23729 * localedata/locales/tr_CY: Likewise.
23730 * localedata/locales/tr_TR: Likewise.
23731 * localedata/locales/ts_ZA: Likewise.
23732 * localedata/locales/tt_RU: Likewise.
23733 * localedata/locales/tt_RU@iqtelif: Likewise.
23734 * localedata/locales/ug_CN: Likewise.
23735 * localedata/locales/uk_UA: Likewise.
23736 * localedata/locales/unm_US: Likewise.
23737 * localedata/locales/ur_IN: Likewise.
23738 * localedata/locales/ur_PK: Likewise.
23739 * localedata/locales/uz_UZ: Likewise.
23740 * localedata/locales/uz_UZ@cyrillic: Likewise.
23741 * localedata/locales/ve_ZA: Likewise.
23742 * localedata/locales/vi_VN: Likewise.
23743 * localedata/locales/wa_BE: Likewise.
23744 * localedata/locales/wae_CH: Likewise.
23745 * localedata/locales/wal_ET: Likewise.
23746 * localedata/locales/wo_SN: Likewise.
23747 * localedata/locales/xh_ZA: Likewise.
23748 * localedata/locales/yi_US: Likewise.
23749 * localedata/locales/yo_NG: Likewise.
23750 * localedata/locales/yue_HK: Likewise.
23751 * localedata/locales/yuw_PG: Likewise.
23752 * localedata/locales/zh_CN: Likewise.
23753 * localedata/locales/zh_HK: Likewise.
23754 * localedata/locales/zh_SG: Likewise.
23755 * localedata/locales/zh_TW: Likewise.
23756 * localedata/locales/zu_ZA: Likewise.
23758 2017-11-13 Florian Weimer <fweimer@redhat.com>
23760 * support/next_to_fault.h, support/next_to_fault.c: New files.
23761 * support/Makefile (libsupport-routines): Add next_to_fault.
23762 * resolv/tst-inet_pton.c (struct next_to_fault)
23763 (next_to_fault_allocate, next_to_fault_free): Remove.
23764 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23766 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23768 * elf/dl-support.c: Include <dl-procruntime.c>.
23769 * include/link.h: Include <link_map.h>.
23770 * sysdeps/generic/dl-procruntime.c: New file.
23771 * sysdeps/generic/link_map.h: Likewise.
23772 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23773 the writable ld.so namespace.
23775 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23777 timezone: pacify GCC -Wstringop-truncation
23778 Problem reported by Martin Sebor in:
23779 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23780 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23782 2017-11-12 Florian Weimer <fweimer@redhat.com>
23784 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23786 (tests): Add tst-xreadlink.
23787 * support/support.h (xstrndup): Declare.
23788 * support/xunistd.h (xunlink, xreadlink): Declare.
23789 * support/temp_file.h (support_create_temp_directory): Declare.
23790 * support/temp_file.c (support_create_temp_directory): New function.
23791 * support/support_chroot.c (support_chroot_create): Use it.
23792 * support/xreadlink.c: New file.
23793 * support/xstrndup.c: Likewise.
23794 * support/xunlink.c: Likewise.
23795 * support/tst-xreadlink.c: Likewise.
23797 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
23799 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23801 2017-11-11 Florian Weimer <fweimer@redhat.com>
23805 * resolv/res_comp.c (printable_string, binary_hnok)
23806 (binary_leading_dash): New functions.
23807 (res_hnok): Reimplement using these functions and ns_name_pton.
23808 (res_ownok): Likewise.
23809 (res_mailok): Reimplement using printable_string, ns_name_pton and
23811 (res_dnok): Reimplement using printable_string and ns_name_pton.
23812 * resolv/tst-res_hnok.c (tests): Add additional tests.
23813 (LETTERDIGITS, PRINTABLE): Define.
23814 (do_test): Adjust one_char results.
23816 2017-11-11 Florian Weimer <fweimer@redhat.com>
23819 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23820 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
23822 2017-11-11 Florian Weimer <fweimer@redhat.com>
23824 * resolv/tst-ns_name_pton.c: New file.
23825 * resolv/Makefile (tests): Add tst-ns_name_pton.
23826 (tst-ns_name_pton): Link against libresolv.
23828 2017-11-11 Florian Weimer <fweimer@redhat.com>
23830 * resolv/tst-res_hnok.c: New file.
23831 * resolv/Makefile (tests): Add tst-res_hnok.
23832 (tst-res_hnok): Link against libresolv.
23834 2017-11-11 Florian Weimer <fweimer@redhat.com>
23836 * resolv/tst-resolv-network.c: Use test framework instead explicit
23839 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
23841 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
23842 <jmp_buf-macros.h>.
23843 [!_ISOMAC] (STR_HELPER): New.
23844 [!_ISOMAC] (STR): Likewise.
23845 [!_ISOMAC] (TEST_SIZE): Likewise.
23846 [!_ISOMAC] (TEST_ALIGN): Likewise.
23847 [!_ISOMAC] (TEST_OFFSET): Likewise.
23848 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
23849 field offsets of jmp_buf as well as sigjmp_buf.
23850 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
23851 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23852 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23853 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23854 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23855 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23856 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23857 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23858 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23859 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23861 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23863 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23868 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23869 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23870 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23871 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23872 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23877 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23878 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23879 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23881 2017-11-07 Joseph Myers <joseph@codesourcery.com>
23884 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23885 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23886 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23887 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23888 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23889 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23890 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23891 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23892 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23893 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23894 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23895 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23896 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23897 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23898 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23899 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23900 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23901 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23902 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23903 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23904 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23905 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23906 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23907 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23908 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23909 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23910 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23911 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23912 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23913 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23914 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23915 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23916 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23917 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23918 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23919 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23920 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23921 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23922 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23923 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23924 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23925 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23926 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23927 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23928 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23929 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23930 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23931 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23932 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23933 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23934 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23935 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23936 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23937 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23938 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23939 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23940 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23941 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23942 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23943 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23944 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23945 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23946 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23947 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23948 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23949 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23950 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23951 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23952 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23953 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23954 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23955 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23956 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23957 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23958 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23959 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23960 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23961 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23962 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23963 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23964 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23965 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23966 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23967 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23968 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23969 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23970 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23971 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23973 * stdlib/tst-strtod.h (F16): New macro.
23979 (IF_FLOAT16): Likewise.
23980 (IF_FLOAT32): Likewise.
23981 (IF_FLOAT64): Likewise.
23982 (IF_FLOAT32X): Likewise.
23983 (IF_FLOAT64X): Likewise.
23984 (IF_FLOAT128X): Likewise.
23985 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23986 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23987 (STRTOD_TEST_FOREACH): Likewise.
23988 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23989 (CHOOSE_f64): Likewise.
23990 (CHOOSE_f32x): Likewise.
23991 (CHOOSE_f64x): Likewise.
23993 2017-11-07 Andreas Schwab <schwab@suse.de>
23995 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23997 2017-11-07 Mike FABIAN <mfabian@redhat.com>
24000 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24002 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24005 2017-11-07 Claude Paroz <claude@2xlibre.net>
24008 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24010 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24012 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24015 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24018 * nptl/allocatestack.c (allocate_stack): Check if
24019 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24020 __PTHREAD_MUTEX_HAVE_PREV is defined.
24021 * nptl/descr.h (pthread): Likewise.
24022 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24024 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24025 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24026 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24027 * sysdeps/nptl/bits/thread-shared-types.h
24028 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24030 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24031 of __WORDSIZE for internal layout.
24032 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24033 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24034 instead of __WORDSIZE whether to use an union for __spins and __list
24036 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24038 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24039 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24041 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24042 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24044 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24045 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24047 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24048 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24050 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24051 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24053 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24054 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24056 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24057 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24059 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24060 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24062 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24063 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24065 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24066 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24068 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24069 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24071 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24072 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24074 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24075 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24077 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24078 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24080 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24081 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24084 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
24086 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
24087 checks for expected input type size.
24088 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24089 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24091 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24092 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
24093 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24094 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
24095 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24096 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
24097 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
24098 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
24099 superflous runtime assert check.
24100 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
24102 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
24104 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24106 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
24108 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
24110 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
24112 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
24113 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
24114 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24116 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24118 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24120 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
24122 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24124 * nptl/pthread_attr_setinheritsched.c
24125 (__pthread_attr_setinheritsched): Likewise.
24126 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
24128 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
24130 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
24131 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
24132 __old_pthread_attr_setstack): Likewise.
24133 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24135 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24137 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
24139 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24140 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24142 * nptl/tst-typesizes.c: Remove file.
24144 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
24145 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
24146 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
24147 checks for internal pthread_mutex_t offsets.
24148 * sysdeps/aarch64/nptl/pthread-offsets.h
24149 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
24150 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
24151 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
24152 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
24153 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
24154 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
24155 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
24156 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
24157 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
24158 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
24159 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
24160 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
24161 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
24162 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
24163 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
24164 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
24165 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
24166 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
24168 2017-11-07 Florian Weimer <fweimer@redhat.com>
24170 * bits/mman-linux.h: Move ...
24171 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
24173 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
24176 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24178 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
24179 Redefine STRNLEN as __strnlen_power8.
24181 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24183 * signal/sighold.c (sighold): Optimize implementation.
24185 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
24186 __NR_rt_sigqueueinfo.
24188 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
24190 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
24191 assume __NR_rt_sigtimedwait.
24192 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
24193 and add LIBC_CANCEL_HANDLED for cancellation marking.
24194 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24196 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24197 (sysdeps_routines): Add memchr_noneon.
24198 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
24199 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
24200 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24201 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24202 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24203 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24204 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24206 * sysdeps/arm/arm-ifunc.h: New file.
24207 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24208 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24209 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24210 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24211 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24212 (__memcpy_neon): Avoid create hidden alias.
24213 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24214 (__memcpy_vfp): Likewise.
24215 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24216 (sysdep_routines): Add memcpy_arm.
24217 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24219 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24222 * Makerules (make-link-multidir): New.
24223 * config.make.in (multidir): New.
24224 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24225 * configure: Regenerated.
24226 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24227 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24228 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24231 2017-11-06 Joseph Myers <joseph@codesourcery.com>
24234 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24235 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24237 2017-11-04 Mike FABIAN <mfabian@redhat.com>
24239 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24242 2017-11-04 Florian Weimer <fweimer@redhat.com>
24244 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24246 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24248 * math/math.h [__HAVE_DISTINCT_FLOAT16
24249 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24250 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24251 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24252 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24253 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24254 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24255 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24256 (__MATH_TG_F32): New macro.
24257 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24258 (__MATH_TG_F64X): Likewise.
24259 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24260 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24262 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24264 * po/de.po: Update translations.
24265 * po/ru.po: Likewise.
24267 2017-11-03 Florian Weimer <fweimer@redhat.com>
24269 * manual/filesys.texi (Hard Links): Document linkat.
24271 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24273 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24274 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24275 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24276 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24277 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24278 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24279 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
24280 the same as _Float128.
24281 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24282 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24283 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
24286 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
24288 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
24290 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
24292 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24293 (strtof32x): Likewise.
24294 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24295 (strtof64x): Likewise.
24296 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24297 (strtof128x): Likewise.
24298 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24299 (strfromf16): Likewise.
24300 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24301 (strfromf32): Likewise.
24302 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24303 (strfromf64): Likewise.
24304 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24305 (strfromf32x): Likewise.
24306 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24307 (strfromf64x): Likewise.
24308 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24309 (strfromf128x): Likewise.
24310 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
24311 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
24312 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
24313 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
24314 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
24315 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
24317 2017-11-03 Richard Henderson <rth@twiddle.net>
24319 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
24321 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24323 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
24325 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24327 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
24328 DT_TLSDESC_GOT initialization.
24329 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
24330 (_dl_tlsdesc_resolve_hold): Likewise.
24331 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
24332 (_dl_tlsdesc_resolve_hold): Likewise.
24333 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
24334 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24336 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24338 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
24340 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24343 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
24344 non-lazily for R_ARM_TLS_DESC.
24346 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24349 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
24350 R_ARM_TLS_DESC case.
24351 (elf_machine_lazy_rel): Remove the prelink check.
24353 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24355 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
24356 DT_TLSDESC_GOT initialization.
24357 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
24358 (_dl_tlsdesc_resolve_rela): Likewise.
24359 (_dl_tlsdesc_resolve_hold): Likewise.
24360 (_dl_tlsdesc_undefweak): Remove ldar.
24361 (_dl_tlsdesc_dynamic): Likewise.
24362 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
24363 (_dl_tlsdesc_resolve_rela): Likewise.
24364 (_dl_tlsdesc_resolve_hold): Likewise.
24365 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
24366 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24367 (_dl_tlsdesc_resolve_rela): Likewise.
24368 (_dl_tlsdesc_resolve_hold): Likewise.
24370 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24372 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
24373 binding and initialization non-lazily for R_AARCH64_TLSDESC.
24375 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24377 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
24378 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24380 2017-11-02 Joseph Myers <joseph@codesourcery.com>
24382 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
24384 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
24385 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
24386 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
24387 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
24388 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
24389 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
24390 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
24391 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
24392 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
24393 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
24394 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
24396 2017-11-02 Mike FABIAN <mfabian@redhat.com>
24399 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
24400 * localedata/locales/tpi_PG: Add standard header.
24402 2017-11-02 Florian Weimer <fweimer@redhat.com>
24404 test-errno-linux: quotactl can fail with EPERM in containers.
24405 * sysdeps/unix/sysv/linux/test-errno-linux.c
24406 (LIST, LIST_FORWARD): New macros.
24407 (check_error_in_list): New function.
24408 (test_wrp_rv): Accept list of permitted error codes.
24409 (test_wrp_rv2): Remove.
24410 (test_wrp): Call test_wrp_rv with list of error codes.
24411 (test_wrp2): Accept list of error codes.
24412 (do_test): Adjust. Allow EPERM for quotactl.
24414 2017-11-02 Florian Weimer <fweimer@redhat.com>
24416 * stdio-common/bug16.c (do_test): Use array_length.
24417 * stdio-common/errlist.c (_sys_nerr): Likewise.
24418 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
24419 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
24420 * stdio-common/psiginfo.c (psiginfo): Use array_length.
24421 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
24422 (do_test): Use array_length.
24423 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
24424 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
24425 * stdio-common/tst-printf-round.c (do_test): Likewise.
24426 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
24427 (CHECK): Use array_length.
24428 * stdio-common/tstdiomisc.c (t3, F): Likewise.
24429 * stdio-common/tstscanf.c (main): Likewise.
24430 * stdio-common/vfprintf.c (process_string_arg): Likewise.
24432 2017-11-02 Florian Weimer <fweimer@redhat.com>
24434 Add array_length and array_end macros.
24435 * include/array_length.h: New file.
24437 2017-11-02 Florian Weimer <fweimer@redhat.com>
24440 * posix/tst-glob-tilde.c (do_noescape): New variable.
24441 (one_test): Process it.
24442 (do_test): Set do_noescape. Add unescaping test case.
24444 2017-11-01 Joseph Myers <joseph@codesourcery.com>
24447 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
24448 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
24449 with appropriate macros defined and undefined.
24450 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
24451 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24452 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
24453 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24454 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
24455 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24456 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
24457 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24458 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
24459 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24462 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
24463 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
24464 that for long double. Do not condition define and undefine of
24465 _Mdouble_complex_ on [__CFLOAT128].
24467 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
24469 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24470 of <sysdeps/generic/sysdep.h>.
24471 (ALIGNARG): Removed.
24472 (ASM_SIZE_DIRECTIVE): Likewise.
24475 (ENTRY_CHK): Likewise.
24476 (END_CHK): Likewise.
24477 (syscall_error): Likewise.
24478 (mcount): Likewise.
24479 (PSEUDO_END): Likewise.
24481 (atom_text_section): Likewise.
24482 * sysdeps/x86/sysdep.h: New file.
24483 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24484 of <sysdeps/generic/sysdep.h>.
24485 (ALIGNARG): Removed.
24486 (ASM_SIZE_DIRECTIVE): Likewise.
24489 (ENTRY_CHK): Likewise.
24490 (END_CHK): Likewise.
24491 (syscall_error): Likewise.
24492 (mcount): Likewise.
24493 (PSEUDO_END): Likewise.
24495 (atom_text_section): Likewise.
24497 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
24499 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
24500 category of LC_CTYPE set to "i18n:2012".
24501 * localedata/locales/i18n_ctype: Regenerate.
24503 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
24505 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
24506 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
24507 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24508 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24510 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
24511 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
24512 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
24513 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
24515 2017-10-31 Joseph Myers <joseph@codesourcery.com>
24518 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
24520 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
24522 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
24524 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24525 (CMPLXF32X): Likewise.
24526 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24527 (CMPLXF64X): Likewise.
24528 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24529 (CMPLXF128X): Likewise.
24532 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
24533 (__MATH_EVAL_FMT2): Define to add 0.0f.
24535 2017-10-31 Alan Modra <amodra@gmail.com>
24537 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
24539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
24540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
24541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
24542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
24543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
24544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
24545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
24546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
24547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
24548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
24549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
24550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
24551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
24552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
24553 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
24554 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
24555 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
24556 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
24557 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
24558 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
24559 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
24560 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
24561 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
24562 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
24563 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24564 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
24565 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
24566 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
24567 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
24568 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
24569 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24570 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24571 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
24572 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
24573 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
24574 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
24575 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
24576 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
24577 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
24578 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24579 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
24580 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
24581 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
24582 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
24583 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
24584 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
24585 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
24586 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
24587 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24588 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24589 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
24590 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
24591 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
24592 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
24593 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24594 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
24595 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
24596 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
24597 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24598 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24599 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24600 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
24601 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
24602 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24603 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
24604 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
24605 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
24606 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
24607 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
24609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
24610 include sysdep.h and math_ldbl_opt.h.
24612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
24613 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
24614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
24615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
24616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
24617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
24618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
24619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
24620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
24621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
24622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
24623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
24624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
24625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
24626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
24627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
24628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
24629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
24630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
24631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
24632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
24633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
24634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
24635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
24636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
24637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
24639 2017-10-31 Alan Modra <amodra@gmail.com>
24641 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24642 string/strncase_l.c, not string/strncase.c.
24643 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24644 (libc_hidden_def): Redefine.
24646 2017-10-31 Alan Modra <amodra@gmail.com>
24648 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24649 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24650 (__strcasecmp): Don't define.
24652 2017-10-31 Alan Modra <amodra@gmail.com>
24654 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24656 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24657 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24658 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24660 2017-10-31 Alan Modra <amodra@gmail.com>
24662 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24665 2017-10-31 Alan Modra <amodra@gmail.com>
24667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24668 Redefine only when SHARED.
24670 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24672 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24673 Include <bits/math-finite.h> with appropriate macros defined and
24675 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24676 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24677 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24678 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24679 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24681 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24682 [!_Mlong_double_] (_Mlong_double_): Likewise.
24683 [!_Mfloat16_] (_Mfloat16_): Likewise.
24684 [!_Mfloat32_] (_Mfloat32_): Likewise.
24685 [!_Mfloat64_] (_Mfloat64_): Likewise.
24686 [!_Mfloat128_] (_Mfloat128_): Likewise.
24687 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24688 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24689 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24690 (_Mdouble_): Define without indirection through those macros.
24691 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24692 [!_Mfloat128_] (_Mfloat128_): Likewise.
24693 [_Mlong_double_] (_Mlong_double_): Likewise.
24694 (_Mdouble_): Define without indirection through those macros.
24695 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24696 not add -D_Mlong_double_=double.
24697 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24698 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24700 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24702 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24704 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24706 * sysdeps/x86/libc-start.c: Reformat.
24708 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24711 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24712 (1): Renamed to ...
24715 (L(Src2)): Likewise.
24716 (L(1)): Renamed to ...
24719 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24721 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24722 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24723 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24724 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24725 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24726 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24727 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24728 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24729 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24730 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24731 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24732 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24733 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24734 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24735 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24736 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24737 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24738 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24739 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24740 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24741 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24742 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24743 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24744 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24745 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24746 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24747 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24748 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24749 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24750 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24751 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24752 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24753 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24754 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24755 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24756 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24757 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24758 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24759 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24760 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24761 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24762 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24763 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24764 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24765 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24766 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24767 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24768 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24769 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24770 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24771 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24772 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24773 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24774 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24775 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24776 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24777 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24778 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24779 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24780 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24781 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24782 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24783 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24784 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24785 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24786 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24788 2017-10-30 Florian Weimer <fweimer@redhat.com>
24790 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24792 * io/tst-mkdirat.c (do_test): Likewise.
24793 * io/tst-mkfifoat.c (do_test): Likewise.
24794 * io/tst-mknodat.c (do_test): Likewise.
24795 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24796 * locale/programs/locale.c (select_dirs): Likewise.
24797 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24798 * posix/bug-glob2.c (my_readdir): Likewise.
24799 * posix/tst-dir.c (main): Likewise.
24800 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24801 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24803 2017-10-30 Florian Weimer <fweimer@redhat.com>
24805 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24808 2017-10-30 Florian Weimer <fweimer@redhat.com>
24810 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24811 Convert to support/test-driver.c.
24812 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24813 New macro parameters.
24814 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24815 * posix/tst-gnuglob.c: New file.
24816 * posix/tst-gnuglob64.c: Likewise.
24817 * posix/Makefile (tests): Add tst-gnuglob64.
24819 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
24822 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
24823 and use a better translation for March in “mon”.
24824 * localedata/locales/csb_PL: Use more ASCII to improve the
24825 readability of the source.
24827 2017-10-30 Mike FABIAN <mfabian@redhat.com>
24830 * localedata/locales/km_KH: Use ASCII as much
24831 as possible for better readability of the source and
24832 remove useless comments.
24833 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
24834 was commented out and apparently wrong anyway because it was
24835 using Lao characters. If Buddhist era should be used
24836 for km_KH, a native speaker should write the correct formaat
24838 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
24839 (According to CLDR, the first weekday for Cambodia is Sunday).
24840 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
24841 (These were using Lao characters which must be wrong. If we get
24842 the correct data from a native speaker, we could add it back, until
24843 then it is better not to have name_mr and name_mrs at all than
24846 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
24848 * locale/loadlocale.c: Correct size of
24849 _nl_value_type_LC_<category> arrays.
24851 2017-10-27 Joseph Myers <joseph@codesourcery.com>
24853 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24854 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24855 with appropriate macros defined and undefined.
24856 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24857 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24858 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24859 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24860 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24862 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24864 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24867 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24869 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24870 with lowercase letters to make it agree with CLDR.
24872 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24875 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24876 first letters of yesstr and nostr in yesexpr and noexpr,
24877 not for the full words.
24878 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24879 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24880 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24881 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24882 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24883 first letters of yesstr and nostr in yesexpr and noexpr,
24884 until now only English was matched in yesexpr and noexpr.
24885 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24886 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24887 fil but not for tl. As tl and fil are very similar, using fil
24888 is probably better than using English.
24890 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
24893 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24894 in yesstr and nostr.
24896 2017-10-26 Joseph Myers <joseph@codesourcery.com>
24898 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24899 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24900 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24902 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24904 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24906 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24908 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24909 (SNANF128X): Likewise.
24911 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24912 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24913 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24914 (HUGE_VAL_F32): Likewise.
24915 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24916 (HUGE_VAL_F64): Likewise.
24917 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24918 (HUGE_VAL_F32X): Likewise.
24919 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24920 (HUGE_VAL_F64X): Likewise.
24921 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24922 (HUGE_VAL_F128X): Likewise.
24924 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24926 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24927 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24928 for the br_FR locale.
24930 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24933 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24935 2017-10-25 Carlos O'Donell <carlos@redhat.com>
24937 * locale/programs/record-status.h: Define globals, and function
24938 prototypes. Move function bodies...
24939 * locale/programs/record-status.c: ... to here. New file.
24940 * iconv/Makefile (iconv_prog-modules): Add record-status.
24941 * locale/Makefile (lib-modules): Likewise.
24942 * iconv/iconv_prog.c: Remove verbose.
24943 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24944 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24945 record a warning about ASCII compatibility.
24946 * locale/programs/ld-monetary.c (monetary_finish): If
24947 warn_int_curr_symbol is true then record a warning about the symbol
24948 not being in our ISO 4217 list.
24949 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24950 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24951 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24952 (OPT_NO_WARN): Define.
24953 (OPT_WARN): Define.
24954 (options): Add entry for --no-warnings, and --warnings.
24955 (set_warnings): New function to enable/disable warnings.
24956 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24957 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24958 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24959 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24960 Pass flags to generate_locale.
24961 (generate_locale): Accept new flag argument and pass it to localedef
24963 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24964 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24966 * localedata/Makefile (test-input-data): Use full file name.
24967 * localedata/da_DK.in: Rename to...
24968 * localedata/da_DK.ISO-8859-1.in: ...this.
24969 * localedata/de_DE.in: Rename to...
24970 * localedata/de_DE.ISO-8859-1.in: ...this.
24971 * localedata/en_US.in: Rename to...
24972 * localedata/en_US.ISO-8859-1.in: ...this.
24973 * localedata/fr_FR.in: Rename to...
24974 * localedata/fr_FR.UTF-8.in: ... this.
24975 * localedata/hr_HR.in: Rename to...
24976 * localedata/hr_HR.ISO-8859-2.in: ...this.
24977 * localedata/hu_HU.in: Rename to...
24978 * localedata/hu_HU.UTF-8.in: ...this.
24979 * localedata/si_LK.in: Rename to...
24980 * localedata/si_LK.UTF-8.in: ...this.
24981 * localedata/sv_SE.in: Rename to...
24982 * localedata/sv_SE.ISO-8859-1.in: ...this.
24983 * localedata/tr_TR.in: Rename to...
24984 * localedata/tr_TR.UTF-8.in: ...this.
24985 * localedata/uk_UA.in: Rename to...
24986 * localedata/uk_UA.UTF-8.in: ...this.
24987 * localedata/sort-test.sh: Test file is locale name with the
24990 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24991 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24993 * localedata/locales/i18n_ctype: Regenerate.
24994 * localedata/locales/tr_TR: Likewise.
24995 * localedata/locales/translit_circle: Likewise.
24996 * localedata/locales/translit_cjk_compat: Likewise.
24997 * localedata/locales/translit_combining: Likewise.
24998 * localedata/locales/translit_compat: Likewise.
24999 * localedata/locales/translit_font: Likewise.
25000 * localedata/locales/translit_fraction: Likewise.
25002 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25004 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25005 lxvd2x/stxvd2x with lvx/stvx.
25006 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25008 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25010 * include/alloc_buffer.h: Replace "if if " with "if " in
25012 * sysdeps/mips/memcpy.S: Likkewise.
25013 * sysdeps/mips/memset.S: Likewise.
25014 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25016 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25018 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25021 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25024 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25025 yesexpr and noexpr.
25026 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25027 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25028 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25029 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25030 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25031 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25032 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25034 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25036 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25037 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25038 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25039 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25040 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25041 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25042 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25043 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25044 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25045 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25046 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25047 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25049 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25051 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25052 as possible for better readability of the source.
25053 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25054 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25055 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25056 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25057 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25058 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25059 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25060 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25061 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25062 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25063 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25064 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25065 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25066 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25067 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25068 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25069 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25070 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25071 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25072 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25073 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25074 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25075 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25076 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25077 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25078 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25079 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25080 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25081 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25082 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25083 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
25084 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25085 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
25086 * localedata/locales/en_US (LC_MESSAGES): Likewise.
25087 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
25088 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
25089 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
25090 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
25091 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
25092 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
25093 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
25094 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
25095 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
25096 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
25097 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
25098 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
25099 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
25100 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
25101 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
25102 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
25103 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
25104 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
25105 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
25106 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25107 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25108 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
25109 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
25110 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25111 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
25112 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
25113 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
25114 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
25115 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
25116 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
25117 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
25118 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
25119 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
25120 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
25121 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
25122 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
25123 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
25124 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
25125 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
25126 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
25127 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25128 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
25129 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
25130 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
25131 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
25132 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
25133 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
25134 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
25135 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
25136 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25137 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
25138 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
25139 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
25140 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25141 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
25142 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
25143 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
25144 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
25145 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25146 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
25147 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
25148 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25149 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
25150 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25151 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
25152 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
25153 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
25154 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
25155 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
25156 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
25157 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
25158 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
25159 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
25160 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
25161 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
25162 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
25163 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
25164 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
25165 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25166 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
25167 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
25168 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
25169 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
25170 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
25171 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
25172 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
25173 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
25174 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
25175 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
25176 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
25177 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
25178 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
25179 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
25180 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
25181 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
25182 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
25183 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
25184 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
25185 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
25186 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
25187 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
25188 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
25189 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
25190 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
25191 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
25192 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
25193 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
25194 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
25195 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
25196 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
25197 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
25198 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25199 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
25200 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25201 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25202 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25203 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25204 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25205 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25206 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25207 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25208 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25209 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25210 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25211 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25212 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25213 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25214 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25215 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25216 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25217 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25218 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25219 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25220 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25221 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25222 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25223 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25224 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25225 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25226 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25228 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25230 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25231 (Use first letters of yesstr and nostr correctly instead of using
25234 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25236 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25237 (Use first letters of yesstr and nostr correctly).
25239 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25241 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25242 also check for the first characters of yesstr and nostr.
25243 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25244 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25246 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25248 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25249 also check for Chinese characters.
25251 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25253 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25254 match also for the contents of yesstr and nostr. As the first letter
25255 of yesstr and nostr is equal, checking only for the first letter
25258 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25260 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25261 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25263 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25265 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25266 of main contributor.
25268 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25270 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25271 instead of using English.
25273 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25275 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25276 by including the first letters of nostr and yesexpr in the regexp.
25277 Also make it more readable by using ASCII where possible.
25279 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25281 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
25282 the first letter of nostr in the regexp. It agrees with CLDR now.
25283 Also make it more readable by using ASCII where possible.
25285 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25287 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
25288 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
25289 these strings contain a U+17D6 (which somewhat looks like a colon)
25290 instead of a real colon to separate the full words for “yes”
25291 and “no” from the single letter responses.
25293 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25295 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
25296 it agree with CLDR (include the first letter of yesstr).
25297 Also make it more readable by using ASCII where possible.
25299 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25301 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
25302 and improve yesexpr and noexpr. The yesstr and nostr apparently
25303 came from CLDR. And CLDR has a bug there: these strings contain
25304 a U+0903 (which looks like a colon) instead of a real colon
25305 to separate the full words for “yes” and “no” from the single
25308 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25310 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
25311 letters of the full yesstr and nostr in yesexpr and noexpr.
25313 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25315 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
25316 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
25317 * localedata/locales/an_ES: Make source more readable by using ASCII
25320 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25323 * localedata/locales/yuw_PG: New file.
25324 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
25325 * locale/iso-639.def: Add Yau (Uruwa).
25327 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25329 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
25331 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25333 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
25334 (__libc_realloc): Likewise.
25335 (_mid_memalign): Likewise.
25336 (__libc_calloc): Likewise.
25338 2017-10-23 Mike FABIAN <mfabian@redhat.com>
25340 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
25341 by adding the generic +1 and -0 as in all other locales.
25342 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
25343 day names and make it more readable by using ASCII where possible.
25345 2017-10-24 Joseph Myers <joseph@codesourcery.com>
25347 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
25348 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
25350 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25352 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
25353 WNOHANG in waitpid call.
25355 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
25357 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
25358 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
25360 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
25361 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
25362 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
25363 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
25364 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
25365 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
25366 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
25367 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
25370 2017-10-23 Michael Collison <michael.collison@arm.com>
25372 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
25373 with __builtin_sqrt.
25374 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
25375 with __builtin_sqrtf.
25376 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
25377 with __builtin_ceil.
25378 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
25379 with __builtin_ceilf.
25380 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
25381 with __builtin_floor.
25382 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
25383 with __builtin_floorf.
25384 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
25385 with __builtin_fma.
25386 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
25387 with __builtin_fmaf.
25388 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
25389 with __builtin_fmax.
25390 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
25391 with __builtin_fmaxf.
25392 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
25393 with __builtin_fmin.
25394 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
25395 with __builtin_fminf.
25396 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
25397 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
25398 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
25399 with builtin_rint and conversion to int.
25400 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
25401 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
25402 with builtin_llround.
25403 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
25404 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
25405 with builtin_rint and conversion to long int.
25406 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
25407 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
25408 with builtin_lround.
25409 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
25410 with builtin_lroundf.
25411 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
25412 statements with __builtin_nearbyint.
25413 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
25414 statements with __builtin_nearbyintf.
25415 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
25416 with __builtin_rint.
25417 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
25418 with __builtin_rintf.
25419 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
25420 with __builtin_round.
25421 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
25422 with __builtin_roundf.
25423 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
25424 with __builtin_trunc.
25425 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
25426 with __builtin_truncf.
25427 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
25428 and s_l[l]round[f].c too.
25430 2017-10-23 Alan Modra <amodra@gmail.com>
25432 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
25433 Adjust stack after restoring regs. Add missing LR cfi_restore.
25435 2017-10-23 Alan Modra <amodra@gmail.com>
25437 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
25438 Move LR save and frame setup/teardown and LR restore to
25439 immediately around memset call. Provide cfi.
25441 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25443 * sysdeps/i386/fpu/e_powf.S: Removed.
25444 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
25445 * sysdeps/i386/fpu/w_powf.c: Likewise.
25446 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
25447 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25448 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25450 (CFLAGS-e_powf-sse2.c): New.
25451 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
25452 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
25454 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25456 * sysdeps/i386/fpu/e_log2f.S: Removed.
25457 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
25458 * sysdeps/i386/fpu/w_log2f.c: Likewise.
25459 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
25460 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25461 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25463 (CFLAGS-e_log2f-sse2.c): New.
25464 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
25465 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
25467 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25469 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25471 (CFLAGS-e_powf-fma.c): New.
25472 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
25473 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
25475 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25477 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25479 (CFLAGS-e_log2f-fma.c): New.
25480 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
25481 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
25483 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25485 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25487 (CFLAGS-e_logf-fma.c): New.
25488 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
25489 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
25491 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25493 * sysdeps/i386/fpu/e_logf.S: Removed.
25494 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
25495 * sysdeps/i386/fpu/w_logf.c: Likewise.
25496 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
25497 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
25498 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25499 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25501 (CFLAGS-e_logf-sse2.c): New.
25502 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
25503 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
25505 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25507 * sysdeps/i386/fpu/e_exp2f.S: Removed.
25508 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
25509 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
25510 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25511 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25513 (CFLAGS-e_exp2f-sse2.c): New.
25514 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
25515 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
25517 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25519 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25521 (CFLAGS-e_exp2f-fma.c): New.
25522 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
25523 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
25525 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25527 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
25528 * sysdeps/i386/fpu/e_expf.S: Likewise.
25529 * sysdeps/i386/fpu/math_errf.c: Likewise.
25530 * sysdeps/i386/fpu/w_expf.c: Likewise.
25531 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
25532 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25533 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
25534 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
25535 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25536 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25537 Remove e_expf-ia32.
25538 (CFLAGS-e_expf-sse2.c): New.
25539 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
25540 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
25542 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25544 * sysdeps/x86_64/fpu/e_expf.S: Removed.
25545 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
25546 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
25547 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
25549 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
25551 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
25552 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
25554 (__redirect_expf): This.
25555 (SYMBOL_NAME): Changed to expf.
25556 (__ieee754_expf): Renamed to ...
25558 (__GI___expf): This.
25559 (__ieee754_expf): Add strong_alias.
25560 (__expf_finite): Likewise.
25562 Include <sysdeps/ieee754/flt-32/e_expf.c>.
25564 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
25567 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
25570 2017-10-21 Florian Weimer <fweimer@redhat.com>
25572 * posix/Makefile (tests): Add tst-glob-tilde.
25573 (tests-special): Add tst-glob-tilde-mem.out
25574 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
25575 (tst-glob-tilde-mem.out): Add mtrace check.
25576 * posix/tst-glob-tilde.c: New file.
25578 2017-10-20 Joseph Myers <joseph@codesourcery.com>
25580 * bits/floatn-common.h: New file.
25581 * math/Makefile (headers): Add bits/floatn-common.h.
25582 * bits/floatn.h: Include <bits/floatn-common.h>.
25583 * sysdeps/ia64/bits/floatn.h: Likewise.
25584 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25585 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
25586 * sysdeps/powerpc/bits/floatn.h: Likewise.
25587 * sysdeps/x86/bits/floatn.h: Likewise.
25589 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25591 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
25592 indicates whether compiler emits an warning for alias for
25593 functions with incompatible types.
25596 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
25597 the auxiliary process is terminated by a signal before calling _exit
25600 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25603 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
25605 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
25606 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
25607 and bit_arch_XSAVEC_Usable if needed.
25608 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
25609 and bit_arch_Use_dl_runtime_resolve_opt.
25610 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
25612 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
25613 (bit_arch_Prefer_No_AVX512): Updated.
25614 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
25615 (bit_arch_XSAVEC_Usable): New.
25616 (STATE_SAVE_OFFSET): Likewise.
25617 (STATE_SAVE_MASK): Likewise.
25618 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
25619 (cpu_features): Add xsave_state_size and xsave_state_full_size.
25620 (index_arch_Use_dl_runtime_resolve_opt): Removed.
25621 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
25622 (index_arch_XSAVEC_Usable): New.
25623 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25624 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
25625 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
25627 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
25628 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
25629 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
25630 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
25631 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
25632 _dl_runtime_resolve_xsavec.
25633 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
25635 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
25636 instead of VEC_SIZE.
25637 (REGISTER_SAVE_BND0): Removed.
25638 (REGISTER_SAVE_BND1): Likewise.
25639 (REGISTER_SAVE_BND3): Likewise.
25640 (REGISTER_SAVE_RAX): Always defined to 0.
25642 (_dl_runtime_resolve_avx): Likewise.
25643 (_dl_runtime_resolve_avx_slow): Likewise.
25644 (_dl_runtime_resolve_avx_opt): Likewise.
25645 (_dl_runtime_resolve_avx512): Likewise.
25646 (_dl_runtime_resolve_avx512_opt): Likewise.
25647 (_dl_runtime_resolve_sse): Likewise.
25648 (_dl_runtime_resolve_sse_vex): Likewise.
25650 (_dl_runtime_resolve_fxsave): Likewise.
25651 (USE_XSAVE): Likewise.
25652 (_dl_runtime_resolve_xsave): Likewise.
25653 (USE_XSAVEC): Likewise.
25654 (_dl_runtime_resolve_xsavec): Likewise.
25655 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25657 (_dl_runtime_resolve_avx512_opt): Likewise.
25658 (_dl_runtime_resolve_avx): Likewise.
25659 (_dl_runtime_resolve_avx_opt): Likewise.
25660 (_dl_runtime_resolve_sse): Likewise.
25661 (_dl_runtime_resolve_sse_vex): Likewise.
25662 (_dl_runtime_resolve_fxsave): New.
25663 (_dl_runtime_resolve_xsave): Likewise.
25664 (_dl_runtime_resolve_xsavec): Likewise.
25666 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
25670 * posix/glob.c (__glob): Fix one-byte overflow.
25672 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25674 * malloc/malloc.c (sysdep-cancel.h): Add include.
25676 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25678 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25680 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25682 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25683 (tests): Remove $(objpfx)ga_test depdendency.
25684 * resolv/ga_test.c: Remove file.
25686 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25689 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25690 * localedata/locales/kab_DZ: New file.
25692 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25694 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25695 _dl_relocate_static_pie instead of _dl_start to compute load
25696 address in static PIE.
25698 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25700 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25702 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25705 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25706 * localedata/locales/shn_MM: New file.
25708 2017-10-20 Florian Weimer <fweimer@redhat.com>
25711 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25712 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25713 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25714 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25715 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25716 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25718 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25720 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25722 2017-10-19 Joseph Myers <joseph@codesourcery.com>
25724 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25727 * sysdeps/mips/bits/long-double.h: Move to ....
25728 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25730 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25732 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25734 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
25735 H.J. Lu <hongjiu.lu@intel.com>
25738 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25739 GLRO(dl_platform) to NULL.
25740 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25741 (modules-names): Add tst-platformmod-1 and
25742 x86_64/tst-platformmod-2.
25743 (CFLAGS-tst-platform-1.c): New.
25744 (CFLAGS-tst-platformmod-1.c): Likewise.
25745 (CFLAGS-tst-platformmod-2.c): Likewise.
25746 (LDFLAGS-tst-platformmod-2.so): Likewise.
25747 ($(objpfx)tst-platform-1): Likewise.
25748 ($(objpfx)tst-platform-1.out): Likewise.
25749 (tst-platform-1-ENV): Likewise.
25750 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25751 * sysdeps/x86_64/tst-platform-1.c: New file.
25752 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25753 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25755 2017-10-19 Mike FABIAN <mfabian@redhat.com>
25758 * locale/iso-639.def: Add Karbi.
25759 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25760 * localedata/locales/mjw_IN: New file.
25762 2017-10-18 Joseph Myers <joseph@codesourcery.com>
25764 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25765 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25766 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25767 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25768 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25769 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25770 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25772 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25773 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25774 * manual/math.texi (Mathematics): Document additional architecture
25775 support for _Float128.
25776 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25777 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25778 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25779 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25780 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25781 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25782 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25783 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25784 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25785 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25786 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25787 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25788 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25789 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25790 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25792 2017-10-18 Renlin Li <renlin.li@arm.com>
25794 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25795 _DYNAMIC symbol to calculate load address.
25797 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
25799 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25800 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25802 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25803 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25805 2017-10-18 Mike FABIAN <mfabian@redhat.com>
25808 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25809 and improve readability by using more ASCII.
25810 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25811 and improve readability by using more ASCII.
25813 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25815 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25816 not all targets support atomics on bool.
25818 2017-10-17 Joseph Myers <joseph@codesourcery.com>
25820 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
25821 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
25823 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25824 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
25825 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25826 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
25827 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25828 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
25830 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25832 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
25835 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25838 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
25839 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
25840 (do_check_remalloced_chunk): Fix build bug.
25841 (do_check_malloc_state): Add assert that checks arena->top.
25842 (malloc_consolidate): Remove initialization.
25843 (int_mallinfo): Remove call to malloc_consolidate.
25844 (__libc_mallopt): Clarify why malloc_consolidate is needed.
25846 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25848 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
25849 (have_fastchunks): Remove.
25850 (clear_fastchunks): Remove.
25851 (set_fastchunks): Remove.
25852 (malloc_state): Add have_fastchunks.
25853 (malloc_init_state): Use have_fastchunks.
25854 (do_check_malloc_state): Remove incorrect invariant checks.
25855 (_int_malloc): Use have_fastchunks.
25856 (_int_free): Likewise.
25857 (malloc_consolidate): Likewise.
25859 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25861 * malloc/malloc.c (tcache_put): Inline.
25862 (tcache_get): Inline.
25864 2017-10-17 Jordi Mallach <jordi@gnu.org>
25866 Aurelien Jarno <aurelien@aurel32.net>
25868 * localedata/locales/ca_ES@valencia: New file.
25869 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25871 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25874 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25877 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25879 * scripts/build-many-glibcs.py (Context.add_all_configs):
25880 Add arm-linux-gnueabihf multiarch extra_glibcs.
25882 * sysdeps/generic/ifunc-init.h: New file.
25883 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25885 2017-10-17 Mike FABIAN <mfabian@redhat.com>
25888 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25889 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25890 * stdlib/tst-strfmon_l.c: adapt test case.
25892 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25894 * sysdeps/generic/float128-abi.h: New file.
25895 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25896 non-__prefixed symbols to ....
25897 * math/Versions: ... here. Include <float128-abi.h>.
25898 * stdlib/Versions ... and here. Include <float128-abi.h>
25900 2017-10-16 Florian Weimer <fweimer@redhat.com>
25902 * version.h (VERSION): Switch to ".9000" as the development
25905 2017-10-16 Florian Weimer <fweimer@redhat.com>
25908 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25909 compat_symbol_reference to access non-default version.
25911 2017-10-16 Florian Weimer <fweimer@redhat.com>
25913 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25915 2017-10-16 Carlos O'Donell <carlos@redhat.com>
25917 * include/shlib-compat.h (compat_symbol_reference): Update
25920 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25922 * math/Makefile (test-types): Add
25923 $(type-float128-$(float128-alias-fcts)).
25924 * math/test-float128.h (TYPE_STR): Define conditional on
25925 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25926 (ULP_IDX): Likewise.
25927 (ULP_I_IDX): Likewise.
25929 * stdlib/strtold.c: Include <bits/floatn.h>
25930 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25931 and later undefine as macro. Define as weak alias if
25933 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25934 and later undefine as macro. Define as weak alias if
25936 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25937 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25938 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25939 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25940 Define and later undefine as macro. Define as weak alias if
25942 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25944 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25945 Define and later undefine as macro. Define as weak alias if
25947 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25948 Define and later undefine as macro. Define as weak alias if
25951 2017-10-15 Carlos O'Donell <carlos@redhat.com>
25953 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25954 record_verbose messages.
25956 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25959 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25960 to silence -O3 -Wall warning with GCC 7.
25962 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25964 * Makeconfig (+link-static-before-libc): Use the first of
25965 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25966 * gmon/Makefile (tests): Add tst-gmon-static.
25967 (tests-static): Likewise.
25968 (CFLAGS-tst-gmon-static.c): New.
25969 (CRT-tst-gmon-static): Likewise.
25970 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25971 (tst-gmon-static-ENV): Likewise.
25972 (tests-special): Likewise.
25973 ($(objpfx)tst-gmon-static.out): Likewise.
25974 (clean-tst-gmon-static-data): Likewise.
25975 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25976 * gmon/tst-gmon-static-gprof.sh: New file.
25977 * gmon/tst-gmon-static.c: Likewise.
25979 2017-10-13 Carlos O'Donell <carlos@redhat.com>
25982 * locale/programs/linereader.c (get_string): Don't warn on
25983 non-symbolic character.
25986 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25990 * locale/programs/record-status.h: New file
25991 * locale/programs/locale.c: Add comment.
25992 * locale/programs/charmap-dir.c: Don't include error.h.
25993 (charmap_opendir): Use record_error.
25994 * locale/programs/charmap.c: Don't include error.h.
25995 (charmap_read): Use record_error, and record_warning.
25996 (parse_charmap): Likewise.
25997 * locale/programs/ld-address.c: Don't include error.h.
25998 (address_finish): Use record_error, and record_warning.
25999 * locale/programs/ld-collate.c: Don't include error.h.
26000 (collate_finish): Use record_error, and record_error_at_line.
26001 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26002 (ctype_class_new): Likewise.
26003 (ctype_map_new): Likewise.
26004 (set_one_default): Likewise.
26005 (set_class_defaults): Likewise.
26006 (translit_flatten): Likewise.
26007 (allocate_arrays): Use record_error, and record_verbose.
26008 * locale/programs/ld-identification.c: Don't include error.h.
26009 (indentation_finish): Use record_error and record_warning.
26010 * locale/programs/ld-measurement.c: Don't include error.h.
26011 (measurement_finish): Use record_error.
26012 * locale/programs/ld-messages.c
26013 (message_finish): Likewise.
26014 * locale/programs/ld-monetary.c
26015 (monetary_finish): Likewise.
26016 * locale/programs/ld-name.c (name_finish): Use record_error
26017 and record_warning.
26018 * locale/programs/ld-numeric.c
26019 (numeric_finish): Use record_error.
26020 * locale/programs/ld-paper.c: Don't include error.h.
26021 (paper_finish): Use record_error.
26022 * locale/programs/ld-telephone.c: Don't include error.h.
26023 (telephone_finish): Use record_error.
26024 * locale/programs/ld-time.c (time_finish): Likewise.
26025 * locale/programs/linereader.h (lr_error): Make inline func.
26026 * locale/programs/localedef.c: Define recorded_warning_count,
26027 and recorded_error_count.
26028 (main): Use record_error. Use recorded_error_count and
26029 recorded_warning_count to issue correct error returns.
26030 (add_to_readlist): Use record_error.
26031 (find_locale): Likewise.
26032 (load_locale): Likewise.
26033 * locale/programs/localedef.h: Remove be_quiet
26034 and WITH_CUR_LOCALE.
26035 * locale/programs/locarchive.c (compare_from_file): Use
26037 * locale/programs/locfile.c (write_locale_data): Use
26039 * locale/programs/repertoire.c: Dont include error.h.
26040 (repertoire_complain): Use record_error.
26041 * localedata/tst-fmon.sh: Expect failures from localedef.
26042 * localedata/tst-locale.sh: Likewise.
26043 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26045 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26046 (REPORTS): Likewise.
26048 (i18n): Rename to...
26049 (i18n_ctype): ...this.
26050 (i18n-report): Rename to...
26051 (i18n_ctype-report): ...this.
26052 * localedata/locales/i18n_ctype: Regenerate.
26053 * localedata/locales/i18n: copy i18n_ctype.
26055 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26057 * stdlib/strfroml.c: Include <bits/floatn.h>.
26058 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26059 Define before include of <stdlib.h> and undefine afterwards, then
26060 define as weak alias.
26062 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26063 Undefine and restore default definition. Use
26064 libm_alias_ldouble_other.
26066 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26069 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26072 2017-10-13 James Clarke <jrtc27@jrtc27.com>
26074 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26075 Assign sym_map to be map for local symbols, as TLS relocations
26076 use sym_map to determine whether the symbol is defined and to
26077 extract the TLS information.
26078 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26079 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26081 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26084 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
26085 (math_force_eval): Add powerpc version.
26088 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
26090 (do_test): Likewise.
26091 * stdio-common/tst-printf.sh: Likewise.
26092 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
26093 ifdef clause in order to set the carry bit right. Replace r0 by
26094 0 without changing the behavior.
26096 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26098 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
26099 <libm-alias-ldouble.h>.
26100 (fabsl): Define using libm_alias_ldouble.
26101 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
26102 <libm-alias-ldouble.h>.
26103 (fabsl): Define using libm_alias_ldouble.
26105 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
26106 Remove conditional code.
26108 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
26109 Rename to __clog10_internal_l.
26110 (__clog10_internal_l): Define aliases using
26111 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
26114 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26116 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
26117 * benchtests/sincosf-inputs: New file.
26118 * benchtests/cosf-inputs: New file.
26119 * benchtests/sinf-inputs: New file.
26121 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
26123 * posix/tst-spawn.c (do_test): Wait for both children.
26125 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
26128 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
26129 tests-pie): Add tst-gmon-pie.
26130 (CFLAGS-tst-gmon-pie.c): New.
26131 (CRT-tst-gmon-pie): Likewise.
26132 (tst-gmon-pie-ENV): Likewise.
26133 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
26134 ($(objpfx)tst-gmon-pie.out): Likewise.
26135 (clean-tst-gmon-pie-data): Likewise.
26136 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
26137 * gmon/gmon.c [PIC]: Include <link.h>.
26138 [PIC] (callback): New function.
26139 (write_hist): Add an argument for load address. Subtract load
26141 (write_call_graph): Likewise.
26142 (write_gmon): Call __dl_iterate_phdr to get load address, pass
26143 it to write_hist and write_call_graph.
26144 * gmon/tst-gmon-pie.c: New file.
26146 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26148 * math/Makefile (test-types-basic): New variable.
26149 (test-types): Likewise.
26150 (libm-test-support): Use $(test-types) instead of $(types).
26151 (libm-tests-base-normal): Likewise.
26152 (libm-tests-base-finite): Likewise.
26153 (libm-tests-base-inline): Likewise.
26154 (generated): Likewise.
26155 ($(objpfx)libm-test-support-$(t).c): Likewise.
26156 (libm-tests-for-type iterator): Likewise.
26157 (libm-test-support iterator): Likewise.
26158 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
26159 (ulp_idx): Use ULP_IDX.
26160 * math/test-ldouble.h: Include <float.h>.
26161 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
26162 (ULP_IDX): New macro.
26163 (ULP_I_IDX): Likewise.
26164 * math/test-double.h (ULP_IDX): Likewise.
26165 (ULP_I_IDX): Likewise.
26166 * math/test-float.h (ULP_IDX): Likewise.
26167 (ULP_I_IDX): Likewise.
26168 * math/test-float128.h (ULP_IDX): Likewise.
26169 (ULP_I_IDX): Likewise.
26171 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26173 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
26174 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26175 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26176 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
26177 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26178 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
26179 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
26180 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26181 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26182 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26183 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
26184 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26185 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26186 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26187 (SINGLE_THREAD_BY_GLOBAL): Define.
26188 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26190 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26192 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26194 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26196 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
26197 (SINGLE_THREAD_BY_GLOBAL): Likewise.
26198 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26201 2017-10-11 Andreas Schwab <schwab@suse.de>
26203 * nis/Makefile (aux): Remove.
26204 * nscd/Makefile (aux): Add nscd_hash.
26205 (nscd-modules): Likewise.
26206 ($(objpfx)nscd): Don't depend on libnsl.
26207 * nscd/nscd_hash.c: New file.
26208 * nscd/nscd_hash.h: Likewise.
26209 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26210 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26211 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26212 instead of <nis/rpcsvc/nis.h>.
26213 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26215 2017-10-11 Florian Weimer <fweimer@redhat.com>
26218 Avoid large NSS buffers with many addresses, aliases.
26219 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26220 using dynarrays and struct alloc_buffer.
26221 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26222 (tst-nss-files-hosts-multi): Link with -ldl.
26223 * nss/tst-nss-files-hosts-multi.c: New file.
26225 2017-10-11 Florian Weimer <fweimer@redhat.com>
26228 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26229 scratch_buffer. Eliminate gotos.
26231 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26233 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26234 libm_alias_ldouble_other.
26235 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26236 undefine and redefine.
26237 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26238 (exp10l): Do not define here.
26239 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26240 (weak_alias): Undefine and redefine.
26241 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26242 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26243 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26244 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26246 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26247 [!__fma] (fma): Define using libm_alias_double.
26248 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26249 [!__fmaf] (fmaf): Define using libm_alias_float.
26250 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26251 (fmal): Define using libm_alias_ldouble.
26253 2017-10-10 Joseph Myers <joseph@codesourcery.com>
26255 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26257 (libm_alias_double_other): Likewise.
26258 (libm_alias_double_r): Use libm_alias_double_other_r.
26259 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26261 (libm_alias_float_other): Likewise.
26262 (libm_alias_float_r): Use libm_alias_float_other_r.
26263 * sysdeps/generic/libm-alias-float128.h
26264 (libm_alias_float128_other_r): New macro.
26265 (libm_alias_float128_other): Likewise.
26266 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26267 * sysdeps/generic/libm-alias-ldouble.h
26268 (libm_alias_ldouble_other_r): New macro.
26269 (libm_alias_ldouble_other): Likewise.
26270 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26271 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26272 (libm_alias_double_other_r): New macro.
26273 (libm_alias_double_other): Likewise.
26274 (libm_alias_double_r): Use libm_alias_double_other_r.
26275 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26276 (libm_alias_ldouble_other_r): New macro.
26277 (libm_alias_ldouble_other): Likewise.
26278 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26279 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
26280 [!USE_AS_COMPAT]: Use libm_alias_double_other.
26281 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
26282 [!USE_AS_COMPAT]: Use libm_alias_float_other.
26283 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
26284 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
26285 * math/w_exp2f.c: Use libm_alias_float_other.
26286 * math/w_expf.c: Likewise.
26287 * math/w_log2f.c: Likewise.
26288 * math/w_logf.c: Likewise.
26289 * math/w_powf.c: Likewise.
26290 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
26291 [!__exp2f]: Use libm_alias_float_other.
26292 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
26293 [!__expf]: Use libm_alias_float_other.
26294 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
26295 [!__log2f]: Use libm_alias_float_other.
26296 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
26297 [!__logf]: Use libm_alias_float_other.
26298 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
26299 [!__powf]: Use libm_alias_float_other.
26301 2017-10-10 Florian Weimer <fweimer@redhat.com>
26303 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
26305 (_nss_files_gethostbyname3_r): Call it.
26307 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26309 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
26310 error. Remove default definition of declare_mgen_alias.
26311 [!declare_mgen_alias_r]: Likewise.
26312 * sysdeps/generic/math-type-macros-double.h
26313 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
26314 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
26315 (declare_mgen_alias_r): Likewise.
26316 * sysdeps/generic/math-type-macros-float128.h
26317 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26318 * sysdeps/generic/math-type-macros-ldouble.h
26319 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26320 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
26322 (declare_mgen_alias_r_s): Likewise.
26323 (declare_mgen_alias_r): Likewise.
26324 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
26325 (lgamma_r): Define using libm_alias_double_r.
26326 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
26327 (lgammaf_r): Define using libm_alias_float_r.
26328 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
26329 (lgammal_r): Define using libm_alias_ldouble_r.
26330 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
26331 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26333 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26335 * lib/glob.c (__glob_pattern_type): Remove now-spurious
26336 extern declaration.
26338 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26340 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
26342 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
26345 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
26346 [__cplusplus >= 201103] (__USE_ISOC99): Define.
26347 * math/Makefile (test-math-cxx11): New test.
26348 * math/test-math-cxx11.cc: New file.
26350 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
26352 * login/openpty.c (openpty): Close slave pty file descriptor on error.
26354 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
26355 call to allocate the slave pty file descriptor.
26357 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26359 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
26360 [!__fma] (fma): Define using libm_alias_double.
26361 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
26362 [!__fma] (fma): Define using libm_alias_double.
26364 * sysdeps/ieee754/float128/float128_private.h: Include
26365 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
26366 (libm_alias_ldouble_r): Undefine and redefine.
26367 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
26368 <libm-alias-ldouble.h>.
26369 (asinhl): Define using libm_alias_ldouble.
26370 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
26371 <libm-alias-ldouble.h>.
26372 (atanl): Define using libm_alias_ldouble.
26373 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
26374 <libm-alias-ldouble.h>.
26375 (cbrtl): Define using libm_alias_ldouble.
26376 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
26377 <libm-alias-ldouble.h>.
26378 (ceill): Define using libm_alias_ldouble.
26379 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
26380 <libm-alias-ldouble.h>.
26381 (copysignl): Define using libm_alias_ldouble.
26382 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
26383 <libm-alias-ldouble.h>.
26384 (cosl): Define using libm_alias_ldouble.
26385 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
26386 <libm-alias-ldouble.h>.
26387 (erfl): Define using libm_alias_ldouble.
26389 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
26390 <libm-alias-ldouble.h>.
26391 (expm1l): Define using libm_alias_ldouble.
26392 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
26393 <libm-alias-ldouble.h>.
26394 (fabsl): Define using libm_alias_ldouble.
26395 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
26396 <libm-alias-ldouble.h>.
26397 (floorl): Define using libm_alias_ldouble.
26398 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
26399 <libm-alias-ldouble.h>.
26400 (fmal): Define using libm_alias_ldouble.
26401 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
26402 <libm-alias-ldouble.h>.
26403 (frexpl): Define using libm_alias_ldouble.
26404 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
26405 libm_alias_ldouble.
26406 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
26407 <libm-alias-ldouble.h>.
26408 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
26409 libm_alias_ldouble.
26410 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
26411 <libm-alias-ldouble.h>.
26412 (getpayloadl): Define using libm_alias_ldouble.
26413 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
26414 <libm-alias-ldouble.h>.
26415 (llrintl): Define using libm_alias_ldouble.
26416 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
26417 <libm-alias-ldouble.h>.
26418 (llroundl): Define using libm_alias_ldouble.
26419 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
26420 <libm-alias-ldouble.h>.
26421 (logbl): Define using libm_alias_ldouble.
26422 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
26423 <libm-alias-ldouble.h>.
26424 (lrintl): Define using libm_alias_ldouble.
26425 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
26426 <libm-alias-ldouble.h>.
26427 (lroundl): Define using libm_alias_ldouble.
26428 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
26429 <libm-alias-ldouble.h>.
26430 (modfl): Define using libm_alias_ldouble.
26431 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
26432 <libm-alias-ldouble.h>.
26433 (nearbyintl): Define using libm_alias_ldouble.
26434 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
26435 <libm-alias-ldouble.h>.
26436 (nextafterl): Define using libm_alias_ldouble.
26437 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
26438 <libm-alias-ldouble.h>.
26439 (nextupl): Define using libm_alias_ldouble.
26440 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
26441 <libm-alias-ldouble.h>.
26442 (remquol): Define using libm_alias_ldouble.
26443 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
26444 <libm-alias-ldouble.h>.
26445 (rintl): Define using libm_alias_ldouble.
26446 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
26447 <libm-alias-ldouble.h>.
26448 (roundevenl): Define using libm_alias_ldouble.
26449 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
26450 <libm-alias-ldouble.h>.
26451 (roundl): Define using libm_alias_ldouble.
26452 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
26453 using libm_alias_ldouble.
26454 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
26455 <libm-alias-ldouble.h>.
26456 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
26457 Define using libm_alias_ldouble.
26458 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
26459 <libm-alias-ldouble.h>.
26460 (sincosl): Define using libm_alias_ldouble.
26461 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
26462 <libm-alias-ldouble.h>.
26463 (sinl): Define using libm_alias_ldouble.
26464 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
26465 <libm-alias-ldouble.h>.
26466 (tanhl): Define using libm_alias_ldouble.
26467 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
26468 <libm-alias-ldouble.h>.
26469 (tanl): Define using libm_alias_ldouble.
26470 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
26471 <libm-alias-ldouble.h>.
26472 (totalorderl): Define using libm_alias_ldouble.
26473 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
26474 <libm-alias-ldouble.h>.
26475 (totalordermagl): Define using libm_alias_ldouble.
26476 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
26477 <libm-alias-ldouble.h>.
26478 (truncl): Define using libm_alias_ldouble.
26479 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
26480 libm_alias_ldouble.
26481 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
26482 libm_alias_ldouble.
26483 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
26484 <libm-alias-ldouble.h>.
26485 (weak_alias): Do not undefine and redefine.
26486 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26487 (copysignl): Define with long_double_symbol only if [IS_IN
26489 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
26490 <libm-alias-ldouble.h>.
26491 (weak_alias): Do not undefine and redefine.
26492 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26493 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
26494 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
26495 <libm-alias-ldouble.h>.
26496 (weak_alias): Do not undefine and redefine.
26497 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26498 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
26499 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
26500 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
26501 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
26502 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
26503 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
26504 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
26505 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
26506 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
26507 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
26508 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
26509 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
26510 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
26511 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
26512 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
26513 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
26514 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
26515 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
26516 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
26517 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
26518 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
26519 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
26520 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
26521 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
26522 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
26524 2017-10-06 Carlos O'Donell <carlos@redhat.com>
26527 * malloc/malloc.c (tcache_shutting_down): Use bool type.
26528 (tcache_thread_freeres): Set tcache_shutting_down before
26529 freeing the tcache.
26530 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
26531 * malloc/tst-malloc-tcache-leak.c: New file.
26533 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26535 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
26536 back to powerpc32 file.
26537 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26538 (memrchr): Add __memrchr_power8 to ifunc list.
26539 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
26540 extra bytes for unaligned inputs.
26542 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26544 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
26545 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
26546 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
26547 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26548 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26550 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26552 * sysdeps/arm/libm-test-ulps: Update.
26554 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
26555 <libm-alias-ldouble.h>.
26556 (asinhl): Define using libm_alias_ldouble.
26557 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
26558 <libm-alias-ldouble.h>.
26559 (cbrtl): Define using libm_alias_ldouble.
26560 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
26561 <libm-alias-ldouble.h>.
26562 (copysignl): Define using libm_alias_ldouble.
26563 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
26564 <libm-alias-ldouble.h>.
26565 (cosl): Define using libm_alias_ldouble.
26566 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
26567 <libm-alias-ldouble.h>.
26568 (erfl): Define using libm_alias_ldouble.
26570 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
26571 <libm-alias-ldouble.h>.
26572 (fmal): Define using libm_alias_ldouble.
26573 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
26574 <libm-alias-ldouble.h>.
26575 (frexpl): Define using libm_alias_ldouble.
26576 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
26577 libm_alias_ldouble.
26578 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
26579 <libm-alias-ldouble.h>.
26580 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
26581 libm_alias_ldouble.
26582 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
26583 <libm-alias-ldouble.h>.
26584 (getpayloadl): Define using libm_alias_ldouble.
26585 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
26586 <libm-alias-ldouble.h>.
26587 (llrintl): Define using libm_alias_ldouble.
26588 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
26589 <libm-alias-ldouble.h>.
26590 (llroundl): Define using libm_alias_ldouble.
26591 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
26592 <libm-alias-ldouble.h>.
26593 (lrintl): Define using libm_alias_ldouble.
26594 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
26595 <libm-alias-ldouble.h>.
26596 (lroundl): Define using libm_alias_ldouble.
26597 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
26598 <libm-alias-ldouble.h>.
26599 (modfl): Define using libm_alias_ldouble.
26600 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
26601 <libm-alias-ldouble.h>.
26602 (nextupl): Define using libm_alias_ldouble.
26603 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
26604 <libm-alias-ldouble.h>.
26605 (remquol): Define using libm_alias_ldouble.
26606 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
26607 <libm-alias-ldouble.h>.
26608 (roundevenl): Define using libm_alias_ldouble.
26609 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
26610 <libm-alias-ldouble.h>.
26611 (roundl): Define using libm_alias_ldouble.
26612 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
26613 using libm_alias_ldouble.
26614 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
26615 <libm-alias-ldouble.h>.
26616 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
26617 <libm-alias-ldouble.h>.
26618 (setpayloadsigl): Define using libm_alias_ldouble.
26619 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
26620 <libm-alias-ldouble.h>.
26621 (sincosl): Define using libm_alias_ldouble.
26622 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
26623 <libm-alias-ldouble.h>.
26624 (sinl): Define using libm_alias_ldouble.
26625 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
26626 <libm-alias-ldouble.h>.
26627 (tanhl): Define using libm_alias_ldouble.
26628 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
26629 <libm-alias-ldouble.h>.
26630 (tanl): Define using libm_alias_ldouble.
26631 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
26632 <libm-alias-ldouble.h>.
26633 (totalorderl): Define using libm_alias_ldouble.
26634 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
26635 <libm-alias-ldouble.h>.
26636 (totalordermagl): Define using libm_alias_ldouble.
26637 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
26638 libm_alias_ldouble.
26639 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26640 libm_alias_ldouble.
26642 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26644 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26646 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26647 (__libc_ifunc_impl_list): Likewise.
26648 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26649 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26651 * benchtests/bench-memmove-walk.c: New file.
26652 * benchtests/Makefile (string-benchset): Add it.
26654 * benchtests/bench-memset-walk.c: New file.
26655 * benchtests/Makefile (string-benchset): Add it.
26657 * benchtests/bench-memcpy-walk.c: New file.
26658 * benchtests/Makefile (string-benchset): Add it.
26660 2017-10-05 Florian Weimer <fweimer@redhat.com>
26662 nscd: Eliminate compilation time dependency in the build output.
26663 * nscd/nscd_stat.c (STATDATA_VERSION)
26664 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26665 (STATDATA_VERSION_FULL): New macro definitions.
26666 (compilation): Remove.
26667 (struct statdata): Adjust version member.
26668 (send_stats): Set version from STATDATA_VERSION_FULL.
26669 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26671 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26673 * configure.ac (--enable-add-ons): Remove option.
26674 (machine): Do not mention add-ons in comment.
26675 (LIBC_PRECONFIGURE): Likewise.
26676 (add_ons): Remove variable and sanity checks and logic to locate
26678 (add_ons_automatic): Remove variable.
26679 (configured_add_ons): Likewise.
26680 (add_ons_sfx): Likewise.
26681 (add_ons_pfx): Likewise.
26682 (add_on_subdirs): Likewise.
26683 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26684 consideration of add-ons in Implies handling.
26685 (sysdeps_add_ons): Likewise.
26686 * configure: Regenerated.
26687 * libidn/configure.ac: Remove.
26688 * libidn/configure: Likewise.
26689 * sysdeps/unix/inet/configure.ac: New file.
26690 * sysdeps/unix/inet/configure: New generated file.
26691 * sysdeps/unix/inet/Subdirs: Add libidn.
26692 * Makeconfig (sysdeps-srcdirs): Remove variable.
26693 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26694 ($(common-objpfx)config.status): Do not depend on add-on files.
26695 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26697 (all-subdirs): Do not include $(add-on-subdirs).
26698 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26699 * config.make.in (add-ons): Remove variable.
26700 (add-on-subdirs): Likewise.
26701 (sysdeps-add-ons): Likewise.
26702 * manual/Makefile (add-chapters): Remove.
26703 ($(objpfx)texis): Do not depend on $(add-chapters).
26704 (nonexamples): Do not handle $(add-chapters).
26705 (examples): Do not handle $(add-ons).
26706 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26708 * manual/install.texi (Installation): Do not mention add-ons.
26709 (--enable-add-ons): Do not document configure option.
26710 * INSTALL: Regenerated.
26711 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26712 * manual/maint.texi (Hierarchy Conventions): Do not mention
26714 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26716 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26718 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26719 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26721 2017-10-05 Andreas Schwab <schwab@suse.de>
26724 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26725 (_IO_flush_all_lockp): Always lock list_all_lock.
26726 (_IO_flush_all_linebuffered): Likewise.
26727 (_IO_unbuffer_all): Likewise.
26729 2017-10-05 Florian Weimer <fweimer@redhat.com>
26732 Do not flush stdio streams on abort.
26733 * stdlib/abort.c (fflush): Remove macro definition.
26734 (abort): Remove stages related to stdio flushing.
26736 2017-10-05 Florian Weimer <fweimer@redhat.com>
26738 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26740 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26742 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26744 2017-10-05 Florian Weimer <fweimer@redhat.com>
26746 * support/support_format_hostent.c (support_format_hostent): Add
26747 more error information for NETDB_INTERNAL.
26749 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26751 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26752 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26753 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26754 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26755 AC_DEFINE if multi-arch is enabled.
26756 * sysdeps/i386/configure: Regenerated.
26758 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26760 * Makeconfig (+link-static-before-libc): Use
26761 $(DEFAULT-LDFLAGS-$(@F)).
26762 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26763 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26764 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26766 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26768 * elf/Makefile (tests): Add tst-main1.
26769 (modules-names): Add tst-main1mod.
26770 ($(objpfx)tst-main1): New.
26771 (CRT-tst-main1): Likewise.
26772 (LDFLAGS-tst-main1): Likewise.
26773 (LDLIBS-tst-main1): Likewise.
26774 (tst-main1mod.so-no-z-defs): Likewise.
26775 * elf/tst-main1.c: New file.
26776 * elf/tst-main1mod.c: Likewise.
26778 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26780 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26782 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26784 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26785 (fma): Define using libm_alias_double.
26786 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26787 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26789 (fmal): Do not define as compat symbol here.
26790 * sysdeps/alpha/fpu/s_fma.c: New file.
26792 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26794 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26796 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26799 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26801 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26803 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26804 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26805 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26806 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26808 Include <math_ldbl_opt.h>
26809 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26811 (compat_symbol): Undefine and redefine.
26812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26814 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26815 (compat_symbol): Undefine and redefine.
26816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26817 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26818 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26819 GLIBC_2_1 for libm.
26820 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
26821 GLIBC_2.0 copysignl symbol.
26822 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26823 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
26825 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
26827 2017-10-04 Florian Weimer <fweimer@redhat.com>
26829 * scripts/check-local-headers.sh: Ignore nspr4 header file
26830 directory in addition to nspr.
26832 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
26835 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
26836 * configure: Regenerate.
26837 * crypt/Makefile (nss-cpp-flags): New variable.
26838 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
26839 (CPPFLAGS-md5-crypt.c): Use it.
26840 * scripts/check-local-headers.sh: Ignore nspr header file
26843 2017-10-04 Andreas Schwab <schwab@suse.de>
26845 * nis/Makefile (services): Remove compat.
26846 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
26847 ($(objpfx)libnss_compat.so): Remove rule.
26848 * nis/Versions (libnss_compat): Remove.
26849 * nss/Makefile (services): Add compat.
26850 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
26851 * nss/Versions (libnss_compat): Define.
26852 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26853 Don't include <rpc/types.h>. Replace bool_t by bool.
26854 * nss/nss_compat/compat-initgroups.c: Likewise.
26855 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26856 instead of <rpcsrv/ypclnt.h>.
26857 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26858 yp_get_default_domain.
26859 * nss/nss_compat/compat-pwd.c: Likewise.
26860 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26861 yp_get_default_domain.
26862 * nss/nss_compat/nisdomain.c: New file.
26863 * nss/nss_compat/nisdomain.h: Likewise.
26865 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26868 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26869 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26871 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26874 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26875 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26877 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26879 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26880 "movl main@GOTOFF(%ebx), %eax".
26882 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26884 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26885 allow undefined _DYNAMIC in PIE libc.a.
26886 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26889 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26891 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26894 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26896 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26899 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26901 * math/test-math-iscanonical.cc (error): Replace bool with int.
26903 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26905 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26906 (modf): Define using libm_alias_double, only if [!__modf].
26907 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26908 <libm-alias-double.h>.
26909 (modf): Define using libm_alias_double, only if [!__modf].
26910 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26911 compat symbol here.
26912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26913 (weak_alias): Do not undefine and redefine.
26914 (strong_alias): Likewise.
26915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26916 (weak_alias): Likewise.
26917 (strong_alias): Likewise.
26919 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26920 (logb): Define using libm_alias_double, only if [!__logb].
26921 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26922 <libm-alias-double.h>.
26923 (logb): Define using libm_alias_double, only if [!__logb].
26924 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26926 (weak_alias): Do not undefine and redefine.
26927 (strong_alias): Likewise.
26928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26929 (weak_alias): Likewise.
26930 (strong_alias): Likewise.
26932 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26934 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26935 Check SHARED instead PIC.
26937 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26939 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26940 [!__fmaf] (fmaf): Define using libm_alias_float.
26942 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26943 (frexp): Define using libm_alias_double.
26944 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26945 <libm-alias-double.h>.
26946 (frexp): Define using libm_alias_double.
26947 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26948 compat symbol here.
26950 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26953 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26954 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26955 (CFLAGS-test-math-iscanonical.cc): New variable.
26956 * math/test-math-iscanonical.cc: New file.
26957 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26958 Provide a C++ implementation based on function overloading,
26959 rather than using __MATH_TG, which uses C-only builtins.
26960 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26962 * sysdeps/powerpc/powerpc64le/Makefile
26963 (CFLAGS-test-math-iscanonical.cc): New variable.
26965 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26967 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26968 (ceil): Define using libm_alias_double.
26969 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26970 (floor): Define using libm_alias_double.
26971 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26972 <libm-alias-double.h>.
26973 (llround): Define using libm_alias_double.
26974 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26975 <libm-alias-double.h>.
26976 (lround): Define using libm_alias_double.
26977 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26978 <libm-alias-double.h>.
26979 (nearbyint): Define using libm_alias_double.
26980 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26981 <libm-alias-double.h>.
26982 (remquo): Define using libm_alias_double.
26983 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26984 (rint): Define using libm_alias_double.
26985 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26986 (round): Define using libm_alias_double.
26987 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26988 (trunc): Define using libm_alias_double.
26989 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26990 <libm-alias-double.h>.
26991 (ceil): Define using libm_alias_double.
26992 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26993 <libm-alias-double.h>.
26994 (floor): Define using libm_alias_double.
26995 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26996 <libm-alias-double.h>.
26997 (llround): Define using libm_alias_double.
26998 [_LP64] (lround): Likewise.
26999 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27000 <libm-alias-double.h>.
27001 [!_LP64] (lround): Define using libm_alias_double.
27002 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27003 <libm-alias-double.h>.
27004 (nearbyint): Define using libm_alias_double.
27005 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27006 <libm-alias-double.h>.
27007 (remquo): Define using libm_alias_double.
27008 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27009 <libm-alias-double.h>.
27010 (rint): Define using libm_alias_double.
27011 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27012 <libm-alias-double.h>.
27013 (round): Define using libm_alias_double.
27014 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27015 <libm-alias-double.h>.
27016 (trunc): Define using libm_alias_double.
27017 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27018 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27019 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27020 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27021 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27022 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27023 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27024 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27025 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27027 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27029 * math/w_remainder.c: New file.
27030 * math/w_remainderf.c: New file.
27031 * math/w_remainderl.c: New file.
27033 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27035 * elf/rtld.c (BOOTSTRAP_MAP): New.
27036 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27037 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27039 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27041 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27044 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27046 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27047 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27048 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27049 rtld_hidden_data_ver): Define to empty.
27050 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27051 __assert_perror_fail): Likewise.
27052 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27053 (__rewinddir): Likewise.
27054 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27055 (__profile_frequency): Likewise.
27056 * include/setjmp.h (__sigsetjmp): Likewise.
27057 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27058 __libc_sigaction): Likewise.
27059 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27060 not set hidden attribute.
27061 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27062 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27063 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27064 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27065 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27066 __fxstatat64): Likewise.
27067 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27068 (__uname): Likewise.
27069 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27070 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27071 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27072 (NO_RTLD_HIDDEN): Set.
27073 * sysdeps/mach/hurd/configure: Refresh.
27074 * config.h.in: Refresh.
27076 2017-10-02 Joseph Myers <joseph@codesourcery.com>
27078 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27079 (atan): Define using libm_alias_double.
27080 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27081 (tan): Define using libm_alias_double.
27082 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27083 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
27085 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
27086 define as weak alias of __atan. Do not define any aliases if
27088 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
27089 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
27090 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
27091 as weak alias of __tan. Do not define any aliases if [__tan].
27092 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
27093 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
27094 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
27096 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
27097 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
27098 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
27099 and define as weak alias of __atan.
27100 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
27102 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
27103 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
27104 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
27105 define as weak alias of __tan.
27107 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27109 * math/w_lgamma.c: New file.
27110 * math/w_lgammaf.c: New file.
27111 * math/w_lgammal.c: New file.
27113 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27115 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
27116 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
27117 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
27118 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
27119 * sysdeps/ieee754/flt-32/w_logf.c: New file.
27120 * sysdeps/ieee754/flt-32/w_powf.c: New file.
27121 * sysdeps/i386/fpu/w_log2f.c: New file.
27122 * sysdeps/i386/fpu/w_logf.c: New file.
27123 * sysdeps/i386/fpu/w_powf.c: New file.
27124 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
27125 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
27126 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
27128 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27129 H.J. Lu <hongjiu.lu@intel.com>
27131 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
27132 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
27133 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
27134 * sysdeps/ieee754/flt-32/w_expf.c: New file.
27135 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
27137 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
27138 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
27139 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
27140 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
27141 * sysdeps/i386/fpu/w_exp2f.c: New file.
27142 * sysdeps/i386/fpu/w_expf.c: New file.
27143 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
27144 * sysdeps/x86_64/fpu/w_expf.c: New file.
27146 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27148 * math/Versions (logf): New libm symbol at GLIBC_2.27.
27151 * math/w_log2f.c: New file.
27152 * math/w_logf.c: New file.
27153 * math/w_powf.c: New file.
27154 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
27155 * math/w_logf_compat.c (__logf_compat): Likewise.
27156 * math/w_powf_compat.c (__powf_compat): Likewise.
27157 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
27158 * sysdeps/ia64/fpu/e_logf.S: Likewise.
27159 * sysdeps/ia64/fpu/e_powf.S: Likewise.
27160 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27161 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27162 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27163 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27164 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27165 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27166 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27167 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27168 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27169 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27170 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27171 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27180 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27181 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27182 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27183 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27184 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27189 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27190 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27191 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27193 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27195 * sysdeps/powerpc/powerpc64/multiarch/Makefile
27196 (sysdep_routines): Add memrchr_power8.
27197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27198 (memrchr): Add __memrchr_power8 to list of memrchr functions.
27199 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
27201 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27202 (memrchr): Add __memrchr_power8 to ifunc list.
27203 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27205 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27208 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27209 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27211 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27212 (__posix_fallocate64_l64): Likewise.
27214 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27217 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27218 (__sched_setaffinity_new): Add libc_hidden_proto and
27221 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27224 * include/glob.h (__glob64): Add libc_hidden_proto.
27225 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27228 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27231 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27234 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27237 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27239 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27242 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27245 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27248 * csu/version.c (__libc_print_version): Add attribute_hidden.
27250 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27253 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27255 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27258 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27260 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27263 * nscd/nscd_helper.c (__nis_hash): New prototype.
27265 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27268 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27269 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27271 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27272 * termios/tcgetattr.c (__tcgetattr): Likewise.
27274 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27277 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
27278 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
27279 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
27280 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
27281 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
27283 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27286 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
27288 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27291 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
27292 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
27294 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27297 * intl/hash-string.h (__hash_string): Add attribute_hidden.
27299 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27302 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
27303 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
27305 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27308 * include/ifreq.h: New file.
27309 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
27310 (__ifreq): Likewise.
27311 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
27312 (__ifreq): Likewise.
27314 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27317 * include/idna.h: New file.
27318 * inet/getnameinfo.c: Include <idna.h> instead of
27320 (__idna_to_unicode_lzlz): Removed.
27321 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
27323 (__idna_to_ascii_lz): Removed.
27324 (__idna_to_unicode_lzlz): Likewise.
27326 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27329 * include/plural-exp.h: New file.
27330 * intl/plural-exp.c: Include <plural-exp.h> instead of
27333 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27336 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
27337 "getsourcefilter.h".
27338 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
27339 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
27340 "getsourcefilter.h".
27341 (__get_sol): Removed.
27343 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27346 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
27348 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
27350 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27353 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
27356 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27359 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
27361 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27364 * include/search.h (__tdestroy): Add libc_hidden_proto.
27365 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
27367 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27370 * include/assert.h (__assert_fail_base): Add attribute_hidden.
27372 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27375 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
27378 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27381 * include/signal.h (__kill): Add libc_hidden_proto.
27382 (__sigblock): Likewise.
27383 (__sigprocmask): Likewise.
27384 (__sigaltstack): Likewise.
27385 * signal/kill.c (__kill): Add libc_hidden_def.
27386 * signal/sigblock.c (__sigblock): Likewise.
27387 * signal/sigprocmask.c (__sigprocmask): Likewise.
27388 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
27389 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27390 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27391 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27392 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
27394 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27396 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27397 (__sigprocmask): Likewise.
27398 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
27400 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27401 (__sigprocmask): Likewise.
27402 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27405 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27408 * include/string.h (__strsep): Add libc_hidden_proto.
27409 * string/strsep.c (__strsep): Add libc_hidden_def.
27411 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27414 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
27416 (__spawni): Likewise.
27418 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27421 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
27422 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
27425 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27428 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
27430 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27433 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
27434 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
27435 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
27436 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
27437 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
27439 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
27440 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
27442 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27445 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
27446 (__dcigettext): Likewise.
27448 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27451 * include/sys/sysinfo.h (__get_nprocs_conf): Add
27453 (__get_nprocs): Likewise.
27454 (__get_phys_pages): Likewise.
27455 (__get_avphys_pages): Likewise.
27456 (__get_child_max): Add attribute_hidden.
27457 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
27458 (__get_nprocs): Likewise.
27459 (__get_phys_pages): Likewise.
27460 (__get_avphys_pages): Likewise.
27461 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
27463 (__get_nprocs): Likewise.
27464 (__get_phys_pages): Likewise.
27465 (__get_avphys_pages): Likewise.
27466 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
27468 (__get_nprocs_conf): Likewise.
27469 (__get_phys_pages): Likewise.
27470 (__get_avphys_pages): Likewise.
27472 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27475 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
27477 (__netlink_close): Likewise.
27478 (__netlink_free_handle): Likewise.
27479 (__netlink_request): Likewise.
27481 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27484 * include/rpc/rpc.h (__rpc_thread_variables): Add
27486 (__rpc_thread_svc_cleanup): Likewise.
27487 (__rpc_thread_clnt_cleanup): Likewise.
27488 (__rpc_thread_key_cleanup): Likewise.
27490 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27493 * include/sys/uio.h (__readv): Add libc_hidden_proto.
27494 (__writev): Likewise.
27495 * misc/readv.c (__readv): Add libc_hidden_def.
27496 * misc/writev.c (__writev): Likewise.
27497 * sysdeps/posix/readv.c (__readv): Likewise.
27498 * sysdeps/posix/writev.c (__writev): Likewise.
27499 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
27500 (__readv): Likewise.
27501 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
27502 (__writev): Likewise.
27504 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27507 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
27508 (__regcomp): Add libc_hidden_proto.
27509 (__regexec): Likewise.
27510 (__regfree): Likewise.
27511 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
27512 (__regfree): Likewise.
27513 * posix/regexec.c (__regexec): Likewise.
27515 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27518 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
27519 (__getutent): Likewise.
27520 (__getutid): Likewise.
27521 (__getutline): Likewise.
27522 (__pututline): Likewise.
27523 (__getutent_r): Likewise.
27524 (__getutid_r): Likewise.
27525 (__getutline_r): Likewise.
27526 (__utmpname): Add attribute_hidden.
27527 (__setutent): Likewise.
27528 (__endutent): Likewise.
27529 * login/getutent.c (__getutent): Add libc_hidden_def.
27530 * login/getutent_r.c (__getutent_r): Likewise.
27531 (__pututline): Likewise.
27532 * login/getutid.c (__getutid): Likewise.
27533 * login/getutid_r.c (__getutid_r): Likewise.
27534 * login/getutline.c (__getutline): Likewise.
27535 * login/getutline_r.c (__getutline_r): Likewise.
27536 * login/updwtmp.c (__updwtmp): Likewise.
27538 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27541 * include/dirent.h (__opendir): Always add attribute_hidden.
27542 (__fdopendir): Likewise.
27543 (__closedir): Likewise.
27544 (__readdir): Likewise.
27545 (__readdir64): Add libc_hidden_proto.
27546 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
27547 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
27548 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
27549 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
27552 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27555 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
27556 * include/netdb.h (__gethostbyaddr_r): Likewise.
27557 (__gethostbyname_r): Likewise.
27558 (__gethostbyname2_r): Likewise.
27559 (__getnetbyaddr_r): Likewise.
27560 (__getnetbyname_r): Likewise.
27561 (__getservbyname_r): Likewise.
27562 (__getservbyport_r): Likewise.
27563 (__getprotobyname_r): Likewise.
27564 (__getprotobynumber_r): Likewise.
27565 (__getnetgrent_r): Likewise.
27566 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
27567 (__getrpcbynumber_r): Likewise.
27568 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
27570 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27573 * include/stdio.h (__fcloseall): Add attribute_hidden.
27574 (__getline): Likewise.
27575 (__path_search): Likewise.
27576 (__gen_tempname): Likewise.
27577 (__libc_message): Likewise.
27578 (__flockfile): Likewise.
27579 (__funlockfile): Likewise.
27580 (__fxprintf): Likewise.
27581 (__fxprintf_nocancel): Likewise.
27583 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27586 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
27587 (__sgetsgent_r): Likewise.
27589 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27592 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
27593 (__statfs64): Likewise.
27594 (__fstatfs64): Likewise.
27595 * include/sys/statvfs.h (__statvfs64): Likewise.
27596 (__fstatvfs64): Likewise.
27597 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
27598 (__statfs_filesize_max): Likewise.
27599 (__statfs_symlinks): Likewise.
27600 (__statfs_chown_restricted): Likewise.
27602 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27605 * include/time.h (__tzstring): Add attribute_hidden.
27606 (__tzfile_read): Likewise.
27607 (__tzfile_compute): Likewise.
27608 (__tzfile_default): Likewise.
27609 (__tzset_parse_tz): Likewise.
27610 (__offtime): Likewise.
27611 (__asctime_r): Likewise.
27612 (__tzset): Likewise.
27613 (__tz_convert): Likewise.
27614 (__getdate_r): Likewise.
27615 (__getclktck): Likewise.
27617 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27620 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
27621 (__nscd_unmap): Likewise.
27622 (__nscd_cache_search): Likewise.
27623 (__nscd_get_nl_timestamp): Likewise.
27624 (__nscd_getpwnam_r): Likewise.
27625 (__nscd_getpwuid_r): Likewise.
27626 (__nscd_getgrnam_r): Likewise.
27627 (__nscd_getgrgid_r): Likewise.
27628 (__nscd_gethostbyname_r): Likewise.
27629 (__nscd_gethostbyname2_r): Likewise.
27630 (__nscd_gethostbyaddr_r): Likewise.
27631 (__nscd_getai): Likewise.
27632 (__nscd_getgrouplist): Likewise.
27633 (__nscd_getservbyname_r): Likewise.
27634 (__nscd_getservbyport_r): Likewise.
27635 (__nscd_innetgr): Likewise.
27636 (__nscd_setnetgrent): Likewise.
27638 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27641 * include/gmp.h: Declare internal functions only if _ISOMAC is
27643 (__mpn_extract_double): Add attribute_hidden.
27644 (__mpn_extract_long_double): Likewise.
27645 (__mpn_extract_float128): Likewise.
27646 (__mpn_construct_float): Likewise.
27647 (__mpn_construct_double): Likewise.
27648 (__mpn_construct_long_double): Likewise.
27649 (__mpn_construct_float128): Likewise.
27650 (mpn_add_1): Likewise.
27651 (mpn_addmul_1): Likewise.
27652 (mpn_add_n): Likewise.
27653 (mpn_cmp): Likewise.
27654 (mpn_divrem): Likewise.
27655 (mpn_lshift): Likewise.
27656 (mpn_mul): Likewise.
27657 (mpn_mul_1): Likewise.
27658 (mpn_rshift): Likewise.
27659 (mpn_sub_1): Likewise.
27660 (mpn_submul_1): Likewise.
27661 (mpn_sub_n): Likewise.
27663 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27666 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27667 (__wcscat): Likewise.
27668 (__btowc): Likewise.
27669 (__wcrtomb): Likewise.
27670 (__mbsrtowcs): Likewise.
27671 (__wcsrtombs): Likewise.
27672 (__mbsnrtowcs): Likewise.
27673 (__wcsnrtombs): Likewise.
27674 (__wcsncpy): Likewise.
27675 (__wcpncpy): Likewise.
27676 (__wmemcpy): Likewise.
27677 (__wmempcpy): Likewise.
27678 (__wmemmove): Likewise.
27679 (__wcschrnul): Likewise.
27680 (__vfwscanf): Likewise.
27681 (__vswprintf): Likewise.
27682 (__fwprintf): Likewise.
27683 (__vfwprintf): Likewise.
27685 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27688 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27689 (__getgrgid_r): Likewise.
27690 (__getgrnam_r): Likewise.
27691 * include/pwd.h (__getpwuid_r): Likewise.
27692 (__getpwnam_r): Likewise.
27693 (__fgetpwent_r): Likewise.
27694 * include/shadow.h (__getspnam_r): Likewise.
27695 (__sgetspent_r): Likewise.
27696 (__fgetspent_r): Likewise.
27698 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27701 * include/unistd.h (__access): Add attribute_hidden.
27702 (__lseek64): Likewise.
27703 (__libc_pread64): Likewise.
27704 (__pipe2): Likewise.
27705 (__sleep): Likewise.
27706 (__chdir): Likewise.
27707 (__fchdir): Likewise.
27708 (__getcwd): Likewise.
27709 (__rmdir): Likewise.
27710 (__execvpe): Likewise.
27711 (__execve): Likewise.
27712 (__setsid): Likewise.
27713 (__getuid): Likewise.
27714 (__geteuid): Likewise.
27715 (__getgid): Likewise.
27716 (__getegid): Likewise.
27717 (__getgroups): Likewise.
27718 (__group_member): Likewise.
27719 (__ttyname_r): Likewise.
27720 (__isatty): Likewise.
27721 (__readlink): Likewise.
27722 (__unlink): Likewise.
27723 (__gethostname): Likewise.
27724 (__profil): Likewise.
27725 (__getdtablesize): Likewise.
27727 (__ftruncate): Likewise.
27728 (__ftruncate64): Likewise.
27730 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27733 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27734 * argp/argp-fs-xinl.c: Likewise.
27735 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27736 * argp/argp-parse.c: Include <argp.h>.
27737 * argp/argp-xinl.c: Likewise.
27738 * include/argp-fmtstream.h: New file.
27739 * include/argp.h (__argp_error): Add attribute_hidden.
27740 (__argp_failure): Likewise.
27741 (__argp_input): Likewise.
27742 (__argp_state_help): Likewise.
27744 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27747 * include/wchar.h (____wcstof_l_internal): New prototype.
27748 (____wcstod_l_internal): Likewise.
27749 (____wcstold_l_internal): Likewise.
27750 (____wcstol_l_internal): Likewise.
27751 (____wcstoul_l_internal): Likewise.
27752 (____wcstoll_l_internal): Likewise.
27753 (____wcstoull_l_internal): Likewise.
27754 (____wcstof128_l_internal): Likewise.
27755 * sysdeps/ieee754/float128/wcstof128.c
27756 (____wcstof128_l_internal): Removed.
27757 * sysdeps/ieee754/float128/wcstof128_l.c
27758 (____wcstof128_l_internal): Likewise.
27759 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27760 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27761 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27762 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27763 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27764 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27765 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27766 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27767 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27768 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27770 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27773 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27774 instead of <sys/statvfs.h>.
27775 (__internal_statvfs): Removed.
27776 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27777 instead of <sys/statvfs.h>.
27778 (__internal_statvfs64): Removed.
27779 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27780 "internal_statvfs.h" instead of <sys/statvfs.h>.
27781 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27782 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27783 instead of <sys/statvfs.h>.
27784 (__internal_statvfs): Removed.
27785 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27786 instead of <sys/statvfs.h>.
27787 (__internal_statvfs64): Removed.
27789 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27792 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27793 (__gconv_close): Likewise.
27794 (__gconv): Likewise.
27795 (__gconv_find_transform): Likewise.
27796 (__gconv_lookup_cache): Likewise.
27797 (__gconv_compare_alias_cache): Likewise.
27798 (__gconv_load_cache): Likewise.
27799 (__gconv_get_path): Likewise.
27800 (__gconv_close_transform): Likewise.
27801 (__gconv_release_cache): Likewise.
27802 (__gconv_find_shlib): Likewise.
27803 (__gconv_release_shlib): Likewise.
27804 (__gconv_get_builtin_trans): Likewise.
27805 (__gconv_compare_alias): Likewise.
27806 * include/dlfcn.h (_dlerror_run): Likewise.
27807 * include/stdio.h (__fortify_fail_abort): Likewise.
27808 * include/time.h (__tz_compute): Likewise.
27809 (__strptime_internal): Likewise.
27810 * intl/gettextP.h (_nl_find_domain): Likewise.
27811 (_nl_load_domain): Likewise.
27812 (_nl_find_msg): Likewise.
27813 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27814 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27815 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27816 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27817 (__gai_find_request): Likewise.
27818 (__gai_remove_request): Likewise.
27819 (__gai_notify): Likewise.
27820 (__gai_notify_only): Likewise.
27821 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27822 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27823 (_dl_non_dynamic_init): Likewise.
27824 (_dl_aux_init): Likewise.
27825 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
27826 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27828 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
27829 (__wcsmbs_clone_conv): Likewise.
27830 (__wcsmbs_named_conv): Likewise.
27832 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27835 * include/stdlib.h (__random): Add attribute_hidden.
27836 (__random_r): Likewise.
27837 (__srandom_r): Likewise.
27838 (__initstate_r): Likewise.
27839 (__setstate_r): Likewise.
27840 (__erand48_r): Likewise.
27841 (__nrand48_r): Likewise.
27842 (__jrand48_r): Likewise.
27843 (__srand48_r): Likewise.
27844 (__seed48_r): Likewise.
27845 (__lcong48_r): Likewise.
27846 (__drand48_iterate): Likewise.
27847 (__setenv): Likewise.
27848 (__unsetenv): Likewise.
27849 (__clearenv): Likewise.
27850 (__ptsname_r): Likewise.
27851 (__posix_openpt): Likewise.
27852 (__add_to_environ): Likewise.
27853 (__realpath): Add libc_hidden_proto.
27854 (__ecvt_r): Likewise.
27855 (__fcvt_r): Likewise.
27856 (__qecvt_r): Likewise.
27857 (__qfcvt_r): Likewise.
27858 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27859 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27861 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27864 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27865 * include/time.h (__mktime_internal): Likewise.
27866 * libio/iolibio.h (__fopen_internal): Likewise.
27868 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
27870 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27872 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27873 Correct offset used to restore PIC register.
27875 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
27878 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27879 code to load address of __getcontext_ret when generating PIC code.
27881 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27883 * elf/Makefile (tests-static-internal): Add
27884 tst-tls1-static-non-pie.
27885 (LDFLAGS-tst-tls1-static-non-pie): New.
27886 * elf/tst-tls1-static-non-pie.c: New file.
27888 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27890 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27891 (asinh): Define using libm_alias_double.
27892 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27893 (cbrt): Define using libm_alias_double.
27894 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27895 <libm-alias-double.h>.
27896 (copysign): Define using libm_alias_double.
27897 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27898 (erf): Define using libm_alias_double.
27900 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27901 (expm1): Define using libm_alias_double.
27902 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27903 (fabs): Define using libm_alias_double.
27904 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27906 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27907 <libm-alias-double.h>.
27908 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27910 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27911 <libm-alias-double.h>.
27912 (getpayload): Define using libm_alias_double.
27913 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27914 <libm-alias-double.h>.
27915 (llrint): Define using libm_alias_double.
27916 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27917 (lrint): Define using libm_alias_double.
27918 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27919 <libm-alias-double.h>.
27920 (nextup): Define using libm_alias_double.
27921 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27922 <libm-alias-double.h>.
27923 (roundeven): Define using libm_alias_double.
27924 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27926 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27927 <libm-alias-double.h>.
27928 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27929 using libm_alias_double.
27930 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27931 (cos): Define using libm_alias_double.
27933 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27934 <libm-alias-double.h>.
27935 (sincos): Define using libm_alias_double.
27936 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27937 (tanh): Define using libm_alias_double.
27938 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27939 <libm-alias-double.h>.
27940 (totalorder): Define using libm_alias_double.
27941 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27942 <libm-alias-double.h>.
27943 (totalordermag): Define using libm_alias_double.
27944 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27946 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27948 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27949 <libm-alias-double.h>.
27950 (getpayload): Define using libm_alias_double.
27951 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27952 <libm-alias-double.h>.
27953 (roundeven): Define using libm_alias_double.
27954 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27955 <libm-alias-double.h>.
27956 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27957 <libm-alias-double.h>.
27958 (totalorder): Define using libm_alias_double.
27959 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27960 <libm-alias-double.h>.
27961 (totalordermag): Define using libm_alias_double.
27962 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27963 libc compat symbol here.
27964 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27965 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27966 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27967 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27968 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27969 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27970 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27971 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27972 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27973 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27975 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27977 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27978 _dl_relocate_static_pie instead of _dl_start to compute load
27979 address in static PIE. Return 0 if _DYNAMIC is undefined for
27982 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27984 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27985 _DYNAMIC is undefined for static executable.
27987 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27989 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27991 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27993 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27995 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27997 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27998 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27999 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28000 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28001 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28002 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28003 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28004 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28005 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28006 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28007 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28008 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28009 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28010 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28011 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28012 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28013 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28015 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28017 * math/bits/cmathcalls.h (cimag): Remove inline.
28018 (creal): Remove inline.
28019 (conj): Remove inline.
28021 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28023 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28024 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28025 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28026 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28027 (issignalingf_inline): Likewise.
28028 (POWF_LOG2_TABLE_BITS): Likewise.
28029 (POWF_LOG2_POLY_ORDER): Likewise.
28030 (POWF_SCALE_BITS): Likewise.
28031 (POWF_SCALE): Likewise.
28032 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28033 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28034 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28036 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28038 * math/Makefile (type-float-routines): Add e_log2f_data.
28039 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28040 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28041 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28042 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28043 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28044 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28045 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28047 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28049 * math/Makefile (type-float-routines): Add e_logf_data.
28050 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28051 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28052 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28053 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28054 * sysdeps/i386/fpu/e_logf_data.c: New file.
28055 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28056 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28058 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28060 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28061 undefined _DYNAMIC in PIE libc.a.
28062 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28065 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28067 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28068 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28069 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28070 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28071 (__signbit): Remove.
28072 (__signbitl): Remove.
28073 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28074 (__signbit): Remove.
28075 (__signbitl): Remove.
28076 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28077 (__signbit): Remove.
28078 (__signbitl): Remove.
28079 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28080 (__signbit): Remove.
28081 (__signbitl): Remove.
28082 * sysdeps/tile/bits/mathinline.h: Delete file.
28083 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
28084 (__signbit): Remove.
28085 (__signbitl): Remove.
28087 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28089 * math/math.h: Improve handling of C99 isgreater macros.
28090 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
28091 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28092 * sysdeps/powerpc/bits/mathinline.h: Likewise.
28093 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28094 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
28096 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
28098 * sysdeps/aarch64/libm-test-ulps: Update.
28100 2017-09-28 Joseph Myers <joseph@codesourcery.com>
28103 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28104 math_opt_barrier on argument when doing arithmetic on it.
28105 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28106 Likewise. Use math_force_eval not math_opt_barrier after
28108 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
28109 math_opt_barrier on argument when doing arithmetic on it.
28110 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28113 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
28115 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
28117 (__freeifaddrs): Likewise.
28119 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28121 * include/dirent.h (__dirfd): New declaration.
28122 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
28124 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
28125 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
28126 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
28127 * include/unistd.h (__revoke): New declaration.
28128 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
28130 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28131 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
28133 * include/dirent.h (__seekdir): New declaration.
28134 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
28135 redefine as weak alias.
28136 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
28138 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
28139 and use libc_hidden_def on them.
28140 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
28142 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
28143 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
28144 instead of getifaddrs and freeifaddrs.
28146 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28149 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
28150 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
28151 (__dso_handle): Remove declaration.
28152 * dlfcn/tstatexit.c (__dso_handle): Removed.
28153 (main): Don't check __dso_handle.
28154 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
28155 (main): Don't check __dso_handle.
28156 * include/dso_handle.h: New file.
28157 * malloc/mtrace.c: Include <dso_handle.h>.
28158 (mtrace): Pass __dso_handle directly.
28159 * nptl/pthread_atfork.c: Include <dso_handle.h>.
28160 (__dso_handle): Remove declaration.
28161 (__pthread_atfork): Pass __dso_handle directly.
28162 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
28163 (__dso_handle): Removed.
28164 * posix/wordexp-test.c: Include <dso_handle.h>.
28165 (__dso_handle): Remove declaration.
28166 (__app_register_atfork): Pass __dso_handle directly.
28167 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
28168 (__dso_handle): Remove declaration.
28169 (at_quick_exit): Pass __dso_handle directly.
28170 * stdlib/atexit.c: Include <dso_handle.h>.
28171 (__dso_handle): Remove declaration.
28172 (atexit): Pass __dso_handle directly.
28173 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
28174 (__dso_handle): Removed.
28176 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28178 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
28181 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
28183 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
28184 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
28185 values to correct default value for given type.
28187 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28190 * elf/Makefile (tests): Add tst-debug1.
28191 ($(objpfx)tst-debug1): New.
28192 ($(objpfx)tst-debug1.out): Likewise.
28193 ($(objpfx)tst-debug1mod1.so): Likewise.
28194 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
28195 with p_filesz == 0.
28196 * elf/tst-debug1.c: New file.
28198 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28200 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28201 Define using __ifunc.
28203 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28205 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28208 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28211 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28213 2017-09-26 Florian Weimer <fweimer@redhat.com>
28215 * resolv/Makefile (tests-internal): Fix typo in comment.
28217 2017-09-26 Florian Weimer <fweimer@redhat.com>
28219 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28221 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28223 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28224 Use an union instead of a max_align_t array for __space,
28225 so that __space is the same size on all platforms.
28226 * malloc/scratch_buffer_grow_preserve.c
28227 (__libc_scratch_buffer_grow_preserve): Likewise.
28230 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28232 * posix/Makefile (routines): Add glob-lstat-compat and
28233 glob64-lstat-compat.
28234 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28235 * posix/glob-lstat-compat.c: New file.
28236 * posix/glob64-lstat-compat.c: Likewise.
28237 * posix/tst-glob_lstat_compat.c: Likewise.
28238 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28239 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28240 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28241 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28243 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28244 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28245 * posix/glob.c (glob_lstat): New function.
28246 (glob): Rename to __glob and add versioned symbol to 2.27.
28247 (glob_in_dir): Use glob_lstat.
28248 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28249 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28250 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28252 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28253 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28254 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28255 gl_lstat on glob call.
28256 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28257 and glob64 symbols.
28258 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28259 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28260 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28261 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28262 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28263 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28264 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28265 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28266 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28267 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28268 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28269 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28272 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28274 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28275 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28276 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
28277 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28278 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
28280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
28281 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28282 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
28283 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
28285 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
28287 * configure.ac (AS): Require binutils 2.25 or later.
28288 * configure: Regenerated.
28290 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28293 * stdlib/test-atexit-race-common.c (do_test): Minimize required
28296 2017-09-25 DJ Delorie <dj@redhat.com>
28299 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
28302 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
28304 * sysdeps/ieee754/dbl-64/sincos32.h
28305 [SINCCOS32_H]: Remove define.
28306 [SINCOS32_H]: Define.
28308 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28310 * math/Versions (expf): New libm symbol at GLIBC_2.27.
28312 * math/w_exp2f.c: New file.
28313 * math/w_expf.c: New file.
28314 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
28315 * math/w_expf_compat.c (__expf_compat): Likewise.
28316 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
28317 * sysdeps/ia64/fpu/e_expf.S: Likewise.
28318 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28319 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28320 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28321 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28322 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28323 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28324 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28325 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28326 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28327 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28328 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28329 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28338 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28339 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28340 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28341 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28342 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28347 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28348 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28349 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28351 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28353 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
28354 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
28355 (roundtoint, converttoint): Likewise.
28356 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
28357 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
28358 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
28359 * sysdeps/ieee754/flt-32/math_config.h: New file.
28360 * sysdeps/ieee754/flt-32/math_errf.c: New file.
28361 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
28362 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
28363 * sysdeps/i386/fpu/math_errf.c: New file.
28364 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
28365 * sysdeps/ia64/fpu/math_errf.c: New file.
28366 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
28367 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
28369 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
28371 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
28372 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
28373 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
28374 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
28375 to make sure that these symbols are defined.
28376 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
28378 (__need_NULL): Do not define.
28379 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
28381 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
28382 CMGROUP_MAX, cmsgcred): Do not define.
28383 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
28385 * bits/socket.h: Likewise.
28386 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
28387 __gettimeofday instead of gettimeofday.
28388 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
28389 instead of settimeofday.
28391 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28393 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
28394 (asinhf): Define using libm_alias_float.
28395 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
28396 (atanf): Define using libm_alias_float.
28397 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
28398 (cbrtf): Define using libm_alias_float.
28399 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
28400 (ceilf): Define using libm_alias_float.
28401 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
28402 <libm-alias-float.h>.
28403 (copysignf): Define using libm_alias_float.
28404 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
28405 (cosf): Define using libm_alias_float.
28406 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
28407 (erff): Define using libm_alias_float.
28409 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
28410 (expm1f): Define using libm_alias_float.
28411 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
28412 (fabsf): Define using libm_alias_float.
28413 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
28414 (floorf): Define using libm_alias_float.
28415 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
28416 (frexpf): Define using libm_alias_float.
28417 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
28419 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
28420 <libm-alias-float.h>.
28421 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
28423 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
28424 <libm-alias-float.h>.
28425 (getpayloadf): Define using libm_alias_float.
28426 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
28427 <libm-alias-float.h>.
28428 (llrintf): Define using libm_alias_float.
28429 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
28430 <libm-alias-float.h>.
28431 (llroundf): Define using libm_alias_float.
28432 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
28433 (logbf): Define using libm_alias_float.
28434 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
28435 (lrintf): Define using libm_alias_float.
28436 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
28437 (lroundf): Define using libm_alias_float.
28438 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
28439 (modff): Define using libm_alias_float.
28440 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
28441 <libm-alias-float.h>.
28442 (nearbyintf): Define using libm_alias_float.
28443 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
28444 <libm-alias-float.h>.
28445 (nextafterf): Define using libm_alias_float.
28446 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
28447 <libm-alias-float.h>.
28448 (nextupf): Define using libm_alias_float.
28449 * sysdeps/ieee754/flt-32/s_remquof.c: Include
28450 <libm-alias-float.h>.
28451 (remquof): Define using libm_alias_float.
28452 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
28453 (rintf): Define using libm_alias_float.
28454 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
28455 <libm-alias-float.h>.
28456 (roundevenf): Define using libm_alias_float.
28457 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
28458 (roundf): Define using libm_alias_float.
28459 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
28460 using libm_alias_float.
28461 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
28462 <libm-alias-float.h>.
28463 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
28464 Define using libm_alias_float.
28465 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
28466 <libm-alias-float.h>.
28467 (sincosf): Define using libm_alias_float.
28468 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
28469 (sinf): Define using libm_alias_float.
28470 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
28471 (tanf): Define using libm_alias_float.
28472 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
28473 (tanhf): Define using libm_alias_float.
28474 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
28475 <libm-alias-float.h>.
28476 (totalorderf): Define using libm_alias_float.
28477 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
28478 <libm-alias-float.h>.
28479 (totalordermagf): Define using libm_alias_float.
28480 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
28481 (truncf): Define using libm_alias_float.
28482 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
28484 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
28487 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28490 math/math.h: Let fpclassify use the builtin in C++ mode, even
28491 when optimazing for size.
28493 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28495 * csu/Makefile (generated): Do not add version-info.h.
28496 (before-compile): Likewise.
28497 (all-Banner-files): Remove variable.
28498 ($(objpfx)version-info.h): Remove rule.
28499 * csu/version.c (banner): Do not include "version-info.h".
28500 * libidn/Banner: Remove.
28501 * manual/contrib.texi (Simon Josefsson): New entry.
28503 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28505 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28506 Remove conditionals on LDBL_MANT_DIG.
28507 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28508 (__ieee754_lgammal_r): Likewise.
28510 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28512 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
28514 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
28515 _Float128 and L(). Replace _Float128 with long double and L(x)
28516 with xL, throughout the file.
28517 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28518 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28519 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28520 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28522 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28524 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
28525 sysdeps/ieee754/ldbl-128ibm.
28526 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
28527 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
28528 of including it. Keep _Float128 and L() intact. These will be
28529 reviewed by a separate patch.
28530 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28531 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28532 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28533 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28535 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
28538 (__finitef128): Define to __redirect___finitef128.
28539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
28540 (__isinff128): Define to __redirect___isinff128.
28541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
28542 (__isnanf128): Define to __redirect___isnanf128.
28544 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28546 * sysdeps/powerpc/powerpc64le/Makefile
28547 (CFLAGS-tst-strtod-nan-locale.c): New variable.
28548 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
28550 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
28551 Carlos O'Donell <carlos@redhat.com>
28554 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
28555 * stdlib/test-dlclose-exit-race.c: New file.
28556 * stdlib/test-dlclose-exit-race-helper.c: New file.
28557 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
28559 2017-09-21 Joseph Myers <joseph@codesourcery.com>
28561 * crypt/Banner: Remove file.
28562 * nptl/Banner: Likewise.
28563 * resolv/Banner: Likewise.
28564 * soft-fp/Banner: Likewise.
28565 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
28566 ($(objpfx)version.d): Remove dependency on banner.h.
28567 ($(objpfx)version.os): Likewise.
28568 * nptl/version.c (banner): Do not include banner.h.
28569 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
28570 Jelinek and BIND code.
28572 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28573 Carlos O'Donell <carlos@redhat.com>
28575 * support/xdlfcn.h: New file.
28576 * support/xdlfcn.c: New file.
28577 * support/Makefile (libsupport-routines): Add xdlfcn.
28578 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
28580 2017-09-20 Joseph Myers <joseph@codesourcery.com>
28583 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28584 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
28585 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
28586 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
28587 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
28588 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
28589 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
28590 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
28592 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28593 Ricky Zhou <rickyz@google.com>
28594 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
28597 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
28599 (__new_exitfn): Fail registration when we finished at_exit processing.
28600 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28601 * stdlib/on_exit.c (__on_exit): Likewise.
28602 * stdlib/exit.c (__exit_funcs_done): New variable.
28603 (__run_exit_handlers): Use __exit_funcs_lock.
28604 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
28606 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
28607 (test-cxa_atexit-race, test-on_exit-race): New tests.
28608 * stdlib/test-atexit-race-common.c: New file.
28609 * stdlib/test-atexit-race.c: New file.
28610 * stdlib/test-at_quick_exit-race.c: New file.
28611 * stdlib/test-cxa_atexit-race.c: New file.
28612 * stdlib/test-on_exit-race.c: New file.
28614 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
28616 * benchtests/Makefile: Add exp2f and log2f benchmarks.
28617 * benchtests/exp2f-inputs: Copy of expf-inputs.
28618 * benchtests/log2f-inputs: Copy of logf-inputs.
28620 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28622 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
28623 Explicitly take address of first element of array arguments in
28624 call to INLINE_SYSCALL.
28626 2017-09-19 Andreas Schwab <schwab@suse.de>
28629 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
28631 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
28633 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
28634 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
28635 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28636 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
28637 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28638 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28639 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28640 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28641 * posix/Makefile (tests): Add tst-fexecve.
28642 * posix/tst-fexecve.c: New file.
28644 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28646 * benchtests/Makefile: Add logf benchmark.
28647 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28649 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28651 * benchtests/Makefile: Add expf benchmark.
28652 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28654 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28656 * csu/Makefile: Add -funwind-tables to libc-start.c.
28657 * debug/Makefile: Add -funwind-tables to backtrace.c.
28658 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28659 * sysdeps/arm/Makefile: Likewise.
28660 * sysdeps/i386/Makefile: Likewise.
28661 * sysdeps/m68k/Makefile: Likewise.
28662 * sysdeps/mips/Makefile: Likewise.
28663 * sysdeps/nios2/Makefile: Likewise.
28664 * sysdeps/sh/Makefile: Likewise.
28665 * sysdeps/sparc/Makefile: Likewise.
28667 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28669 * benchtests/Makefile (bench-math): Add trunc and truncf.
28670 (CFLAGS-bench-trunc.c): New variable.
28671 (CFLAGS-bench-truncf.c): Likewise.
28672 * benchtests/trunc-inputs: New file.
28673 * benchtests/truncf-inputs: Likewise.
28675 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28677 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28679 2017-09-18 Joseph Myers <joseph@codesourcery.com>
28681 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28682 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28684 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28685 (exp10l): Define as weak alias.
28686 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28687 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28689 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28690 (remainderl): Define as weak alias.
28692 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28693 (fmal): Define using libm_alias_ldouble.
28694 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28695 (acoshl): Define using libm_alias_ldouble.
28696 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28697 (acosl): Define using libm_alias_ldouble.
28698 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28699 (asinl): Define using libm_alias_ldouble.
28700 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28701 (atan2l): Define using libm_alias_ldouble.
28702 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28703 (atanhl): Define using libm_alias_ldouble.
28704 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28705 (coshl): Define using libm_alias_ldouble.
28706 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28707 (exp10l): Define using libm_alias_ldouble.
28708 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28709 (exp2l): Define using libm_alias_ldouble.
28710 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28711 (expl): Define using libm_alias_ldouble.
28712 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28713 (fmodl): Define using libm_alias_ldouble.
28714 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28715 (hypotl): Define using libm_alias_ldouble.
28716 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28717 (j0l): Define using libm_alias_ldouble.
28719 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28720 (j1l): Define using libm_alias_ldouble.
28722 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28723 (jnl): Define using libm_alias_ldouble.
28725 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28726 (log10l): Define using libm_alias_ldouble.
28727 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28728 (log2l): Define using libm_alias_ldouble.
28729 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28730 (logl): Define using libm_alias_ldouble.
28731 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28732 (powl): Define using libm_alias_ldouble.
28733 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28734 (remainderl): Define using libm_alias_ldouble.
28735 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28736 (sinhl): Define using libm_alias_ldouble.
28737 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28738 (sqrtl): Define using libm_alias_ldouble.
28739 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28740 (tgammal): Define using libm_alias_ldouble.
28741 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28742 (exp10l): Do not use long_double_symbol here.
28743 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28744 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28745 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28746 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28747 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28748 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28749 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28750 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28751 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28752 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28753 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28754 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28755 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28756 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28757 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28758 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28759 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28760 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28761 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28762 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28763 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28764 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28766 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28768 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28769 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28771 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28773 * io/read.c (read): Add libc_hidden_weak.
28774 * sysdeps/mach/hurd/read.c (read): Likewise.
28775 * io/write.c (write): Likewise.
28776 * sysdeps/mach/hurd/write.c (write): Likewise.
28777 * io/pread64.c (__pread64): Likewise.
28778 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28779 * posix/pread64.c (__pread64): Add libc_hidden_def.
28781 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28783 * benchtests/scripts/compare_strings.py: New option -g.
28784 (draw_graph): Print a message that a graph is being generated.
28785 (process_results): Generate graph only if -g is passed.
28786 (main): Process option -g.
28788 * benchtests/scripts/compare_strings.py (process_results):
28789 Better spacing for output.
28791 * benchtests/scripts/compare_strings.py: Use argparse.
28792 * benchtests/README: Document existence of compare_strings.py.
28794 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28796 * math/s_fma.c: Include <libm-alias-double.h>.
28797 (fma): Define using libm_alias_double.
28798 * math/s_nextafter.c: Include <libm-alias-double.h>.
28799 (nextafter): Define using libm_alias_double.
28800 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28801 (acos): Define using libm_alias_double.
28802 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28803 (aocsh): Define using libm_alias_double.
28804 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28805 (asin): Define using libm_alias_double.
28806 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28807 (atan2): Define using libm_alias_double.
28808 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28809 (atanh): Define using libm_alias_double.
28810 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28811 (cosh): Define using libm_alias_double.
28812 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28813 (exp10): Define using libm_alias_double.
28814 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28815 (exp2): Define using libm_alias_double.
28816 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28817 (exp): Define using libm_alias_double.
28818 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28819 (fmod): Define using libm_alias_double.
28820 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28821 (hypot): Define using libm_alias_double.
28822 * math/w_j0_compat.c: Include <libm-alias-double.h>.
28823 (j0): Define using libm_alias_double.
28825 * math/w_j1_compat.c: Include <libm-alias-double.h>.
28826 (j1): Define using libm_alias_double.
28828 * math/w_jn_compat.c: Include <libm-alias-double.h>.
28829 (jn): Define using libm_alias_double.
28831 * math/w_log10_compat.c: Include <libm-alias-double.h>.
28832 (log10): Define using libm_alias_double.
28833 * math/w_log2_compat.c: Include <libm-alias-double.h>.
28834 (log2): Define using libm_alias_double.
28835 * math/w_log_compat.c: Include <libm-alias-double.h>.
28836 (log): Define using libm_alias_double.
28837 * math/w_pow_compat.c: Include <libm-alias-double.h>.
28838 (pow): Define using libm_alias_double.
28839 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
28840 (remainder): Define using libm_alias_double.
28841 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
28842 (sinh): Define using libm_alias_double.
28843 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
28844 (sqrt): Define using libm_alias_double.
28845 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
28846 (tgamma): Define using libm_alias_double.
28847 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
28848 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
28849 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
28850 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
28851 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28852 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28853 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28854 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28855 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28856 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28857 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28858 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28859 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28860 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28861 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28862 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28863 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28864 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28865 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28866 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28867 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28868 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28869 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28870 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28871 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28873 * math/e_acoshl.c: Remove.
28874 * math/e_acosl.c: Likewise.
28875 * math/e_asinl.c: Likewise.
28876 * math/e_atan2l.c: Likewise.
28877 * math/e_atanhl.c: Likewise.
28878 * math/e_coshl.c: Likewise.
28879 * math/e_expl.c: Likewise.
28880 * math/e_fmodl.c: Likewise.
28881 * math/e_gammal_r.c: Likewise.
28882 * math/e_hypotl.c: Likewise.
28883 * math/e_j0l.c: Likewise.
28884 * math/e_j1l.c: Likewise.
28885 * math/e_jnl.c: Likewise.
28886 * math/e_lgammal_r.c: Likewise.
28887 * math/e_log10l.c: Likewise.
28888 * math/e_log2l.c: Likewise.
28889 * math/e_logl.c: Likewise.
28890 * math/e_powl.c: Likewise.
28891 * math/e_rem_pio2l.c: Likewise.
28892 * math/e_sinhl.c: Likewise.
28893 * math/e_sqrtf128.c: Likewise.
28894 * math/e_sqrtl.c: Likewise.
28895 * math/k_cosl.c: Likewise.
28896 * math/k_sinl.c: Likewise.
28897 * math/k_tanl.c: Likewise.
28898 * math/s_asinhl.c: Likewise.
28899 * math/s_atanl.c: Likewise.
28900 * math/s_cbrtl.c: Likewise.
28901 * math/s_erfl.c: Likewise.
28902 * math/s_expm1l.c: Likewise.
28903 * math/s_log1pl.c: Likewise.
28904 * math/s_tanhl.c: Likewise.
28906 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28910 [$(subdir) = math] (sysdep_calls): New variable. Has the
28911 previous contents of sysdep_routines, but re-sorted..
28912 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28914 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28915 defined in sysdep_calls and replace by the respective m_* names.
28916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28917 (compat_symbol): Undefine to avoid duplicated compat symbols in
28920 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28922 * math/s_fmaf.c: Include <libm-alias-float.h>.
28923 (fmaf): Define using libm_alias_float.
28924 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28925 (acosf): Define using libm_alias_float.
28926 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28927 (acoshf): Define using libm_alias_float.
28928 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28929 (asinf): Define using libm_alias_float.
28930 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28931 (atan2f): Define using libm_alias_float.
28932 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28933 (atanhf): Define using libm_alias_float.
28934 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28935 (coshf): Define using libm_alias_float.
28936 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28937 (exp10f): Define using libm_alias_float.
28938 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28939 (fmodf): Define using libm_alias_float.
28940 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28941 (hypotf): Define using libm_alias_float.
28942 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28943 (j0f): Define using libm_alias_float.
28945 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28946 (j1f): Define using libm_alias_float.
28948 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28949 (jnf): Define using libm_alias_float.
28951 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28952 (log10f): Define using libm_alias_float.
28953 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28954 (log2f): Define using libm_alias_float.
28955 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28956 (logf): Define using libm_alias_float.
28957 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28958 (powf): Define using libm_alias_float.
28959 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28960 (remainderf): Define using libm_alias_float.
28961 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28962 (sinhf): Define using libm_alias_float.
28963 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28964 (sqrtf): Define using libm_alias_float.
28965 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28966 (tgammaf): Define using libm_alias_float.
28968 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28970 * include/math.h (roundeven): Change hidden_proto call to
28972 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28974 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28975 (y0): Rename to __y0 and define as weak alias.
28976 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28977 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28979 (y0f): Rename to __y0f and define as weak alias.
28980 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28982 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28983 (y1): Rename to __y1 and define as weak alias.
28984 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28985 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28987 (y1f): Rename to __y1f and define as weak alias.
28988 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28990 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28991 (yn): Rename to __yn and define as weak alias.
28992 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28993 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28995 (ynf): Rename to __ynf and define as weak alias.
28996 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28997 (fromfp): Define as weak alias.
28998 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28999 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29000 (fromfpx): Define as weak alias.
29001 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29002 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29003 __getpayload and define as weak alias.
29004 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29005 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29006 __roundeven and define as weak alias.
29007 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29008 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29010 (setpayload): Define as weak alias.
29011 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29012 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29014 (setpayloadsig): Define as weak alias.
29015 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29016 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29017 __totalorder and define as weak alias.
29018 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29019 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29020 to __totalordermag and define as weak alias.
29021 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29022 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29023 (ufromfp): Define as weak alias.
29024 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29025 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29027 (ufromfpx): Define as weak alias.
29028 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29029 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29030 Rename to __getpayload and define as weak alias.
29031 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29032 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29033 Rename to __roundeven and define as weak alias.
29034 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29035 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29036 Rename to __totalorder and define as weak alias.
29037 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29038 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29039 (totalordermag): Rename to __totalordermag and define as weak
29041 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29042 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29044 (__roundevenl): Likewise.
29045 (__totalorderl): Likewise.
29046 (__totalordermagl): Likewise
29047 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29049 (fromfpf128): Define as weak alias.
29050 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29052 (fromfpxf128): Define as weak alias.
29053 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29055 (setpayloadf128): Define as weak alias.
29056 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29057 __setpayloadsigf128.
29058 (setpayloadsigf128): Define as weak alias.
29059 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29061 (ufromfpf128): Define as weak alias.
29062 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29064 (ufromfpxf128): Define as weak alias.
29065 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29066 (fromfpf): Define as weak alias.
29067 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29069 (fromfpxf): Define as weak alias.
29070 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29071 __getpayloadf and define as weak alias.
29072 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29073 __roundevenf and define as weak alias.
29074 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29076 (setpayloadf): Define as weak alias.
29077 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29079 (setpayloadsigf): Define as weak alias.
29080 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29081 __totalorderf and define as weak alias.
29082 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29083 Rename to __totalordermagf and define as weak alias.
29084 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
29086 (ufromfpf): Define as weak alias.
29087 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
29089 (ufromfpxf): Define as weak alias.
29090 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
29092 (fromfpl): Define as weak alias.
29093 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
29095 (fromfpxl): Define as weak alias.
29096 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
29097 to __getpayloadl and define as weak alias.
29098 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
29099 __roundevenl and define as weak alias.
29100 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
29102 (setpayloadl): Define as weak alias.
29103 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
29105 (setpayloadsigl): Define as weak alias.
29106 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
29107 to __totalorderl and define as weak alias.
29108 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
29109 Rename to __totalordermagl and define as weak alias.
29110 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
29112 (ufromfpl): Define as weak alias.
29113 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
29115 (ufromfpxl): Define as weak alias.
29116 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
29118 (fromfpl): Define as weak alias.
29119 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
29121 (fromfpxl): Define as weak alias.
29122 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
29123 Rename to __getpayloadl and define as weak alias.
29124 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
29125 to __roundevenl and define as weak alias. Call __roundeven
29126 instead of roundeven.
29127 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
29129 (setpayloadl): Define as weak alias.
29130 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
29132 (setpayloadsigl): Define as weak alias.
29133 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
29134 Rename to __totalorderl and define as weak alias.
29135 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
29136 Rename to __totalordermagl and define as weak alias.
29137 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
29139 (ufromfpl): Define as weak alias.
29140 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
29142 (ufromfpxl): Define as weak alias.
29143 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
29145 (fromfpl): Define as weak alias.
29146 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
29148 (fromfpxl): Define as weak alias.
29149 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
29150 __getpayloadl and define as weak alias.
29151 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
29152 __roundevenl and define as weak alias.
29153 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
29155 (setpayloadl): Define as weak alias.
29156 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
29158 (setpayloadsigl): Define as weak alias.
29159 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
29160 __totalorderl and define as weak alias.
29161 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
29162 Rename to __totalordermagl and define as weak alias.
29163 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
29165 (ufromfpl): Define as weak alias.
29166 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
29168 (ufromfpxl): Define as weak alias.
29170 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
29172 * benchtests/bench-string.h (realloc_bufs): New function.
29173 (test_init): Call it.
29174 * benchtests/bench-memset-large.c (do_test): Likewise.
29175 * benchtests/bench-memset.c (do_test): Likewise.
29177 * benchtests/bench-memset-large.c: Print output in JSON
29179 * benchtests/bench-memset.c: Likewise.
29181 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29184 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
29185 * iconvdata/Makefile: Add IBM858.
29186 * iconvdata/gconv-modules: Likewise.
29187 * iconvdata/tst-tables.sh: Likewise.
29188 * iconvdata/ibm858.c: New file.
29189 * localedata/charmaps/IBM858: Likewise.
29191 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
29194 * locales/niu_NZ (LC_TIME): copy "niu_NU".
29195 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
29197 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29200 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29201 and add tel_int_fmt.
29203 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29205 * sysdeps/generic/libm-alias-float128.h: New file.
29206 * sysdeps/generic/math-type-macros-float128.h: Include
29207 <libm-alias-float128.h>.
29208 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29210 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29212 * sysdeps/generic/libm-alias-ldouble.h: New file.
29213 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29214 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29215 * sysdeps/generic/math-type-macros-ldouble.h: Include
29216 <libm-alias-ldouble.h>.
29217 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29218 libm_alias_ldouble.
29220 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29222 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29223 * math/w_exp_compat.c: ... here.
29224 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29225 * math/w_expf_compat.c: ... here.
29226 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29227 * math/w_expl_compat.c: ... here.
29228 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29229 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29230 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29231 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29233 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29235 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29237 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29239 (ldexpl): Only define as compat symbol for libc, not libm.
29240 (scalbnl): Define as compat symbol for libc here.
29241 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29242 define for [IS_IN (libc)].
29243 (__ldexpl_2): Remove alias.
29244 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29245 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29246 name in long_double_symbol call.
29247 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29248 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29249 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29250 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29251 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29253 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29254 Define as compat symbol.
29256 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29258 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29259 * sysdeps/unix/sysv/linux/alpha/Makefile
29260 [$(subdir) = csu] (sysdep_routines): Remove rule.
29262 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29264 * sysdeps/generic/libm-alias-double.h: New file.
29265 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29266 * sysdeps/generic/math-type-macros-double.h: Include
29267 <libm-alias-double.h>.
29268 [declare_mgen_alias] (declare_mgen_alias): Define to use
29270 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29271 (M_LIBM_NEED_COMPAT): Remove macro.
29272 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29273 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29274 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29276 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29277 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29278 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29279 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29280 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29281 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29282 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29283 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29284 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29285 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29286 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29287 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29288 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29289 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29290 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29291 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29292 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29293 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29294 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29295 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29296 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29297 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29298 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29299 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29300 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29301 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29302 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29303 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
29304 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
29306 (declare_mgen_alias): New macro.
29307 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
29308 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
29309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
29310 (M_LIBM_NEED_COMPAT): Remove macro.
29311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
29312 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
29313 <first-versions.h>.
29314 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
29315 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
29317 2017-09-12 Joseph Myers <joseph@codesourcery.com>
29319 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
29320 (declare_mgen_alias_2): Remove.
29321 * sysdeps/generic/math-type-macros-double.h
29322 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
29324 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
29326 (ldexp): Define with declare_mgen_alias.
29327 (scalbn): Likewise.
29329 2017-09-12 Steve Ellcey <sellcey@cavium.com>
29331 * grp/initgroups.c: Include config.h.
29332 (DEFAULT_CONFIG): New macro.
29333 (internal_getgrouplist): Use DEFAULT_CONFIG.
29334 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29335 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
29336 (DEFAULT_DEFCONFIG): New macro.
29337 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
29338 * nss/grp-lookup.c: Include config.h
29339 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
29340 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
29341 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
29342 * manual/nss.texi: Update default values section.
29344 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
29347 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
29349 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
29350 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29351 Handle MathVec_Prefer_No_AVX512.
29352 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
29353 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
29356 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
29358 * posix/sched_primax.c (__sched_get_priority_max): Add
29360 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
29361 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29362 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29363 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
29364 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
29365 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
29366 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
29367 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
29370 2017-09-11 Joseph Myers <joseph@codesourcery.com>
29372 * sysdeps/generic/libm-alias-float.h: New file.
29373 * sysdeps/generic/math-type-macros-float.h: Include
29374 <libm-alias-float.h>.
29375 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29377 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
29380 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
29381 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
29382 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
29383 (HWCAP_IMPORTANT): Likewise.
29384 (HWCAP_X86_64): New enum.
29385 (HWCAP_X86_AVX512_1): Updated.
29386 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
29387 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
29388 (modules-names): Add x86_64/tst-x86_64mod-1.
29389 (LDFLAGS-tst-x86_64mod-1.so): New.
29390 ($(objpfx)tst-x86_64-1): Likewise.
29391 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
29392 (tst-x86_64-1-clean): Likewise.
29393 * sysdeps/x86_64/tst-x86_64-1.c: New file.
29394 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
29396 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29398 * po/sv.po: Update translations.
29399 * po/fr.po: Likewise.
29401 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29403 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
29405 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
29407 * elf/rtld-Rules: Fix $(error) use.
29409 2017-09-09 Mike FABIAN <mfabian@redhat.com>
29412 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
29413 * locale/iso-639.def: Change “Bengali” to “Bangla”.
29414 * localedata/locales/bn_BD: “Bengali” was still used in some
29415 comments. Change it to “Bangla”.
29417 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
29419 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
29421 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29423 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
29424 thunderx2t99p1 to list of cpu names.
29425 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29426 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
29428 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29430 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
29431 Use strcmp instead of tunable_is_name.
29433 2017-09-08 Joseph Myers <joseph@codesourcery.com>
29435 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29436 (F_GET_RW_HINT): New macro.
29437 [__USE_GNU] (F_SET_RW_HINT): Likewise.
29438 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
29439 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
29440 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
29441 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
29442 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
29443 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
29444 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
29445 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
29447 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29448 (F_ADD_SEALS): New macro.
29449 [__USE_GNU] (F_GET_SEALS): Likewise.
29450 [__USE_GNU] (F_SEAL_SEAL): Likewise.
29451 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
29452 [__USE_GNU] (F_SEAL_GROW): Likewise.
29453 [__USE_GNU] (F_SEAL_WRITE): Likewise.
29455 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29457 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
29458 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
29459 * posix/glob_internal.h (__glob_pattern_type):
29460 * posix/glob.c (glob):
29461 * posix/glob_pattern_p.c (__glob_pattern_p):
29464 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
29465 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29466 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
29467 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
29468 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
29470 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
29471 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
29472 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29473 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29474 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29475 * sysdeps/wordsize-64/glob.c: Likewise.
29476 * sysdeps/wordsize-64/glob64.c: Likewise.
29477 * sysdeps/wordsize-64/globfree.c: Likewise.
29478 * sysdeps/wordsize-64/globfree64.c: Likewise.
29479 * sysdeps/unix/sysv/linux/glob.c: New file.
29480 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
29481 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
29482 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
29483 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29484 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
29485 adds !GLOB_NO_OLD_VERSION as an extra condition.
29486 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
29487 using relative path instead of absolute one.
29488 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
29489 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29490 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29491 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
29492 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
29493 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
29496 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
29497 (glob): Use the same scratch buffer for both getlogin_r and
29498 getpwnam_r. Don’t require preallocation of the login name. This
29499 simplifies storage allocation, and corrects the handling of
29503 * posix/glob.c (glob): Port recent patches to platforms
29504 lacking getpwnam_r.
29505 (glob): Fix longstanding misuse of errno after getpwnam_r, which
29506 returns an error number rather than setting errno.
29508 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
29509 instead of GCC extension.
29510 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
29511 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
29512 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
29516 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
29517 * posix/bug-glob1.c: Remove file.
29518 * posix/tst-glob_symlinks.c: New file.
29519 * posix/glob.c (__lstat64): New macro.
29520 (is_dir): New function.
29521 (glob, glob_in_dir): Match symlinks even if they are dangling.
29522 (link_stat, link_exists_p): Remove. All uses removed.
29526 * posix/glob.c (struct readdir_result): Remove skip_entry member.
29527 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
29532 * posix/Makefile (routines): Add globfree, globfree64, and
29534 * posix/flexmember.h: New file.
29535 * posix/glob_internal.h: Likewise.
29536 * posix/glob_pattern_p.c: Likewise.
29537 * posix/globfree.c: Likewise.
29538 * posix/globfree64.c: Likewise.
29539 * sysdeps/gnu/globfree64.c: Likewise.
29540 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
29541 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29542 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
29543 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29544 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29545 * sysdeps/wordsize-64/globfree.c: Likewise.
29546 * sysdeps/wordsize-64/globfree64.c: Likewise.
29547 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
29548 [NDEBUG): Remove comments.
29549 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
29550 (dirent_type): New type. Use uint_fast8_t not
29551 uint8_t, as C99 does not require uint8_t.
29552 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
29553 (struct readdir_result): Use dirent_type. Do not define skip_entry
29554 unless it is needed; this saves a byte on platforms lacking d_ino.
29555 (readdir_result_type, readdir_result_skip_entry):
29556 New functions, replacing ...
29557 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
29558 these functions, which were removed. This makes the callers
29559 easier to read. All callers changed.
29560 (D_INO_TO_RESULT): Now empty if there is no d_ino.
29561 (size_add_wrapv, glob_use_alloca): New static functions.
29562 (glob, glob_in_dir): Check for size_t overflow in several places,
29563 and fix some size_t checks that were not quite right.
29564 Remove old code using SHELL since Bash no longer
29566 (glob, prefix_array): Separate MS code better.
29567 (glob_in_dir): Remove old Amiga and VMS code.
29568 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
29570 (glob_in_dir): Do not rely on undefined behavior in accessing
29571 struct members beyond their bounds. Use a flexible array member
29573 (link_stat): Rename from link_exists2_p and return -1/0 instead of
29574 0/1. Caller changed.
29575 (glob): Fix memory leaks.
29576 * posix/glob64 (globfree64): Move to separate file.
29577 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
29578 (globfree64): Remove hidden alias.
29579 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
29581 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
29583 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
29585 Move compat code to separate file.
29586 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
29589 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
29591 * resolv/tst-resolv-qtypes.c (domain): Changed to
29592 "const char domain[] =".
29594 2017-09-07 Joseph Myers <joseph@codesourcery.com>
29596 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
29599 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
29600 (TCP_MD5SIG_EXT): Likewise.
29601 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
29602 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
29603 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
29605 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
29607 2017-09-07 Mike FABIAN <mfabian@redhat.com>
29609 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
29611 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
29614 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
29616 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29618 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
29619 before assuming that the file is empty. Avoid testing buffer content
29622 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29625 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29627 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
29629 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
29631 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
29633 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29635 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
29637 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29640 2017-09-06 Florian Weimer <fweimer@redhat.com>
29642 * malloc/dynarray_emplace_enlarge.c
29643 (__libc_dynarray_emplace_enlarge): Add missing else.
29645 2017-09-06 Florian Weimer <fweimer@redhat.com>
29648 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29649 case of failure to obtain the global conf object.
29651 2017-09-06 Florian Weimer <fweimer@redhat.com>
29654 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29655 dynarray allocation failure.
29657 2017-09-06 Florian Weimer <fweimer@redhat.com>
29659 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29660 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29661 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29663 (response): Call them. Add 'p', '6' flag processing.
29664 (test_reverse): New function.
29665 (test_get2_any): Call it.
29666 (test_no_inet6): Add 'p' test.
29667 (test_inet6): Likewise.
29669 2017-09-06 Florian Weimer <fweimer@redhat.com>
29671 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29672 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29674 (test_gai): Adjust query names. Add additional tests.
29675 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29676 test_get2. Adjust query names. Add additional tests.
29677 (test_no_inet6): New function, extracted from threadfunc.
29678 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29679 Add additional tests.
29681 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29684 * localedata/unicode-gen/utf8_gen.py: Set the width for
29685 characters with Prepended_Concatenation_Mark property to 1
29686 * localedata/charmaps/UTF-8: Updated using the improved script.
29688 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29691 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29692 use the range notation for all ranges of neighbouring characters
29693 with the same width.
29695 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29697 * sysdeps/generic/math-type-macros-double.h: Include
29698 <math-svid-compat.h>.
29699 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29700 * sysdeps/generic/math-type-macros-float.h: Include
29701 <math-svid-compat.h>.
29702 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29703 * sysdeps/generic/math-type-macros-ldouble.h: Include
29704 <math-svid-compat.h>.
29705 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29706 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29708 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29709 * math/w_acosf_compat.c: Likewise.
29710 * math/w_acosh_compat.c: Likewise.
29711 * math/w_acoshf_compat.c: Likewise.
29712 * math/w_acoshl_compat.c: Likewise.
29713 * math/w_acosl_compat.c: Likewise.
29714 * math/w_asin_compat.c: Likewise.
29715 * math/w_asinf_compat.c: Likewise.
29716 * math/w_asinl_compat.c: Likewise.
29717 * math/w_atan2_compat.c: Likewise.
29718 * math/w_atan2f_compat.c: Likewise.
29719 * math/w_atan2l_compat.c: Likewise.
29720 * math/w_atanh_compat.c: Likewise.
29721 * math/w_atanhf_compat.c: Likewise.
29722 * math/w_atanhl_compat.c: Likewise.
29723 * math/w_cosh_compat.c: Likewise.
29724 * math/w_coshf_compat.c: Likewise.
29725 * math/w_coshl_compat.c: Likewise.
29726 * math/w_exp10_compat.c: Likewise.
29727 * math/w_exp10f_compat.c: Likewise.
29728 * math/w_exp10l_compat.c: Likewise.
29729 * math/w_exp2_compat.c: Likewise.
29730 * math/w_exp2f_compat.c: Likewise.
29731 * math/w_exp2l_compat.c: Likewise.
29732 * math/w_fmod_compat.c: Likewise.
29733 * math/w_fmodf_compat.c: Likewise.
29734 * math/w_fmodl_compat.c: Likewise.
29735 * math/w_hypot_compat.c: Likewise.
29736 * math/w_hypotf_compat.c: Likewise.
29737 * math/w_hypotl_compat.c: Likewise.
29738 * math/w_j0_compat.c: Likewise.
29739 * math/w_j0f_compat.c: Likewise.
29740 * math/w_j0l_compat.c: Likewise.
29741 * math/w_j1_compat.c: Likewise.
29742 * math/w_j1f_compat.c: Likewise.
29743 * math/w_j1l_compat.c: Likewise.
29744 * math/w_jn_compat.c: Likewise.
29745 * math/w_jnf_compat.c: Likewise.
29746 * math/w_jnl_compat.c: Likewise.
29747 * math/w_lgamma_r_compat.c: Likewise.
29748 * math/w_lgammaf_r_compat.c: Likewise.
29749 * math/w_lgammal_r_compat.c: Likewise.
29750 * math/w_log10_compat.c: Likewise.
29751 * math/w_log10f_compat.c: Likewise.
29752 * math/w_log10l_compat.c: Likewise.
29753 * math/w_log2_compat.c: Likewise.
29754 * math/w_log2f_compat.c: Likewise.
29755 * math/w_log2l_compat.c: Likewise.
29756 * math/w_log_compat.c: Likewise.
29757 * math/w_logf_compat.c: Likewise.
29758 * math/w_logl_compat.c: Likewise.
29759 * math/w_pow_compat.c: Likewise.
29760 * math/w_powf_compat.c: Likewise.
29761 * math/w_powl_compat.c: Likewise.
29762 * math/w_remainder_compat.c: Likewise.
29763 * math/w_remainderf_compat.c: Likewise.
29764 * math/w_remainderl_compat.c: Likewise.
29765 * math/w_sinh_compat.c: Likewise.
29766 * math/w_sinhf_compat.c: Likewise.
29767 * math/w_sinhl_compat.c: Likewise.
29768 * math/w_sqrt_compat.c: Likewise.
29769 * math/w_sqrtf_compat.c: Likewise.
29770 * math/w_sqrtl_compat.c: Likewise.
29771 * math/w_tgamma_compat.c: Likewise.
29772 * math/w_tgammaf_compat.c: Likewise.
29773 * math/w_tgammal_compat.c: Likewise.
29774 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29775 [LIBM_SVID_COMPAT].
29776 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29777 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29778 [LIBM_SVID_COMPAT].
29779 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29780 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29781 [LIBM_SVID_COMPAT].
29782 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29783 * sysdeps/i386/fpu/w_sqrt.c: New file.
29784 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29785 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29786 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29787 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29788 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29789 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29790 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29791 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29792 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29793 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29794 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29795 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29796 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29797 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29798 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29799 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29800 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29801 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29802 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29803 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29804 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29805 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29806 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29807 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29808 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29809 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29810 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29811 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29812 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29813 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29814 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29815 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29816 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29817 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29818 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29819 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29820 * sysdeps/ia64/fpu/w_log.c: Likewise.
29821 * sysdeps/ia64/fpu/w_log10.c: Likewise.
29822 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
29823 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
29824 * sysdeps/ia64/fpu/w_log2.c: Likewise.
29825 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
29826 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
29827 * sysdeps/ia64/fpu/w_logf.c: Likewise.
29828 * sysdeps/ia64/fpu/w_logl.c: Likewise.
29829 * sysdeps/ia64/fpu/w_pow.c: Likewise.
29830 * sysdeps/ia64/fpu/w_powf.c: Likewise.
29831 * sysdeps/ia64/fpu/w_powl.c: Likewise.
29832 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
29833 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
29834 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
29835 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
29836 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
29837 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
29838 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
29839 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
29840 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
29841 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
29842 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
29843 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
29844 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
29845 [LIBM_SVID_COMPAT].
29846 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29847 * sysdeps/ieee754/k_standard.c: Likewise.
29848 * sysdeps/ieee754/k_standardf.c: Likewise.
29849 * sysdeps/ieee754/k_standardl.c: Likewise.
29850 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29851 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29852 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29853 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29854 long_double_symbol call on [LIBM_SVID_COMPAT].
29855 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29856 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29857 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29858 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29859 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29860 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29861 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29862 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29863 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29864 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29865 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29866 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29867 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29868 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29869 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29870 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29871 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29872 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29873 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29874 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29875 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29876 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29878 2017-09-05 Steve Ellcey <sellcey@cavium.com>
29880 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29881 * malloc/tst-mallocstate.c: Convert from test-skeleton
29882 to test-driver. Ifdef code using TEST_COMPAT macro.
29883 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29884 * math/test-matherr.c: Likewise.
29886 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29889 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29890 comparing word with byte-swapped constant.
29892 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
29895 * locale/iso-639.def: add Miskito.
29896 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29897 * localedata/locales/miq_NI: New file.
29899 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29902 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29903 (__mkdir): Likewise.
29904 * io/chmod.c (__chmod): Add libc_hidden_def.
29905 * io/mkdir.c (__mkdir): Likewise.
29906 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29907 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29908 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29909 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29911 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29913 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29917 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29918 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29920 2017-09-04 Florian Weimer <fweimer@redhat.com>
29922 * math/math.h: Issue warning if log is defined.
29924 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29926 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29927 kernel version to 4.13.
29929 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29931 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
29932 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29934 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29935 just <bits/types.h>.
29936 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
29937 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
29938 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
29939 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
29940 * misc/preadv2.c: Include <errno.h>.
29941 * misc/preadv64v2.c: Include <errno.h>.
29942 * misc/pwritev2.c: Include <errno.h>.
29943 * misc/pwritev64v2.c: Include <errno.h>.
29944 * sysdeps/posix/preadv2.c: Include <errno.h>.
29945 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29946 Fix <unistd.h> inclusion.
29947 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29948 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
29949 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29950 __strtoul_internal): New functions.
29951 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29952 * sysdeps/posix/system.c: Include <sigsetops.h>.
29953 * sysdeps/mach/hurd/i386/Makefile
29954 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29955 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29956 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
29957 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29958 __feraiseexcept_renamed to feraiseexcept instead of
29959 __GI_feraiseexcept.
29960 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
29961 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
29962 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29963 RWF_NOWAIT): Define to 0 if undefined already.
29964 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29966 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29967 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
29969 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29971 * manual/math.texi (pow10): Do not document.
29972 (pow10f): Likewise.
29973 (pow10l): Likewise.
29974 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29975 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29976 * math/libm-test-exp10.inc (pow10_test): Remove.
29977 (do_test): Do not call pow10.
29978 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29979 [NO_LONG_DOUBLE] (pow10l): Likewise.
29980 * math/w_exp10f_compat.c (pow10f): Likewise.
29981 * math/w_exp10l_compat.c (pow10l): Likewise.
29982 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29983 (pow10): Make into compat symbol.
29984 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29985 (pow10f): Make into compat symbol.
29986 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29987 (pow10l): Make into compat symbol.
29988 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29990 (CFLAGS-nldbl-pow10.c): Remove variable..
29991 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29992 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29993 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29994 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29995 Undefine and redefine.
29996 (pow10l): Make into compat symbol.
29997 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29998 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29999 * sysdeps/arm/libm-test-ulps: Likewise.
30000 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30001 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30002 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30003 * sysdeps/microblaze/libm-test-ulps: Likewise.
30004 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30005 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30006 * sysdeps/nios2/libm-test-ulps: Likewise.
30007 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30008 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30009 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30010 * sysdeps/sh/libm-test-ulps: Likewise.
30011 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30012 * sysdeps/tile/libm-test-ulps: Likewise.
30013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30015 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30017 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30019 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30021 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30022 "../ChangeLog.old/ChangeLog.8".
30023 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30024 "../ChangeLog.old/ChangeLog.14".
30026 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30028 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30031 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30033 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30035 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30037 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30038 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30040 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30042 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30043 32 atexit handlers.
30045 2017-09-01 Zack Weinberg <zackw@panix.com>
30047 * math/math.h (HUGE_VAL): Improve commentary.
30049 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30050 Andreas Schwab <schwab@suse.de>
30053 * include/stdio.h (__gen_tempfd): New function.
30054 * stdio-common/Makefile (routines): Add gentempfd.
30055 * stdio-common/gentempfd.c: New file.
30056 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30057 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30058 unnamed file first.
30060 2017-09-01 Florian Weimer <fweimer@redhat.com>
30064 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30065 result to determine success or failure, not the errno value.
30066 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30067 (tst-nss-files-hosts-erange): Link with -ldl.
30068 * nss/tst-nss-files-hosts-erange.c: New file.
30069 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30070 (do_test): Add NO_DATA tests.
30071 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30072 (do_test): Call it.
30074 2017-09-01 Florian Weimer <fweimer@redhat.com>
30077 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30078 coming from gethostbyname2_r.
30080 2017-09-01 Florian Weimer <fweimer@redhat.com>
30082 * support/namespace.h (struct support_chroot_configuration): Add
30084 (struct support_chroot): Add path_hosts, path_host_conf.
30085 * support/support_chroot.c (write_file): New function.
30086 (support_chroot_create): Call it to process /etc/resolv.conf,
30087 /etc/hosts, /etc/host.conf.
30088 (support_chroot_free): Update.
30090 2017-09-01 Florian Weimer <fweimer@redhat.com>
30092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
30093 status indicates it is set.
30095 2017-09-01 Florian Weimer <fweimer@redhat.com>
30098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
30099 function lookup failures more reliable.
30101 2017-09-01 Florian Weimer <fweimer@redhat.com>
30103 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
30104 (getcanonname): Likewise.
30105 (gaih_inet): Likewise.
30107 2017-09-01 Florian Weimer <fweimer@redhat.com>
30109 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
30110 (getcanonname): Likewise.
30111 (gaih_inet): Likewise.
30113 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30114 Richard Henderson <rth@twiddle.net>
30116 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
30117 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
30118 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
30119 (IREG_SIZE, OREG_SIZE): New macros.
30120 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
30121 (IREG_SIZE, OREG_SIZE): New macros.
30122 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
30123 (IREG_SIZE): New macro.
30124 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
30125 (IREG_SIZE): New macro.
30126 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
30128 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
30129 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30130 (__CONCATX): Handle exceptions correctly on large values that may
30132 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
30133 Initialize if not already set.
30134 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30136 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30138 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
30139 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
30141 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
30143 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
30145 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
30147 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
30149 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
30151 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
30153 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
30154 (NO_CANCELLATION): Likewise.
30155 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
30157 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
30159 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
30161 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
30162 (NO_CANCELLATION): Likewise.
30163 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
30164 (NO_CANCELLATION): Likewise.
30165 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
30167 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
30169 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
30171 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
30173 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
30175 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
30176 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
30178 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30180 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
30183 2017-08-31 Florian Weimer <fweimer@redhat.com>
30185 * include/libc-symbols.h (internal_function): Remove.
30187 2017-08-31 Florian Weimer <fweimer@redhat.com>
30189 * stdlib/fmtmsg.c (internal_addseverity): Remove
30192 2017-08-31 Florian Weimer <fweimer@redhat.com>
30194 * stdio-common/printf_fp.c (group_number): Remove
30196 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
30198 2017-08-31 Florian Weimer <fweimer@redhat.com>
30200 * posix/fnmatch.c (internal_function): Remove definition.
30201 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30202 * posix/regcomp.c (peek_token, init_word_char)
30203 (duplicate_node_closure, fetch_token, peek_token)
30204 (peek_token_bracket, build_range_exp, build_collating_symbol):
30206 * posix/regex_internal.c (re_string_construct_common)
30207 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30208 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30209 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30210 (re_string_translate_buffer, re_string_reconstruct)
30211 (re_string_peek_byte_case, re_string_fetch_byte_case)
30212 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30213 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30214 (re_node_set_add_intersect, re_node_set_init_union)
30215 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30216 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30217 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30218 (re_acquire_state_context): Likewise.
30219 * posix/regex_internal.h (internal_function): Remove definition.
30220 (re_string_realloc_buffers, build_wcs_buffer)
30221 (build_wcs_upper_buffer, build_upper_buffer)
30222 (re_string_translate_buffer, re_string_context_at)
30223 (re_string_char_size_at, re_string_wchar_at)
30224 (re_string_elem_size_at): Likewise.
30225 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30226 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30227 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30228 (re_search_internal, re_search_2_stub, re_search_stub)
30229 (re_copy_regs, prune_impossible_nodes, check_matching)
30230 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30231 (free_fail_stack_return, sift_states_iter_mb)
30232 (sift_states_backward, build_sifted_states)
30233 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30234 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30235 (check_subexp_limits, sift_states_bkref, merge_state_array)
30236 (find_recover_state, transit_state, merge_state_with_log)
30237 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30238 (transit_state_mb, transit_state_bkref, get_subexp)
30239 (get_subexp_sub, find_subexp_node, check_arrival)
30240 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30241 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30242 (check_node_accept_bytes, find_collation_sequence_value)
30243 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30244 (acquire_init_state_context, check_halt_node_context)
30245 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30246 (sub_epsilon_src_nodes): Likewise.
30247 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30248 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30249 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30250 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30251 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30252 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30253 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30254 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30255 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30256 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30257 (PREADV): Likewise.
30258 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30259 (PREADV): Likewise.
30260 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30261 (PWRITEV): Likewise.
30262 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30263 (PWRITEV): Likewise.
30264 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30265 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30267 2017-08-31 Florian Weimer <fweimer@redhat.com>
30269 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30270 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30271 Remove internal_function.
30272 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30273 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30274 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30275 (__deallocate_stack, __libc_pthread_init)
30276 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
30277 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
30278 (__libc_disable_asynccancel, __librt_disable_asynccancel):
30280 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
30281 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
30282 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
30284 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
30285 (__pthread_mutex_unlock_usercnt): Likewise.
30287 2017-08-31 Florian Weimer <fweimer@redhat.com>
30289 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
30290 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
30291 (fts_safe_changedir): Remove internal_function.
30292 * io/ftw.c (internal_function): Remove definition.
30293 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
30295 2017-08-31 Florian Weimer <fweimer@redhat.com>
30297 * inet/deadline.c (__deadline_current_time)
30298 (__deadline_from_timeval, __deadline_to_ms): Remove
30300 * inet/getnameinfo.c (nrl_domainname): Likewise.
30301 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
30302 * inet/inet6_option.c (add_pad): Likewise.
30303 * inet/net-internal.h (__deadline_current_time)
30304 (__deadline_from_timeval, __deadline_to_ms): Likewise.
30305 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
30306 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
30307 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
30309 2017-08-31 Joseph Myers <joseph@codesourcery.com>
30311 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
30312 include <bits/nan.h>.
30313 * math/Makefile (headers): Remove bits/nan.h.
30314 * bits/nan.h: Remove.
30315 * sysdeps/ieee754/bits/nan.h: Likewise.
30316 * sysdeps/mips/bits/nan.h: Likewise.
30318 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
30319 not include <bits/inf.h>.
30320 * math/Makefile (headers): Remove bits/inf.h.
30321 * bits/inf.h: Remove.
30322 * sysdeps/ieee754/bits/inf.h: Likewise.
30324 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
30325 bits/huge_vall.h or bits/huge_val_flt128.h.
30326 (HUGE_VAL): Define directly here.
30327 [__USE_ISOC99] (HUGE_VALF): Likewise.
30328 [__USE_ISOC99] (HUGE_VALL): Likewise.
30329 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30330 (HUGE_VAL_F128): Likewise.
30331 * math/Makefile (headers): Remove bits/huge_val.h,
30332 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
30333 * bits/huge_val.h: Remove.
30334 * bits/huge_val_flt128.h: Likewise.
30335 * bits/huge_valf.h: Likewise.
30336 * bits/huge_vall.h: Likewise.
30337 * sysdeps/ia64/bits/huge_vall.h: Likewise.
30338 * sysdeps/ieee754/bits/huge_val.h: Likewise.
30339 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
30340 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
30341 * sysdeps/sh/bits/huge_val.h: Likewise.
30342 * sysdeps/sparc/bits/huge_vall.h: Likewise.
30343 * sysdeps/x86/bits/huge_vall.h: Likewise.
30345 2017-08-31 Florian Weimer <fweimer@redhat.com>
30347 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
30349 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
30351 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
30352 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30353 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
30354 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
30355 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30356 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30357 * elf/dl-libc.c (dlerror_run): Likewise.
30358 * elf/dl-load.c (add_name_to_object, decompose_rpath)
30359 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
30360 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
30361 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
30363 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
30364 (_dl_higher_prime_number, _dl_strtoul): Likewise.
30365 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
30366 * elf/dl-profile.c (_dl_start_profile): Likewise.
30367 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
30368 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
30370 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
30371 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
30372 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
30373 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
30374 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
30375 (_dl_allocate_tls_storage): Likewise.
30376 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
30377 (_dl_check_all_versions): Likewise.
30378 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
30379 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
30380 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
30381 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30382 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
30383 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
30384 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
30385 internal_function from __dl_start.
30386 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
30387 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
30388 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
30389 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
30390 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
30391 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
30392 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
30393 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
30394 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
30395 (_dl_next_ld_env_entry, _dl_important_hwcaps)
30396 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
30397 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
30398 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
30399 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
30400 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
30402 (struct rtld_global_ro): Remove internal_function from the
30403 _dl_lookup_symbol_x member.
30404 (_dl_symbol_value): Remove. No longer defined anywhere.
30405 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
30407 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30408 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30409 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
30410 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
30411 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
30412 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
30413 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
30414 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
30415 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
30416 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
30417 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30418 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30420 2017-08-31 Florian Weimer <fweimer@redhat.com>
30422 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
30423 Remove internal_function.
30424 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30426 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30429 2017-08-31 Florian Weimer <fweimer@redhat.com>
30431 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
30432 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
30433 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
30435 2017-08-31 Florian Weimer <fweimer@redhat.com>
30437 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
30438 (__gai_enqueue_request): Remove internal_function.
30439 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
30440 (__gai_remove_request, __gai_notify, __gai_notify_only)
30441 (__gai_sigqueue): Likewise.
30442 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
30443 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
30444 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
30445 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30448 2017-08-31 Florian Weimer <fweimer@redhat.com>
30450 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
30451 * include/dirent.h (__opendirat, __getdents, __getdents64)
30452 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
30453 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
30454 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30455 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30457 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
30459 2017-08-31 Florian Weimer <fweimer@redhat.com>
30461 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
30463 (GETCWD_RETURN_TYPE): Likewise.
30465 2017-08-31 Florian Weimer <fweimer@redhat.com>
30467 * include/time.h (__tz_compute, __strptime_internal): Remove
30469 * time/strptime_l.c (__strptime_internal): Likewise.
30470 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
30472 2017-08-31 Florian Weimer <fweimer@redhat.com>
30474 * iconv/gconv.c (__gconv): Remove internal_function.
30475 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
30476 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
30477 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
30478 (__gconv_release_cache): Likewise.
30479 * iconv/gconv_close.c (__gconv_close): Likewise.
30480 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
30481 (read_conf_file, __gconv_get_path): Likewise.
30482 * iconv/gconv_db.c (derivation_lookup, add_derivation)
30483 (__gconv_release_step, gen_steps, increment_counter)
30484 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
30485 (__gconv_close_transform, free_modules_db): Likewise.
30486 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
30488 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
30489 (__gconv_find_transform, __gconv_lookup_cache)
30490 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
30491 (__gconv_close_transform, __gconv_release_cache)
30492 (__gconv_loaded_object, __gconv_release_shlib)
30493 (__gconv_compare_alias): Likewise.
30494 * iconv/gconv_open.c (__gconv_open): Likewise.
30495 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
30496 * iconv/iconvconfig.c (add_module): Likewise.
30497 * intl/dcigettext.c (plural_lookup, guess_category_value)
30498 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
30499 * intl/eval-plural.h (plural_eval): Likewise.
30500 * intl/finddomain.c (_nl_find_domain): Likewise.
30501 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
30502 (_nl_load_domain, _nl_find_msg): Likewise.
30503 (internal_function): Remove definition.
30504 * intl/loadinfo.h (internal_function): Likewise.
30505 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
30507 * intl/localealias.c (internal_function): Remove definition.
30508 (read_alias_file): Remove internal_function.
30509 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
30510 * intl/plural-exp.h (internal_function): Remove definition.
30511 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
30513 * intl/plural.c: Regenerate.
30514 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
30515 * locale/coll-lookup.c (__collidx_table_lookup)
30516 (__collseq_table_lookup): Likewise.
30517 * locale/coll-lookup.h (__collidx_table_lookup)
30518 (__collseq_table_lookup): Likewise.
30519 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
30520 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30521 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
30522 (_nl_unload_locale): Likewise.
30523 * locale/localeinfo.h (struct __locale_data): Remove
30524 internal_function from cleanup member.
30525 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
30526 (_nl_remove_locale, _nl_load_locale_from_archive)
30527 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
30528 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
30529 (_nl_cleanup_time): Remove internal_function.
30530 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
30531 (_nl_parse_alt_digit): Likewise.
30532 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
30533 (_nl_select_era_entry): Likewise.
30534 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
30535 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30536 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30537 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30538 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30540 2017-08-31 Florian Weimer <fweimer@redhat.com>
30542 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
30543 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30544 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
30545 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
30547 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
30548 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
30549 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
30550 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30552 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
30554 2017-08-31 Florian Weimer <fweimer@redhat.com>
30556 * misc/getttyent.c (skip, value): Remove internal_function.
30557 * misc/syslog.c (openlog_internal): Likewise.
30558 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
30560 2017-08-31 Florian Weimer <fweimer@redhat.com>
30562 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
30563 (__nss_rewrite_field): Remove internal_function.
30564 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30565 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30566 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30567 * nss/nsswitch.c (nss_parse_file, nss_getline)
30568 (nss_parse_service_list, nss_new_service): Likewise.
30569 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
30570 * nss/valid_field.c (__nss_valid_field): Likewise.
30571 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30573 2017-08-31 Florian Weimer <fweimer@redhat.com>
30575 * malloc/arena.c (__malloc_fork_lock_parent)
30576 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
30577 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
30578 internal_function from defintions.
30579 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
30580 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
30581 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
30582 internal_function from declarations.
30583 * malloc/malloc.c (internal_function): Do not define.
30584 (mem2mem_check): Remove internal_function from declaration.
30585 (munmap_chunk, mremap_chunk): Remove internal_function.
30586 * malloc/mtrace.c (tr_where): Likewise.
30588 2017-08-31 Florian Weimer <fweimer@redhat.com>
30590 * include/rpc/pmap_clnt.h (__get_socket): Remove
30592 * sunrpc/auth_des.c (synchronize): Likewise.
30593 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
30594 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
30595 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
30596 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
30597 (key_call): Likewise.
30598 * sunrpc/pm_getport.c (__get_socket): Likewise.
30599 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
30600 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
30601 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
30602 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
30603 (invalidate): Likewise.
30604 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
30605 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
30606 (set_input_fragment, get_input_bytes): Likewise.
30608 2017-08-31 Florian Weimer <fweimer@redhat.com>
30610 * malloc/malloc.c (_int_free): Remove locked variable and related
30613 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
30616 * Makerules (build-module-helper-objlist): Filter out
30617 $(elf-objpfx)sofini.os.
30618 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
30621 2017-08-31 Florian Weimer <fweimer@redhat.com>
30623 * libio/fcloseall.c: Assume weak_alias is defined.
30624 * libio/feof.c: Likewise.
30625 * libio/fileno.c: Likewise.
30626 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
30627 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30629 (_IO_file_open): Call __open directly.
30630 (_IO_new_file_sync): Assume ESPIPE is defined.
30631 (_IO_file_seekoff_maybe_mmap): Call __read directly.
30632 (_IO_new_file_write): Call __write directly.
30633 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
30634 * libio/ftello64.c (__ftello64): Assume EIO is defined.
30635 * libio/genops.c: Assume _LIBC is defined.
30636 (save_for_backup): Remove internal_function.
30637 * libio/getc.c: Assume weak_alias is defined.
30638 * libio/getwc.c: Likewise.
30639 * libio/iofclose.c: Assume _LIBC is defined.
30640 * libio/iofdopen.c: Likewise.
30641 (_IO_fcntl): Remove macro definition.
30642 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30643 Call __fcntl directly.
30644 * libio/iofflush.c: Assume weak_alias is defined.
30645 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30647 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30648 * libio/iofgets.c: Likewise.
30649 * libio/iofopen.c: Assume _LIBC is defined.
30650 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30651 * libio/iofputs.c: Assume weak_alias is defined.
30652 * libio/iofread.c: Likewise.
30653 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30654 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30655 * libio/ioftell.c: Assume weak_alias is defined.
30656 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30657 * libio/iofwide.c: Assume _LIBC is defined.
30658 (_IO_fwide): Drop SHARED conditional because it is implied by
30660 * libio/iofwrite.c: Assume weak_alias is defined.
30661 * libio/iogetdelim.c: Likewise.
30662 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30663 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30664 (_IO_getwline): Call __wmemcpy directly.
30665 * libio/iopopen.c: Assume _LIBC is defined.
30666 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30667 (_IO_close): Remove macro definitions.
30668 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30670 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30672 * libio/ioputs.c: Assume weak_alias is defined.
30673 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30674 * libio/iosetbuffer.c: Assume weak_alias is defined.
30675 * libio/iosetvbuf.c: Likewise.
30676 * libio/ioungetc.c: Likewise.
30677 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30678 libc_hidden_def, libc_hidden_weak, NULL are defined.
30679 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30680 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30682 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30684 (_IO_old_file_init_internal): Drop SHARED conditional because it
30685 is implied by SHLIB_COMPAT.
30686 (_IO_old_file_fopen): Call __open directly.
30687 (_IO_old_file_sync): Assume ESPIPE is defined.
30688 (_IO_old_file_write): Call __write directly.
30689 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30690 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30691 Call __fcntl directly.
30692 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30693 (_IO_old_fgetpos): Assume EIO is defined.
30694 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30695 (_IO_old_fgetpos64): Assume EIO is defined.
30696 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30697 (_IO_old_fsetpos): Assume EIO is defined.
30698 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30699 (_IO_old_fsetpos64): Assume EIO is defined.
30700 * libio/oldiopopen.c: Assume _LIBC is defined.
30701 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30702 (_IO_close): Remove macro definitions.
30703 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30705 (_IO_old_proc_close): Call __close, __waitpid directly.
30706 * libio/put.c: Assume weak_alias is defined.
30707 * libio/stdfiles.c: Assume _LIBC is defined.
30708 * libio/stdio.c: Likewise.
30709 * libio/wfileops.c: Likewise.
30710 (_IO_wfile_sync): Assume ESPIPE is defined.
30711 * libio/wgenops.c: Assume _LIBC is defined.
30712 (save_for_wbackup): Remove internal_function.
30714 2017-08-31 Florian Weimer <fweimer@redhat.com>
30716 * malloc/malloc.c (top_check): Change return type to void. Remove
30718 * malloc/hooks.c (top_check): Likewise.
30719 (malloc_check, realloc_check, memalign_check): Adjust.
30721 2017-08-30 Joseph Myers <joseph@codesourcery.com>
30724 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30725 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30726 sigcontext and namespace requirements.
30727 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30728 * sysdeps/m68k/sys/ucontext.h: Likewise.
30729 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30730 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30731 <bits/sigcontext.h>.
30732 (__ctx): Define earlier.
30733 (mcontext_t): Define structure contents rather than using struct
30735 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30736 __glibc_reserved1 instead of __reserved.
30737 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30738 <bits/sigcontext.h>.
30739 (__ctx): Define earlier.
30740 (mcontext_t): Define structure contents rather than using struct
30742 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30743 mcontext_t instead of struct sigcontext.
30744 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30745 <bits/sigcontext.h>.
30746 (__ctx): Define earlier.
30747 (mcontext_t): Define structure contents rather than using struct
30749 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30750 <bits/sigcontext.h>.
30751 (__ctx): Define earlier.
30752 (mcontext_t): Define structure contents rather than using struct
30754 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30755 mcontext_t instead of struct sigcontext.
30756 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30757 mcontext_t instead of struct sigcontext.
30758 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30759 <bits/sigcontext.h>.
30760 (__ctx): New macro.
30761 (struct __ia64_fpreg_mcontext): New type.
30762 (mcontext_t): Define structure contents rather than using struct
30764 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30765 (uc_sigmask): Define using __ctx.
30766 (uc_stack): Likewise.
30767 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30768 <bits/sigcontext.h>.
30769 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30770 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30771 <bits/sigcontext.h>.
30772 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30773 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30774 <bits/sigcontext.h>.
30775 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30776 <bits/sigcontext.h>.
30777 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30778 <bits/sigcontext.h>.
30779 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30780 <bits/sigcontext.h>.
30781 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30782 <bits/sigcontext.h>.
30783 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30784 <bits/sigcontext.h>.
30785 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30786 <bits/sigcontext.h>.
30787 (__ctx): Define earlier.
30788 (mcontext_t): Define structure contents rather than using struct
30790 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30791 <bits/sigcontext.h>. Include <bits/types.h>.
30792 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30793 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30794 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30795 (test-xfail-UNIX98/signal.h/conform): Likewise.
30796 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30797 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30798 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30799 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30800 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30801 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30802 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30803 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30804 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30806 2017-08-30 Florian Weimer <fweimer@redhat.com>
30808 * malloc/dynarray_emplace_enlarge.c
30809 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30810 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30811 * malloc/tst-dynarray.c (test_long_overflow): New function.
30812 (do_test): Call it.
30814 2017-08-30 Florian Weimer <fweimer@redhat.com>
30816 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30817 (set_arena_corrupt): Remove definitions.
30818 (mtrim): Do not check for corrupt arena.
30819 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30822 2017-08-30 Florian Weimer <fweimer@redhat.com>
30825 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
30827 (ptmalloc_init): Do not set or use check_action.
30828 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
30829 call to malloc_printerr. Remove return statement.
30830 (free_check): Likewise. Remove arena unlock.
30831 (top_check): Update comment. Adjust call to malloc_printerr.
30832 Remove heap repair code.
30833 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
30834 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
30835 (sysmalloc): Adjust call to malloc_printerr.
30836 (munmap_chunk, __libc_realloc): Likewise. Remove return
30838 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
30839 Remove errout label and corresponding gotos.
30840 (_int_free): Likewise. Remove arena unlock.
30841 (do_set_mallopt_check): Do not set check_action.
30842 (malloc_printerr): Adjust parameter list. Do not mark arena as
30844 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
30846 * manual/probes.texi (Memory Allocation Probes): Remove
30847 memory_mallopt_check_action.
30849 2017-08-30 Steve Ellcey <sellcey@cavium.com>
30851 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30852 Use pointer to uint64_t instead of long int for sp.
30854 2017-08-30 Florian Weimer <fweimer@redhat.com>
30857 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30858 without printing a backtrace. Do not leak any information in the
30860 * manual/memory.texi (Heap Consistency Checking): Update.
30861 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30863 2017-08-30 Florian Weimer <fweimer@redhat.com>
30865 Do not scale NPTL tests with available number of CPUs.
30866 * nptl/tst-cond16.c (count): Set to constant value of 8.
30867 * nptl/tst-cond18.c (count): Likewise.
30869 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30872 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30873 Define to take a second argument that is a macro that
30874 concatentates a suffix, not the suffix itself.
30875 (__CONCAT_d): New macro.
30876 (__CONCAT_f): Likewise.
30877 (__CONCAT_l): Likewise.
30879 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30881 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30884 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30885 Aurelien Jarno <aurelien@aurel32.net>
30886 Maciej W. Rozycki <macro@imgtec.com>
30889 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30890 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30891 `mips16-syscall6' and `mips16-syscall7'.
30892 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30893 (CFLAGS-mips16-syscall7.c): Remove.
30894 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30895 Remove `__mips16_syscall5', `__mips16_syscall6' and
30896 `__mips16_syscall7'.
30897 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30898 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30899 `__mips_syscall_return'.
30900 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30901 (__mips16_syscall1): Likewise.
30902 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30903 (__mips16_syscall2): Likewise.
30904 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30905 (__mips16_syscall3): Likewise.
30906 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30907 (__mips16_syscall4): Likewise.
30908 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30910 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30912 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30914 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30915 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30916 `__mips16_syscall5'. Remove prototype.
30917 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30918 `__mips16_syscall6'. Remove prototype.
30919 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30920 `__mips16_syscall7'. Remove prototype.
30921 (__nomips16, __mips16_syscall_return): Move to...
30922 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30923 (__nomips16, __mips_syscall_return): ... here.
30924 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30925 `__mips16_syscall_return' to `__mips_syscall_return'.
30926 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30927 `internal_syscall##nr'.
30928 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30929 `internal_syscall##nr'.
30930 (FORCE_FRAME_POINTER): Remove.
30931 (__mips_syscall5): New prototype.
30932 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30933 (__mips_syscall6): New prototype.
30934 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30935 (__mips_syscall7): New prototype.
30936 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30937 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30938 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30939 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30940 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30941 (sysdep_routines): Add libc-do-syscall.
30942 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30943 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30945 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30948 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30949 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30950 (advise_stack_range): New function.
30951 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30952 stack non required to advise_stack_range at allocatestack.c
30954 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30956 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30958 2017-08-29 Florian Weimer <fweimer@redhat.com>
30961 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30962 __end_fct. Mangle __end_fct after setting it to NULL.
30963 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30964 (modules-names, modules-names-tests): Add
30965 tst-gconv-init-failure-mod.
30966 (gconv-modules): New target.
30967 (tst-gconv-init-failure-mod.so): Link against libsupport.
30968 (tst-gconv-init-failure): Depend on gconv-modules,
30969 tst-gconv-init-failure-mod.so.
30970 * iconv/tst-gconv-init-failure-mod.c: New file.
30971 * iconv/tst-gconv-init-failure.c: Likewise.
30972 * iconv/test-gconv-modules: Likewise.
30974 2017-08-29 Florian Weimer <fweimer@redhat.com>
30977 * iconv/gconv_db.c (free_derivation): Remove redundant
30979 (gen_steps): Unconditionally mangle __btowc_fct after
30981 (increment_counter): Likewise. Do not call init_fct for internal
30984 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30987 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30988 (_MSUF_): Remove macro.
30989 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30991 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30992 (__REDIRFROM_X): New macro.
30993 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30995 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30996 (__REDIRTO_X): Likewise.
30997 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30999 (__MATH_REDIRCALL_2): Likewise.
31000 (__MATH_REDIRCALL_INTERNAL): Likewise.
31001 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31002 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31003 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31004 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31005 * math/test-finite-macros.c: New file.
31006 * math/Makefile (tests): Add test-finite-macros.
31007 (CFLAGS-test-finite-macros.c): New variable.
31009 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
31010 Jeff Law <law@redhat.com>
31013 Mangle NULL pointers in iconv/gconv.
31014 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31015 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31016 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31017 is non-NULL before demangling the end_fct. Check for NULL
31018 end_fct after demangling.
31019 (__gconv_release_step): Demangle the end_fct before checking
31020 it for NULL. Remove assert on __shlibc_handle != NULL.
31021 (gen_steps): Don't check btowc_fct for NULL before mangling.
31022 Demangle init_fct before checking for NULL.
31023 (increment_counter): Likewise.
31024 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31025 end_fct for NULL before mangling.
31026 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31029 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
31032 * locale/iso-639.def: add Morisyen.
31034 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31037 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31038 (iszero): New C++ implementation that does not use
31039 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31040 signaling nans are enabled, since __builtin_types_compatible_p
31041 is a C-only feature.
31042 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31043 defined, include ieee754_float128.h for access to the union and
31044 member ieee854_float128.ieee.
31045 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31046 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31047 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31048 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31049 options of test-math-zero on powerpc64le.
31051 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31053 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31054 Change double to float.
31056 2017-08-28 Joseph Myers <joseph@codesourcery.com>
31058 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31060 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31061 conditional code; define contents only for [LIBM_SVID_COMPAT].
31063 2017-08-28 Florian Weimer <fweimer@redhat.com>
31065 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31066 (abi-lp64_be-options): Remove.
31067 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31068 (abi-hard-options): Likewise.
31069 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31070 (abi-o32_hard-options, abi-o32_soft_2008-options)
31071 (abi-o32_hard_2008-options, abi-n32_soft-options)
31072 (abi-n32_hard-options, abi-n32_soft_2008-options)
31073 (abi-n32_hard_2008-options, abi-n64_soft-options)
31074 (abi-n64_hard-options, abi-n64_soft_2008-options)
31075 (abi-n64_hard_2008-options): Likewise.
31076 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31077 (abi-64-v1-options, abi-64-v2-options): Likewise.
31078 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31079 (abi-64-options): Likewise.
31080 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31081 (abi-64-options): Likewise.
31082 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31083 (abi-64-options): Likewise.
31084 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
31085 (abi-64-options, abi-x32-options): Likewise.
31087 2017-08-28 Florian Weimer <fweimer@redhat.com>
31089 Store supported list of SYS_* system calls in the source tree.
31090 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
31091 (bits/syscall.h): Generate from list file.
31092 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
31093 [$(subdir) = misc] (tests): Add tst-syscall-list.
31094 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
31095 [$(subdir) = misc] (tst-syscall-list-macros.list)
31096 [$(subdir) = misc] (tst-syscall-list-nr.list)
31097 (tst-syscall-list-sys.list): Helper targets for new
31098 tst-syscall-list test.
31099 [$(subdir) = misc] (tst-syscall-list.out): Run test script
31100 tst-syscall-list.sh.
31101 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
31102 target. Do not include bits/syscall.d.
31103 [$(subdir) = misc] (generated): Do not update.
31104 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
31105 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
31106 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
31107 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
31109 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
31111 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
31112 (tst-cxa_atexit, tst-on_exit): Likewise.
31113 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
31114 tst-cxa_atexit, and tst-on_exit.
31115 * stdlib/tst-atexit-common.c: New file.
31116 * stdlib/tst-atexit.c: New file.
31117 * stdlib/tst-at_quick_exit.c: New file.
31118 * stdlib/tst-cxa_atexit.c: New file.
31119 * stdlib/tst-on_exit.c: New file.
31121 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31123 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
31124 * mach/stack_chk_fail_local.c: New file.
31125 * hurd/stack_chk_fail_local.c: New file.
31126 * mach/Machrules ($(interface-library)-routines): Add
31127 stack_chk_fail_local.
31128 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
31129 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
31130 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
31131 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
31132 * hurd/Makefile (CFLAGS-hurdstartup.o,
31133 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
31135 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
31137 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31138 (index_cpu_*, index_arch_*): Removed.
31140 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31142 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
31143 Use uint64_t instead of unsigned long.
31145 2017-08-25 Joseph Myers <joseph@codesourcery.com>
31147 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
31148 [__HAVE_DISTINCT_FLOAT128].
31150 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
31151 of <bits/math-finite.h>.
31152 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
31153 inclusion of <bits/math-finite.h>.
31154 * math/bits/math-finite.h (__REDIRTO_X): Do not define
31155 conditionally on [__MATH_DECLARING_LDOUBLE && defined
31156 __NO_LONG_DOUBLE_MATH].
31157 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
31158 (__MATH_REDIRCALL_2): Likewise.
31159 (__MATH_REDIRCALL_INTERNAL): Likewise.
31160 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31161 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
31162 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
31166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
31168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
31170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
31172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
31174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
31176 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31177 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31178 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31179 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
31181 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
31182 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
31183 w_sqrtf_compat-ppc32.
31185 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31187 * math/math.h [defined __cplusplus] (issignaling): In the long
31188 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
31189 is not defined. Call __issignaling, otherwise.
31191 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31193 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
31194 syscall definitions and replace __builtin_expect with __glibc_likely.
31195 * sysdeps/unix/syscall-template.S: Update comment about cancellable
31197 (SYSCALL_CANCELLABLE): Removedefinition
31198 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
31200 (PSEUDO_END): Likewise.
31201 [IS_IN (libpthread)] (CENABLE): Likewise.
31202 [IS_IN (libpthread)] (CDISABLE): Likewise.
31203 [IS_IN (libc)] (CENABLE): Likewise.
31204 [IS_IN (libc)] (CENABLE): Likewise.
31205 [IS_IN (librt)] (CDISABLE): Likewise.
31206 [IS_IN (librt)] (CDISABLE): Likewise.
31207 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31208 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31210 (PSEUDO_END): Likewise.
31211 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31212 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31213 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31214 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31215 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31216 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31217 (CENABLE): Likewise.
31218 (CDISABLE): Likewise.
31219 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31220 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31222 (PSEUDO_END): Likewise.
31223 [IS_IN (libpthread)] (CENABLE): Likewise.
31224 [IS_IN (libpthread)] (CDISABLE): Likewise.
31225 [IS_IN (libc)] (CENABLE): Likewise.
31226 [IS_IN (libc)] (CENABLE): Likewise.
31227 [IS_IN (librt)] (CDISABLE): Likewise.
31228 [IS_IN (librt)] (CDISABLE): Likewise.
31229 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31230 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31232 (PSEUDO_END): Likewise.
31233 [IS_IN (libpthread)] (CENABLE): Likewise.
31234 [IS_IN (libpthread)] (CDISABLE): Likewise.
31235 [IS_IN (libc)] (CENABLE): Likewise.
31236 [IS_IN (libc)] (CENABLE): Likewise.
31237 [IS_IN (librt)] (CDISABLE): Likewise.
31238 [IS_IN (librt)] (CDISABLE): Likewise.
31239 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31240 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31242 (PSEUDO_END): Likewise.
31243 [IS_IN (libpthread)] (CENABLE): Likewise.
31244 [IS_IN (libpthread)] (CDISABLE): Likewise.
31245 [IS_IN (libc)] (CENABLE): Likewise.
31246 [IS_IN (libc)] (CENABLE): Likewise.
31247 [IS_IN (librt)] (CDISABLE): Likewise.
31248 [IS_IN (librt)] (CDISABLE): Likewise.
31249 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31250 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31252 (PSEUDO_END): Likewise.
31253 [IS_IN (libpthread)] (CENABLE): Likewise.
31254 [IS_IN (libpthread)] (CDISABLE): Likewise.
31255 [IS_IN (libc)] (CENABLE): Likewise.
31256 [IS_IN (libc)] (CENABLE): Likewise.
31257 [IS_IN (librt)] (CDISABLE): Likewise.
31258 [IS_IN (librt)] (CDISABLE): Likewise.
31259 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31260 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
31262 (PSEUDO_END): Likewise.
31263 [IS_IN (libpthread)] (CENABLE): Likewise.
31264 [IS_IN (libpthread)] (CDISABLE): Likewise.
31265 [IS_IN (libc)] (CENABLE): Likewise.
31266 [IS_IN (libc)] (CENABLE): Likewise.
31267 [IS_IN (librt)] (CDISABLE): Likewise.
31268 [IS_IN (librt)] (CDISABLE): Likewise.
31269 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31270 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
31272 (PSEUDO_END): Likewise.
31273 [IS_IN (libpthread)] (CENABLE): Likewise.
31274 [IS_IN (libpthread)] (CDISABLE): Likewise.
31275 [IS_IN (libc)] (CENABLE): Likewise.
31276 [IS_IN (libc)] (CENABLE): Likewise.
31277 [IS_IN (librt)] (CDISABLE): Likewise.
31278 [IS_IN (librt)] (CDISABLE): Likewise.
31279 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31280 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
31282 (PSEUDO_END): Likewise.
31283 [IS_IN (libpthread)] (CENABLE): Likewise.
31284 [IS_IN (libpthread)] (CDISABLE): Likewise.
31285 [IS_IN (libc)] (CENABLE): Likewise.
31286 [IS_IN (libc)] (CENABLE): Likewise.
31287 [IS_IN (librt)] (CDISABLE): Likewise.
31288 [IS_IN (librt)] (CDISABLE): Likewise.
31289 (SINGLE_THREAD_P): Likewise.
31290 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
31292 (PSEUDO_END): Likewise.
31293 [IS_IN (libpthread)] (CENABLE): Likewise.
31294 [IS_IN (libpthread)] (CDISABLE): Likewise.
31295 [IS_IN (libc)] (CENABLE): Likewise.
31296 [IS_IN (libc)] (CENABLE): Likewise.
31297 [IS_IN (librt)] (CDISABLE): Likewise.
31298 [IS_IN (librt)] (CDISABLE): Likewise.
31299 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31300 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
31302 (PSEUDO_END): Likewise.
31303 [IS_IN (libpthread)] (CENABLE): Likewise.
31304 [IS_IN (libpthread)] (CDISABLE): Likewise.
31305 [IS_IN (libc)] (CENABLE): Likewise.
31306 [IS_IN (libc)] (CENABLE): Likewise.
31307 [IS_IN (librt)] (CDISABLE): Likewise.
31308 [IS_IN (librt)] (CDISABLE): Likewise.
31309 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31310 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
31311 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31312 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
31313 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
31315 (PSEUDO_END): Likewise.
31316 [IS_IN (libpthread)] (CENABLE): Likewise.
31317 [IS_IN (libpthread)] (CDISABLE): Likewise.
31318 [IS_IN (libc)] (CENABLE): Likewise.
31319 [IS_IN (libc)] (CENABLE): Likewise.
31320 [IS_IN (librt)] (CDISABLE): Likewise.
31321 [IS_IN (librt)] (CDISABLE): Likewise.
31322 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31323 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
31325 (PSEUDO_END): Likewise.
31326 [IS_IN (libpthread)] (CENABLE): Likewise.
31327 [IS_IN (libpthread)] (CDISABLE): Likewise.
31328 [IS_IN (libc)] (CENABLE): Likewise.
31329 [IS_IN (libc)] (CENABLE): Likewise.
31330 [IS_IN (librt)] (CDISABLE): Likewise.
31331 [IS_IN (librt)] (CDISABLE): Likewise.
31332 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31333 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
31335 (PSEUDO_END): Likewise.
31336 [IS_IN (libpthread)] (CENABLE): Likewise.
31337 [IS_IN (libpthread)] (CDISABLE): Likewise.
31338 [IS_IN (libc)] (CENABLE): Likewise.
31339 [IS_IN (libc)] (CENABLE): Likewise.
31340 [IS_IN (librt)] (CDISABLE): Likewise.
31341 [IS_IN (librt)] (CDISABLE): Likewise.
31342 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31343 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
31344 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31345 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
31346 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
31348 (PSEUDO_END): Likewise.
31349 [IS_IN (libpthread)] (CENABLE): Likewise.
31350 [IS_IN (libpthread)] (CDISABLE): Likewise.
31351 [IS_IN (libc)] (CENABLE): Likewise.
31352 [IS_IN (libc)] (CENABLE): Likewise.
31353 [IS_IN (librt)] (CDISABLE): Likewise.
31354 [IS_IN (librt)] (CDISABLE): Likewise.
31355 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31356 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
31358 (PSEUDO_END): Likewise.
31359 [IS_IN (libpthread)] (CENABLE): Likewise.
31360 [IS_IN (libpthread)] (CDISABLE): Likewise.
31361 [IS_IN (libc)] (CENABLE): Likewise.
31362 [IS_IN (libc)] (CENABLE): Likewise.
31363 [IS_IN (librt)] (CDISABLE): Likewise.
31364 [IS_IN (librt)] (CDISABLE): Likewise.
31365 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31367 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
31369 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
31371 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31373 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31375 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31378 * string/stratcliff.c (do_test): Declare size, nchars, inner,
31379 middle and outer with size_t instead of int. Repleace %d and
31380 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
31381 "MAX (outer, nchars - 64)" to support unsigned outer and
31382 nchars. Also exit loop when outer == 0.
31384 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31386 * include/fcntl.h (__fcntl_nocancel): Remove definition.
31387 * include/signal.h (__sigsuspend_nocancel): Likewise.
31388 * include/time.h (__nanosleep_nocancel): Likewise.
31389 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
31390 * login/utmp_file.c: Include non cancellable syscall header.
31391 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
31394 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31396 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
31397 .byte sequences with AVX512F instructions.
31398 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
31399 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
31400 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31401 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
31403 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
31406 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
31407 Steve Ellcey <sellcey@cavium.com>
31409 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
31410 Use PTR_REG macro in cmp instruction.
31412 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31414 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
31415 Change the return type of the ifunc resolver to match the return
31416 type of the target function.
31418 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31420 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
31421 (preadv64): Likewise.
31422 (pwrite64(: Likewise.
31423 (pwritev64): Likewise.
31425 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31426 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
31427 (LOAD_ARGS_0): Likewise.
31428 (LOAD_ARGS_1): Likewise.
31429 (LOAD_ARGS_2): Likewise.
31430 (LOAD_ARGS_3): Likewise.
31431 (LOAD_ARGS_4): Likewise.
31432 (LOAD_ARGS_5): Likewise.
31433 (LOAD_ARGS_6): Likewise.
31434 (LOAD_REGS_0): Likewise.
31435 (LOAD_REGS_1): Likewise.
31436 (LOAD_REGS_2): Likewise.
31437 (LOAD_REGS_3): Likewise.
31438 (LOAD_REGS_4): Likewise.
31439 (LOAD_REGS_5): Likewise.
31440 (LOAD_REGS_6): Likewise.
31441 (ASM_ARGS_0): Likewise.
31442 (ASM_ARGS_1): Likewise.
31443 (ASM_ARGS_2): Likewise.
31444 (ASM_ARGS_3): Likewise.
31445 (ASM_ARGS_4): Likewise.
31446 (ASM_ARGS_5): Likewise.
31447 (ASM_ARGS_6): Likewise.
31448 (LOAD_ARGS_TYPES_1): Likewise.
31449 (LOAD_ARGS_TYPES_2): Likewise.
31450 (LOAD_ARGS_TYPES_3): Likewise.
31451 (LOAD_ARGS_TYPES_4): Likewise.
31452 (LOAD_ARGS_TYPES_5): Likewise.
31453 (LOAD_ARGS_TYPES_6): Likewise.
31454 (LOAD_REGS_TYPES_1): Likewise.
31455 (LOAD_REGS_TYPES_2): Likewise.
31456 (LOAD_REGS_TYPES_3): Likewise.
31457 (LOAD_REGS_TYPES_4): Likewise.
31458 (LOAD_REGS_TYPES_5): Likewise.
31459 (LOAD_REGS_TYPES_6): Likewise.
31460 (TYPEFY): New define.
31461 (ARGIFY): Likewise.
31462 (internal_syscall0): Likewise.
31463 (internal_syscall1): Likewise.
31464 (internal_syscall2): Likewise.
31465 (internal_syscall3): Likewise.
31466 (internal_syscall4): Likewise.
31467 (internal_syscall5): Likewise.
31468 (internal_syscall6): Likewise.
31469 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
31470 (INTERNAL_SYSCALL_NCS): Remove define.
31471 (internal_syscall1): Add define.
31473 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31475 * math/w_remainder_compat.c: Remove duplicate inclusion of
31476 math-svid-compat.h.
31477 * math/w_remainderf_compat.c: Likewise.
31478 * math/w_remainderl_compat.c: Likewise.
31480 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31484 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31487 * math/tgmath.h (__floating_type): Simplify definitions.
31488 (__real_integer_type): New macro.
31489 (__complex_integer_type): Likewise.
31490 (__expr_is_real): Likewise.
31491 (__tgmath_real_type_sub): Update comment to describe handling of
31493 (__tgmath_complex_type_sub): New macro.
31494 (__tgmath_complex_type): Likewise.
31495 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31496 (__TGMATH_CF128): Use __expr_is_real.
31497 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
31499 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31500 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
31501 * math/gen-tgmath-tests.py (Type.create_type): Create complex
31504 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31506 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
31508 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
31510 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
31513 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
31514 nanosleep_not_cancel with __nanosleep_nocancel.
31515 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
31516 (__nanosleep_nocancel): New macro.
31517 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
31519 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
31521 (__nanosleep_nocancel): New prototype.
31523 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
31524 pause_not_cancel with __pause_nocancel.
31525 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
31526 (__pause_nocancel): New macro.
31527 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
31529 (__pause_nocancel): New prototype.
31530 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
31532 2017-08-22 Martin Sebor <msebor@redhat.com>
31534 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
31535 to return a pointer to the same type as the target function.
31537 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31541 * include/printf.h (__printf_fphex): Add attribute_hidden.
31542 (__guess_grouping): New prototype.
31543 * stdio-common/printf_fp.c (__guess_grouping): Removed.
31544 * stdio-common/reg-printf.c (__register_printf_specifier): Add
31545 libc_hidden_proto and libc_hidden_def.
31546 * stdlib/strfmon_l.c (__guess_grouping): Removed.
31547 (__vstrfmon_l): Remove the third argument passed to
31550 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31552 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
31553 definition for issignaling that does not rely on __MATH_TG,
31554 since __MATH_TG uses __builtin_types_compatible_p, which is only
31555 available in C mode.
31556 (CFLAGS-test-math-issignaling.cc): New variable.
31557 * math/Makefile [CXX] (tests): Add test-math-issignaling.
31558 * math/test-math-issignaling.cc: New test for C++ implementation
31559 of type-generic issignaling.
31560 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31561 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
31562 options of test-math-issignaling on powerpc64le.
31564 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31566 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31568 (hidden_proto): Likewise.
31569 (hidden_tls_proto): Likewise.
31570 (__hidden_proto): Likewise.
31572 2017-08-22 Florian Weimer <fweimer@redhat.com>
31574 math: Statically link tests of internal functionality.
31575 * math/Makefile (tests): Remove atest-exp, atest-sincos,
31577 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
31578 (gmp-objs): Remove assignment.
31579 (atest-exp, atest-sincos, atest-exp2): Remove targets.
31581 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31584 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
31586 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
31588 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
31591 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
31592 variable definitions above inclusion of ../Rules.
31594 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31596 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
31597 case calling __builtin_unreachable.
31599 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31601 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
31602 __waitpid_nocancel.
31603 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
31604 (__waitpid_nocancel): New macro.
31605 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
31607 (__waitpid_nocancel): Replace macro with a function.
31608 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
31611 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
31613 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
31614 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
31616 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
31617 __writev_nocancel_nostatus.
31618 (write_call_graph): Likewise.
31619 (write_bb_counts): Likewise.
31620 * resolv/herror.c (herror): Likewise.
31621 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
31623 (__writev_nocancel_nostatus): New macro.
31624 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
31626 (__writev_nocancel_nostatus): New function.
31628 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31631 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31633 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31635 (hidden_proto): Likewise.
31636 (hidden_tls_proto): Likewise.
31637 (__hidden_proto): Likewise.
31640 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31641 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31650 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31651 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31652 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31653 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31654 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31655 GLIBC_2.0 sqrtl symbol.
31657 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31658 [__USE_MISC] (_LIB_VERSION): Likewise.
31659 [__USE_MISC] (struct exception): Likewise.
31660 [__USE_MISC] (matherr): Likewise.
31661 [__USE_MISC] (DOMAIN): Likewise.
31662 [__USE_MISC] (SING): Likewise.
31663 [__USE_MISC] (OVERFLOW): Likewise.
31664 [__USE_MISC] (UNDERFLOW): Likewise.
31665 [__USE_MISC] (TLOSS): Likewise.
31666 [__USE_MISC] (PLOSS): Likewise.
31667 [__USE_MISC] (HUGE): Likewise.
31668 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31669 * math/math-svid-compat.h: New file.
31670 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31672 * include/math.h [!_ISOMAC] (__matherr): Remove.
31673 * manual/arith.texi (FP Exceptions): Do not document matherr.
31674 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31675 (tests-internal): New variable.
31676 (install-lib): Do not add libieee.a.
31677 (non-lib.a): Likewise.
31678 (extra-objs): Do not add libieee.a and ieee-math.o.
31679 (CPPFLAGS-s_lib_version.c): Remove variable.
31680 ($(objpfx)libieee.a): Remove rule.
31681 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31682 * math/ieee-math.c: Remove.
31683 * math/libm-test-support.c (matherr): Remove.
31684 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31685 and license notices. Include <math-svid-compat.h> and
31687 (matherr): Undefine as macro. Use compat_symbol_reference.
31688 (_LIB_VERSION): Likewise.
31689 * math/test-matherr-2.c: New file.
31690 * math/test-matherr-3.c: Likewise.
31691 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31693 (__kernel_standard_f): Likewise.
31694 (__kernel_standard_l): Likewise.
31695 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31696 <math_private.h>. Include <math-svid-compat.h>.
31697 (_LIB_VERSION): Undefine as macro.
31698 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31699 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31700 [LIBM_SVID_COMPAT], use compat_symbol.
31701 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31702 <math_private.h>. Include <math-svid-compat.h>.
31703 (matherr): Undefine as macro.
31704 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31706 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31707 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31708 compat_symbol_reference.
31709 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31710 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31711 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31712 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31713 (MATHERR_D): Remove declaration.
31714 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31715 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31716 [LIBM_BUILD] (pmatherrf): Likewise.
31717 [LIBM_BUILD] (pmatherr): Likewise.
31718 [LIBM_BUILD] (pmatherrl): Likewise.
31719 (DOMAIN): Likewise.
31721 (OVERFLOW): Likewise.
31722 (UNDERFLOW): Likewise.
31725 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31726 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31728 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31729 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31731 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31732 * math/w_acos_compat.c: Likewise.
31733 * math/w_acosf_compat.c: Likewise.
31734 * math/w_acosh_compat.c: Likewise.
31735 * math/w_acoshf_compat.c: Likewise.
31736 * math/w_acoshl_compat.c: Likewise.
31737 * math/w_acosl_compat.c: Likewise.
31738 * math/w_asin_compat.c: Likewise.
31739 * math/w_asinf_compat.c: Likewise.
31740 * math/w_asinl_compat.c: Likewise.
31741 * math/w_atan2_compat.c: Likewise.
31742 * math/w_atan2f_compat.c: Likewise.
31743 * math/w_atan2l_compat.c: Likewise.
31744 * math/w_atanh_compat.c: Likewise.
31745 * math/w_atanhf_compat.c: Likewise.
31746 * math/w_atanhl_compat.c: Likewise.
31747 * math/w_cosh_compat.c: Likewise.
31748 * math/w_coshf_compat.c: Likewise.
31749 * math/w_coshl_compat.c: Likewise.
31750 * math/w_exp10_compat.c: Likewise.
31751 * math/w_exp10f_compat.c: Likewise.
31752 * math/w_exp10l_compat.c: Likewise.
31753 * math/w_exp2_compat.c: Likewise.
31754 * math/w_exp2f_compat.c: Likewise.
31755 * math/w_exp2l_compat.c: Likewise.
31756 * math/w_fmod_compat.c: Likewise.
31757 * math/w_fmodf_compat.c: Likewise.
31758 * math/w_fmodl_compat.c: Likewise.
31759 * math/w_hypot_compat.c: Likewise.
31760 * math/w_hypotf_compat.c: Likewise.
31761 * math/w_hypotl_compat.c: Likewise.
31762 * math/w_j0_compat.c: Likewise.
31763 * math/w_j0f_compat.c: Likewise.
31764 * math/w_j0l_compat.c: Likewise.
31765 * math/w_j1_compat.c: Likewise.
31766 * math/w_j1f_compat.c: Likewise.
31767 * math/w_j1l_compat.c: Likewise.
31768 * math/w_jn_compat.c: Likewise.
31769 * math/w_jnf_compat.c: Likewise.
31770 * math/w_jnl_compat.c: Likewise.
31771 * math/w_lgamma_main.c: Likewise.
31772 * math/w_lgamma_r_compat.c: Likewise.
31773 * math/w_lgammaf_main.c: Likewise.
31774 * math/w_lgammaf_r_compat.c: Likewise.
31775 * math/w_lgammal_main.c: Likewise.
31776 * math/w_lgammal_r_compat.c: Likewise.
31777 * math/w_log10_compat.c: Likewise.
31778 * math/w_log10f_compat.c: Likewise.
31779 * math/w_log10l_compat.c: Likewise.
31780 * math/w_log2_compat.c: Likewise.
31781 * math/w_log2f_compat.c: Likewise.
31782 * math/w_log2l_compat.c: Likewise.
31783 * math/w_log_compat.c: Likewise.
31784 * math/w_logf_compat.c: Likewise.
31785 * math/w_logl_compat.c: Likewise.
31786 * math/w_pow_compat.c: Likewise.
31787 * math/w_powf_compat.c: Likewise.
31788 * math/w_powl_compat.c: Likewise.
31789 * math/w_remainder_compat.c: Likewise.
31790 * math/w_remainderf_compat.c: Likewise.
31791 * math/w_remainderl_compat.c: Likewise.
31792 * math/w_scalb_compat.c: Likewise.
31793 * math/w_scalbf_compat.c: Likewise.
31794 * math/w_scalbl_compat.c: Likewise.
31795 * math/w_sinh_compat.c: Likewise.
31796 * math/w_sinhf_compat.c: Likewise.
31797 * math/w_sinhl_compat.c: Likewise.
31798 * math/w_sqrt_compat.c: Likewise.
31799 * math/w_sqrtf_compat.c: Likewise.
31800 * math/w_sqrtl_compat.c: Likewise.
31801 * math/w_tgamma_compat.c: Likewise.
31802 * math/w_tgammaf_compat.c: Likewise.
31803 * math/w_tgammal_compat.c: Likewise.
31804 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31805 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31806 * sysdeps/ieee754/k_standard.c: Likewise.
31807 * sysdeps/ieee754/k_standardf.c: Likewise.
31808 * sysdeps/ieee754/k_standardl.c: Likewise.
31809 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31810 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31811 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31812 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31813 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31814 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31815 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31816 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31817 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31822 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
31823 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31824 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31825 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31827 2017-08-21 Florian Weimer <fweimer@redhat.com>
31830 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
31831 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
31832 Move before inclusion of ../Rules.
31834 2017-08-21 Florian Weimer <fweimer@redhat.com>
31837 * assert/assert.h (assert): Use static_cast (bool) for C++.
31838 Use the ternary operator in the warning branch for GNU C.
31839 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
31840 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
31841 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
31842 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
31843 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
31845 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31848 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31849 (__syscall_clock_gettime): Add attribute_hidden.
31850 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
31851 (__start_context): Likewise.
31853 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31855 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31857 (hidden_proto): Likewise.
31858 (hidden_tls_proto): Likewise.
31859 (__hidden_proto): Likewise.
31861 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31863 * include/libc-symbols.h (attribute_hidden): Enable hidden
31864 visibility in libc.a compiled with PIE.
31866 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31869 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31870 Add attribute_hidden.
31872 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31875 * Makerules (all-nonlib): Add $(others-extras).
31876 * catgets/Makefile (others-extras): New.
31877 * elf/Makefile (others-extras): Likewise.
31878 * nss/Makefile (others-extras): Likewise.
31880 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31883 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31884 * elf/dl-open.c: Include <libc-internal.h>.
31885 (__libc_multiple_libcs): Removed.
31886 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31888 * include/libc-internal.h (__libc_multiple_libcs): New.
31889 * misc/sbrk.c: Include <libc-internal.h>.
31890 (__libc_multiple_libcs): Removed.
31892 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31895 * grp/initgroups.c (__nss_group_database): Removed.
31896 (__nss_initgroups_database): Likewise.
31897 * nscd/gai.c (__nss_hosts_database): Likewise.
31898 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31899 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31900 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31901 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31902 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31903 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31905 * nss/nsswitch.c (__nss_database_custom): Define only if
31906 USE_NSCD is defined.
31907 (__nss_configure_lookup): Use __nss_database_custom only if
31908 USE_NSCD is defined.
31909 * nss/nsswitch.h (__nss_database_custom): Declare only if
31910 USE_NSCD is defined. Add attribute_hidden.
31911 (__nss_setent): Add attribute_hidden.
31912 (__nss_endent): Likewise.
31913 (__nss_getent_r): Likewise.
31914 (__nss_getent): Likewise.
31915 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31917 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31920 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31921 libc_hidden_proto and libc_hidden_def.
31923 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31926 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31927 Add libc_hidden_proto.
31928 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31929 Add libc_hidden_def.
31931 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31934 * gmon/Makefile (routines): Remove bb_init_func and
31936 (elide-routines.os): Removed.
31937 * gmon/bb_exit_func.c: Likewise.
31938 * gmon/bb_init_func.c: Likewise.
31939 * include/sys/gmon.h (__bb): Likewise.
31940 (__bb_init_func): Likewise.
31941 (__bb_exit_func): Likewise.
31942 * sysdeps/alpha/bb_init_func.S: Likewise.
31944 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31946 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31947 * include/setjmp.h (____longjmp_chk): Here. Add
31950 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31953 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31955 (__strspn_sse2): Likewise.
31957 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31959 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31960 (close_not_cancel_no_status): Likewise.
31961 (__close_nocancel): New macro.
31962 (__close_nocancel_nostatus): Likewise.
31963 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31965 (close_not_cancel): Likewise.
31966 (close_not_cancel_no_status): Likewise.
31967 (__close_nocancel): New prototype.
31968 (__close_nocancel_nostatus): New function.
31969 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31970 * catgets/open_catalog.c (__open_catalog): Replace
31971 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31972 * gmon/gmon.c (write_gmon): Likewise.
31973 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31974 * intl/loadmsgcat.c (close): Likewise.
31975 * io/ftw.c (open_dir_stream): Likewise.
31976 (ftw_startup): Likewise.
31977 * libio/fileops.c (_IO_file_open): Likewise.
31978 (_IO_file_close_mmap): Likewise.
31979 (_IO_file_close): Likewise.
31980 * libio/iopopen.c (_IO_dup2): Likewise.
31981 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31982 * locale/loadlocale.c (_nl_load_locale): Likewise.
31983 * login/utmp_file.c (pututline_file): Likewise.
31984 (endutent_file): Likewise.
31985 * misc/daemon.c (daemon): Likewise.
31986 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31987 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31988 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31989 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31990 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31991 * nscd/nscd_helper.c (open_socket): Likewise.
31992 (__nscd_open_socket): Likewise.
31993 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31994 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31995 (__nscd_innetgr): Likewise.
31996 * nss/nss_db/db-open.c (internal_setent): Likewise.
31997 * resolv/res-close.c (__res_iclose): Likewise.
31998 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31999 * sysdeps/posix/closedir.c (__closedir): Likewise.
32000 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32001 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32002 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32003 (opendir_tail): Likewise.
32004 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32005 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32006 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32007 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32008 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32009 (gethostid): Likewise.
32010 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32011 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32013 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32014 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32015 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32016 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32018 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32019 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32020 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32022 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32023 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32025 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32027 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32028 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32029 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32032 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32033 (openat_not_cancel_3): Likewise.
32034 (openat64_not_cancel_3): Likewise).
32035 (openat_not_cancel_3): Likewise).
32036 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32038 (openat_not_cancel_3): Likewise.
32039 (openat64_not_cancel): Likewise.
32040 (openat64_not_cancel_3): Likewise.
32041 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32042 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32043 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32044 __open{64}_nocancel.
32045 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32046 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32047 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32049 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32052 * include/argz.h (__argz_create_sep): New function prototype.
32053 (__argz_append): Likewise.
32054 (__argz_add): Likewise.
32055 (__argz_add_sep): Likewise.
32056 (__argz_delete): Likewise.
32057 (__argz_insert): Likewise.
32058 (__argz_replace): Likewise.
32059 * string/argz.h (__argz_create_sep): Removed.
32060 (__argz_append): Likewise.
32061 (__argz_add): Likewise.
32062 (__argz_add_sep): Likewise.
32063 (__argz_delete): Likewise.
32064 (__argz_insert): Likewise.
32065 (__argz_replace): Likewise.
32067 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32069 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32070 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32071 (GNU_PROPERTY_STACK_SIZE): Likewie.
32072 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32073 (GNU_PROPERTY_LOPROC): Likewise.
32074 (GNU_PROPERTY_HIPROC): Likewise.
32075 (GNU_PROPERTY_LOUSER): Likewise.
32076 (GNU_PROPERTY_HIUSER): Likewise.
32077 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32078 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32079 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32080 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32081 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32082 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32083 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
32084 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
32085 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
32086 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
32087 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
32088 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
32089 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
32090 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
32091 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
32092 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
32093 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
32094 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
32095 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
32096 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
32097 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
32098 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
32099 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
32101 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32103 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
32106 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32109 * math/math.h (isinf): Check if in C or C++ mode before using
32110 __builtin_types_compatible_p, since this is a C mode feature.
32112 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32114 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
32115 (__write_nocancel): New macro.
32116 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
32117 Rewrite as a function prototype.
32118 (write_not_cancel): Remove macro.
32119 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
32120 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
32121 (write_gmon): Likewise.
32122 * libio/fileops.c (_IO_new_file_write): Likewise.
32123 * login/utmp_file.c (pututline_file): Likewise.
32124 (updwtmp_file): Likewise.
32125 * stdio-common/psiginfo.c (psiginfo): Likewise.
32126 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32127 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32128 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32130 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32133 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
32134 (__read_nocancel): New macro.
32135 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32137 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
32139 (__read_nocancel): New prototype.
32140 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
32141 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
32142 with __read_nocancel.
32143 * intl/loadmsgcat.c (read): Likewise.
32144 * libio/fileops.c (_IO_file_read): Likewise.
32145 * locale/loadlocale.c (_nl_load_locale): Likewise.
32146 * login/utmp_file.c (getutent_r_file): Likewise.
32147 (internal_getut_r): Likewise.
32148 (getutline_r_file): Likewise.
32149 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32150 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32151 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32152 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32154 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
32155 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32156 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32158 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32160 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32162 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32164 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32166 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32169 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
32170 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
32173 2017-08-17 DJ Delorie <dj@redhat.com>
32175 * bug17079.c: Update to new test harness.
32176 * test-digits-dots.c: Likewise.
32177 * test-netdb.c: Likewise.
32178 * tst-field.c: Likewise.
32179 * tst-nss-getpwent.c: Likewise.
32180 * tst-nss-static.c: Likewise.
32181 * tst-nss-test1.c: Likewise.
32182 * tst-nss-test2.c: Likewise.
32183 * tst-nss-test3.c: Likewise.
32184 * tst-nss-test4.c: Likewise.
32185 * tst-nss-test5.c: Likewise.
32187 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32189 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
32190 (open_not_cancel_2): Likewise.
32191 (open_nocancel): New macro.
32192 (open64_nocancel): Likewise.
32193 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
32194 (open_not_cancel_2): Likewise.
32195 (__open_nocancel): New prototype.
32196 (__open64_nocancel): Likewise.
32197 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32199 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
32200 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32201 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32202 with __open_nocancel.
32203 * csu/check_fds.c (check_one_fd): Likewise.
32204 * gmon/gmon.c (write_gmon): Likewise.
32205 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32206 * intl/loadmsgcat.c (open): Likewise.
32207 * libio/fileops.c (_IO_file_open): Likewise.
32208 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32209 * locale/loadlocale.c (_nl_load_locale): Likewise.
32210 * login/utmp_file.c (setutent_file): Likewise.
32211 * misc/daemon.c (daemon): Likewise.
32212 * nss/nss_db/db-open.c (internal_setent): Likewise.
32213 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32214 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32215 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32216 (__opendir): Likewise.
32217 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32218 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32219 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32220 (gethostid): Likewise.
32221 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32222 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32224 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32225 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32226 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32227 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32229 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32231 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32233 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32235 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32237 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32239 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32240 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32242 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32244 * benchtests/bench-skeleton.c (main): Add support for
32245 latency benchmarking.
32246 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32248 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32250 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32251 the startup object.
32253 2017-08-17 Florian Weimer <fweimer@redhat.com>
32255 * include/sys/socket.h (__opensock): Remove internal_function.
32256 * socket/opensock.c (__opensock): Likewise.
32257 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32259 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32262 * signal/bits/types/__sigval_t.h: New file.
32263 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32264 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32265 and define sigval_t using __sigval_t.
32266 * include/bits/types/__sigval_t.h: New file.
32267 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32268 instead of <bits/types/__sigval_t.h>.
32269 (struct sigevent): Use __sigval_t instead of sigval_t.
32270 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32271 instead of <bits/types/__sigval_t.h>.
32272 (siginfo_t): Use __sigval_t instead of sigval_t.
32273 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32274 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32275 (struct sigevent): Use __sigval_t instead of sigval_t.
32276 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
32277 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32278 (siginfo_t): Use __sigval_t instead of sigval_t.
32279 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
32281 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32283 * NEWS: Remove "[Add new features here]" for 2.27.
32285 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32287 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
32290 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32292 * NEWS: Mention x86-64 FMA optimization.
32294 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32297 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32299 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
32300 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
32301 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
32303 2017-08-16 Andreas Schwab <schwab@suse.de>
32307 * elf/ldd.bash.in: Never run file directly.
32309 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
32312 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
32313 (L(SP_INF_0)): Likewise.
32315 2017-08-15 Florian Weimer <fweimer@redhat.com>
32317 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
32320 2017-08-15 Florian Weimer <fweimer@redhat.com>
32322 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
32323 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
32324 BROKEN_THREAD_SIGNALS code.
32325 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
32326 request_list): Remove caller_pid member used for
32327 BROKEN_THREAD_SIGNALS.
32328 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
32329 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32330 Remove BROKEN_THREAD_SIGNALS support.
32331 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
32332 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
32334 2017-08-15 Florian Weimer <fweimer@redhat.com>
32336 * gmon/Makefile (tests): Add tst-gmon.
32337 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
32339 (tests-special): Add tst-gmon-prof.out.
32340 (tst-gmon.out): Depend on clean-tst-gmon-data.
32341 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
32342 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
32343 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
32345 * aclocal.m4 (GPROF): Set and substitute.
32346 * config.amke.in (GPROF): Set.
32347 * configure: Regenerate.
32349 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
32351 * elf/elf.h A (NT_PPC_TAR): New macro.
32352 (NT_PPC_PPR): Likewise.
32353 (NT_PPC_DSCR): Likewise.
32354 (NT_PPC_EBB): Likewise.
32355 (NT_PPC_PMU): Likewise.
32356 (NT_PPC_TM_CGPR): Likewise.
32357 (NT_PPC_TM_CFPR): Likewise.
32358 (NT_PPC_TM_CVMX): Likewise.
32359 (NT_PPC_TM_CVSX): Likewise.
32360 (NT_PPC_TM_SPR): Likewise.
32361 (NT_PPC_TM_CTAR): Likewise.
32362 (NT_PPC_TM_CPPR): Likewise.
32363 (NT_PPC_TM_CDSCR): Likewise.
32365 2017-08-15 Florian Weimer <fweimer@redhat.com>
32367 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
32368 regparm (2) instead of internal_function.
32369 (_MCOUNT_DECL): Adjust.
32371 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32373 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
32374 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32376 2017-08-14 Joseph Myers <joseph@codesourcery.com>
32378 * conform/data/sys/wait.h-data (si_value): Do not expect for
32381 2017-08-14 Florian Weimer <fweimer@redhat.com>
32384 NSS: Create stubs for accidentally exported lookup functions.
32385 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
32386 Remove declaration.
32387 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
32388 (ether_hostton): Call __nss_ethers_lookup2 instead.
32389 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
32390 (ether_ntohost): Call __nss_ethers_lookup2 instead.
32391 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
32392 (setup): Call __nss_netgroup_lookup2 instead.
32393 * nss/Makefile (routines): Add compat-lookup.
32394 * nss/Versions (GLIBC_2.27): Add symbol version.
32395 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
32396 (DB_COMPAT_FCT): Remove.
32397 * nss/compat-lookup.c: New file.
32398 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
32399 from databases.def.
32400 * nss/service-lookup.c (NO_COMPAT): Remove definition.
32401 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
32402 (netname2user): Call __nss_publickey_lookup2 instead.
32403 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
32404 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
32407 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32408 Sergei Trofimovich <slyfox@inbox.ru>
32411 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
32412 Rename to MMAP2_PAGE_UNIT.
32413 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
32414 __OFF_T_MATCHES_OFF64_T is not defined.
32415 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
32417 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
32418 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
32420 2017-08-14 Florian Weimer <fweimer@redhat.com>
32422 i386: Do not set internal_function.
32423 * config.h.in (USE_REGPARMS, internal_function): Remove.
32424 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
32425 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
32427 2017-08-14 Florian Weimer <fweimer@redhat.com>
32429 * elf/dl-init.c (_dl_init): Remove internal_function.
32430 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
32431 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
32433 2017-08-14 Florian Weimer <fweimer@redhat.com>
32435 * elf/rtld.c (_dl_start): Remove internal_function.
32436 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
32439 2017-08-14 Florian Weimer <fweimer@redhat.com>
32441 * elf/dl-fini.c (_dl_fini): Remove internal_function
32442 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32444 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
32446 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
32447 (bit_cpu_SHSTK): Likewise.
32448 (index_cpu_IBT): Likewise.
32449 (index_cpu_SHSTK): Likewise.
32450 (reg_IBT): Likewise.
32451 (reg_SHSTK): Likewise.
32452 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32453 Handle index_cpu_IBT and index_cpu_SHSTK.
32455 2017-08-14 Mike FABIAN <mfabian@redhat.com>
32458 * po/fr.po: Fix spelling mistake.
32460 2017-08-13 Florian Weimer <fweimer@redhat.com>
32462 * elf/dl-addr.c (_dl_addr): Remove internal_function.
32463 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
32464 (_dl_catch_error, _dl_receive_error): Likewise.
32465 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
32466 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
32467 (_dl_deallocate_tls): Likewise.
32468 * include/dlfcn.h (_dl_addr): Likewise.
32469 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
32470 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
32471 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
32474 2017-08-13 Florian Weimer <fweimer@redhat.com>
32476 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
32477 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
32479 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
32481 2017-08-13 Florian Weimer <fweimer@redhat.com>
32483 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
32485 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
32486 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
32487 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
32488 internal_function from _dl_make_stack_executable_hook member.
32489 (_dl_make_stack_executable): Remove internal_function.
32490 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
32492 * sysdeps/unix/sysv/linux/dl-execstack.c
32493 (_dl_make_stack_executable): Likewise.
32495 2017-08-13 Florian Weimer <fweimer@redhat.com>
32497 * sysdeps/unix/sysv/linux/netlinkaccess.h
32498 (__netlink_assert_response): Remove internal_function.
32499 * sysdeps/unix/sysv/linux/netlink_assert_response.c
32500 (__netlink_assert_response): Likewise.
32502 2017-08-13 Florian Weimer <fweimer@redhat.com>
32504 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
32506 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
32508 2017-08-13 Florian Weimer <fweimer@redhat.com>
32510 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
32512 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
32513 * inet/netgroup.h (__internal_setnetgrent)
32514 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32515 * inet/getnetgrent_r.c (__internal_setnetgrent)
32516 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32517 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
32518 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
32519 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
32520 * nss/nsswitch.h (db_lookup_function): Likewise.
32522 2017-08-13 Florian Weimer <fweimer@redhat.com>
32524 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
32525 Remove internal_function.
32526 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
32527 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
32528 message argument on the stack.
32529 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
32532 2017-08-12 Mike FABIAN <mfabian@redhat.com>
32534 Adapt test case data to the changes in the thousands
32538 * localedata/tst-langinfo.sh: Adapt test case data.
32539 * stdlib/tst-strfmon_l.c: Likewise.
32540 * stdlib/tst-strtod4.c: Likewise.
32541 * stdlib/tst-strtod5i.c: Likewise.
32543 2017-08-11 Florian Weimer <fweimer@redhat.com>
32546 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
32547 Suppress pedantic warning resulting from statement expression.
32548 (__ASSERT_FUNCTION): Add missing __extension__.
32550 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32552 * benchtests/bench-memmove-large.c: Print output in JSON
32554 * benchtests/bench-memmove.c: Likewise.
32556 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
32557 * benchtests/bench-memchr.c (do_one_test): Likewise.
32558 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
32559 * benchtests/bench-memcpy.c (do_one_test): Likewise.
32560 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
32561 * benchtests/bench-memmove.c (do_one_test): Likewise.
32562 * benchtests/bench-memset-large.c (do_one_test): Likewise.
32563 * benchtests/bench-memset.c (do_one_test): Likewise.
32564 * benchtests/bench-string.h (test_init): Remove memsets.
32566 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32569 (Computing the Width of an Integer Data Type): Rename section to
32570 "Width of an Integer Type". Remove inaccurate statement regarding
32571 lack of C language facilities for determining width of integer
32572 types, and reorder content to improve flow and context of
32575 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32577 * lang.texi (va_copy): Change standard from ISO to C99.
32578 (__va_copy): Add standard and header annotation.
32579 Update description for clarity of origins and current use.
32581 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32584 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
32585 xssqrtqp requires operands to be in Vector Registers
32586 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
32587 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
32588 (__ieee754_sqrtf128): Likewise.
32590 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
32592 * sysdeps/aarch64/memcmp.S (memcmp):
32593 Rewrite of optimized memcmp.
32595 2017-08-10 Florian Weimer <fweimer@redhat.com>
32597 Introduce ld.so exceptions.
32598 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
32599 (_dl_exception_create, _dl_exception_create_format)
32600 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
32601 (_dl_catch_exception): Declare.
32602 (_dl_catch_error): Update comment.
32603 * elf/dl-error-skeleton.c (struct catch): Replace objname,
32604 errstring, malloced members with exception member.
32605 (_dl_out_of_memory): Remove.
32606 (fatal_error): New function, extracted from _dl_signal_error.
32607 (_dl_signal_exception, _dl_signal_cexception): New functions.
32608 (_dl_signal_error): Call _dl_exception_create to allocate an
32610 (_dl_catch_exception): New function, based on _dl_catch_error.
32611 (_dl_catch_error): Implement using _dl_catch_exception.
32612 * elf/dl-exception.c: New file.
32613 * elf/Makefile (dl-routines): Add dl-exception.
32614 (elide-routines.os): Likewise.
32615 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
32616 _dl_exception_create_format, _dl_exception_free.
32617 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
32618 _dl_signal_exception.
32619 * elf/dl-lookup.c (make_string): Remove.
32620 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
32621 _dl_signal_cexception, _dl_exception_free.
32622 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
32623 _dl_signal_exception.
32624 * elf/dl-sym.c (do_sym): Likewise.
32625 * elf/dl-version.c (make_string): Remove.
32626 (match_symbol): Use _dl_exception_create_format,
32627 _dl_signal_cexception, _dl_exception_free.
32628 (_dl_check_map_versions): Likewise.
32629 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
32630 _dl_catch_exception.
32631 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
32632 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
32633 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
32634 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
32635 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
32636 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
32637 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
32638 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32640 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32647 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32648 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32649 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32651 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32653 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32655 2017-08-10 Florian Weimer <fweimer@redhat.com>
32657 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32658 attribute_hidden, internal_function.
32659 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32662 2017-08-10 Florian Weimer <fweimer@redhat.com>
32664 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32665 function which calls __builtin_unreachable.
32667 2017-08-10 Mike FABIAN <mfabian@redhat.com>
32669 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32670 Indian monetary formatting
32671 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32674 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32676 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32677 Fix typo in comment.
32680 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32681 PTRACE_SEIZE_DEVEL): Remove.
32682 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32683 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32684 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32685 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32686 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32688 2017-08-09 Joseph Myers <joseph@codesourcery.com>
32690 * posix/bits/types.h (__qaddr_t): Remove.
32693 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32694 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32696 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32697 (ucontext_t): Use __ctx with uc_flags.
32698 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32699 (__ctxt): Likewise.
32700 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32702 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32703 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32705 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32706 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32708 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32710 (ucontext_t): Use __ctx with uc_flags.
32711 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32712 (ucontext_t): Use __ctx with uc_flags.
32713 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32714 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32715 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32716 (ucontext_t): Use __ctx with uc_flags.
32717 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32718 undefine further down.
32719 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32721 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32722 undefine further down.
32723 (ucontext_t): Use __ctx with uc_flags.
32724 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32725 undefine further down.
32726 (ucontext_t): Use __ctx with uc_flags.
32727 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32728 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32729 Rename uc_pad to __glibc_reserved1.
32730 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32731 undefine further down.
32732 (ucontext_t): Use __ctx with uc_flags.
32733 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32735 (ucontext_t): Use __ctx with uc_flags.
32736 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32737 __ctx with uc_flags.
32738 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32739 (ucontext_t): Use __ctx with uc_flags.
32740 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32741 __ctx with uc_flags.
32743 2017-08-09 Florian Weimer <fweimer@redhat.com>
32746 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32747 before early return.
32749 2017-08-09 Andreas Schwab <schwab@suse.de>
32752 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32756 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32757 tst-compat-forwarder.
32758 (modules-names): Add tst-compat-forwarder-mod.
32759 ($(objpfx)tst-compat-forwarder): Depend on
32760 $(objpfx)tst-compat-forwarder-mod.so.
32761 * nptl/tst-compat-forwarder.c: New file.
32762 * nptl/tst-compat-forwarder-mod.c: New file.
32764 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32766 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32769 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32770 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32772 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32774 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32775 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32776 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32777 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32779 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32782 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32785 * manual/setjmp.texi (getcontex): Document uc_stack value
32786 compatibility differences.
32788 2017-08-08 Joseph Myers <joseph@codesourcery.com>
32790 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32791 (old_malloc_hook): Likewise.
32792 (old_memalign_hook): Likewise.
32793 (old_realloc_hook): Likewise.
32794 (struct hdr): Likewise.
32796 (freehook): Likewise.
32797 (mallochook): Likewise.
32798 (memalignhook): Likewise.
32799 (reallochook): Likewise.
32800 (mprobe): Likewise.
32801 * malloc/mtrace.c (mallwatch): Likewise.
32802 (tr_old_free_hook): Likewise.
32803 (tr_old_malloc_hook): Likewise.
32804 (tr_old_realloc_hook): Likewise.
32805 (tr_old_memalign_hook): Likewise.
32806 (tr_where): Likewise.
32807 (lock_and_info): Likewise.
32808 (tr_freehook): Likewise.
32809 (tr_mallochook): Likewise.
32810 (tr_reallochook): Likewise.
32811 (tr_memalignhook): Likewise.
32812 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32813 * misc/mmap.c (__mmap): Likewise.
32814 * misc/mmap64.c (__mmap64): Likewise.
32815 * misc/mprotect.c (__mprotect): Likewise.
32816 * misc/msync.c (msync): Likewise.
32817 * misc/munmap.c (__munmap): Likewise.
32818 * posix/posix_madvise.c (posix_madvise): Likewise.
32819 * socket/send.c (__send): Likewise.
32820 * socket/sendto.c (__sendto): Likewise.
32821 * socket/setsockopt.c (__setsockopt): Likewise.
32822 * string/memcmp.c (__ptr_t): Remove macro.
32823 (MEMCMP): Use void * instead of ptr_t.
32824 * string/memrchr.c (__ptr_t): Remove macro.
32825 (__memrchr): Use void * instead of ptr_t.
32826 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
32827 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32828 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32829 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
32830 * sysdeps/mach/msync.c (msync): Likewise.
32831 * sysdeps/mach/munmap.c (__munmap): Likewise.
32832 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
32834 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32835 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
32836 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
32837 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
32838 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
32839 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32840 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
32841 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
32843 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32844 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
32845 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
32846 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
32847 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
32848 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
32849 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
32850 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
32851 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32853 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32854 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32855 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32856 (MEMCMP): Use void * instead of ptr_t.
32857 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32858 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32860 2017-08-08 Florian Weimer <fweimer@redhat.com>
32862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32865 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32868 * csu/libc-tls.c: Include <startup.h> first.
32869 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32870 * elf/dl-tunables.c: Include <startup.h> first.
32871 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32872 * sysdeps/generic/startup.h: New file.
32873 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32874 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32875 (I386_USE_SYSENTER): New. Defined to 0.
32877 2017-08-08 Andreas Schwab <schwab@suse.de>
32880 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32881 * nptl/pt-system.c (system): Likewise.
32883 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32886 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32888 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32889 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32890 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32891 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32892 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32893 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32894 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32896 2017-08-07 Joseph Myers <joseph@codesourcery.com>
32899 * bits/sigaction.h (struct sigaction): Define sa_handler and
32900 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32901 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32902 [__USE_XOPEN_EXTENDED].
32903 (SA_RESTART): Likewise.
32904 (SA_NODEFER): Likewise.
32905 (SA_RESETHAND): Likewise.
32906 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32907 (struct sigaction): Define sa_handler and sa_sigaction using union
32908 also for [__USE_XOPEN_EXTENDED].
32909 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32910 [__USE_XOPEN_EXTENDED].
32911 (SA_RESTART): Likewise.
32912 (SA_NODEFER): Likewise.
32913 (SA_RESETHAND): Likewise.
32914 * sysdeps/unix/sysv/linux/bits/sigaction.h
32915 (struct sigaction): Define sa_handler and sa_sigaction using union
32916 also for [__USE_XOPEN_EXTENDED].
32917 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32918 [__USE_XOPEN_EXTENDED].
32919 (SA_RESTART): Likewise.
32920 (SA_NODEFER): Likewise.
32921 (SA_RESETHAND): Likewise.
32922 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32923 (struct sigaction): Define sa_handler and sa_sigaction using union
32924 also for [__USE_XOPEN_EXTENDED].
32925 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32926 [__USE_XOPEN_EXTENDED].
32927 (SA_RESTART): Likewise.
32928 (SA_NODEFER): Likewise.
32929 (SA_RESETHAND): Likewise.
32930 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32931 (struct sigaction): Define sa_handler and sa_sigaction using union
32932 also for [__USE_XOPEN_EXTENDED].
32933 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32934 [__USE_XOPEN_EXTENDED].
32935 (SA_RESTART): Likewise.
32936 (SA_NODEFER): Likewise.
32937 (SA_RESETHAND): Likewise.
32938 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32939 (struct sigaction): Define sa_handler and sa_sigaction using union
32940 also for [__USE_XOPEN_EXTENDED].
32941 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32942 [__USE_XOPEN_EXTENDED].
32943 (SA_RESTART): Likewise.
32944 (SA_NODEFER): Likewise.
32945 (SA_RESETHAND): Likewise.
32946 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32947 (struct sigaction): Define sa_handler and sa_sigaction using union
32948 also for [__USE_XOPEN_EXTENDED].
32949 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32950 [__USE_XOPEN_EXTENDED].
32951 (SA_RESTART): Likewise.
32952 (SA_NODEFER): Likewise.
32953 (SA_RESETHAND): Likewise.
32954 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32955 (struct sigaction): Define sa_handler and sa_sigaction using union
32956 also for [__USE_XOPEN_EXTENDED].
32957 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32958 [__USE_XOPEN_EXTENDED].
32959 (SA_RESTART): Likewise.
32960 (SA_NODEFER): Likewise. Define directly rather than as alias.
32961 (SA_RESETHAND): Likewise.
32962 (SA_INTERRUPT): Define only for [__USE_MISC].
32963 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32964 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32966 (SA_STACK): Define only for [__USE_MISC].
32967 * sysdeps/unix/sysv/linux/tile/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 (SA_NOPTRACE): Define only for [__USE_MISC].
32977 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32978 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32979 (struct catalog_info): Likewise.
32980 * inet/htontest.c (lo): Likewise.
32982 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32983 * inet/inet_net.c (inet_network): Likewise.
32984 * inet/inet_netof.c (inet_netof): Likewise.
32985 * inet/rcmd.c (__ivaliduser): Likewise.
32986 (iruserok): Likewise.
32987 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32988 * locale/programs/locale-spec.c (locale_special): Likewise.
32989 * nis/nis_findserv.c (struct findserv_req): Likewise.
32990 (__nis_findfastest_with_timeout): Likewise.
32991 * nss/test-netdb.c (test_network): Likewise.
32992 * resolv/inet_neta.c (inet_neta): Likewise.
32993 * resolv/ns_date.c (ns_datetosecs): Likewise.
32994 (SECS_PER_DAY): Likewise.
32995 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32997 * resolv/res_comp.c (__putlong): Likewise.
32998 (__putshort): Likewise.
32999 (_getlong): Likewise.
33000 (_getshort): Likewise.
33001 * resolv/res_debug.c (p_time): Likewise.
33002 (precsize_ntoa): Likewise.
33003 (precsize_aton): Likewise.
33004 (latlon2ul): Likewise.
33005 (loc_aton): Likewise.
33006 (loc_ntoa): Likewise.
33007 * resolv/res_hconf.c (struct netaddr): Likewise.
33008 (_res_hconf_reorder_addrs): Likewise.
33009 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33010 (clnttcp_control): Likewise.
33011 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33012 (clntudp_control): Likewise.
33013 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33014 (clntunix_control): Likewise.
33015 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33016 * sunrpc/rpc/auth.h (union des_block): Likewise.
33017 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33018 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33019 (xdrrec_create): Likewise.
33020 (xdrrec_endofrecord): Likewise.
33021 (flush_out): Likewise.
33022 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33023 (xdrstdio_putlong): Likewise.
33024 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33027 * misc/sys/cdefs.h (__long_double_t): Remove.
33028 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33029 instead of __long_double_t,
33030 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33032 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33034 * benchtests/scripts/compare_strings.py: Avoid display error when
33035 running on a text terminal.
33037 * benchtests/scripts/compare_strings.py (main): Add an
33038 optional -base option.
33039 (process_results): New argument base_func.
33041 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33043 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33044 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33046 2017-08-07 Andreas Schwab <schwab@suse.de>
33048 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33049 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33050 * intl/Makefile ($(objpfx)tst-gettext.out)
33051 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33052 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33053 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33054 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33055 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33056 * posix/Makefile ($(objpfx)globtest.out)
33057 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33058 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33059 ($(objpfx)tst-printf.out): Likewise.
33060 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33061 ($(objpfx)tst-setcontext3.out): Likewise.
33063 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33065 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33066 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33067 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33068 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33069 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33071 (CFLAGS-doasin-fma.c): New.
33072 (CFLAGS-dosincos-fma.c): Likewise.
33073 (CFLAGS-e_asin-fma.c): Likewise.
33074 (CFLAGS-e_atan2-fma.c): Likewise.
33075 (CFLAGS-e_exp-fma.c): Likewise.
33076 (CFLAGS-e_log-fma.c): Likewise.
33077 (CFLAGS-e_pow-fma.c): Likewise.
33078 (CFLAGS-halfulp-fma.c): Likewise.
33079 (CFLAGS-mpa-fma.c): Likewise.
33080 (CFLAGS-mpatan-fma.c): Likewise.
33081 (CFLAGS-mpatan2-fma.c): Likewise.
33082 (CFLAGS-mpexp-fma.c): Likewise.
33083 (CFLAGS-mplog-fma.c): Likewise.
33084 (CFLAGS-mpsqrt-fma.c): Likewise.
33085 (CFLAGS-mptan-fma.c): Likewise.
33086 (CFLAGS-s_atan-fma.c): Likewise.
33087 (CFLAGS-sincos32-fma.c): Likewise.
33088 (CFLAGS-slowexp-fma.c): Likewise.
33089 (CFLAGS-slowpow-fma.c): Likewise.
33090 (CFLAGS-s_sin-fma.c): Likewise.
33091 (CFLAGS-s_tan-fma.c): Likewise.
33092 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
33093 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
33094 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
33095 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
33096 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
33097 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
33098 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
33099 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
33100 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
33101 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
33102 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
33103 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
33104 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
33105 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
33106 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
33107 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
33108 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
33109 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
33110 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
33111 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
33112 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
33113 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
33114 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
33115 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
33116 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33117 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33118 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33119 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33120 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33121 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33122 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33124 2017-08-04 Joseph Myers <joseph@codesourcery.com>
33126 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
33127 (min_of_type_f): New macro.
33128 (min_of_type_): Likewise.
33129 (min_of_type_l): Likewise.
33130 (min_of_type_f128): Likewise.
33131 (min_of_type): Define using __MATH_TG and taking an expression
33133 (math_check_force_underflow): Pass expression instead of type to
33135 (math_check_force_underflow_nonneg): Likewise.
33137 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33139 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33140 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
33141 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
33143 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33145 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33146 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
33147 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
33148 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
33149 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
33150 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
33151 memcpy_chk-nonshared, mempcpy_chk-nonshared,
33152 memmove_chk-nonshared and memset_chk-nonshared
33153 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
33154 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
33155 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
33156 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
33157 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
33158 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
33159 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
33160 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
33161 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
33162 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
33163 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
33164 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
33165 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
33166 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
33167 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
33168 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
33169 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
33170 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
33171 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
33172 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
33173 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
33174 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
33175 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
33176 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
33177 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
33178 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
33179 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
33180 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
33181 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
33182 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
33183 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
33184 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
33185 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
33186 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33187 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33188 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
33189 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
33190 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
33191 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
33192 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
33193 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
33194 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
33195 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
33196 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
33197 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
33198 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
33199 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
33200 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33201 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33202 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33203 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33204 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33205 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33206 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33207 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33208 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33209 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33210 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33211 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33212 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33213 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33214 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33215 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33216 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33217 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33218 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33219 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33220 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33221 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33222 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33223 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33224 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33225 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33226 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33227 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33228 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33229 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33230 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33231 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33232 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33233 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33234 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33235 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33236 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33237 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33238 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33239 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33240 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33241 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33242 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33243 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33244 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33245 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33246 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33247 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33248 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33249 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33250 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33251 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33252 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33253 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33254 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33255 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33256 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33257 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33258 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33259 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33260 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33262 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33264 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33265 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33266 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33267 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33268 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33269 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33270 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33271 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33272 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33273 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33274 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33275 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33276 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
33277 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
33278 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
33279 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
33280 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
33281 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
33282 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
33283 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
33284 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
33285 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
33286 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
33287 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
33288 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
33289 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
33290 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
33291 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
33292 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
33293 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
33294 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
33295 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
33296 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
33297 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
33298 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
33299 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
33300 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
33301 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
33302 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
33303 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
33304 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
33305 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
33306 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
33307 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
33308 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
33309 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
33310 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
33311 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
33312 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
33313 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
33314 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
33315 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
33316 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
33317 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
33318 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
33319 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
33320 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
33321 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
33322 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
33324 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
33325 Don't include <sysdep.h> nor <init-arch.h>.
33326 (_ZGVbN2v_cos): Removed.
33327 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
33329 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
33330 Don't include <sysdep.h> nor <init-arch.h>.
33331 (_ZGVdN4v_cos): Removed.
33332 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
33334 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
33335 Don't include <sysdep.h> nor <init-arch.h>.
33336 (_ZGVeN8v_cos): Removed.
33337 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
33339 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
33340 Don't include <sysdep.h> nor <init-arch.h>.
33341 (_ZGVbN2v_exp): Removed.
33342 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
33344 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
33345 Don't include <sysdep.h> nor <init-arch.h>.
33346 (_ZGVdN4v_exp): Removed.
33347 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
33349 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
33350 Don't include <sysdep.h> nor <init-arch.h>.
33351 (_ZGVeN8v_exp): Removed.
33352 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
33354 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
33355 Don't include <sysdep.h> nor <init-arch.h>.
33356 (_ZGVbN2v_log): Removed.
33357 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
33359 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
33360 Don't include <sysdep.h> nor <init-arch.h>.
33361 (_ZGVdN4v_log): Removed.
33362 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
33364 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
33365 Don't include <sysdep.h> nor <init-arch.h>.
33366 (_ZGVeN8v_log): Removed.
33367 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
33369 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
33370 Don't include <sysdep.h> nor <init-arch.h>.
33371 (_ZGVbN2vv_pow): Removed.
33372 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
33374 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
33375 Don't include <sysdep.h> nor <init-arch.h>.
33376 (_ZGVdN4vv_pow): Removed.
33377 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
33379 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
33380 Don't include <sysdep.h> nor <init-arch.h>.
33381 (_ZGVeN8vv_pow): Removed.
33382 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
33384 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
33385 Don't include <sysdep.h> nor <init-arch.h>.
33386 (_ZGVbN2v_sin): Removed.
33387 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
33389 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
33390 Don't include <sysdep.h> nor <init-arch.h>.
33391 (_ZGVbN4v_sin): Removed.
33392 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
33394 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
33395 Don't include <sysdep.h> nor <init-arch.h>.
33396 (_ZGVbN8v_sin): Removed.
33397 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
33399 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
33400 Don't include <sysdep.h> nor <init-arch.h>.
33401 (_ZGVbN2vvv_sincos): Removed.
33402 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
33404 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
33405 Don't include <sysdep.h> nor <init-arch.h>.
33406 (_ZGVdN4vvv_sincos): Removed.
33407 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
33409 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
33410 Don't include <sysdep.h> nor <init-arch.h>.
33411 (_ZGVeN8vvv_sincos): Removed.
33412 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
33414 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
33415 Don't include <sysdep.h> nor <init-arch.h>.
33416 (_ZGVeN16v_cosf): Removed.
33417 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
33419 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
33420 Don't include <sysdep.h> nor <init-arch.h>.
33421 (_ZGVbN4v_cosf): Removed.
33422 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
33424 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
33425 Don't include <sysdep.h> nor <init-arch.h>.
33426 (_ZGVdN8v_cosf): Removed.
33427 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
33429 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
33430 Don't include <sysdep.h> nor <init-arch.h>.
33431 (_ZGVeN16v_expf): Removed.
33432 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
33434 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
33435 Don't include <sysdep.h> nor <init-arch.h>.
33436 (_ZGVbN4v_expf): Removed.
33437 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
33439 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
33440 Don't include <sysdep.h> nor <init-arch.h>.
33441 (_ZGVdN8v_expf): Removed.
33442 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
33444 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
33445 Don't include <sysdep.h> nor <init-arch.h>.
33446 (_ZGVeN16v_logf): Removed.
33447 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
33449 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
33450 Don't include <sysdep.h> nor <init-arch.h>.
33451 (_ZGVbN4v_logf): Removed.
33452 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
33454 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
33455 Don't include <sysdep.h> nor <init-arch.h>.
33456 (_ZGVdN8v_logf): Removed.
33457 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
33459 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
33460 Don't include <sysdep.h> nor <init-arch.h>.
33461 (_ZGVeN16vv_powf): Removed.
33462 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
33464 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
33465 Don't include <sysdep.h> nor <init-arch.h>.
33466 (_ZGVbN4vv_powf): Removed.
33467 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
33469 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
33470 Don't include <sysdep.h> nor <init-arch.h>.
33471 (_ZGVdN8vv_powf): Removed.
33472 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
33474 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
33475 Don't include <sysdep.h> nor <init-arch.h>.
33476 (_ZGVeN16vvv_sincosf): Removed.
33477 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
33479 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
33480 Don't include <sysdep.h> nor <init-arch.h>.
33481 (_ZGVbN4vvv_sincosf): Removed.
33482 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
33484 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
33485 Don't include <sysdep.h> nor <init-arch.h>.
33486 (_ZGVdN8vvv_sincosf): Removed.
33487 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
33489 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
33490 Don't include <sysdep.h> nor <init-arch.h>.
33491 (_ZGVeN16v_sinf): Removed.
33492 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
33494 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
33495 Don't include <sysdep.h> nor <init-arch.h>.
33496 (_ZGVbN4v_sinf): Removed.
33497 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
33499 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
33500 Don't include <sysdep.h> nor <init-arch.h>.
33501 (_ZGVdN8v_sinf): Removed.
33503 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33505 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33506 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
33507 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
33508 s_rint-sse4_1 and s_rintf-sse4_1.
33509 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
33510 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
33511 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
33512 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
33513 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
33514 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
33515 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
33516 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
33517 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
33518 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
33519 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
33520 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33522 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
33523 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
33524 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33525 (__ceilf): Removed.
33526 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
33527 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
33528 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33529 (__floor): Removed.
33530 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
33531 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
33532 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33533 (__floorf): Removed.
33534 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
33535 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
33536 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33537 (__nearbyint): Removed.
33538 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
33539 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
33540 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33541 (__nearbyintf): Removed.
33542 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
33543 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
33544 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33546 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
33547 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
33548 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33549 (__rintf): Removed.
33551 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33553 * sysdeps/i386/start.S (_start): Check Check PIC instead of
33554 SHARED. Avoid dynamic relocation against main in static PIE.
33556 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33559 * elf/Makefile (CFLAGS-tst-prelink.c): New.
33560 (LDFLAGS-tst-prelink): Likewise.
33562 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33564 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
33565 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
33566 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
33567 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
33568 (INTERNAL_SYSCALL_NCS): Likewise.
33569 (LOADARGS_1): Likewise.
33570 (LOADARGS_5): Likewise.
33571 (RESTOREARGS_1): Likewise.
33572 (RESTOREARGS_5): Likewise.
33574 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33576 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
33577 (MEMPCPY_SYMBOL): Likewise.
33578 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33579 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
33580 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
33582 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33583 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
33585 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
33586 (__hidden_ver1): Don't use in libc.a.
33587 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
33588 (__mempcpy): Don't create a weak alias in libc.a.
33589 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
33591 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
33592 (__hidden_ver1): Don't use in libc.a.
33594 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33596 * config.make.in (have-insert): New.
33597 * configure.ac (libc_cv_insert): New. Set to yes if linker
33598 supports INSERT in linker script.
33599 (AC_SUBST(libc_cv_insert): New.
33600 * configure: Regenerated.
33601 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
33602 if $(have-insert) == yes.
33604 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33606 * elf/Makefile (tests): Add vismain only if
33607 $(have-protected-data) == yes.
33608 (tests-pie): Likewise.
33610 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33613 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
33614 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
33616 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33619 * sysdeps/i386/i586/memset.S
33620 (__memset_zero_constant_len_parameter): Removed.
33621 * sysdeps/i386/i686/memset.S
33622 (__memset_zero_constant_len_parameter): Likewise.
33623 * sysdeps/i386/i686/multiarch/memset_chk.S
33624 (__memset_zero_constant_len_parameter): Likewise.
33625 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
33628 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33630 * stdlib/getentropy.c (getentropy): Change return type to int.
33632 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33634 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
33636 2017-08-03 Joseph Myers <joseph@codesourcery.com>
33638 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33640 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33641 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33643 (ieee_float_shape_type): Likewise.
33644 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33645 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33646 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33647 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33648 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33649 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33650 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33651 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33652 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33654 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33655 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33656 (__ieee754_yn): Likewise.
33657 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33658 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33659 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33661 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33662 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33663 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33664 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33665 (__erfc): Likewise.
33666 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33667 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33668 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33669 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33670 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33671 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33673 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33674 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33675 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33676 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33677 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33678 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33679 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33680 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33681 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33682 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33683 (__issignaling): Likewise.
33684 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33685 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33686 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33688 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33689 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33690 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33691 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33693 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33695 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33696 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33697 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33698 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33699 (__erfcf): Likewise.
33700 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33701 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33702 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33703 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33705 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33706 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33708 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33709 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33710 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33711 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33712 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33713 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33714 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33715 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33717 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33719 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33721 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33722 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33724 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33726 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33727 (__ieee754_ynl): Likewise.
33728 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33729 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33731 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33733 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33734 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33735 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33737 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33738 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33739 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33740 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33741 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33742 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33743 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33744 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33746 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33747 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33748 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33750 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33751 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33752 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33753 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33754 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33755 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33757 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33759 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33761 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33763 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33764 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33765 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33766 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33767 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33768 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33769 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33771 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33773 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33774 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33776 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33777 (__ieee754_remainderl): Likewise.
33778 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33779 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33780 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33781 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33783 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33784 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33786 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33787 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33788 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33789 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33790 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33791 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33793 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33794 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33795 (__ieee754_y0l): Likewise.
33798 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33799 (__ieee754_y1l): Likewise.
33802 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33803 (__ieee754_ynl): Likewise.
33804 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33805 (__ieee754_lgammal_r): Likewise.
33806 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33808 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33809 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33810 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33811 (__erfcl): Likewise.
33812 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33813 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33815 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33816 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33817 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33818 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33819 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33820 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33821 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33823 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
33824 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33825 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
33826 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
33827 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33829 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
33830 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
33832 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
33833 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
33834 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
33835 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33836 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
33838 2017-08-03 Florian Weimer <fweimer@redhat.com>
33841 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
33842 on memory allocation failure.
33844 2017-08-03 Alan Modra <amodra@gmail.com>
33846 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
33847 tst-tlsopt-powerpc.c with function name change and no test harness.
33848 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
33849 Call tls_get_addr_opt_test.
33850 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
33851 (modules-names): Add mod-tlsopt-powerpc.
33852 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33853 (tst-tlsopt-powerpc): Depend on .so.
33854 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33855 define. Expand use in TLS_GD and TLS_LD.
33857 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33859 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33861 * sysdeps/posix/shm_open.c: Include <pthread.h>.
33863 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33866 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33867 comparing size with that of double.
33868 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33869 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33870 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33871 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33872 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33873 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33874 unsigned __int128 types.
33876 2017-08-02 Steve Ellcey <sellcey@cavium.com>
33878 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33879 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33880 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33881 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33882 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33884 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33886 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33888 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33890 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33892 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33893 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33894 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33895 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33896 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33897 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33898 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33900 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33903 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33904 bit-field expressions passed to sizeof or typeof.
33905 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33906 (__TGMATH_F128): Likewise.
33907 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33908 (__TGMATH_CF128): Likewise.
33909 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33910 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33911 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33912 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33913 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33914 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33915 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33916 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33917 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33918 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33919 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33920 (__TGMATH_UNARY_IMAG): Likewise.
33921 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33922 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33923 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33925 (define_vars_for_type): Handle bit_field type specially.
33926 (Tests.__init__): Declare structure with bit-field element.
33928 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33931 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33932 (MEMCPY_CHK): Define only if SHARED is defined.
33933 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33935 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33938 See ChangeLog.18 for earlier changes.