1 2019-05-03 Florian Weimer <fweimer@redhat.com>
3 * misc/tst-tsearch.c (walk_tree): Add more error checking.
5 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8 * elf/tst-pldd.c (in_str_list): New function.
9 (do_test): Add default names for ld and libc as one option.
11 2019-05-02 Florian Weimer <fweimer@redhat.com>
13 misc: Add twalk_r function.
14 * include/search.h (__twalk_r): Declare.
15 * manual/examples/twalk.c: New file.
16 * manual/search.texi (Tree Search Function): Document twalk_r.
17 * misc/Versions (2.30): Export twalk_r.
18 (GLIBC_PRIVATE): Export __twalk_r.
19 * misc/search.h [__USE_GNU] (twalk_r): Declare.
20 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
21 (twalk_r): Add weak alias.
22 * misc/tst-tsearch.c (struct walk_trace_element): Define.
23 (walk_trace): New variable.
24 (struct twalk_with_twalk_r_closure): Define.
25 (twalk_with_twalk_r_action): New function.
26 (twalk_with_twalk_r): Likewise.
27 (walk_action): Call walk_trace_add.
28 (walk_tree_with): Rename from walk_tree. Add walk argument.
29 (walk_tree): New function.
30 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
31 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
33 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
35 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
36 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
37 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
38 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
39 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
40 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
42 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
44 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
46 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
47 (GLIBC_2.30): Likewise.
48 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
49 (GLIBC_2.30): Likewise.
50 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
51 (GLIBC_2.30): Likewise.
52 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
53 (GLIBC_2.30): Likewise.
54 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
56 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
57 (GLIBC_2.30): Likewise.
58 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
59 (GLIBC_2.30): Likewise.
60 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
61 (GLIBC_2.30): Likewise.
62 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
63 (GLIBC_2.30): Likewise.
64 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
66 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
68 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
70 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
71 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
73 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
75 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
77 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
80 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
82 Make mktime etc. compatible with __time64_t
83 Keep these functions compatible with Gnulib while adding
84 __time64_t support. The basic idea is to move private API
85 declarations from include/time.h to time/mktime-internal.h, since
86 the former file cannot easily be shared with Gnulib whereas the
88 Also, do some other minor cleanup while in the neighborhood.
89 * include/time.h: Include stdbool.h, time/mktime-internal.h.
90 (__mktime_internal): Move this prototype to time/mktime-internal.h,
91 since Gnulib needs it.
92 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
93 Move these macros to time/mktime-internal.h, since Gnulib needs them.
94 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
95 (in_time_t_range): New static function.
96 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
97 so that glibc users are not tempted to use __time64_t.
98 * time/mktime-internal.h: Rewrite so that it does both glibc
99 and Gnulib work. Include time.h if not _LIBC.
100 (mktime_offset_t) [!_LIBC]: Define for gnulib.
101 (__time64_t): New type or macro, moved here from
103 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
104 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
106 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
107 New macros, taken from GNulib.
108 (__mktime_internal): New prototype, moved here from include/time.h.
109 * time/mktime.c (mktime_min, mktime_max, convert_time)
110 (ranged_convert, __mktime_internal, __mktime64):
111 * time/timegm.c (__timegm64):
112 Use __time64_t, not time_t.
113 * time/mktime.c: Stop worrying about whether time_t is floating-point.
114 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
116 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
117 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
120 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
122 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
124 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
127 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
128 from `-Wmaybe-uninitialized'.
129 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
131 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
133 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
135 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
136 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
137 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
138 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
139 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
141 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
158 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
159 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
160 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
161 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
163 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
166 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
167 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
169 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
172 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
175 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
176 s_ceilf-power5+, and s_ceilf-ppc64.
177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
182 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
183 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
184 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
185 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
187 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
188 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
189 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
191 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
193 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
194 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
195 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
196 (sem_getvalue): Likewise.
198 2019-04-26 Florian Weimer <fweimer@redhat.com>
200 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
201 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
203 2019-04-26 Florian Weimer <fweimer@redhat.com>
205 Makeconfig: Move -Wl,-rpath-link options before library references.
206 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
207 (link-libc): Remove $(link-libc-rpath-link).
209 2019-04-25 Florian Weimer <fweimer@redhat.com>
211 * Makeconfig (+link-pie-before-libc): Remove $(CC).
212 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
213 (+link-static-before-libc): Remove $(CC).
214 (+link-static, +link-static-tests): Add $(CC).
215 (+link-before-libc): Remove $(CC).
216 (+link, +link-pie, +link-pie-printers): Add $(CC).
218 2019-04-26 Florian Weimer <fweimer@redhat.com>
220 * Makeconfig (+link-pie-before-libc): Remove $(CC).
221 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
222 (+link-static-before-libc): Remove $(CC).
223 (+link-static, +link-static-tests): Add $(CC).
224 (+link-before-libc): Remove $(CC).
225 (+link, +link-pie, +link-pie-printers): Add $(CC).
227 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
230 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
232 2019-04-25 Florian Weimer <fweimer@redhat.com>
234 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
235 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
236 (bench-link-targets): New variable.
237 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
239 2019-04-25 Florian Weimer <fweimer@redhat.com>
241 Also enable BIND_NOW for programs if --enable-bind-now.
242 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
243 (+link-pie): Use $(link-extra-flags).
244 (+link-static): Likewise.
245 [! $(build-pie-default)] (+link): Likewise.
246 * manual/install.texi (Configuring and compiling): Update
247 --enable-bind-now description.
248 * INSTALL: Regenerated.
250 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
252 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
253 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
255 2019-04-24 Mike Frysinger <vapier@gentoo.org>
258 * malloc/Makefile (others): Add memusagestat.
259 ($(objpfx)memusagestat): Delete rule.
260 (LDLIBS-memusagestat): New variable.
262 2019-04-24 Florian Weimer <fweimer@redhat.com>
264 * locale/Makefile (tests-special): Guard setting by
265 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
266 to run while cross-compiling.
268 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
271 * elf/Makefile (tests-container): Add tst-pldd.
272 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
273 (E(find_maps)): Avoid use alloca, use default read file operations
274 instead of explicit LFS names, and fix infinite loop.
275 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
276 (get_process_info): Use _Static_assert instead of assert, use default
277 directory operations instead of explicit LFS names, and free some
279 * elf/tst-pldd.c: New file.
281 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
283 * malloc/arena.c (do_set_mallopt_check): Removed.
285 2019-04-23 Florian Weimer <fweimer@redhat.com>
287 locale: Add LOCPATH diagnostics to the locale program.
288 * locale/programs/locale.c (setlocale_failed): New variable.
289 (try_setlocale): New function.
290 (quote_string): Likewise.
291 (setlocale_diagnostics): Likewise.
292 (main): Call try_setlocale instead of setlocale. Call
293 setlocale_diagnostics.
294 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
295 (tst-locale-locpath.out): New target.
296 * locale/tst-locale-locpath.sh: New file.
298 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
300 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
303 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
306 * malloc/hooks.c (malloc_check, realloc_check): Use
307 __builtin_add_overflow on overflow check and adapt to
308 checked_request2size change.
309 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
310 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
311 allocation size to PTRDIFF_MAX.
312 (REQUEST_OUT_OF_RANGE): Remove macro.
313 (checked_request2size): Change to inline function and limit maximum
314 requested size to PTRDIFF_MAX.
315 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
316 maximum allocation size to PTRDIFF_MAX.
317 (_mid_memalign): Use _int_memalign call for overflow check.
318 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
319 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
320 limit maximum requested size to PTRDIFF_MAX.
321 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
322 valloc, pvalloc): Add __attribute_alloc_size__.
323 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
324 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
325 larger than PTRDIFF_MAX.
326 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
327 around tests of malloc with negative sizes.
328 * malloc/tst-posix_memalign.c (do_test): Likewise.
329 * malloc/tst-pvalloc.c (do_test): Likewise.
330 * malloc/tst-valloc.c (do_test): Likewise.
331 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
332 with resulting size allocation larger than PTRDIFF_MAX with
334 (reallocarray_nowarn): New function.
335 * NEWS: Mention the malloc function semantic change.
337 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
339 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
340 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
342 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
343 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
344 * sysdeps/powerpc/fpu/s_fma.c: New file.
345 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
347 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
348 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
350 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
351 the magic flag store.
352 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
354 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
356 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
357 Remove rt_sigreturn call.
359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
360 Remove rt_sigreturn call.
361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
366 * support/Makefile (libsupport-routines): Add support_subprocess,
367 xposix_spawn, xposix_spawn_file_actions_addclose, and
368 xposix_spawn_file_actions_adddup2.
369 (tst-support_capture_subprocess-ARGS): New rule.
370 * support/capture_subprocess.h (support_capture_subprogram): New
372 * support/support_capture_subprocess.c (support_capture_subprocess):
373 Refactor to use support_subprocess and support_capture_poll.
374 (support_capture_subprogram): New function.
375 * support/tst-support_capture_subprocess.c (write_mode_to_str,
376 str_to_write_mode, test_common, parse_int, handle_restart,
377 do_subprocess, do_subprogram, do_multiple_tests): New functions.
378 (do_test): Add support_capture_subprogram tests.
379 * support/subprocess.h: New file.
380 * support/support_subprocess.c: Likewise.
381 * support/xposix_spawn.c: Likewise.
382 * support/xposix_spawn_file_actions_addclose.c: Likewise.
383 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
384 * support/xspawn.h: Likewise.
386 2019-04-17 Mike Gerow <gerow@google.com>
388 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
391 2019-04-11 Florian Weimer <fweimer@redhat.com>
393 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
394 domain with empty string.
395 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
397 2019-04-11 Florian Weimer <fweimer@redhat.com>
399 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
401 (alloc_buffer_next): Change return type to non-const. Update
404 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
406 * manual/time.texi (Formatting Calendar Time): Add missing percent
407 sign to conversion specifier.
409 2019-04-09 Carlos O'Donell <carlos@redhat.com>
410 Kwok Cheung Yeung <kcy@codesourcery.com>
413 * malloc/mtrace.c: Define prototypes for all hooks.
414 (set_default_hooks): New function.
415 (set_trace_hooks): Likewise.
416 (save_default_hooks): Likewise.
417 (tr_freehook): Use new s*_hooks functions.
418 (tr_mallochook): Likewise.
419 (tr_reallochook): Likewise.
420 (tr_memalignhook): Likewise.
422 (muntrace): Likewise.
424 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
426 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
427 (generic_stpcpy): New function.
428 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
429 (generic_stpncpy): New function.
430 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
431 (generic_strcat): New function.
432 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
433 (generic_strcpy): New function.
434 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
435 (STUPID_STRNCAT): Remove function.
436 (generic_strncat): New function.
437 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
438 (STUPID_STRNCPY): Remove function.
439 (generic_strncpy): New function.
440 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
441 (generic_strnlen): New function.
442 (memchr_strnlen): New function.
443 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
444 (memchr_strlen): Likewise.
446 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
448 * benchtests/bench-strstr.c (input): Add realistic input text.
449 (stupid_strstr): Remove function.
450 (basic_strstr): Add function.
451 (twoway_strstr): Add function.
452 (do_one_test): Add result checking.
453 (do_test): Use new input text. Remove accidental early matches.
454 (test_main): Improve range of tests, reduce unaligned cases.
456 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
458 * benchtests/bench-memmem.c (simple_memmem): Remove function.
459 (basic_memmem): Add function.
460 (twoway_memmem): Add function.
462 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
464 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
465 * benchtests/bench-malloc-thread.c: Likewise.
466 * benchtests/bench-skeleton.c: Likewise.
467 * benchtests/bench-strtod.c: Likewise.
468 * benchtests/bench-timing.h: Likewise.
470 2019-04-08 Florian Weimer <fweimer@redhat.com>
472 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
474 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
475 RES_INSECURE2 security checks.
476 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
477 RES_INSECURE2 handling.
479 2019-04-08 Florian Weimer <fweimer@redhat.com>
481 resolv: Remove support for RES_USE_INET6 and the inet6 option.
482 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
483 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
485 * resolv/Makefile (tests): Remove tst-res_use_inet6.
486 (tests-internal): Update justification for tst-resolv-res_init,
487 tst-resolv-res_init-thread.
488 (tst-res_use_inet6): Remove target.
489 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
490 * resolv/res_debug.c (p_option): Remove "inet6" support.
491 * resolv/res_init.c (res_setoptions): Likewise.
492 * resolv/res_use_inet6.h: Remove file.
493 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
495 (res_use_inet6): Always return false.
496 * resolv/resolv.h (RES_USE_INET6): Remove definition.
497 * resolv/resolv_context.h: Adjust file comment.
498 (struct resolv_context): Update comment on __next field.
499 (__resolv_context_put): Update comment.
500 * resolv/tst-res_use_inet6.c: Remove file.
501 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
503 (test_cases): Adjust test case.
504 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
505 (thread_byname2_af_inet6): Use old byname_inet6 code.
506 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
507 (gai): Remove do_inet6 argument.
508 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
509 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
510 (thread_gai_unspec_inet6): Remove functions.
511 (do_test): Adjust thread_funcs.
512 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
514 (gaih_inet): Do not disable RES_USE_INET6 flag.
516 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
518 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
519 and remove redundant code.
521 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
523 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
525 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
526 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
528 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
530 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
532 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
533 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
534 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
535 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
536 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
537 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
538 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
539 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
541 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
543 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
544 Remove wcsrchr optimizations.
545 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
547 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
550 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
552 * sysdeps/powerpc/power6/wcschr.c: Remove file.
553 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
555 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
557 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
559 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
560 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
561 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
562 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
563 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
564 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
565 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
566 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
568 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
569 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
570 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
571 Remove wcschr optimizations.
572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
574 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
577 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
579 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
580 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
582 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
584 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
586 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
587 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
588 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
589 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
590 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
591 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
592 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
593 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
595 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
597 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
598 Remove wcscpy optimizations.
599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
601 * include/loop_unroll.h: New file.
602 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
603 besides generic implementation.
605 2019-04-03 DJ Delorie <dj@redhat.com>
607 * time/tst-strftime3.c (tm_to_printed): Disable warning about
608 snprintf truncating output.
610 2019-04-02 DJ Delorie <dj@redhat.com>
612 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
615 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
618 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
620 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
621 (mkreftable): Add rules for the new Japanese era and the new dates.
623 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
624 Rafal Luzynski <digitalfreak@lingonborough.com>
626 * time/tst-strftime2.c (date_t): Explicitly define the type.
627 (dates): Use natural month and year numbers to express a date.
628 (is_before): New function to compare dates.
629 (mkreftable): Minor improvements to simplify maintenance.
630 (do_test): Reflect the changes in dates array.
633 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
634 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
635 * time/tst-strftime2.c (locales): Likewise.
636 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
637 2010-04-01, and 2011-04-01.
638 (mkreftable): Add rules for the new locales and the new dates.
640 2019-04-01 Carlos O'Donell <carlos@redhat.com>
642 * localedata/locales/ja_JP: Add comments to era entries.
644 2019-04-01 DJ Delorie <dj@redhat.com>
647 * time/strptime_l.c (%Ey): Fix fencepost error.
648 * time/tst-strftime3.c: New.
649 * time/Makefile (tests): Add tst-strftime3.
651 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
653 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
654 conditional branch to DIVBYZERO. Fix unwind info.
655 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
656 excb after conditional branch to $powerof2. Add missing unop
657 instructions and .align directives and reorder instructions to
660 2019-04-01 Richard Henderson <rth@twiddle.net>
662 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
664 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
667 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
669 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
670 $libc_cv_riscv_float_abi in `test' invocation.
671 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
673 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
675 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
677 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
679 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
680 (_GET_SI_FPSCR): Likewise.
681 (_SET_SI_FPSCR): Likewise.
683 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
685 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
687 (signbit): Use builtin for clang 3.3.
688 (isinf): Use builtin for clang 3.7.
690 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
692 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
694 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
696 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
699 2019-03-25 Mike Crowe <mac@mcrowe.com>
701 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
702 pthread_rwlock_timedrdlock with calls to
703 pthread_rwlock_timedwrlock to ensure that the latter is tested
704 too. Use new function name in diagnostic messages too.
706 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
707 (do_test) Use libsupport test macros rather than hand-coded
708 conditionals and error messages. Ensure that sem_init returns zero
709 rather than not -1. Use <support/test-driver.c> rather than
712 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
713 test macros rather than hand-coded conditionals and error messages.
714 Use <support/test-driver.c> rather than test-skeleton.c.
716 2019-03-25 Joseph Myers <joseph@codesourcery.com>
718 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
720 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
721 (NT_MIPS_MSA): Likewise.
723 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
725 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
726 * benchtests/README: Update description.
727 * benchtests/bench-timing.h: Default to hp-timing.
728 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
729 HP_TIMING_PRINT): Remove.
730 (HP_TIMING_NOW): Add generic implementation.
731 (hp_timing_t): Change to uint64_t.
733 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
735 * nptl/descr.h: Likewise.
736 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
737 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
738 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
739 Abstract hp-timing usage with RTLD_* macros.
740 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
741 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
742 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
743 HP_TIMING_NONAVAIL): Likewise.
744 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
746 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
747 HP_SMALL_TIMING_AVAIL): Likewise.
748 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
749 HP_SMALL_TIMING_AVAIL): Likewise.
750 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
751 HP_SMALL_TIMING_AVAIL): Likewise.
752 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
753 HP_SMALL_TIMING_AVAIL): Likewise.
754 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
756 * sysdeps/generic/hp-timing-common.h: Update comment with
757 HP_TIMING_AVAIL removal.
759 * include/random-bits.h: New file.
760 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
761 (__res_context_mkquery): Remove usage hp-timing usage and replace with
763 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
764 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
767 * include/libc-internal.h (__get_clockfreq): Remove prototype.
768 * rt/Makefile (clock-routines): Remove get_clockfreq.
769 * rt/get_clockfreq.c: Remove file.
770 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
771 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
772 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
773 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
774 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
776 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
777 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
778 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
779 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
780 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
782 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
783 pthread_clock_settime.
784 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
785 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
786 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
787 * elf/rtld.c (_dl_start_final): Likewise.
788 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
789 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
791 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
792 (_dl_cpuclock_offset): Remove.
793 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
794 cpuclock_offset_ununsed.
795 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
797 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
798 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
799 * nptl/pthread_clock_gettime.c: Remove file.
800 * nptl/pthread_clock_settime.c: Likewise.
801 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
802 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
803 and CLOCK_PROCESS_CPUTIME_ID support.
804 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
805 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
806 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
807 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
808 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
810 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
812 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
814 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
815 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
816 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
818 * sysdeps/s390/memmem-arch13.S: New file.
819 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
820 if it is only used as fallback.
821 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
822 * sysdeps/s390/multiarch/ifunc-impl-list.c
823 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
825 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
827 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
828 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
829 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
831 * sysdeps/s390/multiarch/ifunc-impl-list.c
832 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
833 * sysdeps/s390/strstr-arch13.S: New file.
834 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
835 if it is only used as fallback.
836 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
838 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
840 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
841 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
842 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
843 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
845 * sysdeps/s390/multiarch/ifunc-impl-list.c
846 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
847 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
848 S390_IS_ARCH13_MIE3): New defines.
850 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
852 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
853 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
854 * sysdeps/s390/configure.ac: Add checks for arch13 support.
855 * sysdeps/s390/configure: Regenerated.
857 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
859 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
860 Add vxe2, vxp, dflt, sort flags.
861 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
862 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
864 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
865 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
866 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
867 HWCAP_S390_DFLT): Define.
869 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
872 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
874 * locale/programs/ld-collate.c (collate_output): Likewise.
876 2019-03-21 DJ Delorie <dj@redhat.com>
879 * iconv/iconvconfig.c (write_output): Replace floating point math
880 with integer math to avoid imprecise results.
881 * locale/programs/ld-collate.c (collate_output): Likewise.
883 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
885 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
886 Add HWCAP_S390_VX and HWCAP_S390_VXE.
888 2019-03-20 mansayk <6688000@gmail.com>
891 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
892 (abday): Likewise, but remove the trailing dots.
894 2019-03-19 Joseph Myers <joseph@codesourcery.com>
896 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
898 (HWCAP_PACA): Likewise.
899 (HWCAP_PACG): Likewise.
900 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
902 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
904 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
906 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
909 2019-03-15 Joseph Myers <joseph@codesourcery.com>
911 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
913 (old_getpagesize): New syscall.
915 2019-03-15 Felix Yan <felixonmars@archlinux.org>
918 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
919 * localedata/locales/cmn_TW (era): Likewise.
920 * localedata/locales/hak_TW (era): Likewise.
921 * localedata/locales/lzh_TW (era): Likewise.
922 * localedata/locales/nan_TW (era): Likewise.
924 2019-03-14 Florian Weimer <fweimer@redhat.com>
926 Remove obsolete, never-implemented XSI STREAMS declarations.
927 * manual/terminal.texi (Allocation): Remove portability note and
929 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
931 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
932 * sysdeps/unix/inet/Subdirs (streams): Remove.
933 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
934 (conformtest-headers-UNIX98): Likewise.
935 (conformtest-headers-XOPEN2K): Likewise.
936 (conformtest-headers-POSIX2008): Likewise.
937 * posix/compat-streams.c: New file.
938 * posix/Makefile (routines): Add it.
939 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
940 getpmsg, isastream, putmsg, putpmsg.
941 (GLIBC_2.30): New section.
942 * bits/stropts.h: Remove file.
943 * bits/xtitypes.h: Likewise.
944 * conform/data/stropts.h-data: Likewise.
945 * include/stropts.h: Likewise.
946 * include/sys/stropts.h: Likewise.
947 * include/xtitypes.h: Likewise.
948 * streams/Makefile: Likewise.
949 * streams/fattach.c: Likewise.
950 * streams/fdetach.c: Likewise.
951 * streams/getmsg.c: Likewise.
952 * streams/getpmsg.c: Likewise.
953 * streams/isastream.c: Likewise.
954 * streams/putmsg.c: Likewise.
955 * streams/putpmsg.c: Likewise.
956 * streams/stropts.h: Likewise.
957 * streams/sys/stropts.h: Likewise.
958 * sysdeps/ia64/bits/xtitypes.h: Likewise.
959 * sysdeps/s390/bits/xtitypes.h: Likewise.
960 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
961 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
962 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
963 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
964 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
965 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
966 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
967 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
968 * sysdeps/x86/bits/xtitypes.h: Likewise.
970 2019-03-14 Florian Weimer <fweimer@redhat.com>
972 * nss/tst-nss-files-alias-truncated.c (do_test): Load
974 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
975 but not with libnss_files.
976 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
978 2019-03-14 Zack Weinberg <zackw@panix.com>
980 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
981 Specify encoding="utf-8" when opening headers to check.
983 2019-03-13 Joseph Myers <joseph@codesourcery.com>
985 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
987 (Context.checkout_tar): Handle variable major version for Linux
990 2019-03-13 Florian Weimer <fweimer@redhat.com>
993 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
995 2019-03-13 Zack Weinberg <zackw@panix.com>
997 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
999 * include/inttypes.h: Adjust to match.
1000 * include/stdint.h: New wrapper.
1002 2019-03-13 Zack Weinberg <zackw@panix.com>
1004 * scripts/check-obsolete-constructs.py: New test script.
1005 * scripts/check-installed-headers.sh: Remove tests for
1006 obsolete typedefs, superseded by check-obsolete-constructs.py.
1007 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1008 as a special test. Update commentary.
1009 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1010 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1012 * posix/sys/types.h (__u_intN_t): Remove.
1013 (u_int8_t): Typedef using __uint8_t.
1014 (u_int16_t): Typedef using __uint16_t.
1015 (u_int32_t): Typedef using __uint32_t.
1016 (u_int64_t): Typedef using __uint64_t.
1018 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
1020 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1022 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1023 Ignore types other than AT_HWCAP.
1024 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1025 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1027 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1028 in the case of falling back to generic output mechanism.
1029 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1032 2019-03-12 Florian Weimer <fweimer@redhat.com>
1034 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1036 2019-03-12 Florian Weimer <fweimer@redhat.com>
1039 resolv: Enable full ICMP errors for UDP DNS sockets
1040 * resolv/res_enable_icmp.c: New file.
1041 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1042 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1043 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1046 2019-03-11 Mao Han <han_mao@c-sky.com>
1048 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1049 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1051 2019-03-11 Mao Han <han_mao@c-sky.com>
1053 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1054 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1055 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1057 2019-03-11 Mao Han <han_mao@c-sky.com>
1059 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1061 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1064 2019-03-11 Mao Han <han_mao@c-sky.com>
1066 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1067 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1070 2019-03-08 Mike FABIAN <mfabian@redhat.com>
1073 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1074 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1076 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1077 * localedata/unicode-gen/PropList.txt: Likewise.
1078 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1079 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1080 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1081 * localedata/charmaps/UTF-8: Regenerate.
1082 * localedata/locales/i18n_ctype: Likewise.
1083 * localedata/locales/tr_TR: Likewise.
1084 * localedata/locales/translit_circle: Likewise.
1085 * localedata/locales/translit_cjk_compat: Likewise.
1086 * localedata/locales/translit_combining: Likewise.
1087 * localedata/locales/translit_compat: Likewise.
1088 * localedata/locales/translit_font: Likewise.
1089 * localedata/locales/translit_fraction: Likewise.
1091 2019-03-07 Joseph Myers <joseph@codesourcery.com>
1093 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1094 than after operators.
1095 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1096 (setitimer_locked): Likewise.
1097 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1098 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1099 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1100 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1101 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1102 (PPC_CPU_SUPPORTED): Likewise.
1103 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1104 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1105 (stat_overflow): Likewise.
1106 (statfs_overflow): Likewise.
1107 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1108 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1109 (eq_ttyname_r): Likewise.
1110 (run_chroot_tests): Likewise.
1112 2019-03-07 Florian Weimer <fweimer@redhat.com>
1114 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1117 2019-03-07 Martin Liska <mliska@suse.cz>
1119 * math/Makefile: Change location where math-vector-fortran.h is
1121 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1122 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1123 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1124 * scripts/check-installed-headers.sh: Skip Fortran header files.
1125 * scripts/check-wrapper-headers.py: Likewise.
1127 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1129 * nptl/nptl-init.c (__have_futex_clock_realtime,
1130 __have_futex_clock_realtime): Remove definition.
1131 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1132 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1133 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1134 __ASSUME_FUTEX_CLOCK_REALTIME support.
1135 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1136 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1137 * sysdeps/unix/sysv/linux/kernel-features.h
1138 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1139 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1142 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1144 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1145 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1146 __GI___wcscpy and wcscpy.
1148 2019-03-04 Florian Weimer <fweimer@redhat.com>
1150 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1152 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1155 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
1157 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1158 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1160 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1163 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1164 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1166 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1168 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1170 (do_test): Likewise.
1171 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1172 (do_test_call_varg): Likewise.
1173 (do_test_call_rarg): Likewise.
1174 * sysdeps/ieee754/ldbl-opt/Makefile
1175 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1177 ($(objpfx)tst-nldbl-warn.c): New rule.
1178 ($(objpfx)tst-nldbl-error.c): Likewise.
1179 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1182 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1185 * include/bits/error-ldbl.h: New file.
1186 * include/error.h: Include stdarg.h. Declare internal functions
1187 __error_internal and __error_at_line_internal.
1188 * misc/Makefile (headers): Add bits/error-ldbl.h.
1189 * misc/bits/error-ldbl.h: New file.
1190 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1191 avoid the inclusion of bits/error.h.
1192 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1193 and __nldbl_error_at_line.
1194 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1195 (__nldbl_error, __ndlbl_error_at_line): New functions.
1196 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1197 Redirect error and error_at_line.
1198 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1207 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1208 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1209 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1211 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1214 * include/bits/err-ldbl.h: New file.
1215 * include/err.h: Add prototypes for the internal functions:
1216 __vwarnx_internal and __vwarn_internal.
1217 * misc/Makefile (headers): Add bits/err-ldbl.h.
1218 * misc/bits/err-ldbl.h: New file.
1219 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1220 defined, i.e.: when -mlong-double-64 is in use.
1221 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1222 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1223 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1224 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1225 (VA_CALL): New macro.
1226 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1227 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1229 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1230 declare prototypes for the new functions.
1231 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1240 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1241 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1242 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1244 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1246 * sysdeps/ieee754/ldbl-opt/Makefile
1247 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1248 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1249 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1251 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1254 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1255 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1256 * argp/bits/argp-ldbl.h: New file.
1257 * include/argp.h: Include stdarg.h. Add prototypes for internal
1258 functions: __argp_error_internal and __argp_failure_internal.
1259 * include/bits/argp-ldbl.h: New file.
1260 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1261 __nldbl_argp_error and __nldbl_argp_failure.
1262 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1263 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1264 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1265 Redirect argp_error and argp_failure calls.
1266 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1275 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1276 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1277 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1279 2019-03-01 Florian Weimer <fweimer@redhat.com>
1282 * elf/tst-big-note-lib.S: Create a syntactically valid note.
1283 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
1284 code, to avoid creating an ABI tag note.
1285 (modules-names-nobuild): Add tst-big-note-lib.
1287 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
1289 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
1290 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
1292 2019-03-01 Florian Weimer <fweimer@redhat.com>
1295 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1296 (__netlink_assert_response): Add additional missing newlines.
1298 2019-02-28 Joseph Myers <joseph@codesourcery.com>
1300 * sysdeps/powerpc/powerpc32/dl-machine.c
1301 (__elf_machine_fixup_plt): Use space before '('.
1302 (__process_machine_rela): Likewise.
1303 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
1305 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
1307 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
1309 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
1310 (pattern): Likewise.
1312 (check_result): Likewise.
1313 (check_excepts): Likewise.
1314 (check_op): Likewise.
1315 (fail_xr): Likewise.
1316 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
1317 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
1319 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
1322 (__makecontext): Likewise.
1323 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
1326 2019-02-28 Florian Weimer <fweimer@redhat.com>
1329 elf: Add test with a local IFUNC resolver.
1330 * elf/ifuncmain9.c: New file.
1331 * elf/ifuncmain9pic.c: Likewise.
1332 * elf/ifuncmain9picstatic.c: Likewise.
1333 * elf/ifuncmain9pie.c: Likewise.
1334 * elf/ifuncmain9static.c: Likewise.
1335 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
1336 ifuncmain9static, ifuncmain9picstatic.
1337 * elf/Makefile [multi-arch && build-shared] (tests-internal):
1338 Add ifuncmain9, ifuncmain9pic.
1339 * elf/Makefile [multi-arch && build-shared && have-fpie]
1340 (ifunc-pie-tests): Add ifuncmain9pie.
1341 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
1342 (CFLAGS-ifuncmain9picstatic.c): Likewise.
1343 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
1345 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1347 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
1348 * configure: Regenerated.
1349 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
1351 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1353 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
1354 symbol as __wcspcy instead of wcscpy.
1356 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1358 * include/stdio.h (__renameat2): New hidden prototype.
1359 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
1360 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
1361 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
1362 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
1364 2019-02-27 Joseph Myers <joseph@codesourcery.com>
1366 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
1369 * benchtests/bench-strcpy.c (do_test): Use space before '('.
1370 * benchtests/bench-string.h (cmdline_process_function): Likewise.
1371 * benchtests/bench-strlen.c (do_test): Likewise.
1372 (test_main): Likewise.
1373 * catgets/gencat.c (read_old): Likewise.
1374 * elf/cache.c (load_aux_cache): Likewise.
1375 * iconvdata/bug-iconv8.c (do_test): Likewise.
1376 * math/test-tgmath-ret.c (do_test): Likewise.
1377 * nis/nis_call.c (rec_dirsearch): Likewise.
1378 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1379 * nptl/tst-audit-threads.c (do_test): Likewise.
1380 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
1381 * nss/nss_test1.c (init): Likewise.
1382 * nss/test-netdb.c (test_hosts): Likewise.
1383 * posix/execvpe.c (maybe_script_execute): Likewise.
1384 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1385 * stdio-common/tst-printf.c (do_test): Likewise.
1386 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1387 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1388 * stdlib/qsort.c (STACK_SIZE): Likewise.
1389 * stdlib/test-canon.c (do_test): Likewise.
1390 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1391 * string/memcmp.c (OPSIZ): Likewise.
1392 * string/test-strcpy.c (do_test): Likewise.
1393 (do_random_tests): Likewise.
1394 * string/test-strlen.c (do_test): Likewise.
1395 (test_main): Likewise.
1396 * string/test-strrchr.c (do_test): Likewise.
1397 (do_random_tests): Likewise.
1398 * string/tester.c (test_memrchr): Likewise.
1399 (test_memchr): Likewise.
1400 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1401 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1402 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1403 (read_encoded_value_with_base): Likewise.
1404 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1405 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1406 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1407 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1408 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1409 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1411 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1413 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1414 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1415 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1417 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1419 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1421 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1423 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1424 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1425 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1426 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1427 * time/test_time.c (main): Likewise.
1429 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1431 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1433 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1436 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1439 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1441 * include/wchar.h (__wcscpy): New prototype.
1442 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1443 (__wcscpy): Route internal symbol to generic implementation.
1444 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1445 Add internal __wcscpy alias.
1446 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1447 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1448 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1449 * wcsmbs/wcscpy.c (wcscpy): Add
1450 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1451 use generic implementation.
1452 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1454 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1457 * sysdeps/m68k/wcpcpy.c: Remove file.
1458 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1460 2019-02-26 Joseph Myers <joseph@codesourcery.com>
1462 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
1463 than after operators.
1464 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1465 * sysdeps/mach/hurd/getcwd.c
1466 (__hurd_canonicalize_directory_name_internal): Likewise.
1467 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
1468 (pthread_mutex_consistent): Likewise.
1469 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
1471 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
1472 (__pthread_mutex_transfer_np): Likewise.
1473 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
1474 (__pthread_mutex_unlock): Likewise.
1475 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
1476 (mtx_owned_p): Likewise.
1477 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
1478 (pthread_mutexattr_getrobust): Likewise.
1479 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
1480 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1482 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1483 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1484 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1485 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
1486 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1487 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1488 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
1490 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
1492 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
1493 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
1494 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
1495 (____longjmp_chk): Likewise.
1496 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
1498 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1499 (INTERNAL_SYSCALL): Likewise.
1500 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1501 (INTERNAL_SYSCALL): Likewise.
1502 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1503 (__get_clockfreq_via_cpuinfo): Likewise.
1505 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
1507 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
1508 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
1509 (WORD_COPY_BWD): Likewise.
1510 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1511 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1513 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
1514 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
1516 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1518 2019-02-25 Joseph Myers <joseph@codesourcery.com>
1520 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
1521 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
1522 rather than after operators.
1523 * elf/cache.c (print_cache): Likewise.
1524 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
1525 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
1526 * hurd/hurdinit.c (_hurd_setproc): Likewise.
1527 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
1528 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
1529 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1530 (reauth_proc): Likewise.
1531 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
1532 (__file_name_split_at): Likewise.
1533 (__directory_name_split_at): Likewise.
1534 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1535 * hurd/port2fd.c (_hurd_port2fd): Likewise.
1536 * iconv/gconv_dl.c (do_print): Likewise.
1537 * inet/netinet/in.h (struct sockaddr_in): Likewise.
1538 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
1539 * locale/setlocale.c (new_composite_name): Likewise.
1540 * malloc/memusagestat.c (main): Likewise.
1541 * misc/fstab.c (fstab_convert): Likewise.
1542 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1544 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
1545 (getgrent_next_file): Likewise.
1546 (internal_getgrnam_r): Likewise.
1547 (internal_getgrgid_r): Likewise.
1548 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
1550 (internal_getgrent_r): Likewise.
1551 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1552 (getpwent_next_nss): Likewise.
1553 (getpwent_next_file): Likewise.
1554 (internal_getpwnam_r): Likewise.
1555 (internal_getpwuid_r): Likewise.
1556 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
1558 (getspent_next_nss): Likewise.
1559 (internal_getspnam_r): Likewise.
1560 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1561 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1562 * string/strchr.c (STRCHR): Likewise.
1563 * string/strchrnul.c (STRCHRNUL): Likewise.
1564 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
1565 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1566 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
1567 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
1568 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
1570 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
1571 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1572 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1573 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
1574 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
1575 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1576 (open_file): Likewise.
1577 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
1578 (pthread_mutexattr_setprotocol): Likewise.
1579 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1580 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1581 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1582 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1583 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1585 (elf_machine_rela): Likewise.
1586 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1587 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1588 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
1589 * sysdeps/posix/rename.c (rename): Likewise.
1590 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
1591 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
1592 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
1593 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
1594 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1595 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
1596 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
1598 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
1600 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
1601 * time/tzfile.c (__tzfile_compute): Likewise.
1603 2019-02-22 Joseph Myers <joseph@codesourcery.com>
1605 * benchtests/bench-memmem.c (simple_memmem): Break lines before
1606 rather than after operators.
1607 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
1608 * crypt/md5.c (md5_finish_ctx): Likewise.
1609 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
1610 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
1611 * elf/cache.c (load_aux_cache): Likewise.
1612 * elf/dl-load.c (open_verify): Likewise.
1613 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1614 * elf/readelflib.c (process_elf_file): Likewise.
1615 * elf/rtld.c (dl_main): Likewise.
1616 * elf/sprof.c (generate_call_graph): Likewise.
1617 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
1618 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1619 * hurd/dtable.c (reauth_dtable): Likewise.
1620 * hurd/getdport.c (__getdport): Likewise.
1621 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
1622 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
1623 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
1625 * hurd/hurdioctl.c (fioctl): Likewise.
1626 * hurd/hurdselect.c (_hurd_select): Likewise.
1627 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
1628 (STOPSIGS): Likewise.
1629 * hurd/hurdstartup.c (_hurd_startup): Likewise.
1630 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
1631 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1632 * hurd/msgportdemux.c (msgport_server): Likewise.
1633 * hurd/setauth.c (_hurd_setauth): Likewise.
1634 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
1635 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
1636 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1637 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
1638 * login/tst-utmp.c (do_check): Likewise.
1639 (simulate_login): Likewise.
1640 * mach/lowlevellock.h (lll_lock): Likewise.
1641 (lll_trylock): Likewise.
1642 * math/test-fenv.c (ALL_EXC): Likewise.
1643 * math/test-fenvinline.c (ALL_EXC): Likewise.
1644 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
1645 * nis/nis_call.c (__do_niscall3): Likewise.
1646 * nis/nis_callback.c (cb_prog_1): Likewise.
1647 * nis/nis_defaults.c (searchaccess): Likewise.
1648 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1649 * nis/nis_ismember.c (internal_ismember): Likewise.
1650 * nis/nis_local_names.c (nis_local_principal): Likewise.
1651 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
1652 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
1654 * nis/ypclnt.c (yp_match): Likewise.
1655 (yp_first): Likewise.
1656 (yp_next): Likewise.
1657 (yp_master): Likewise.
1658 (yp_order): Likewise.
1659 * nscd/hstcache.c (cache_addhst): Likewise.
1660 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1661 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
1662 (internal_getpwuid_r): Likewise.
1663 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
1664 * posix/glob.h (__GLOB_FLAGS): Likewise.
1665 * posix/regcomp.c (peek_token): Likewise.
1666 (peek_token_bracket): Likewise.
1667 (parse_expression): Likewise.
1668 * posix/regexec.c (sift_states_iter_mb): Likewise.
1669 (check_node_accept_bytes): Likewise.
1670 * posix/tst-spawn3.c (do_test): Likewise.
1671 * posix/wordexp-test.c (testit): Likewise.
1672 * posix/wordexp.c (parse_tilde): Likewise.
1673 (exec_comm): Likewise.
1674 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
1675 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
1676 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
1677 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
1678 * stdio-common/tst-fileno.c (do_test): Likewise.
1679 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
1680 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
1681 * stdlib/strtod_l.c (round_and_return): Likewise.
1682 (____STRTOF_INTERNAL): Likewise.
1683 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
1684 * string/strcspn.c (STRCSPN): Likewise.
1685 * string/test-memmem.c (simple_memmem): Likewise.
1686 * termios/tcsetattr.c (tcsetattr): Likewise.
1687 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
1688 * time/asctime.c (asctime_internal): Likewise.
1689 * time/strptime_l.c (__strptime_internal): Likewise.
1690 * time/sys/time.h (timercmp): Likewise.
1691 * time/tzfile.c (__tzfile_compute): Likewise.
1693 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
1696 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
1698 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1700 * argp/argp-help.c (__argp_error_internal): New function,
1701 renamed from __argp_error, but that takes a 'mode_flags'
1702 parameter to control the format of long double parameters.
1703 (__argp_error): Converted into a call __argp_error_internal.
1704 (__argp_failure_internal): New function, renamed from
1705 __argp_failure, but that takes a 'mode_flags' parameter.
1706 (__argp_failure): Converted into a call __argp_failure_internal.
1707 * misc/err.c (__vwarnx_internal): New function, renamed from
1708 vwarnx, but that takes a 'mode_flags' parameter.
1709 (vwarnx): Converted into a call to __vwarnx_internal.
1710 (__vwarn_internal): New function, renamed from vwarn, but that
1711 takes a 'mode_flags' parameter.
1712 (vwarn): Converted into a call to __vwarn_internal.
1713 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
1714 call to __vfxprintf with 'mode_flags'.
1715 (__error_internal): New function, renamed from error, but that
1716 takes a 'mode_flags' parameter.
1717 (error): Converted into a call to __error_internal.
1718 (__error_at_line_internal): New function, renamed from
1719 error_at_line, but that takes a 'mode_flags' parameter.
1720 (error_at_line): Converted into a call to
1721 __error_at_line_internal.
1722 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
1723 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
1726 2019-02-20 Martin Liska <mliska@suse.cz>
1728 * math/Makefile: Install math-vector-fortran.h.
1729 * bits/math-vector-fortran.h: New file.
1730 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
1732 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1734 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
1735 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
1737 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
1739 * nptl/pthread_mutex_trylock.c: Fix comment.
1741 2019-02-19 Carlos O'Donell <carlos@redhat.com>
1743 * nptl/pthread_tryjoin.c: Fix comment.
1745 2019-02-18 Joseph Myers <joseph@codesourcery.com>
1748 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
1749 after R_SPARC_H34 case.
1751 2019-02-18 Florian Weimer <fweimer@redhat.com>
1753 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
1754 (getanswer): Do not call Dprintf.
1755 (res_gethostbyname2_context): Likewise.
1756 (res_gethostbyaddr_context): Likewise.
1758 2019-02-18 Florian Weimer <fweimer@redhat.com>
1760 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
1762 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
1764 * libio/stdfiles.c: Update comment.
1765 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
1766 set _IO_stdin, _IO_stdout, _IO_stderr.
1767 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
1768 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
1770 (_IO_deallocate_file): New inline function.
1771 * libio/iolibio.h (_IO_vprintf): Remove definition.
1772 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
1773 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1774 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
1776 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
1777 __builtin_expect. Use _IO_legacy_file.
1779 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
1781 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
1782 Initialize ctid with a known value and remove update of ctid
1784 (wait_tid): Adjust arguments and call futex_wait with ctid_val
1785 as assumed current value of ctid_ptr.
1787 2019-02-16 Florian Weimer <fweimer@redhat.com>
1789 Check that non-sysdeps headers have wrapper headers.
1790 * scripts/check-wrapper-headers.py: New file.
1791 * Makefile (tests-special): Add check-wrapper-headers.out.
1792 (check-wrapper-headers.out): New target.
1793 * Rules (tests-special): Add check-wrapper-headers.out.
1794 (check-wrapper-headers.out): New target.
1796 2019-02-16 Florian Weimer <fweimer@redhat.com>
1798 Add missing header wrappers under include/.
1799 * include/ar.h: New file.
1800 * include/bits/mqueue2.h: Likewise.
1801 * include/bits/stdio.h: Likewise.
1802 * include/bits/stdio2.h: Likewise.
1803 * include/fstab.h: Likewise.
1804 * include/fts.h: Likewise.
1805 * include/lastlog.h: Likewise.
1806 * include/netinet/icmp6.h: Likewise.
1807 * include/netinet/igmp.h: Likewise.
1808 * include/netinet/ip6.h: Likewise.
1809 * include/re_comp.h: Likewise.
1810 * include/regexp.h: Likewise.
1811 * include/rpcsvc/bootparam.h: Likewise.
1812 * include/rpcsvc/yp_prot.h: Likewise.
1813 * include/sys/random.h: Likewise.
1814 * include/sys/stropts.h: Likewise.
1815 * include/sys/ttychars.h: Likewise.
1816 * include/sys/vfs.h: Likewise.
1817 * include/wait.h: Likewise.
1819 2019-02-16 Florian Weimer <fweimer@redhat.com>
1821 * nptl_db/proc_service.h: Move to ...
1822 * sysdeps/nptl/proc_service.h: ... here.
1823 * nptl_db/thread_db.h: Move to ...
1824 * sysdeps/nptl/thread_db.h: ... here.
1825 * nptl/descr.h: Include <thread_db.h>.
1827 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1829 * io/Makefile (tests): Add tst-lockf.
1830 * io/lockf.c (lockf): Use __fcntl and only define for
1831 !__OFF_T_MATCHES_OFF64_T.
1832 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1833 __OFF_T_MATCHES_OFF64_T case.
1834 * io/tst-lockf.c: New file.
1835 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1836 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1837 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1838 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1839 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1841 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1842 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1843 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1845 2019-02-15 Florian Weimer <fweimer@redhat.com>
1848 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1849 pd->result after the thread descriptor has been freed.
1851 2019-02-15 Joseph Myers <joseph@codesourcery.com>
1853 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1854 from function return type.
1856 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1858 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1860 * scripts/test_printers_common.py: Set TERM to a known harmless
1863 2019-02-14 Joseph Myers <joseph@codesourcery.com>
1865 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1866 (xdr_u_int): Likewise.
1867 (xdr_enum): Likewise.
1868 (xdr_bytes): Reword fall-through comment.
1869 (xdr_string): Likewise.
1871 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1874 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1875 (tests): Add tst-join8 tst-join9.
1876 * nptl/lll_timedwait_tid.c: Remove file.
1877 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1878 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1879 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1880 * nptl/pthread_join_common.c (timedwait_tid): New function.
1881 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1883 * nptl/tst-join5.c (thread_join): New function.
1884 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1886 * nptl/tst-join8.c: New file.
1887 * nptl/tst-join9.c: Likewise.
1888 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1889 lll_futex_timed_wait_cancel): Add generic macros.
1890 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1892 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1893 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1894 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1895 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1897 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1899 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1900 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1901 (lll_futex_timed_wait_cancel): New macro.
1903 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1905 * benchtests/Makefile: Add malloc-simple benchmark.
1906 * benchtests/bench-malloc-simple.c: New benchmark.
1908 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1910 * benchtests/bench-memmove.c (do_one_test): Remove unused
1913 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1917 2019-01-13 Jim Wilson <jimw@sifive.com>
1920 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1921 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1923 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1925 * nptl/Makefile (tests): Add tst-unwind-thread.
1926 (CFLAGS-tst-unwind-thread.c): Define.
1927 * nptl/tst-unwind-thread.c: New file.
1928 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1931 2019-02-13 Joseph Myers <joseph@codesourcery.com>
1933 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1935 * nis/nis_call.c (__do_niscall3): Likewise.
1937 * catgets/gencat.c (normalize_line): Use braces around empty
1939 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1940 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1941 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1942 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1943 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1944 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1945 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1948 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1951 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1953 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1954 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1955 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1956 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1957 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1958 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1959 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1960 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1961 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1962 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1963 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1964 * benchtests/bench-bcopy.c: Delete file.
1965 * benchtests/bench-bzero.c: Likewise.
1966 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1967 (simple_memccpy): Remove.
1968 (generic_memccpy): Add function.
1969 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1970 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1971 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1972 (generic_mempcpy): Add new function.
1973 * benchtests/bench-memset.c (simple_bzero): Remove.
1974 (builtin_bzero): Remove.
1975 (builtin_memset): Remove.
1976 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1977 (generic_rawmemchr): Add new function.
1979 2019-02-12 Florian Weimer <fweimer@redhat.com>
1981 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1983 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1986 * elf/Makefile (tests): Add tst-audit13.
1987 (modules-names): Add tst-audit13mod1.
1988 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1990 * elf/tst-audit13.c: New file.
1991 * elf/tst-audit13mod1.c: Likewise.
1993 2019-02-12 Florian Weimer <fweimer@redhat.com>
1996 * elf/rtld.c (unload_audit_module): New function.
1997 (report_audit_module_load_error): Likewise.
1998 (load_audit_module): Likewise. Extracted from dl_main. Call
1999 _dl_close if the laversion symbol cannot be found. Use early
2000 returns for error handling. Add malloc error check. Check for a
2001 zero return value from la_version. Remove spurious comment about
2002 static TLS initialization. Remove useless casts.
2003 (notify_audit_modules_of_loaded_object): New function. Extracted
2005 (load_audit_module): Likewise.
2006 (dl_main): Call load_audit_modules.
2008 2019-02-12 Joseph Myers <joseph@codesourcery.com>
2010 * elf/dl-exception.c (_dl_exception_create_format): Add
2011 fall-through comments.
2012 * elf/ldconfig.c (parse_conf_include): Likewise.
2013 * elf/rtld.c (print_statistics): Likewise.
2014 * locale/programs/charmap.c (parse_charmap): Likewise.
2015 * misc/mntent_r.c (__getmntent_r): Likewise.
2016 * posix/wordexp.c (parse_arith): Likewise.
2017 (parse_backtick): Likewise.
2018 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2019 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2020 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2022 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
2024 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2025 Use float instead of double.
2027 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2029 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2031 2019-02-08 Joseph Myers <joseph@codesourcery.com>
2033 * sysdeps/powerpc/bits/mathinline.h: Remove.
2035 2019-02-08 Florian Weimer <fweimer@redhat.com>
2037 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2038 * math/bits/math-finite.h: Move to ...
2039 * bits/math-finite.h: ... here.
2041 2019-02-08 Florian Weimer <fweimer@redhat.com>
2043 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2044 * bits/unistd_ext.h: here.
2046 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2049 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2050 * nss/tst-nss-files-hosts-long.c: New file.
2051 * nss/tst-nss-files-hosts-long.root: New directory.
2052 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2053 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2055 2019-02-08 Florian Weimer <fweimer@redhat.com>
2057 * include/bits/unistd_ext.h: Remove file.
2058 * posix/bits/unistd_ext.h: Move to ...
2059 * sysdeps/generic/bits/unistd_ext.h: ... here.
2061 2019-02-08 Florian Weimer <fweimer@redhat.com>
2063 * include/bits/unistd_ext.h: New file.
2065 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2067 * time/tst-strftime2.c: Use array_length macros instead of magic
2070 2019-02-08 Florian Weimer <fweimer@redhat.com>
2073 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2075 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2076 locking if the new do_locking argument is true.
2077 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2078 __run_fork_handlers.
2080 2019-02-08 Florian Weimer <fweimer@redhat.com>
2083 Linux: Add gettid system call wrapper.
2084 * posix/Makefile (headers): Add bits/unistd_ext.h.
2085 * posix/bits/unistd_ext.h: New file.
2086 * posix/unistd.h: Include it.
2087 * manual/process.texi (Process Identification): Document gettid.
2088 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2089 tst-gettid, tst-gettid-kill.
2090 (tst-gettid): Link with $(shared-thread-library).
2091 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2092 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2093 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2094 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2095 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2096 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2098 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2100 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2101 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2103 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2105 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2107 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2109 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2111 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2113 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2115 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2116 (GLIBC_2.30): Likewise.
2117 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2118 (GLIBC_2.30): Likewise.
2119 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2120 (GLIBC_2.30): Likewise.
2121 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2122 (GLIBC_2.30): Likewise.
2123 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2126 (GLIBC_2.30): Likewise.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2128 (GLIBC_2.30): Likewise.
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2130 (GLIBC_2.30): Likewise.
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2132 (GLIBC_2.30): Likewise.
2133 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2135 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2137 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2139 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2140 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2142 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2144 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2146 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2148 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2150 2019-02-08 Florian Weimer <fweimer@redhat.com>
2152 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2153 compatibility symbols.
2155 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
2158 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2159 Add compiler barriers and comments.
2161 2019-02-07 Florian Weimer <fweimer@redhat.com>
2163 * include/array_length.h (array_length): Do not use a statement
2164 expression and _Static_assert, so that array_length can be used at
2165 file scope and as a constant expression.
2167 2019-02-07 Florian Weimer <fweimer@redhat.com>
2169 * support/xdlfcn.h (xdlmopen): Declare.
2170 * support/xdlmopen.c: New file.
2171 * support/Makefile (libsupport-routines): Add xdlmopen.
2173 2019-02-06 Joseph Myers <joseph@codesourcery.com>
2175 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2176 before return type, without separate inline.
2177 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2178 * elf/dl-tunables.h (tunable_is_name): Likewise.
2179 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2180 (do_set_top_pad): Likewise.
2181 (do_set_mmap_threshold): Likewise.
2182 (do_set_mmaps_max): Likewise.
2183 (do_set_mallopt_check): Likewise.
2184 (do_set_perturb_byte): Likewise.
2185 (do_set_arena_test): Likewise.
2186 (do_set_arena_max): Likewise.
2187 (do_set_tcache_max): Likewise.
2188 (do_set_tcache_count): Likewise.
2189 (do_set_tcache_unsorted_limit): Likewise.
2190 * nis/nis_subr.c (count_dots): Likewise.
2191 * nptl/allocatestack.c (advise_stack_range): Likewise.
2192 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2194 (reduce_sincos): Likewise.
2195 (do_sincos): Likewise.
2196 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2197 (do_set_elision_enable): Likewise.
2198 (TUNABLE_CALLBACK_FNDECL): Likewise.
2200 2019-02-06 Florian Weimer <fweimer@redhat.com>
2202 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2203 (xdlsym): Use dlerror to detect a NULL symbol.
2205 2019-02-06 Florian Weimer <fweimer@redhat.com>
2207 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2209 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2211 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2213 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2215 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2217 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2218 __wmemcmp and weak alias to wmemcmp.
2220 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2223 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2224 TLS_TCB_AT_TP tls variant.
2225 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2226 Add alignment checks.
2227 * support/Makefile (libsupport-routines): Add xposix_memalign and
2229 * support/support.h: Add xposix_memalign.
2230 * support/xthread.h: Add xpthread_attr_setstack.
2231 * support/xposix_memalign.c: New File.
2232 * support/xpthread_attr_setstack.c: Likewise.
2234 2019-02-05 Florian Weimer <fweimer@redhat.com>
2237 arm: Use "nr" constraint for Systemtap probes, to avoid the
2238 compiler using memory operands for constants, due to the "o"
2239 alternative in the default "nor" constraint.
2240 * include/stap-probe.h [USE_STAP_PROBE]: Include
2241 <stap-probe-machine.h>
2242 * sysdeps/generic/stap-probe-machine.h: New file.
2243 * sysdeps/arm/stap-probe-machine.h: Likewise.
2245 2019-02-04 Joseph Myers <joseph@codesourcery.com>
2247 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2248 with 0, not tcache->entries[tc_idx].
2250 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2253 2019-02-04 Andreas Schwab <schwab@suse.de>
2257 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2258 looking up collating elements match against (wide) character
2259 sequence instead of name. Correct alignment adjustment.
2260 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2261 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2262 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2263 (LOCALES): Add cs_CZ.ISO-8859-2.
2264 * posix/tst-fnmatch4.c: New file.
2265 * posix/tst-fnmatch5.c: New file.
2266 * include/wchar.h (__wmemcmp): Declare.
2267 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
2268 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2269 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2270 * sysdeps/s390/wmemcmp.c: Likewise.
2272 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
2276 * NEWS: Updated for CVE-2019-7309.
2277 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
2278 upper 32 bits of RDX register for x32. Use unsigned Jcc
2279 instructions, instead of signed.
2280 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
2281 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
2283 2019-02-04 Florian Weimer <fweimer@redhat.com>
2285 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
2286 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
2287 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
2289 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
2290 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
2291 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
2292 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
2294 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
2296 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
2298 (posix_spawn_file_actions_addopen): Likewise.
2299 (posix_spawn_file_actions_addclose): Likewise.
2300 (posix_spawn_file_actions_adddup2): Likewise.
2301 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
2303 (posix_spawn_file_actions_addfchdir_np): Likewise.
2305 2019-02-04 David Newall <glibc@davidnewall.com>
2307 elf: Implement --preload option for the dynamic linker.
2308 * elf/rtld.c (preloadarg): New variable.
2309 (handle_preload_list): Pass through “where” argument to
2311 (dl_main): Handle "--preload" and add second call to
2312 handle_preload_list.
2313 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
2314 (tst-rtld-preload-OBJS): Set variable.
2315 (tst-rtld-preload.out): New target.
2316 * elf/tst-rtld-preload.sh: New file.
2318 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
2320 * Makefile (testrun.sh): Exit in case of incorrect argument.
2322 2019-02-04 Florian Weimer <fweimer@redhat.com>
2324 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
2327 2019-02-03 Florian Weimer <fweimer@redhat.com>
2329 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
2330 implicit overflow checks.
2332 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
2334 * stdlib/isomac.c: Include <unistd.h>.
2336 2019-02-03 Florian Weimer <fweimer@redhat.com>
2338 * include/time.h (__tzfile_default): Use int, not long int, for
2340 * time/tzfile.c (struct ttinfo): Change type of the offset member
2342 (__tzfile_read): Remove useless cast.
2343 (__tzfile_default): Adjust prototype.
2344 * time/tzset.c (tz_rule): Change type of the offset member to int.
2345 (parse_offset): Change the type of the sign variable to int.
2347 2019-02-03 Florian Weimer <fweimer@redhat.com>
2350 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
2351 * libio/getchar.c (getchar): Likewise.
2352 * libio/getchar_u.c (getchar_unlocked): Likewise.
2353 * libio/getwchar.c (getwchar): Likewise.
2354 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2355 * libio/iogets.c (_IO_gets): Likewise.
2356 * libio/vscanf.c (_IO_vscanf): Likewise.
2357 * libio/vwscanf.c (__vwscanf): Likewise.
2358 * libio/tst-bz24153.c: New file.
2359 * libio/Makefile (tests): Add it.
2361 2019-02-02 Florian Weimer <fweimer@redhat.com>
2364 * manual/resource.texi (Basic Scheduling Functions): Add
2365 portability note. Change process to task throughout the section.
2366 Remove incorrect comment about sched_yield as it affects
2367 tasks/threads, not entire processes.
2368 * sysdeps/unix/sysv/linux/bits/posix_opt.h
2369 (_POSIX_PRIORITY_SCHEDULING): Update comment.
2371 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2373 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
2374 * configure: Regenerated.
2375 * manual/install.texi (Tools for Compilation): Update minimum GCC
2377 * INSTALL: Regenerated.
2379 2019-02-01 Florian Weimer <fweimer@redhat.com>
2381 * support/support_test_compare_string.c
2382 (support_test_compare_string): Use "string" in error message.
2383 * support/tst-test_compare_string.c (do_test): Adjust.
2385 2019-02-01 Florian Weimer <fweimer@redhat.com>
2387 * support/support_format_address_family.c
2388 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2390 2019-02-01 Florian Weimer <fweimer@redhat.com>
2392 * manual/socket.texi (Internet Address Formats): Clarify the byte
2393 order of struct sockaddr_in, struct sockaddr_in6. Document
2394 sin6_flowinfo and sin6_scope_id.
2396 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2398 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2399 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2400 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2401 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2402 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2403 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2405 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2407 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2408 [!MEMCHR](MEMCHR): Set to __memchr.
2409 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2410 Add memchr_generic and memchr_nosimd.
2411 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2412 (__libc_ifunc_impl_list): Add memchr ifuncs.
2413 * sysdeps/aarch64/multiarch/memchr.c: New file.
2414 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2415 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2417 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2419 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2421 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2422 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2423 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2424 Add IS_EMAG check for ifunc dispatch.
2425 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2426 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2428 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2430 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2431 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2433 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2436 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
2438 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2440 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
2442 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2443 syscall-template file.
2445 2019-01-31 Carlos O'Donell <carlos@redhat.com>
2446 Torvald Riegel <triegel@redhat.com>
2447 Rik Prohaska <prohaska7@gmail.com>
2450 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2451 tst-rwlock-trywrlock-stall.
2452 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2453 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2454 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2455 Set __wrphase_fute to 1 only if we started the write phase.
2456 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2457 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2458 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2459 * support/xpthread_rwlock_destroy.c: New file.
2460 * support/xthread.h: Declare xpthread_rwlock_destroy.
2462 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2464 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2467 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2470 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
2471 * libio/fileops.c (_IO_new_file_underflow): Likewise
2472 * libio/wfileops.c (_IO_wfile_underflow): Likewise
2473 * libio/putchar.c (putchar): Likewise.
2474 * libio/putchar_u.c (putchar_unlocked): Likewise.
2475 * libio/putwchar.c (putchar): Likewise.
2476 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2477 * libio/tst-bz24051.c: New test.
2478 * libio/Makefile (tests): Add tst-bz24051
2480 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
2483 regex: fix read overrun [BZ #24114]
2484 Problem found by AddressSanitizer, reported by Hongxu Chen in:
2485 https://debbugs.gnu.org/34140
2486 * posix/regexec.c (proceed_next_node):
2487 Do not read past end of input buffer.
2489 2019-01-31 Florian Weimer <fweimer@redhat.com>
2492 * nss/nss_files/files-alias.c (get_next_alias): Handle
2493 continuation line without newline at the end.
2494 * nss/tst-nss-files-alias-truncated.c: New file.
2495 * nss/Makefile [$(build-shared)] (tests): Add
2496 tst-nss-files-alias-truncated.
2497 (tst-nss-files-alias-truncated): Link with libnss_files.so.
2498 * support/namespace.h (struct support_chroot_configuration): Add
2500 (struct support_chroot): Add path_aliases member.
2501 * support/support_chroot.c (support_chroot_create): Handle
2503 (support_chroot_free): Free path_aliases.
2505 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2507 * version.h (RELEASE): Set to "development".
2508 (VERSION): Set to "2.29.9000".
2509 * NEWS: Add section for 2.30.
2511 * version.h (RELEASE): Set to "stable".
2512 (VERSION): Set to "2.29".
2513 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
2515 * NEWS: Add the list of bugs fixed in 2.29.
2516 * manual/contrib.texi: Update contributors list with some more
2518 * manual/install.texi: Update latest versions of packages
2520 * INSTALL: Regenerated.
2522 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2524 * po/be.po: Update translations.
2525 * po/bg.po: Likewise.
2526 * po/ca.po: Likewise.
2527 * po/cs.po: Likewise.
2528 * po/da.po: Likewise.
2529 * po/de.po: Likewise.
2530 * po/el.po: Likewise.
2531 * po/eo.po: Likewise.
2532 * po/es.po: Likewise.
2533 * po/fi.po: Likewise.
2534 * po/fr.po: Likewise.
2535 * po/gl.po: Likewise.
2536 * po/hr.po: Likewise.
2537 * po/hu.po: Likewise.
2538 * po/ia.po: Likewise.
2539 * po/id.po: Likewise.
2540 * po/it.po: Likewise.
2541 * po/ja.po: Likewise.
2542 * po/ko.po: Likewise.
2543 * po/lt.po: Likewise.
2544 * po/nb.po: Likewise.
2545 * po/nl.po: Likewise.
2546 * po/pl.po: Likewise.
2547 * po/pt_BR.po: Likewise.
2548 * po/ru.po: Likewise.
2549 * po/rw.po: Likewise.
2550 * po/sk.po: Likewise.
2551 * po/sl.po: Likewise.
2552 * po/sv.po: Likewise.
2553 * po/tr.po: Likewise.
2554 * po/uk.po: Likewise.
2555 * po/vi.po: Likewise.
2556 * po/zh_CN.po: Likewise.
2557 * po/zh_TW.po: Likewise.
2559 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
2562 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
2563 of $f3 register on $y_is_neg path.
2565 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2568 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
2569 sigaltstack.ss_flags.
2571 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
2574 * manual/time.texi (strftime): Document "%Ey".
2575 * time/strftime_l.c (__strftime_internal): Set the default width
2576 padding with zero of "%Ey" to 2.
2579 * manual/time.texi (strftime): Document "%EC" and "%EY".
2580 * time/Makefile (tests): Add tst-strftime2.
2581 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
2582 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
2583 override padding for "%Ey".
2584 If an optional flag ('_' or '-') is specified to "%EY", interpret the
2585 "%Ey" in the subformat as if decorated with that flag.
2586 * time/tst-strftime2.c: New file.
2588 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2590 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
2594 * elf/Makefile (tests): Add tst-audit13.
2595 (modules-names): Add tst-audit13mod1.
2596 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2598 * elf/rtld.c (dl_main): Handle invalid audit module version.
2599 * elf/tst-audit13.c: New file.
2600 * elf/tst-audit13mod1.c: Likewise.
2602 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2604 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
2605 returned by __hurd_at_flags.
2606 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
2607 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
2608 directly instead of __hurd_file_name_lookup.
2610 2019-01-21 Joseph Myers <joseph@codesourcery.com>
2612 * scripts/build-many-glibcs.py (Context.checkout): Default
2613 binutils version to 2.32 branch.
2615 2019-01-21 Florian Weimer <fweimer@redhat.com>
2619 resolv: Reject trailing characters in host names
2620 * include/arpa/inet.h (__inet_aton_exact): Declare.
2621 (inet_aton): Remove hidden prototype. No longer used internally.
2622 * nscd/gai.c (__inet_aton): Do not define.
2623 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
2624 * nss/digits_dots.c (__inet_aton): Likewise.
2625 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
2626 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
2627 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
2628 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
2629 (tst-resolv-trailing): Likewise.
2630 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
2632 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
2633 Make static. Add endp parameter.
2634 (__inet_aton_exact): New function.
2635 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
2636 (__inet_addr): Call inet_aton_end.
2637 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
2638 not just IPv6. Call __inet_aton_exact.
2639 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
2640 (tests): Make const. Add additional test cases with trailing
2642 (do_test): Use array_length.
2643 * resolv/tst-inet_aton_exact.c: New file.
2644 * resolv/tst-resolv-trailing.c: Likewise.
2645 * resolv/tst-resolv-nondecimal.c: Likewise.
2646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
2648 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2652 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
2653 Clear the upper 32 bits of RSI register.
2654 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
2655 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
2656 and tst-size_t-wcsnlen.
2657 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
2658 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
2660 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2664 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
2665 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2666 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2667 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
2668 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
2670 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2674 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
2675 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2676 * sysdeps/x86_64/strcmp.S: Likewise.
2677 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
2678 tst-size_t-strncmp and tst-size_t-wcsncmp.
2679 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
2680 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
2681 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
2683 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2687 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
2688 RDX_LP for length. Clear the upper 32 bits of RDX register.
2689 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
2690 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
2691 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
2692 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
2694 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2698 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
2699 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
2700 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
2701 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
2703 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2707 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
2708 length. Clear the upper 32 bits of RDX register.
2709 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2710 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2712 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2714 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
2716 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
2718 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2722 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
2723 length. Clear the upper 32 bits of RDX register.
2724 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2725 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2726 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
2728 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
2729 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
2731 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2735 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
2736 upper 32 bits of RDX register.
2737 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2738 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
2740 * sysdeps/x86_64/x32/test-size_t.h: New file.
2741 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
2742 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
2744 2019-01-18 Florian Weimer <fweimer@redhat.com>
2747 resolv: Do not send queries for non-host-names in nss_dns.
2748 * resolv/nss_dns/dns-host.c (check_name): New function.
2749 (_nss_dns_gethostbyname2_r): Use it.
2750 (_nss_dns_gethostbyname_r): Likewise.
2751 (_nss_dns_gethostbyname4_r): Likewise.
2753 2019-01-21 Florian Weimer <fweimer@redhat.com>
2755 * resolv/inet_addr.c: Reformat to GNU style.
2756 (__inet_addr, __inet_aton): Update comment.
2758 2019-01-18 Florian Weimer <fweimer@redhat.com>
2760 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
2761 ("malloc: Use current (C11-style) atomics for fastbin access").
2762 This commit introduces a substantial performance regression on
2764 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
2765 (REMOVE_FB): Define.
2766 (_int_malloc): Use it and reindent.
2767 (_int_free): Use CAS loop with
2768 catomic_compare_and_exchange_val_rel.
2769 (malloc_consolidate): Use atomic_exchange_acq.
2772 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
2774 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
2776 (LDFLAGS-tst-minsigstksz-2): Likewise.
2777 (LDFLAGS-tst-minsigstksz-3): Likewise.
2778 (LDFLAGS-tst-minsigstksz-3a): Likewise.
2779 (LDFLAGS-tst-minsigstksz-4): Likewise.
2781 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
2783 * manual/time.texi (strftime): Fix the wording to "alternative" rather
2786 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
2788 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
2790 2019-01-16 Zack Weinberg <zackw@panix.com>
2792 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
2793 (xget_sigstack_location): New test support functions.
2794 * support/xsigstack.c: New file, implementing them.
2795 * support/tst-xsigstack.c: New test for them.
2796 * support/Makefile: Update.
2798 * signal/tst-minsigstksz-1.c
2799 * signal/tst-minsigstksz-2.c
2800 * signal/tst-minsigstksz-3.c
2801 * signal/tst-minsigstksz-3a.c
2802 * signal/tst-minsigstksz-4.c: New tests.
2803 * signal/Makefile: Run them.
2805 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2807 * po/libc.pot: Regenerate.
2809 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2811 * math/libm-test-fma.inc (fma_test_data): Set
2812 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
2814 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2816 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
2817 (do_test): Changed __vector __int128_t to __vector unsigned int.
2819 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2822 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
2823 stpcpy-avx2 and stpncpy-avx2.
2824 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2825 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2826 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2828 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2829 ifunc-strcpy.h}: rename header for a more generic name.
2830 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2831 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2832 AVX unaligned load is fast and vzeroupper is preferred.
2833 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2834 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2835 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2836 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2837 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2838 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2840 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2842 * argp/argp-help.c: Fix typo in comment.
2843 * misc/sys/cdefs.h: Likewise.
2844 * posix/regexec.c (sift_states_iter_mb): Likewise.
2845 * socket/sockatmark.c: Likewise.
2846 * socket/sys/socket.h: Likewise.
2847 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2848 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2849 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2850 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2851 * sysdeps/unix/sockatmark.c: Likewise.
2852 * time/strptime_l.c: Likewise.
2854 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2856 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2857 missing space after the cast of "_NL_CURRENT".
2859 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2861 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2862 ifdef to fix read of VSCR.
2863 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2864 tst-ucontext-ppc64-vscr.c to test list.
2865 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2867 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2869 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2872 2019-01-09 Jim Wilson <jimw@sifive.com>
2874 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2876 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2878 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2879 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2880 __memcpy_falkor for ares.
2881 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2883 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2886 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2889 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2890 4_FP_W_TYPEs are used for IEEE quad precision.
2891 * soft-fp/extendhftf2.c: Likewise.
2892 * soft-fp/extendsftf2.c: Likewise.
2893 * soft-fp/extendxftf2.c: Likewise.
2894 * soft-fp/trunctfdf2.c: Likewise.
2895 * soft-fp/trunctfhf2.c: Likewise.
2896 * soft-fp/trunctfsf2.c: Likewise.
2897 * soft-fp/trunctfxf2.c: Likewise.
2898 * sysdeps/alpha/ots_cvttx.c: Likewise.
2899 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2900 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2901 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2902 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2903 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2904 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2905 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2906 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2907 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2908 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2909 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2910 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2911 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2912 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2913 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2914 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2915 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2917 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2920 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2921 code with -fmath-errno.
2922 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2923 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2924 * string/test-strerror-errno.c: New file.
2926 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2929 * localedata/locales/en_US (date_fmt): Add, set to
2930 "%a %d %b %Y %r %Z".
2932 2019-01-07 Florian Weimer <fweimer@redhat.com>
2935 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2936 instead of @var{errno}.
2937 (Parsing of Integers): Likewise.
2938 (Parsing of Floats): Likewise.
2939 * manual/filesys.texi (Working with Directory Trees): Likewise.
2940 (Temporary Files): Likewise.
2941 * manual/job.texi (Terminal Access Functions): Likewise.
2942 * manual/llio.texi (Synchronizing I/O): Likewise.
2943 * manual/math.texi (SVID Random): Likewise.
2944 * manual/message.texi (The catgets Functions): Likewise.
2945 (Translation with gettext): Likewise.
2946 (Locating gettext catalog): Likewise.
2947 (Charset conversion in gettext): Likewise.
2948 * manual/nss.texi (NSS Module Function Internals): Likewise.
2949 * manual/search.texi (Hash Search Function): Likewise.
2950 * manual/setjmp.texi (System V contexts): Likewise.
2951 * manual/time.texi (Sleeping): Likewise.
2952 * manual/users.texi (Lookup User): Likewise.
2953 (Lookup Group): Likewise.
2955 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2957 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2960 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
2963 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2964 __builtin_unreachable for default case in switch.
2965 (__ieee754_yn): Likewise.
2966 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2967 (__ieee754_ynl): Likewise.
2968 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2969 (__ieee754_ynl): Likewise.
2970 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2971 (__ieee754_ynl): Likewise.
2973 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2975 * manual/maint.texi: Use @{ and @}.
2977 2019-01-04 Florian Weimer <fweimer@redhat.com>
2979 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2981 (do_in_chroot_1): Call it.
2983 Improve error reporting in case it is not possible to create a
2984 collision for the PTY name required by the test.
2986 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2988 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2989 lll_wait_tid with timeout.
2990 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2991 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2992 futex_reltimed_wait_cancelable for cancelabla mode.
2993 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2994 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2996 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2997 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2998 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2999 SYSCALL_CANCEL_NCS): New macro.
3000 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3001 (lll_timedwait_tid): Remove macro.
3002 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3004 (lll_timedwait_tid): Likewise.
3005 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3007 (lll_timedwait_tid): Likewise.
3008 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3010 (lll_timedwait_tid): Likewise.
3011 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3012 Use INTERNAL_SYSCALL_CANCEL.
3013 * sysdeps/unix/sysv/linux/futex-internal.h
3014 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3015 instead of __pthread_{enable,disable}_asynccancel.
3016 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3017 (lll_futex_wait_cancel): New macro.
3019 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3020 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3022 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3023 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3025 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3026 in backtrace analysis.
3027 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3029 (tf_send): Likewise.
3031 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3032 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3033 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3034 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3035 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3036 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3037 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3038 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3039 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3040 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3041 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3042 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3044 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3045 tst-cancel-wrappers.sh.
3046 (generated): Remove tst-cancel-wrappers.out.
3047 (tst-cancel-wrappers.out): Remove rule.
3048 * nptl/tst-cancel-wrappers.sh: Remove file.
3050 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3052 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3053 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3056 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3059 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3060 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3061 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3062 close-on-exec reset for adddup2 file action.
3063 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3065 2019-01-03 Zack Weinberg <zackw@panix.com>
3067 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3068 parameter. Only use deprecated scanf when __USE_GNU is defined
3069 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3070 than 201103L, whichever is relevant for the language being compiled.
3072 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3073 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3074 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3075 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3076 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3080 * libio/iovswscanf.c
3085 * stdio-common/fscanf.c
3086 * stdio-common/scanf.c
3087 * stdio-common/vfscanf.c
3088 * stdio-common/vfwscanf.c
3089 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3090 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3091 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3092 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3093 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3094 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3095 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3096 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3097 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3098 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3099 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3100 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3101 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3102 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3103 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3105 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3106 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3107 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3109 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3110 with a preprocessor macro.
3112 * stdio-common/bug21.c, stdio-common/scanf14.c:
3113 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3114 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3115 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3116 to xscanf, xfscanf, xsscanf.
3118 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3119 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3120 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3121 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3123 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3124 override feature selection macros or provide definitions of u_char etc.
3125 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3126 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3127 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3130 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3133 bits/termios-misc.h.
3134 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3135 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3136 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3137 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3138 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3139 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3141 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3142 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3143 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3144 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3145 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3146 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3148 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3149 (sysdep_headers): Add termios-misc.h.
3151 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3152 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3153 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3157 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3158 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3159 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3160 TCSAFLUSH): Move to termios-tcflow.h.
3161 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3162 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3163 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3164 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3166 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3168 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3169 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3170 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3171 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3172 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3173 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3174 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3175 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3177 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3178 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3179 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3180 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3182 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3184 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3185 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3186 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3187 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3188 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3190 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3191 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3192 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3193 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3196 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3198 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3199 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3200 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3201 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3202 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3203 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3204 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3205 __MAX_BAUD): Move to termios-baud.h.
3206 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3207 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3208 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3209 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3210 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3212 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3214 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3215 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3216 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3217 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3218 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3219 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3221 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3222 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3224 [USE_MISC] (XTABS): Likewise.
3225 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3226 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3227 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3228 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3230 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3232 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3233 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3234 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3235 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3236 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3237 IUTF8): Move to termios-c_iflag.h.
3238 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3239 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3240 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3241 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3243 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3245 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3246 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3247 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3248 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3249 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3250 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3251 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3252 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3253 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3254 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3255 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3256 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3258 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3259 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3260 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3261 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3262 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3264 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3266 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
3268 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
3270 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
3272 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
3274 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
3275 _HAVE_C_OSPEED): Define.
3276 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
3277 _HAVE_C_OSPEED): Likewise.
3278 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
3279 _HAVE_C_OSPEED): Likewise.
3280 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
3281 (cfsetospeed): Check for define value instead of existence.
3282 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
3283 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3284 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
3285 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3286 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
3289 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
3291 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3292 (TIOCSER_TEMT): Likewise.
3293 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
3294 (TEOCSER_TEMT): Likewise.
3296 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
3299 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
3301 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3303 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3305 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3307 * sysdeps/htl/pt-barrierattr-setpshared.c
3308 (pthread_barrierattr_setpshared): Add stub warning.
3309 * sysdeps/htl/pt-condattr-setpshared.c
3310 (pthread_condattr_setpshared): Likewise.
3311 * sysdeps/htl/pt-mutexattr-setpshared.c
3312 (pthread_mutexattr_setpshared): Likewise.
3313 * sysdeps/htl/pt-rwlockattr-setpshared.c
3314 (pthread_rwlockattr_setpshared): Likewise.
3315 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
3316 (pthread_mutexattr_setpshared): Likewise.
3318 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3320 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
3321 constants to match with Linux 4.20.
3323 * sysdeps/mips/mips32/libm-test-ulps: Update.
3324 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3326 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
3329 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
3330 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
3331 than __typeof (...) for the a_ptr variable.
3333 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3335 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
3336 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
3337 * libio/Makefile (tests): Add tst-sprintf-ub and
3339 (CFLAGS-tst-sprintf-ub.c): New variable.
3340 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
3341 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
3342 destination buffer and check for overflows in fortified mode.
3343 * libio/libioP.h (PRINTF_CHK): New macro.
3344 * libio/tst-sprintf-chk-ub.c: New file.
3345 * libio/tst-sprintf-ub.c: Likewise.
3347 2019-01-02 Florian Weimer <fweimer@redhat.com>
3350 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
3353 2019-01-02 Florian Weimer <fweimer@redhat.com>
3355 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
3357 2019-01-01 Joseph Myers <joseph@codesourcery.com>
3359 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
3362 * sysdeps/unix/sysv/linux/netpacket/packet.h
3363 (PACKET_IGNORE_OUTGOING): New macro.
3365 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
3368 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3370 (riscv_flush_icache): New syscall.
3372 * manual/texinfo.tex: Update to version 2018-12-28.17 with
3373 trailing whitespace removed.
3374 * scripts/config.guess: Update to version 2019-01-01.
3375 * scripts/config.sub: Update to version 2019-01-01.
3376 * scripts/move-if-change: Update from gnulib.
3378 * NEWS: Update copyright dates.
3379 * catgets/gencat.c (print_version): Likewise.
3380 * csu/version.c (banner): Likewise.
3381 * debug/catchsegv.sh: Likewise.
3382 * debug/pcprofiledump.c (print_version): Likewise.
3383 * debug/xtrace.sh (do_version): Likewise.
3384 * elf/ldconfig.c (print_version): Likewise.
3385 * elf/ldd.bash.in: Likewise.
3386 * elf/pldd.c (print_version): Likewise.
3387 * elf/sotruss.sh: Likewise.
3388 * elf/sprof.c (print_version): Likewise.
3389 * iconv/iconv_prog.c (print_version): Likewise.
3390 * iconv/iconvconfig.c (print_version): Likewise.
3391 * locale/programs/locale.c (print_version): Likewise.
3392 * locale/programs/localedef.c (print_version): Likewise.
3393 * login/programs/pt_chown.c (print_version): Likewise.
3394 * malloc/memusage.sh (do_version): Likewise.
3395 * malloc/memusagestat.c (print_version): Likewise.
3396 * malloc/mtrace.pl: Likewise.
3397 * manual/libc.texinfo: Likewise.
3398 * nptl/version.c (banner): Likewise.
3399 * nscd/nscd.c (print_version): Likewise.
3400 * nss/getent.c (print_version): Likewise.
3401 * nss/makedb.c (print_version): Likewise.
3402 * posix/getconf.c (main): Likewise.
3403 * scripts/test-installation.pl: Likewise.
3404 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3406 * All files with FSF copyright notices: Update copyright dates
3407 using scripts/update-copyrights.
3408 * locale/programs/charmap-kw.h: Regenerated.
3409 * locale/programs/locfile-kw.h: Likewise.
3411 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3413 * timezone/zdump.c: Update from tzcode 2018i.
3414 * timezone/zic.c: Likewise.
3416 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3418 regex: improve Gnulib port to AIX
3419 From the glibc point of view, this removes duplicate macro
3420 definitions and is obviously safe.
3421 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3422 * posix/regex_internal.h:
3423 (__attribute__, __attribute_warn_unused_result__):
3424 Remove; already defined elsewhere.
3426 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
3429 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3430 copying operation. (ncopies had the wrong type, resulting in an
3431 integer wraparound and too few elements being copied.)
3433 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3436 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3437 <asm/syscalls.h> exists with __has_include__ before including it.
3439 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3441 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3444 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
3446 * hurd/lookup-retry: Include <unistd.h>.
3447 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3448 Release it on return. Handle "pid" magical lookup retry.
3450 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3453 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3454 (t_fmt_ampm): Likewise.
3455 * localedata/locales/aa_ER (t_fmt): Likewise.
3456 (t_fmt_ampm): Likewise.
3457 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3458 (t_fmt_ampm): Likewise.
3459 * localedata/locales/aa_ET (t_fmt): Likewise.
3460 (t_fmt_ampm): Likewise.
3461 * localedata/locales/am_ET (t_fmt): Likewise.
3462 (t_fmt_ampm): Likewise.
3463 * localedata/locales/byn_ER (t_fmt): Likewise.
3464 (t_fmt_ampm): Likewise.
3465 * localedata/locales/om_ET (t_fmt): Likewise.
3466 (t_fmt_ampm): Likewise.
3467 * localedata/locales/sid_ET (t_fmt): Likewise.
3468 (t_fmt_ampm): Likewise.
3469 * localedata/locales/so_DJ (t_fmt): Likewise.
3470 (t_fmt_ampm): Likewise.
3471 * localedata/locales/so_ET (t_fmt): Likewise.
3472 (t_fmt_ampm): Likewise.
3473 * localedata/locales/so_SO (t_fmt): Likewise.
3474 (t_fmt_ampm): Likewise.
3475 * localedata/locales/ti_ER (t_fmt): Likewise.
3476 (t_fmt_ampm): Likewise.
3477 * localedata/locales/ti_ET (t_fmt): Likewise.
3478 (t_fmt_ampm): Likewise.
3479 * localedata/locales/tig_ER (t_fmt): Likewise.
3480 (t_fmt_ampm): Likewise.
3481 * localedata/locales/wal_ET (t_fmt): Likewise.
3482 (t_fmt_ampm): Likewise.
3484 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
3485 * localedata/locales/ar_IN (t_fmt): Likewise.
3486 * localedata/locales/bhb_IN (t_fmt): Likewise.
3487 * localedata/locales/bho_IN (t_fmt): Likewise.
3488 * localedata/locales/bi_VU (t_fmt): Likewise.
3489 * localedata/locales/bn_BD (t_fmt): Likewise.
3490 * localedata/locales/bn_IN (t_fmt): Likewise.
3491 * localedata/locales/brx_IN (t_fmt): Likewise.
3492 * localedata/locales/doi_IN (t_fmt): Likewise.
3493 * localedata/locales/en_HK (t_fmt): Likewise.
3494 (t_fmt_ampm): Likewise.
3495 * localedata/locales/en_IN (t_fmt): Likewise.
3496 * localedata/locales/en_PH (t_fmt): Likewise.
3497 * localedata/locales/gu_IN (t_fmt): Likewise.
3498 * localedata/locales/hi_IN (t_fmt): Likewise.
3499 * localedata/locales/hif_FJ (t_fmt): Likewise.
3500 * localedata/locales/hne_IN (t_fmt): Likewise.
3501 * localedata/locales/kn_IN (t_fmt): Likewise.
3502 * localedata/locales/kok_IN (t_fmt): Likewise.
3503 * localedata/locales/ks_IN (t_fmt): Likewise.
3504 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
3505 * localedata/locales/mag_IN (t_fmt): Likewise.
3506 * localedata/locales/mai_IN (t_fmt): Likewise.
3507 * localedata/locales/mjw_IN (t_fmt): Likewise.
3508 * localedata/locales/ml_IN (t_fmt): Likewise.
3509 * localedata/locales/mni_IN (t_fmt): Likewise.
3510 * localedata/locales/mr_IN (t_fmt): Likewise.
3511 * localedata/locales/ms_MY (t_fmt): Likewise.
3512 * localedata/locales/pa_IN (t_fmt): Likewise.
3513 * localedata/locales/raj_IN (t_fmt): Likewise.
3514 * localedata/locales/sa_IN (t_fmt): Likewise.
3515 * localedata/locales/sat_IN (t_fmt): Likewise.
3516 * localedata/locales/sd_IN (t_fmt): Likewise.
3517 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
3518 * localedata/locales/tcy_IN (t_fmt): Likewise.
3519 * localedata/locales/the_NP (t_fmt): Likewise.
3520 * localedata/locales/to_TO (t_fmt): Likewise.
3521 * localedata/locales/ur_IN (t_fmt): Likewise.
3523 * localedata/locales/hif_FJ (d_t_fmt): Set to
3524 "%A %d %b %Y %I:%M:%S %p".
3525 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
3527 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
3528 * localedata/locales/ar_BH (t_fmt): Likewise.
3529 * localedata/locales/ar_DZ (t_fmt): Likewise.
3530 * localedata/locales/ar_EG (t_fmt): Likewise.
3531 * localedata/locales/ar_IQ (t_fmt): Likewise.
3532 * localedata/locales/ar_JO (t_fmt): Likewise.
3533 * localedata/locales/ar_KW (t_fmt): Likewise.
3534 * localedata/locales/ar_LB (t_fmt): Likewise.
3535 * localedata/locales/ar_LY (t_fmt): Likewise.
3536 * localedata/locales/ar_OM (t_fmt): Likewise.
3537 * localedata/locales/ar_QA (t_fmt): Likewise.
3538 * localedata/locales/ar_SD (t_fmt): Likewise.
3539 * localedata/locales/ar_SS (t_fmt): Likewise.
3540 * localedata/locales/ar_SY (t_fmt): Likewise.
3541 * localedata/locales/ar_TN (t_fmt): Likewise.
3542 * localedata/locales/ar_YE (t_fmt): Likewise.
3544 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
3545 (t_fmt_ampm): Likewise.
3546 * localedata/locales/gez_ET (t_fmt): Likewise.
3547 (t_fmt_ampm): Likewise.
3549 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
3550 (t_fmt_ampm): Likewise.
3551 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
3553 * localedata/locales/zh_HK (t_fmt):
3554 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
3556 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
3557 because this locale does not use the 12-hour clock.
3558 (t_fmt): Set to "%Z %H:%M:%S".
3559 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
3561 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
3562 because this locale does not use the 12-hour clock.
3563 (t_fmt): Set to "%H:%M:%S %Z".
3564 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
3566 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
3567 because this locale does not use the 12-hour clock.
3568 (t_fmt): Set to "%T".
3569 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
3570 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
3572 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
3573 because this locale does not use the 12-hour clock.
3574 (t_fmt): Set to "%H:%M:%S %Z".
3575 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
3577 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
3578 because this locale does not use the 12-hour clock.
3579 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
3580 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
3582 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3586 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
3587 (t_fmt_ampm): Likewise.
3588 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
3589 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
3590 (d_fmt): Set to "%-d.%-m.%y".
3592 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3594 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
3595 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
3596 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
3598 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
3599 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
3600 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
3602 * support/blob_repeat.c (check_mul_overflow_size_t,
3603 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
3605 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
3607 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
3609 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
3611 regex: simplify Gnulib port
3612 This simplifies the code, by removing stuff intended for porting
3613 to Gnulib but no longer needed there.
3614 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
3615 uses of libc_hidden_def, weak_alias.
3616 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
3617 _Restrict_ except for public-facing headers.
3618 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
3619 Remove; already defined elsewhere.
3620 * posix/regex.c, posix/regex_internal.h:
3621 Use __GNUC_PREREQ instead of rolling our own.
3622 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
3624 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
3626 * benchtests/bench-strlen.c (generic_strlen): New function.
3627 (memchr_strlen): New function.
3629 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3631 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
3632 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3633 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
3635 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3637 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3639 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3641 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
3642 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
3643 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
3644 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
3645 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
3646 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
3647 <sysdeps/ieee754/flt-32/s_sincosf.c>.
3649 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3652 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
3653 PLT reference in libc.so.
3654 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
3655 _Q_lltoq and _Q_qtod PLT references in libc.so.
3657 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
3659 * benchtests/bench-memchr.c: Cleanup defines.
3660 * benchtests/bench-memcmp.c: Likewise.
3661 * benchtests/bench-memset.c: Likewise.
3662 * benchtests/bench-memset-large.c: Likewise.
3663 * benchtests/bench-memset-walk.c: Likewise.
3664 * benchtests/bench-stpcpy.c: Likewise.
3665 * benchtests/bench-stpncpy.c: Likewise.
3666 * benchtests/bench-strcat.c: Likewise.
3667 * benchtests/bench-strchr.c: Likewise.
3668 * benchtests/bench-strcmp.c: Likewise.
3669 * benchtests/bench-strcpy.c: Likewise.
3670 * benchtests/bench-strcspn.c: Likewise.
3671 * benchtests/bench-string.h: Likewise.
3672 * benchtests/bench-strlen.c: Likewise.
3673 * benchtests/bench-strncat.c: Likewise.
3674 * benchtests/bench-strncmp.c: Likewise.
3675 * benchtests/bench-strncpy.c: Likewise.
3676 * benchtests/bench-strnlen.c: Likewise.
3677 * benchtests/bench-strpbrk.c: Likewise.
3678 * benchtests/bench-strrchr.c: Likewise.
3679 * benchtests/bench-strspn.c: Likewise.
3681 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3683 * stdlib/longlong.h: Update from GCC.
3686 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
3687 * configure: Regenerated.
3688 * manual/install.texi (Tools for Compilation): Update minimum GCC
3690 * INSTALL: Regenerated.
3692 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
3694 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
3696 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
3698 * malloc/malloc.c (mremap_chunk): Additional checks.
3700 2018-12-21 Mao Han <han_mao@c-sky.com>
3702 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
3703 * scripts/build-many-glibcs.py: Add C-SKY targets.
3704 * sysdeps/csky/Implies: New file.
3705 * sysdeps/csky/Makefile: Likewise.
3706 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
3707 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
3708 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
3709 * sysdeps/csky/abiv2/memcmp.S: Likewise.
3710 * sysdeps/csky/abiv2/memcpy.S: Likewise.
3711 * sysdeps/csky/abiv2/memmove.S: Likewise.
3712 * sysdeps/csky/abiv2/memset.S: Likewise.
3713 * sysdeps/csky/abiv2/setjmp.S: Likewise.
3714 * sysdeps/csky/abiv2/start.S: Likewise.
3715 * sysdeps/csky/abiv2/strcmp.S: Likewise.
3716 * sysdeps/csky/abiv2/strcpy.S: Likewise.
3717 * sysdeps/csky/abiv2/strlen.S: Likewise.
3718 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
3719 * sysdeps/csky/abort-instr.h: Likewise.
3720 * sysdeps/csky/atomic-machine.h: Likewise.
3721 * sysdeps/csky/bits/endian.h: Likewise.
3722 * sysdeps/csky/bits/fenv.h: Likewise.
3723 * sysdeps/csky/bits/link.h: Likewise.
3724 * sysdeps/csky/bits/setjmp.h: Likewise.
3725 * sysdeps/csky/bsd-_setjmp.S: Likewise.
3726 * sysdeps/csky/bsd-setjmp.S: Likewise.
3727 * sysdeps/csky/configure: Likewise.
3728 * sysdeps/csky/configure.ac: Likewise.
3729 * sysdeps/csky/dl-machine.h: Likewise.
3730 * sysdeps/csky/dl-procinfo.c: Likewise.
3731 * sysdeps/csky/dl-procinfo.h: Likewise.
3732 * sysdeps/csky/dl-sysdep.h: Likewise.
3733 * sysdeps/csky/dl-tls.h: Likewise.
3734 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
3735 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
3736 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
3737 * sysdeps/csky/fpu/fegetenv.c: Likewise.
3738 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
3739 * sysdeps/csky/fpu/fegetmode.c: Likewise.
3740 * sysdeps/csky/fpu/fegetround.c: Likewise.
3741 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
3742 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
3743 * sysdeps/csky/fpu/fenv_private.h: Likewise.
3744 * sysdeps/csky/fpu/fesetenv.c: Likewise.
3745 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
3746 * sysdeps/csky/fpu/fesetmode.c: Likewise.
3747 * sysdeps/csky/fpu/fesetround.c: Likewise.
3748 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
3749 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
3750 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
3751 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
3752 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
3753 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
3754 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
3755 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
3756 * sysdeps/csky/fpu_control.h: Likewise.
3757 * sysdeps/csky/gccframe.h: Likewise.
3758 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
3759 * sysdeps/csky/ldsodefs.h: Likewise.
3760 * sysdeps/csky/libc-tls.c: Likewise.
3761 * sysdeps/csky/linkmap.h: Likewise.
3762 * sysdeps/csky/machine-gmon.h: Likewise.
3763 * sysdeps/csky/memusage.h: Likewise.
3764 * sysdeps/csky/nofpu/Implies: Likewise.
3765 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
3766 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
3767 * sysdeps/csky/nptl/Makefile: Likewise.
3768 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
3769 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
3770 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
3771 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
3772 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
3773 * sysdeps/csky/nptl/tls.h: Likewise.
3774 * sysdeps/csky/preconfigure: Likewise.
3775 * sysdeps/csky/sfp-machine.h: Likewise.
3776 * sysdeps/csky/sotruss-lib.c: Likewise.
3777 * sysdeps/csky/stackinfo.h: Likewise.
3778 * sysdeps/csky/sysdep.h: Likewise.
3779 * sysdeps/csky/tininess.h: Likewise.
3780 * sysdeps/csky/tst-audit.h: Likewise.
3781 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
3782 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
3783 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
3784 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
3785 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3786 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
3787 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3788 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
3789 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
3790 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
3791 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
3792 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
3793 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
3794 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
3795 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
3796 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
3797 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
3798 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
3799 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
3800 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
3801 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
3802 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
3803 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
3804 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3805 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
3806 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
3807 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
3808 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
3809 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
3810 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
3811 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
3812 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
3813 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
3814 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
3815 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
3816 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3817 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
3818 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
3819 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
3820 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
3821 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
3822 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
3823 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3824 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3826 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3828 * include/time.h (__difftime64): Add.
3829 * time/difftime.c (subtract): convert to 64-bit time.
3830 * time/difftime.c (__difftime64): Add.
3831 * time/difftime.c (__difftime): Wrap around __difftime64.
3833 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3835 * manual/examples/add.c: Remove redundant "if not".
3836 * manual/examples/argp-ex1.c: Likewise.
3837 * manual/examples/argp-ex2.c: Likewise.
3838 * manual/examples/argp-ex3.c: Likewise.
3839 * manual/examples/argp-ex4.c: Likewise.
3840 * manual/examples/atexit.c: Likewise.
3841 * manual/examples/db.c: Likewise.
3842 * manual/examples/dir.c: Likewise.
3843 * manual/examples/dir2.c: Likewise.
3844 * manual/examples/execinfo.c: Likewise.
3845 * manual/examples/filecli.c: Likewise.
3846 * manual/examples/filesrv.c: Likewise.
3847 * manual/examples/fmtmsgexpl.c: Likewise.
3848 * manual/examples/genpass.c: Likewise.
3849 * manual/examples/inetcli.c: Likewise.
3850 * manual/examples/inetsrv.c: Likewise.
3851 * manual/examples/isockad.c: Likewise.
3852 * manual/examples/longopt.c: Likewise.
3853 * manual/examples/memopen.c: Likewise.
3854 * manual/examples/memstrm.c: Likewise.
3855 * manual/examples/mkdirent.c: Likewise.
3856 * manual/examples/mkfsock.c: Likewise.
3857 * manual/examples/mkisock.c: Likewise.
3858 * manual/examples/mygetpass.c: Likewise.
3859 * manual/examples/pipe.c: Likewise.
3860 * manual/examples/popen.c: Likewise.
3861 * manual/examples/rprintf.c: Likewise.
3862 * manual/examples/search.c: Likewise.
3863 * manual/examples/select.c: Likewise.
3864 * manual/examples/setjmp.c: Likewise.
3865 * manual/examples/sigh1.c: Likewise.
3866 * manual/examples/sigusr.c: Likewise.
3867 * manual/examples/stpcpy.c: Likewise.
3868 * manual/examples/strdupa.c: Likewise.
3869 * manual/examples/strftim.c: Likewise.
3870 * manual/examples/subopt.c: Likewise.
3871 * manual/examples/swapcontext.c: Likewise.
3872 * manual/examples/termios.c: Likewise.
3873 * manual/examples/testopt.c: Likewise.
3874 * manual/examples/testpass.c: Likewise.
3875 * manual/examples/timeval_subtract.c: Likewise.
3877 2018-12-19 Joseph Myers <joseph@codesourcery.com>
3879 * sysdeps/x86/fpu/math_private.h: New file.
3880 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3882 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3887 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3889 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3890 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3891 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3892 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3894 (_dl_show_auxv): Give a special treatment to
3895 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3896 and AT_L3_CACHEGEOMETRY.
3897 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3898 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3899 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3900 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3902 2018-12-19 Andreas Schwab <schwab@suse.de>
3904 * nscd/connections.c (check_use): Don't abort on invalid len.
3906 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3908 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3909 values in the 64bit value cases.
3911 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3917 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3923 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3926 (__gmtime64_r): Add.
3928 (__gmtime64_r): Add.
3929 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3935 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3938 (__localtime64_r): Add.
3940 (__localtime64_r): Add.
3941 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3943 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3945 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3946 kernel_sigction definition.
3948 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3950 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3952 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3953 __syscall_rt_sigaction.
3954 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3955 (kernel_sigaction): Use Linux generic defintion.
3957 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3958 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3959 (__syscall_rt_sigaction): Remove implementation.
3960 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3962 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3963 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3964 INTERNAL_SYSCALL): Remove definitions.
3965 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3966 action and signal set size.
3967 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3968 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3970 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3971 James Clarke <jrtc27@jrtc27.com>
3974 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3975 Define if SA_RESTORER is defined.
3976 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3977 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3979 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3980 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3982 (HAS_SA_RESTORER): Define.
3983 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3984 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3985 (HAS_SA_RESTORER): Define.
3986 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3987 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3988 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3989 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3990 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3992 2018-12-18 Joseph Myers <joseph@codesourcery.com>
3994 * sysdeps/unix/sysv/linux/kernel-features.h
3995 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3996 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3997 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3998 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3999 (__ASSUME_ST_INO_64_BIT): Likewise.
4000 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4001 <kernel-features.h>.
4002 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4003 Remove conditional code.
4004 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4005 <kernel-features.h>.
4006 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4007 Remove conditional code.
4008 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4009 <kernel-features.h>.
4010 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4011 Remove conditional code.
4012 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4013 <kernel-features.h>.
4014 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4015 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4017 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4019 * sysdeps/s390/multiarch/ifunc-resolve.h
4020 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4021 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4022 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4023 Delete macro definition.
4024 (s390_libc_ifunc_init): Rename to
4025 s390_libc_ifunc_expr_stfle_init.
4026 * sysdeps/s390/bzero: Use
4027 s390_libc_ifunc_expr_stfle_init instead of
4028 s390_libc_ifunc_init.
4029 * sysdeps/s390/memcmp.c: Likewise.
4030 * sysdeps/s390/memcpy.c: Likewise.
4031 * sysdeps/s390/mempcpy.c: Likewise.
4032 * sysdeps/s390/memset.c: Likewise.
4034 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4036 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4037 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4039 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4041 * sysdeps/s390/multiarch/Makefile
4042 (sysdep_routines): Remove wmemcmp variants.
4043 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4044 * sysdeps/s390/multiarch/ifunc-impl-list.c
4045 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4046 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4047 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4048 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4049 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4050 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4051 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4052 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4054 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4056 * sysdeps/s390/multiarch/Makefile
4057 (sysdep_routines): Remove wmemset variants.
4058 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4059 * sysdeps/s390/multiarch/ifunc-impl-list.c
4060 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4061 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4062 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4063 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4064 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4065 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4066 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4067 * sysdeps/s390/ifunc-wmemset.h: New file.
4069 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4071 * sysdeps/s390/multiarch/Makefile
4072 (sysdep_routines): Remove wmemchr variants.
4073 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4074 * sysdeps/s390/multiarch/ifunc-impl-list.c
4075 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4076 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4077 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4078 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4079 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4080 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4081 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4082 * sysdeps/s390/ifunc-wmemchr.h: New file.
4084 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4086 * sysdeps/s390/multiarch/Makefile
4087 (sysdep_routines): Remove wcscspn variants.
4088 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4089 * sysdeps/s390/multiarch/ifunc-impl-list.c
4090 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4091 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4092 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4093 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4094 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4095 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4096 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4097 * sysdeps/s390/ifunc-wcscspn.h: New file.
4099 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4101 * sysdeps/s390/multiarch/Makefile
4102 (sysdep_routines): Remove wcspbrk variants.
4103 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4104 * sysdeps/s390/multiarch/ifunc-impl-list.c
4105 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4106 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4107 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4108 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4109 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4110 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4111 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4112 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4114 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4116 * sysdeps/s390/multiarch/Makefile
4117 (sysdep_routines): Remove wcsspn variants.
4118 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4119 * sysdeps/s390/multiarch/ifunc-impl-list.c
4120 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4121 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4122 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4123 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4124 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4125 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4126 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4127 * sysdeps/s390/ifunc-wcsspn.h: New file.
4129 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4131 * sysdeps/s390/multiarch/Makefile
4132 (sysdep_routines): Remove wcsrchr variants.
4133 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4134 * sysdeps/s390/multiarch/ifunc-impl-list.c
4135 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4136 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4137 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4138 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4139 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4140 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4141 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4142 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4144 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4146 * sysdeps/s390/multiarch/Makefile
4147 (sysdep_routines): Remove wcschrnul variants.
4148 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4149 * sysdeps/s390/multiarch/ifunc-impl-list.c
4150 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4151 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4152 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4153 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4154 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4155 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4156 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4157 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4159 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4161 * sysdeps/s390/multiarch/Makefile
4162 (sysdep_routines): Remove wcschr variants.
4163 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4164 * sysdeps/s390/multiarch/ifunc-impl-list.c
4165 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4166 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4167 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4168 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4169 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4170 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4171 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4172 * sysdeps/s390/ifunc-wcschr.h: New file.
4174 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4176 * sysdeps/s390/multiarch/Makefile
4177 (sysdep_routines): Remove wcsncmp variants.
4178 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4179 * sysdeps/s390/multiarch/ifunc-impl-list.c
4180 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4181 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4182 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4183 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4184 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4185 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4186 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4187 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4189 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4191 * sysdeps/s390/multiarch/Makefile
4192 (sysdep_routines): Remove wcscmp variants.
4193 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4194 * sysdeps/s390/multiarch/ifunc-impl-list.c
4195 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4196 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4197 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4198 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4199 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4200 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4201 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4202 * sysdeps/s390/ifunc-wcscmp.h: New file.
4204 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4206 * sysdeps/s390/multiarch/Makefile
4207 (sysdep_routines): Remove wcsncat variants.
4208 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4209 * sysdeps/s390/multiarch/ifunc-impl-list.c
4210 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4211 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4212 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4213 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4214 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4215 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4216 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4217 * sysdeps/s390/ifunc-wcsncat.h: New file.
4219 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4221 * sysdeps/s390/multiarch/Makefile
4222 (sysdep_routines): Remove wcscat variants.
4223 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4224 * sysdeps/s390/multiarch/ifunc-impl-list.c
4225 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4226 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4227 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4228 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4229 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4230 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4231 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4232 * sysdeps/s390/ifunc-wcscat.h: New file.
4234 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4236 * sysdeps/s390/multiarch/Makefile
4237 (sysdep_routines): Remove wcpncpy variants.
4238 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4239 * sysdeps/s390/multiarch/ifunc-impl-list.c
4240 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4241 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4242 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4243 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4244 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4245 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4246 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4247 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4249 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4251 * sysdeps/s390/multiarch/Makefile
4252 (sysdep_routines): Remove wcsncpy variants.
4253 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4254 * sysdeps/s390/multiarch/ifunc-impl-list.c
4255 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4256 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4257 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4258 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4259 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4260 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4261 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4262 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4264 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4266 * sysdeps/s390/multiarch/Makefile
4267 (sysdep_routines): Remove wcpcpy variants.
4268 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
4269 * sysdeps/s390/multiarch/ifunc-impl-list.c
4270 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
4271 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
4272 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
4273 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
4274 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
4275 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
4276 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
4277 * sysdeps/s390/ifunc-wcpcpy.h: New file.
4279 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4281 * sysdeps/s390/multiarch/Makefile
4282 (sysdep_routines): Remove wcscpy variants.
4283 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
4284 * sysdeps/s390/multiarch/ifunc-impl-list.c
4285 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
4286 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
4287 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
4288 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
4289 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
4290 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
4291 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
4292 * sysdeps/s390/ifunc-wcscpy.h: New file.
4294 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4296 * sysdeps/s390/multiarch/Makefile
4297 (sysdep_routines): Remove wcsnlen variants.
4298 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
4299 * sysdeps/s390/multiarch/ifunc-impl-list.c
4300 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
4301 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
4302 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
4303 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
4304 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
4305 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
4306 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
4307 * sysdeps/s390/ifunc-wcsnlen.h: New file.
4309 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4311 * sysdeps/s390/multiarch/Makefile
4312 (sysdep_routines): Remove wcslen variants.
4313 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
4314 * sysdeps/s390/multiarch/ifunc-impl-list.c
4315 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
4316 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
4317 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
4318 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
4319 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
4320 * sysdeps/s390/multiarch/wcslen.c: Move to ...
4321 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
4322 * sysdeps/s390/ifunc-wcslen.h: New file.
4324 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4326 * sysdeps/s390/multiarch/Makefile
4327 (sysdep_routines): Remove memrchr variants.
4328 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
4329 * sysdeps/s390/multiarch/ifunc-impl-list.c
4330 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
4331 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
4332 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
4333 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
4334 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
4335 * sysdeps/s390/multiarch/memrchr.c: Move to ...
4336 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
4337 * sysdeps/s390/ifunc-memrchr.h: New file.
4339 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4341 * sysdeps/s390/multiarch/Makefile
4342 (sysdep_routines): Remove memccpy variants.
4343 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
4344 * sysdeps/s390/multiarch/ifunc-impl-list.c
4345 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
4346 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
4347 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
4348 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
4349 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
4350 * sysdeps/s390/multiarch/memccpy.c: Move to ...
4351 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
4352 * sysdeps/s390/ifunc-memccpy.h: New file.
4354 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4356 * sysdeps/s390/multiarch/Makefile
4357 (sysdep_routines): Remove rawmemchr variants.
4358 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
4359 * sysdeps/s390/multiarch/ifunc-impl-list.c
4360 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
4361 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
4362 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
4363 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
4364 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
4365 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
4366 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
4367 * sysdeps/s390/ifunc-rawmemchr.h: New file.
4369 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4371 * sysdeps/s390/multiarch/Makefile
4372 (sysdep_routines): Remove memchr variants.
4373 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
4374 * sysdeps/s390/multiarch/ifunc-impl-list.c
4375 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
4376 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
4377 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
4378 * sysdeps/s390/multiarch/memchr.c: Move to ...
4379 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
4380 * sysdeps/s390/ifunc-memchr.h: New file.
4381 * sysdeps/s390/s390-64/memchr.S: Move to ...
4382 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
4383 for 31/64bit and ifunc handling.
4384 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4385 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4386 * sysdeps/s390/s390-32/memchr.S: Likewise.
4388 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4390 * sysdeps/s390/multiarch/Makefile
4391 (sysdep_routines): Remove strcspn variants.
4392 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4393 * sysdeps/s390/multiarch/ifunc-impl-list.c
4394 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4395 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4396 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4397 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4398 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4399 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4400 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4401 * sysdeps/s390/ifunc-strcspn.h: New file.
4403 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4405 * sysdeps/s390/multiarch/Makefile
4406 (sysdep_routines): Remove strpbrk variants.
4407 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4408 * sysdeps/s390/multiarch/ifunc-impl-list.c
4409 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4410 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4411 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4412 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4413 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4414 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4415 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4416 * sysdeps/s390/ifunc-strpbrk.h: New file.
4418 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4420 * sysdeps/s390/multiarch/Makefile
4421 (sysdep_routines): Remove strspn variants.
4422 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4423 * sysdeps/s390/multiarch/ifunc-impl-list.c
4424 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4425 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4426 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4427 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4428 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4429 * sysdeps/s390/multiarch/strspn.c: Move to ...
4430 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4431 * sysdeps/s390/ifunc-strspn.h: New file.
4433 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4435 * sysdeps/s390/multiarch/Makefile
4436 (sysdep_routines): Remove strrchr variants.
4437 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4438 * sysdeps/s390/multiarch/ifunc-impl-list.c
4439 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4440 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4441 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4442 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4443 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4444 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4445 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4446 * sysdeps/s390/ifunc-strrchr.h: New file.
4448 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4450 * sysdeps/s390/multiarch/Makefile
4451 (sysdep_routines): Remove strchrnul variants.
4452 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4453 * sysdeps/s390/multiarch/ifunc-impl-list.c
4454 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4455 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4456 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4457 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4458 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4459 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4460 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
4461 * sysdeps/s390/ifunc-strchrnul.h: New file.
4463 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4465 * sysdeps/s390/multiarch/Makefile
4466 (sysdep_routines): Remove strchr variants.
4467 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
4468 * sysdeps/s390/multiarch/ifunc-impl-list.c
4469 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
4470 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
4471 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
4472 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
4473 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
4474 * sysdeps/s390/multiarch/strchr.c: Move to ...
4475 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
4476 * sysdeps/s390/ifunc-strchr.h: New file.
4478 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4480 * sysdeps/s390/multiarch/Makefile
4481 (sysdep_routines): Remove strncmp variants.
4482 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
4483 * sysdeps/s390/multiarch/ifunc-impl-list.c
4484 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
4485 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
4486 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
4487 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
4488 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
4489 * sysdeps/s390/multiarch/strncmp.c: Move to ...
4490 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
4491 * sysdeps/s390/ifunc-strncmp.h: New file.
4493 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4495 * sysdeps/s390/multiarch/Makefile
4496 (sysdep_routines): Remove strcmp variants.
4497 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
4498 * sysdeps/s390/multiarch/ifunc-impl-list.c
4499 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
4500 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
4501 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
4502 * sysdeps/s390/multiarch/strcmp.c: Move to ...
4503 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
4504 * sysdeps/s390/ifunc-strcmp.h: New file.
4505 * sysdeps/s390/s390-64/strcmp.S: Move to ...
4506 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
4507 for 31/64bit and ifunc handling.
4508 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
4509 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4510 * sysdeps/s390/s390-32/strcmp.S: Likewise.
4512 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4514 * sysdeps/s390/multiarch/Makefile
4515 (sysdep_routines): Remove strncat variants.
4516 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
4517 * sysdeps/s390/multiarch/ifunc-impl-list.c
4518 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
4519 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
4520 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
4521 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
4522 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
4523 * sysdeps/s390/multiarch/strncat.c: Move to ...
4524 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
4525 * sysdeps/s390/ifunc-strncat.h: New file.
4527 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4529 * sysdeps/s390/multiarch/Makefile
4530 (sysdep_routines): Remove strcat variants.
4531 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
4532 * sysdeps/s390/multiarch/ifunc-impl-list.c
4533 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
4534 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
4535 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
4536 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
4537 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
4538 * sysdeps/s390/multiarch/strcat.c: Move to ...
4539 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
4540 * sysdeps/s390/ifunc-strcat.h: New file.
4542 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4544 * sysdeps/s390/multiarch/Makefile
4545 (sysdep_routines): Remove stpncpy variants.
4546 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
4547 * sysdeps/s390/multiarch/ifunc-impl-list.c
4548 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
4549 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
4550 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
4551 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
4552 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
4553 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
4554 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
4555 * sysdeps/s390/ifunc-stpncpy.h: New file.
4557 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4559 * sysdeps/s390/multiarch/Makefile
4560 (sysdep_routines): Remove strncpy variants.
4561 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
4562 * sysdeps/s390/multiarch/ifunc-impl-list.c
4563 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
4564 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
4565 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
4566 * sysdeps/s390/multiarch/strncpy.c: Move to ...
4567 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
4568 * sysdeps/s390/ifunc-strncpy.h: New file.
4569 * sysdeps/s390/s390-64/strncpy.S: Move to ...
4570 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
4571 and adjust ifunc handling.
4572 * sysdeps/s390/s390-32/strncpy.S: Move to ...
4573 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
4574 and adjust ifunc handling.
4575 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
4576 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4578 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4580 * sysdeps/s390/multiarch/Makefile
4581 (sysdep_routines): Remove stpcpy variants.
4582 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
4583 * sysdeps/s390/multiarch/ifunc-impl-list.c
4584 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
4585 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
4586 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
4587 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
4588 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
4589 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
4590 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
4591 * sysdeps/s390/ifunc-stpcpy.h: New file.
4593 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4595 * sysdeps/s390/multiarch/Makefile
4596 (sysdep_routines): Remove strcpy variants.
4597 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
4598 * sysdeps/s390/multiarch/ifunc-impl-list.c
4599 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
4600 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
4601 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
4602 * sysdeps/s390/multiarch/strcpy.c: Move to ...
4603 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
4604 * sysdeps/s390/ifunc-strcpy.h: New file.
4605 * sysdeps/s390/s390-64/strcpy.S: Move to ...
4606 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
4607 for 31/64bit and ifunc handling.
4608 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
4609 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4610 * sysdeps/s390/s390-32/strcpy.S: Likewise.
4612 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4614 * sysdeps/s390/multiarch/Makefile
4615 (sysdep_routines): Remove strnlen variants.
4616 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
4617 * sysdeps/s390/multiarch/ifunc-impl-list.c
4618 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
4619 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
4620 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
4621 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
4622 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
4623 * sysdeps/s390/multiarch/strnlen.c: Move to ...
4624 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
4625 * sysdeps/s390/ifunc-strnlen.h: New file.
4627 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4629 * sysdeps/s390/multiarch/Makefile
4630 (sysdep_routines): Remove strlen variants.
4631 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
4632 * sysdeps/s390/multiarch/ifunc-impl-list.c
4633 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
4634 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
4635 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
4636 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
4637 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
4638 * sysdeps/s390/multiarch/strlen.c: Move to ...
4639 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
4640 * sysdeps/s390/ifunc-strlen.h: New file.
4642 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4644 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
4645 * sysdeps/s390/multiarch/ifunc-impl-list.c
4646 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
4647 * sysdeps/s390/ifunc-memmem.h: New file.
4648 * sysdeps/s390/memmem.c: Likewise.
4649 * sysdeps/s390/memmem-c.c: Likewise.
4650 * sysdeps/s390/memmem-vx.c: Likewise.
4652 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4654 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
4655 * sysdeps/s390/multiarch/ifunc-impl-list.c
4656 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
4657 * sysdeps/s390/ifunc-strstr.h: New file.
4658 * sysdeps/s390/strstr.c: Likewise.
4659 * sysdeps/s390/strstr-c.c: Likewise.
4660 * sysdeps/s390/strstr-vx.c: Likewise.
4662 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4664 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
4665 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
4666 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
4667 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
4669 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
4670 * sysdeps/s390/memmove-c.c: New file.
4671 * sysdeps/s390/memmove.c: Likewise.
4672 * sysdeps/s390/multiarch/ifunc-impl-list.c
4673 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
4675 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4677 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
4678 * sysdeps/s390/configure.ac: Add check for z13 support.
4679 * sysdeps/s390/configure: Regenerated.
4681 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4683 * sysdeps/s390/memcopy.h: New file.
4685 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4687 * sysdeps/s390/s390-32/bcopy.S: Remove.
4688 * sysdeps/s390/s390-64/bcopy.S: Likewise.
4690 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4692 * sysdeps/s390/ifunc-memcpy.h: New File.
4693 * sysdeps/s390/memcpy.S: Move to ...
4694 * sysdeps/s390/memcpy-z900.S ... here.
4695 Move implementations from memcpy-s390x.s to here.
4696 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
4697 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4698 Remove memcpy/mempcpy variants.
4699 * sysdeps/s390/Makefile (sysdep_routines):
4700 Add memcpy/mempcpy variants.
4701 * sysdeps/s390/multiarch/ifunc-impl-list.c
4702 (__libc_ifunc_impl_list): Adjust ifunc variants for
4704 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
4706 * sysdeps/s390/memcpy.c: ... here.
4707 Adjust ifunc variants for memcpy.
4708 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
4709 * sysdeps/s390/mempcpy.c: ... here.
4710 Adjust ifunc variants for mempcpy.
4711 * sysdeps/s390/mempcpy.S: Delete file.
4713 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4715 * sysdeps/s390/s390-64/memcpy.S: Move to ...
4716 * sysdeps/s390/memcpy.S: ... here.
4717 Adjust to be usable for 31/64bit.
4718 * sysdeps/s390/s390-32/memcpy.S: Delete File.
4719 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
4720 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
4721 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4722 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
4723 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
4724 Adjust to be usable for 31/64bit.
4725 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
4726 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
4727 * sysdeps/s390/multiarch/memcpy.c: ... here.
4728 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
4730 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4732 * sysdeps/s390/ifunc-memcmp.h: New File.
4733 * sysdeps/s390/memcmp.S: Move to ...
4734 * sysdeps/s390/memcmp-z900.S ... here.
4735 Move implementations from memcmp-s390x.s to here.
4736 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
4737 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4738 Remove memcmp variants.
4739 * sysdeps/s390/Makefile (sysdep_routines):
4740 Add memcmp variants.
4741 * sysdeps/s390/multiarch/ifunc-impl-list.c
4742 (__libc_ifunc_impl_list): Adjust ifunc variants for
4744 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
4746 * sysdeps/s390/memcmp.c: ... here.
4747 Adjust ifunc variants for memcmp.
4749 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4751 * sysdeps/s390/s390-64/memcmp.S: Move to ...
4752 * sysdeps/s390/memcmp.S: ... here.
4753 Adjust to be usable for 31/64bit.
4754 * sysdeps/s390/s390-32/memcmp.S: Delete File.
4755 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
4756 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4758 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4759 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
4760 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
4761 Adjust to be usable for 31/64bit.
4762 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
4763 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
4764 * sysdeps/s390/multiarch/memcmp.c: ... here.
4765 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
4767 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4769 * sysdeps/s390/s390-32/bzero.S: Delete file.
4770 * sysdeps/s390/s390-64/bzero.S: Likewise.
4771 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
4772 * sysdeps/s390/bzero.c: New file.
4773 * sysdeps/s390/memset-z900.S: Add bzero entry points.
4774 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
4775 * sysdeps/s390/multiarch/ifunc-impl-list.c
4776 (__libc_ifunc_impl_list): Add bzero ifunc variants.
4778 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4780 * sysdeps/s390/ifunc-memset.h: New File.
4781 * sysdeps/s390/memset.S: Move to ...
4782 * sysdeps/s390/memset-z900.S ... here.
4783 Move implementations from memset-s390x.s to here.
4784 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
4785 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4786 Remove memset variants.
4787 * sysdeps/s390/Makefile (sysdep_routines):
4788 Add memset variants.
4789 * sysdeps/s390/multiarch/ifunc-impl-list.c
4790 (__libc_ifunc_impl_list): Adjust ifunc variants for
4792 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
4794 * sysdeps/s390/memset.c: ... here.
4795 Adjust ifunc variants for memset.
4797 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4799 * sysdeps/s390/s390-64/memset.S: Move to ...
4800 * sysdeps/s390/memset.S: ... here.
4801 Adjust to be usable for 31/64bit.
4802 * sysdeps/s390/s390-32/memset.S: Delete File.
4803 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
4804 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4806 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4807 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
4808 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
4809 Adjust to be usable for 31/64bit.
4810 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
4811 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
4812 * sysdeps/s390/multiarch/memset.c: ... here.
4813 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
4815 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4817 * sysdeps/s390/multiarch/ifunc-resolve.h
4818 (s390_libc_ifunc_init, s390_libc_ifunc,
4819 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
4821 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4823 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4824 * sysdeps/s390/configure.ac: Add check for z10 support.
4825 * sysdeps/s390/configure: Regenerated.
4827 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4829 * sysdeps/i386/atomic-machine.h: Merged with ...
4830 * sysdeps/x86_64/atomic-machine.h: To ...
4831 * sysdeps/x86/atomic-machine.h: This. New file.
4833 2018-12-18 Florian Weimer <fweimer@redhat.com>
4835 Rewrite locale/gen-translit.pl in Python.
4836 * locale/Makefile (generated): Add C-translit.h.
4837 (before-compile): Add $(objpfx)C-translit.h.
4838 (C-translit.h): Move to $(objpfx). Create target directory.
4839 Build using Python script.
4840 * locale/gen-translit.py: New file.
4841 * locale/gen-translit.pl: Remove file.
4842 * locale/C-translit.h.in: Change comment character to '#' for
4843 easier parsing without a C preprocessor.
4844 * locale/C-translit.h: Remove generated file.
4845 * manual/install.texi (Tools for Compilation): Do not mention
4847 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4848 Remove locale/C-translit.h.
4849 * scripts/update-copyrights: Likewise.
4850 * INSTALL: Regenerate.
4852 2018-12-18 Florian Weimer <fweimer@redhat.com>
4855 * localedata/locales/bi_VU: Remove executable bit from file.
4857 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
4860 (__localtime64): Add.
4861 * manual/maint.texi: Document Y2038 symbol handling.
4863 (__localtime64): Add.
4864 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
4866 2018-12-17 Joseph Myers <joseph@codesourcery.com>
4868 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4871 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4872 to allow extra macros from first or second sources.
4873 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4874 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4875 (tests-special): Add $(objpfx)tst-mman-consts.out.
4876 ($(objpfx)tst-mman-consts.out): New makefile target.
4878 2018-12-17 Mao Han <han_mao@c-sky.com>
4880 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4881 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4882 without stat64 system call support.
4883 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4884 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4885 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4886 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4887 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4888 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4889 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4890 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4891 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4892 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4893 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4895 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4897 regex: fix storage-exhaustion error
4899 * posix/regexec.c (get_subexp):
4900 Do not continue if storage is exhausted.
4902 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
4904 regex: fix heap-use-after-free error
4906 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4907 https://debbugs.gnu.org/32592
4908 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4909 call extend_buffers which reallocates the re_string_t internal buffer.
4910 Local variable 'buf' was not updated in such case, resulting in
4912 * posix/regexec.c (get_subexp): Update 'buf' after call to
4915 2018-12-15 Florian Weimer <fweimer@redhat.com>
4917 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4918 (minimum_stride_size): Use it.
4919 (support_blob_repeat_allocate): Likewise.
4921 2018-12-14 Joseph Myers <joseph@codesourcery.com>
4923 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4928 2018-12-14 Florian Weimer <fweimer@redhat.com>
4930 * manual/process.texi (Process Creation Concepts): Remove
4931 documentation of process (ID) lifetime. List more process
4932 creation functions. Reference Process Identification section.
4933 (Process Identification): Add information about process ID
4934 lifetime. Describe Linux thread/task IDs.
4935 * manual/signal.texi (Signaling Another Process): Mention that the
4936 signal is always sent to the process.
4938 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4940 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4941 and tst-ldbl-efgcvt.
4942 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4943 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4944 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4945 (fcvt_tests, output_error, output_r_error, do_test): Use the
4946 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4947 select the type of floating-point variables and arguments; to
4948 produce extra tests for double and conversion specifiers for
4949 printf; and to set the names of called functions.
4950 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4951 in tst-efgcvt-template.c.
4952 * misc/tst-ldbl-efgcvt.c: Likewise.
4954 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
4956 * nss/Makefile (tst-nss-test3.out): New rule.
4958 2018-12-13 Joseph Myers <joseph@codesourcery.com>
4960 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4963 2018-12-13 fanjinke <fanjinke@hygon.cn>
4965 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4968 2018-12-13 Andreas Schwab <schwab@suse.de>
4971 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
4972 (__pthread_rwlock_rdlock_full): Update expected value for
4973 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4974 * nptl/tst-rwlock-pwn.c: New file.
4975 * nptl/Makefile (tests): Add tst-rwlock-pwn.
4977 2018-12-12 Joseph Myers <joseph@codesourcery.com>
4979 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4982 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4984 * benchtests/scripts/compare_bench.py (do_compare): write to
4985 stderr in casestat is not present.
4986 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4987 stderr in case timings field is not present. Also string showing
4988 the output filename goes into the stderr.
4990 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4992 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4993 and ZeroDivisorError exceptions.
4994 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4995 argument to loop through user provided statistics.
4996 * benchtests/scripts/compare_bench.py (main): Include the --stats
4999 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5001 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5004 2018-12-12 Florian Weimer <fweimer@redhat.com>
5006 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5007 clause to copyright header.
5009 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5012 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5013 registers saved in the stack frame.
5014 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5015 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5017 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5019 * include/bits/monetary-ldbl.h: New file.
5020 * include/bits/printf-ldbl.h: Likewise.
5021 * include/bits/stdio-ldbl.h: Likewise.
5022 * include/bits/stdlib-ldbl.h: Likewise.
5023 * include/bits/syslog-ldbl.h: Likewise.
5024 * include/bits/wchar-ldbl.h: Likewise.
5026 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5028 * libio/libio.h: Remove redirection for _IO_vfprintf.
5030 2018-12-11 Andreas Schwab <schwab@suse.de>
5032 * Makerules: Remove all references to abilist-pattern.
5033 (update-all-abi): Simplify find expression.
5035 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5038 * math/auto-libm-test-in: Add new test case.
5039 * math/auto-libm-test-out-pow: Regenerated.
5040 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5042 2018-12-10 DJ Delorie <dj@redhat.com>
5045 * support/test-container.c: Move postclean step to before we
5048 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5050 * scripts/gen-as-const.py (main): Handle --python option.
5051 * scripts/gen-py-const.awk: Remove.
5052 * Makerules (py-const-script): Use gen-as-const.py.
5053 ($(py-const)): Likewise.
5054 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5055 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5056 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5057 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5058 ~PTHREAD_MUTEX_NO_ELISION_NP.
5059 * manual/README.pretty-printers: Update reference to
5062 * scripts/glibcextract.py: New file.
5063 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5064 or tempfile. Import glibcexctract.
5065 (compute_c_consts): Remove. Moved to glibcextract.py.
5066 (gen_test): Update reference to compute_c_consts.
5068 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5069 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5070 * sysdeps/unix/sysv/linux/Makefile
5071 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5072 Redirect stderr as well as stdout.
5074 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5077 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
5078 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5079 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
5080 ALWAYS_USE_VSYSCALL.
5081 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
5082 ALWAYS_USE_VSYSCALL.
5083 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5084 ALWAYS_USE_VSYSCALL.
5086 2018-12-10 Florian Weimer <fweimer@redhat.com>
5089 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5090 offset instead of count for clarity. Fix typo in comment.
5091 (__old_getdents64): Keep track of previous offset. Use it to call
5093 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5094 that d_off is never zero.
5096 2018-12-10 Andreas Schwab <schwab@suse.de>
5098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5099 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5101 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5102 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5104 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5106 * timezone/private.h: Update from tzcode 2018g.
5107 * timezone/tzfile.h: Likewise.
5108 * timezone/tzselect.ksh: Likewise.
5109 * timezone/zdump.c: Likewise.
5110 * timezone/zic.c: Likewise.
5112 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5115 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5116 (do_test): Adjust buffer size and fix format.
5118 2018-12-07 DJ Delorie <dj@redhat.com>
5121 * malloc/tst-tcfree3.c: New.
5122 * malloc/Makefile: Add it.
5124 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5126 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5128 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5130 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5131 used as a mask for the mode argument of __vfscanf_internal and
5132 __vfwscanf_internal.
5133 * stdio-common/vfscanf-internal.c
5134 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5135 (__strtof128_internal): Define to __wcstof128_internal.
5136 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5137 __strtof128_internal or __wcstof128_internal when the format of
5138 long double is the same as _Float128.
5140 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5142 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5143 * posix/confstr.c (confstr): Rename to __confstr.
5144 (__confstr): Add hidden def.
5145 (confstr): Add weak alias for __confstr.
5146 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5149 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5151 * NEWS: Mention getcpu.
5152 * include/sched.h (__getcpu): New libc_hidden_proto.
5153 * manual/resource.texi: Document getcpu.
5154 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5155 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5156 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5157 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5158 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5159 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5160 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5161 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5162 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5163 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5164 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5165 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5166 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5168 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5169 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5170 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5179 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5180 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5181 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5182 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5183 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5184 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5185 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5186 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5187 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5188 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5189 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5192 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5194 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5196 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5198 2018-12-07 Florian Weimer <fweimer@redhat.com>
5201 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5202 * posix/Versions (GLIBC_2.29): Export
5203 posix_spawn_file_actions_addfchdir_np.
5204 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5205 * posix/spawn_faction_destroy.c
5206 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5207 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5208 and the field action.fchdir_action.
5209 * posix/tst-spawn-chdir.c (add_chdir): New function.
5210 (do_test): Add do_fchdir loop. Call add_chdir.
5211 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5212 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5213 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5214 posix_spawn_file_actions_addfchdir_np.
5215 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5217 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5219 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5220 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5222 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5224 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5226 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5228 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5230 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5232 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5233 (GLIBC_2.29): Likewise.
5234 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5235 (GLIBC_2.29): Likewise.
5236 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5237 (GLIBC_2.29): Likewise.
5238 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5239 (GLIBC_2.29): Likewise.
5240 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5243 (GLIBC_2.29): Likewise.
5244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5245 (GLIBC_2.29): Likewise.
5246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5247 (GLIBC_2.29): Likewise.
5248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5249 (GLIBC_2.29): Likewise.
5250 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5252 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5254 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5256 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5257 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5259 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5261 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5263 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5266 2018-12-06 Joseph Myers <joseph@codesourcery.com>
5268 * manual/texinfo.tex: Update to version 2018-09-21.20 with
5269 trailing whitespace removed.
5270 * scripts/config.guess: Update to version 2018-11-28.
5271 * scripts/config.sub: Update to version 2018-11-28.
5272 * scripts/install-sh: Update to version 2018-03-11.20.
5273 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
5274 * scripts/move-if-change: Update to version 2018-03-07 03:47.
5276 2018-12-07 Florian Weimer <fweimer@redhat.com>
5280 * inet/tst-if_index-long.c: New file.
5281 * inet/Makefile (tests): Add tst-if_index-long.
5283 2018-12-07 Florian Weimer <fweimer@redhat.com>
5285 * support/check.h (support_record_failure_is_failed): Declare.
5286 * support/descriptors.h: New file.
5287 * support/support_descriptors.c: Likewise.
5288 * support/tst-support_descriptors.c: Likewise.
5289 * support/support_record_failure.c
5290 (support_record_failure_is_failed): New function.
5291 * support/Makefile (libsupport-routines): Add support_descriptors.
5292 (tests): Add tst-support_descriptors.
5294 2018-12-05 Zack Weinberg <zackw@panix.com>
5295 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5297 * stdio-common/vfprintf-internal.c
5298 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
5299 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
5300 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
5301 and __no_long_double.
5302 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
5303 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
5304 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
5305 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
5306 and __nldbl_*syslog* functions.
5307 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
5308 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
5309 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
5310 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
5311 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
5312 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
5313 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
5314 (__nldbl_vwprintf, __nldbl_wprintf):
5315 Directly call the appropriate __v*printf_internal routine, passing
5316 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
5318 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
5319 (__nldbl___printf_chk, __nldbl___snprintf_chk)
5320 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
5321 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
5322 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
5323 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5324 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
5325 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
5326 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
5327 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
5328 Likewise, and also pass PRINTF_FORTIFY when appropriate.
5329 (__nldbl_syslog, __nldbl_vsyslog):
5330 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
5331 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5333 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5336 2018-12-05 Zack Weinberg <zackw@panix.com>
5337 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5340 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
5341 Moved here from debug/vsprintf_chk.c.
5342 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
5343 and completion logic for the strfile to match exactly what
5344 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
5345 _IO_str_init_static_internal instead of maxlen-1.
5346 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5347 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
5348 __vsprintf_internal.
5350 * debug/vsprintf_chk.c (__vsprintf_chk)
5351 * debug/sprintf_chk.c (__sprintf_chk):
5352 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
5353 'flags' argument is positive, and slen as maxlen. No need to lock
5354 the FILE and/or construct a temporary FILE. Minimize and normalize
5355 header inclusions and variable names. Do not libc_hidden_def anything.
5357 * debug/asprintf_chk.c (__asprintf_chk)
5358 * debug/dprintf_chk.c (__dprintf_chk)
5359 * debug/fprintf_chk.c (__fprintf_chk)
5360 * debug/fwprintf_chk.c (__fwprintf_chk)
5361 * debug/printf_chk.c (__printf_chk)
5362 * debug/snprintf_chk.c (__snprintf_chk)
5363 * debug/swprintf_chk.c (__swprintf_chk)
5364 * debug/vasprintf_chk.c (__vasprintf_chk)
5365 * debug/vdprintf_chk.c (__vdprintf_chk)
5366 * debug/vfprintf_chk.c (__vfprintf_chk)
5367 * debug/vfwprintf_chk.c (__vfwprintf_chk)
5368 * debug/vprintf_chk.c (__vprintf_chk)
5369 * debug/vsnprintf_chk.c (__vsnprintf_chk)
5370 * debug/vswprintf_chk.c (__vswprintf_chk)
5371 * debug/vwprintf_chk.c (__vwprintf_chk)
5372 * debug/wprintf_chk.c (__wprintf_chk):
5373 Directly call the corresponding vxxprintf_internal function, passing
5374 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
5375 the FILE and/or construct a temporary FILE. Minimize and normalize
5376 header inclusions and variable names. Do not libc_hidden_def anything.
5378 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
5379 __obstack_vprintf_internal.
5380 (__obstack_vprintf_chk): Convert into a wrapper that calls
5381 __obstack_vprintf_internal (these two functions already had the
5382 same code) and move to new file...
5383 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
5385 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5386 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5387 * debug/Makefile (routines): Add vobprintf_chk.
5389 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5390 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5391 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5392 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5393 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5394 (__nldbl___obstack_vfprintf_chk):
5395 Directly call the corresponding vxxprintf_internal function,
5396 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5397 duplicate comparison of slen with 0 or maxlen from the corresponding
5398 non-__nldbl function.
5400 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5401 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5402 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5403 Remove libc_hidden_proto.
5405 * stdio-common/vfprintf-internal.c
5406 (__vfprintf_internal, __vfwprintf_internal):
5407 Do not check _IO_FLAGS2_FORTIFY.
5408 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5409 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5410 a comment explaining why it has the maxlen argument.
5411 (_IO_acquire_lock_clear_flags2_fct): Remove.
5412 (_IO_acquire_lock_clear_flags2): Remove.
5413 (_IO_release_lock): Remove conditional statement which will
5415 (_IO_acquire_lock): Remove variable which is now unused.
5416 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5417 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5419 * stdio-common/Makefile (tests): Add tst-bz11319 and
5420 tst-bz11319-fortify2.
5421 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5422 * stdio-common/tst-bz11319-fortify2.c: New file.
5423 * stdio-common/tst-bz11319.c: Likewise.
5425 2018-12-05 Zack Weinberg <zackw@panix.com>
5426 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5428 * misc/syslog.c: Include libioP.h, not iolibio.h.
5429 (__vsyslog_internal): New function with the former body of
5430 __vsyslog_chk; takes mode_flags argument same as
5431 __v*printf_internal. Call __vfprintf_internal directly.
5433 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5434 Remove libc_hidden_def.
5435 (__syslog, __syslog_chk): Use __vsyslog_internal.
5436 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5438 * include/sys/syslog.h: Add multiple inclusion guard.
5439 Add prototype for __vsyslog_internal.
5440 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5442 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5443 Use __vsyslog_internal.
5445 2018-12-05 Zack Weinberg <zackw@panix.com>
5446 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5448 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5449 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5450 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5452 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5453 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5455 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5456 Include wctype.h here if COMPILE_WPRINTF is defined.
5457 Define __vfprintf_internal or __vfwprintf_internal, depending
5459 Temporarily, on entry to this function, update mode_flags
5460 according to the environmental settings corresponding to
5461 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
5462 Throughout, check mode_flags instead of __ldbl_is_dbl and
5463 _IO_FLAGS2_FORTIFY on the destination FILE.
5464 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
5465 Include vfprintf-internal.c. Don't include wctype.h.
5466 * stdio-common/vfprintf.c: New file. Just define __vfprintf
5467 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
5469 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
5470 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
5472 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
5474 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
5475 and add mode_flags argument; use __vfprintf_internal.
5476 (__vdprintf): New function. Alias vdprintf to this.
5477 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
5478 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
5479 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
5480 (__obstack_printf): Use __obstack_printf_internal.
5481 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
5482 public aliases __vsnprintf and vsnprintf.
5483 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
5485 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
5486 public aliases _IO_vsprintf and vsprintf.
5487 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
5488 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
5489 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
5490 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
5491 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
5493 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
5494 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
5495 * stdio-common/fprintf.c, stdio-common/fxprintf.c
5496 * stdio-common/printf.c: Use __vfprintf_internal.
5498 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
5499 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
5500 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
5502 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
5503 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
5504 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
5505 __vfwprintf_internal.
5507 * libio/libio.h: Remove libc_hidden_proto and declaration for
5509 Remove declaration of _IO_vfwprintf.
5510 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
5512 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
5514 * include/stdio.h: Add prototype for __vasprintf.
5515 (__vsnprintf): Remove declaration, because there are no more
5517 * include/wchar.h (__vfwprintf, __vswprintf): Remove
5518 declaration, because there are no more internal calls.
5520 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
5521 __vsnprintf_internal, instead of _IO_vsnprintf.
5522 * argp/argp-help.c (__argp_error, __argp_failure): Use
5523 __vasprintf_internal, instead of _IO_vasprintf.
5524 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
5525 redefine, because there are no more internal calls.
5527 2018-12-05 Zack Weinberg <zackw@panix.com>
5528 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5530 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
5531 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
5532 Include libio/strfile.h instead of libioP.h.
5533 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
5534 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
5535 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
5536 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
5537 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
5538 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
5539 necessary. Do not set __no_long_double. Normalize variable names.
5540 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
5541 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
5542 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
5543 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
5544 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
5545 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
5546 Call __vfscanf_internal / __vfwscanf_internal directly, passing
5547 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
5548 Do not set __no_long_double. Normalize variable names.
5550 2018-12-05 Zack Weinberg <zackw@panix.com>
5551 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5553 * stdio-common/isoc99_scanf.c
5554 * stdio-common/isoc99_fscanf.c
5555 * stdio-common/isoc99_sscanf.c
5556 * stdio-common/isoc99_vscanf.c
5557 * stdio-common/isoc99_vfscanf.c
5558 * stdio-common/isoc99_vsscanf.c
5559 * wcsmbs/isoc99_wscanf.c
5560 * wcsmbs/isoc99_fwscanf.c
5561 * wcsmbs/isoc99_swscanf.c
5562 * wcsmbs/isoc99_vwscanf.c
5563 * wcsmbs/isoc99_vfwscanf.c
5564 * wcsmbs/isoc99_vswscanf.c:
5565 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
5566 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
5567 No need to lock and unlock the FILE passed to that function.
5569 * stdio-common/vfscanf-internal.c
5570 (__vfscanf_internal, __vfwscanf_internal):
5571 Don't look at _IO_FLAGS2_SCANF_STD.
5572 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
5573 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
5574 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
5576 2018-12-05 Zack Weinberg <zackw@panix.com>
5577 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5579 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
5580 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
5581 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
5582 * libio/strfile.h: Add multiple inclusion guard.
5583 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
5585 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
5586 consistency with the other version of this file.
5587 (ldbl_compat_symbol): New macro.
5588 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
5591 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
5592 Define __vfscanf_internal or __vfwscanf_internal, depending on
5593 COMPILE_WSCANF; don't define any other public symbols.
5594 Remove errval and code to set errp.
5595 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
5596 as the mode_flags argument.
5597 (encode_error, conv_error, input_error): Don't set errval.
5598 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
5599 Include vfscanf-internal.c.
5600 * stdio-common/vfscanf.c: New file defining the public entry
5601 point vfscanf, which calls __vfscanf_internal.
5602 * stdio-common/vfwscanf.c: New file defining the public entry
5603 point vfwscanf, which calls __vfwscanf_internal.
5605 * stdio-common/iovfscanf.c: New file.
5606 * stdio-common/iovfwscanf.c: Likewise.
5608 * stdio-common/Makefile (routines): Add vfscanf-internal,
5609 vfwscanf-internal, iovfscanf, iovfwscanf.
5610 * stdio-common/Versions: Mention GLIBC_2.29, so that
5611 it can be used in SHLIB_COMPAT expressions.
5612 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
5613 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
5614 Call __vfscanf_internal, instead of _IO_vfscanf.
5615 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
5617 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
5620 * libio/iovsscanf.c: Clean up includes, when possible. Use
5621 _IO_strfile_read or _IO_strfile_readw, when needed. Call
5622 __vfscanf_internal or __vfwscanf_internal directly.
5623 * libio/iovswscanf.c: Likewise.
5624 * libio/swscanf.c: Likewise.
5625 * libio/vscanf.c: Likewise.
5626 * libio/vwscanf.c: Likewise.
5627 * libio/wscanf.c: Likewise.
5628 * stdio-common/isoc99_fscanf.c: Likewise.
5629 * stdio-common/isoc99_scanf.c: Likewise.
5630 * stdio-common/isoc99_sscanf.c: Likewise.
5631 * stdio-common/isoc99_vfscanf.c: Likewise.
5632 * stdio-common/isoc99_vscanf.c: Likewise.
5633 * stdio-common/isoc99_vsscanf.c: Likewise.
5634 * stdio-common/scanf.c: Likewise.
5635 * stdio-common/sscanf.c: Likewise.
5636 * wcsmbs/isoc99_fwscanf.c: Likewise.
5637 * wcsmbs/isoc99_swscanf.c: Likewise.
5638 * wcsmbs/isoc99_vfwscanf.c: Likewise.
5639 * wcsmbs/isoc99_vswscanf.c: Likewise.
5640 * wcsmbs/isoc99_vwscanf.c: Likewise.
5641 * wcsmbs/isoc99_wscanf.c: Likewise.
5643 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
5646 (__tz_compute): Replace time_t with __time64_t.
5647 (__tz_convert): Replace time_t* with __time64_t.
5648 (__offtime): Replace time_t* with __time64_t.
5650 (__gmtime_r): Adjust call to __tz_convert.
5653 (__localtime_r): Likewise.
5654 (localtime): Likewise.
5655 * time/offtime.c: Replace time_t with __time64_t.
5656 * time/tzset.c: Likewise.
5658 2018-12-04 Joseph Myers <joseph@codesourcery.com>
5660 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
5661 dynamic linker unless [$(run-built-tests) = yes].
5663 2018-12-03 DJ Delorie <dj@delorie.com>
5665 * support/test-container.c (check_for_unshare_hints): New.
5666 (main): Call it if unshare fails. Add support for "su" scriptlet
5669 2018-12-03 Joseph Myers <joseph@codesourcery.com>
5671 * scripts/gen-as-const.py (compute_c_consts): Take an argument
5672 'START' to indicate that start text should be output.
5673 (gen_test): Likewise.
5674 (main): Generate 'START' for first symbol or '--' line, or at end
5675 of input if not previously generated.
5677 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
5680 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
5681 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
5682 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
5683 ALWAYS_USE_VSYSCALL.
5685 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5688 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
5691 2018-12-03 Carlos O'Donell <carlos@redhat.com>
5694 * locale/programs/localedef.c: Declare boolean hard_links default true.
5695 (options): Add --no-hard-links option.
5696 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
5697 * locale/programs/localedef.h: Declare prototype for hard_links.
5698 * locale/programs/locfile.c (write_locale_data): Don't use hard
5699 links if hard_links is false.
5701 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
5703 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
5705 (__cache_sysconf): Likewise.
5706 (init_cacheinfo): Likewise.
5707 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
5708 populate COMMON_CPUID_INDEX_80000007 and
5709 COMMON_CPUID_INDEX_80000008.
5710 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
5711 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
5712 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
5713 (init_cpu_features): Use _Static_assert on
5714 index_arch_Fast_Unaligned_Load.
5715 __get_cpuid_registers and __get_arch_feature. Updated for
5716 cpu_features_basic. Set stepping in cpu_features.
5717 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
5718 (FEATURE_INDEX_2): New.
5719 (FEATURE_INDEX_MAX): Changed to enum.
5720 (COMMON_CPUID_INDEX_D_ECX_1): New.
5721 (COMMON_CPUID_INDEX_80000007): Likewise.
5722 (COMMON_CPUID_INDEX_80000008): Likewise.
5723 (cpuid_registers): Likewise.
5724 (cpu_features_basic): Likewise.
5725 (CPU_FEATURE_USABLE): Likewise.
5726 (bit_arch_XXX_Usable): Likewise.
5727 (cpu_features): Use cpuid_registers and cpu_features_basic.
5728 (bit_arch_XXX): Reweritten.
5729 (bit_cpu_XXX): Likewise.
5730 (index_cpu_XXX): Likewise.
5731 (reg_XXX): Likewise.
5732 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
5734 (CHECK_CPU_FEATURE): New.
5735 (CHECK_CPU_FEATURE_USABLE): Likewise.
5736 (cpu_kinds): Likewise.
5737 (do_test): Print vendor, family, model and stepping. Check
5738 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
5739 (TEST_FUNCTION): Removed.
5740 Include <support/test-driver.c> instead of
5741 "../../test-skeleton.c".
5742 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
5743 Check POPCNT instead of POPCOUNT.
5744 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
5746 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5748 * scripts/gen-as-const.py (main): Avoid emitting empty line when
5749 there is no element in `consts'.
5751 2018-12-01 Florian Weimer <fweimer@redhat.com>
5753 * support/support_capture_subprocess.c
5754 (support_capture_subprocess): Check that pipe descriptors have
5755 expected values. Close original pipe descriptors in subprocess.
5757 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5760 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
5761 attr with __pthread_default_barrierattr.
5762 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
5763 attr with __pthread_default_condattr.
5764 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
5765 attr with __pthread_default_mutexattr.
5766 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
5767 attr with __pthread_default_rwlockattr.
5769 2018-12-01 Kemi Wang <kemi.wang@intel.com>
5771 * manual/tunables.texi (POSIX Thread Tunables): New node.
5772 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
5773 * nptl/nptl-init.c: Include pthread_mutex_conf.h
5774 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
5775 __pthread_tunables_init.
5776 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
5777 (max_adaptive_count): Define.
5778 * nptl/pthread_mutex_conf.c: New file.
5779 * nptl/pthread_mutex_conf.h: New file.
5780 * sysdeps/generic/adaptive_spin_count.h: New file.
5781 * sysdeps/nptl/dl-tunables.list: New file.
5782 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5783 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
5784 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
5787 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5790 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
5791 * stdlib/on_exit.c (__on_exit): Likewise.
5792 * stdlib/Makefile (tests): Add tst-bz20544.
5793 * stdlib/tst-bz20544.c: New test.
5795 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
5798 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
5799 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
5802 2018-11-30 Florian Weimer <fweimer@redhat.com>
5804 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
5805 Extend error logging.
5806 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
5809 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5811 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
5812 __sigismember instead of sigismember.
5813 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
5814 cancel_handler): New definitions.
5815 (do_system): Use posix_spawn instead of fork and execl and remove
5817 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
5818 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
5819 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
5820 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5821 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5822 * sysdeps/unix/sysv/linux/system.c: Likewise.
5826 * NEWS: Add new semantic for atfork with popen and system.
5827 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5830 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5833 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5834 modification order when accessing reloc_result->addr.
5835 * include/link.h (reloc_result): Add field init.
5836 * nptl/Makefile (tests): Add tst-audit-threads.
5837 (modules-names): Add tst-audit-threads-mod1 and
5838 tst-audit-threads-mod2.
5839 Add rules to build tst-audit-threads.
5840 * nptl/tst-audit-threads-mod1.c: New file.
5841 * nptl/tst-audit-threads-mod2.c: Likewise.
5842 * nptl/tst-audit-threads.c: Likewise.
5843 * nptl/tst-audit-threads.h: Likewise.
5845 2018-11-30 Joseph Myers <joseph@codesourcery.com>
5847 * scripts/gen-as-const.py: New file.
5848 * scripts/gen-as-const.awk: Remove.
5849 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5851 ($(objpfx)test-as-const-%.c): Likewise.
5853 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5855 * elf/dl-exception.c: Include <_itoa.h>.
5857 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5859 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5860 returned by __f_setlk.
5862 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5863 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5865 * elf/Makefile (tests-internal): Add tst-create_format1.
5866 * elf/dl-exception.c (_dl_exception_create_format): Support
5868 * elf/tst-create_format1.c: New file.
5870 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5872 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5873 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5875 * argp/argp-help.c (__argp_failure): Likewise.
5877 2018-11-29 Mao Han <han_mao@c-sky.com>
5879 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5880 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5881 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5882 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5883 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5884 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5885 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5886 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5887 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5888 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5889 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5890 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5891 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5892 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5893 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5894 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5895 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5896 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5897 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5898 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5899 (R_CKCORE_TLS_TPOFF32): New defines.
5901 2018-11-29 Florian Weimer <fweimer@redhat.com>
5903 * posix/Makefile (before-compile): Remove testcases.h and
5905 (generated): Add testcases.h and ptestcases.h.
5906 (testcases.h, ptestcases.h): Move to $(objpfx).
5907 (runtests.o): Add dependency on testcases.h.
5908 (runptests.o): Add dependency on ptestcases.h.
5909 * posix/testcases.h, posix/ptestcases.h: Remove files.
5910 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5911 not touch posix/testcases.h and posix/ptestcases.h.
5913 2018-11-28 Florian Weimer <fweimer@redhat.com>
5915 support: Add signal support to support_capture_subprocess_check.
5916 * support/capture_subprocess.h (support_capture_subprocess_check):
5917 Adjust comment and rename parameter.
5918 * support/support_capture_subprocess_check.c
5919 (print_actual_status): New function.
5920 (support_capture_subprocess_check): Support negative
5921 status_or_signal. Call print_actual_status.
5922 * support/tst-support_capture_subprocess.c (do_test): Call
5923 support_capture_subprocess_check.
5924 * libio/tst-vtables-common.c (termination_status)
5925 (init_termination_status): Remove.
5926 (check_for_termination): Adjust support_capture_subprocess_check
5928 (do_test): Remove call to init_termination_status.
5930 2018-11-28 Joseph Myers <joseph@codesourcery.com>
5932 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5933 source directory instead of a copy.
5934 (CommandList.create_copy_dir): Remove.
5936 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
5938 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5940 2018-11-28 Florian Weimer <fweimer@redhat.com>
5942 * support/support.h (support_quote_string): Do not use str
5945 2018-11-27 Joseph Myers <joseph@codesourcery.com>
5947 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5948 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5950 2018-11-27 Florian Weimer <fweimer@redhat.com>
5952 * support/support.h (support_quote_string): Declare.
5953 * support/support_quote_string.c: New file.
5954 * support/tst-support_quote_string.c: Likewise.
5955 * support/Makefile (libsupport-routines): Add
5956 support_quote_string.
5957 (tests): Add tst-support_quote_string.
5959 2018-11-27 Florian Weimer <fweimer@redhat.com>
5963 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5964 descriptor leak in case of ENODEV error.
5966 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5969 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5970 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5971 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5973 2018-11-26 Carlos O'Donell <carlos@redhat.com>
5975 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5976 Error for unknown lines.
5978 2018-11-26 Joseph Myers <joseph@codesourcery.com>
5980 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5981 Touch additional files.
5983 2018-11-26 Florian Weimer <fweimer@redhat.com>
5986 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5989 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5992 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5993 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5994 SHARED. Include sysdep.h.
5995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5996 ALWAYS_USE_VSYSCALL.
5997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5998 ALWAYS_USE_VSYSCALL.
6000 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6003 * nptl/Makefile (tests-static): Add tst-cond11-static.
6005 * nptl/tst-cond11-static.c: New File.
6006 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6007 tst-affinity-static.
6009 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6011 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6012 (USE_VSYSCALL): Likewise.
6013 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6014 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6016 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6018 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6021 2018-11-23 Joseph Myers <joseph@codesourcery.com>
6024 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6025 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6028 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6030 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6031 (tst-cet-legacy-1a-ARGS): New.
6032 ($(objpfx)tst-cet-legacy-1a): New target.
6033 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6035 2018-11-22 Joseph Myers <joseph@codesourcery.com>
6037 * conform/conformtest.py (CompileSubTest.__init__): Set
6038 self.run_early to False.
6039 (ExecuteSubTest.__init__): Likewise.
6040 (HeaderTests.run): Try running all non-optional, non-XFAILed
6041 compilation tests in a single execution of the compiler.
6043 * conform/conformtest.py (CompileSubTest): New class.
6044 (ExecuteSubTest): Likewise.
6045 (ElementTest.run): Rename to gen_subtests. Append tests to
6046 self.subtests instead of running them.
6047 (ConstantTest.run): Likewise.
6048 (SymbolTest.run): Likewise.
6049 (TypeTest.run): Likewise.
6050 (TagTest.run): Likewise.
6051 (FunctionTest.run): Likewise.
6052 (VariableTest.run): Likewise.
6053 (MacroFunctionTest.run): Likewise.
6054 (MacroStrTest.run): Likewise.
6055 (HeaderTests.handle_test_line): Generate subtests for tests.
6056 (HeaderTests.run): Run subtests for tests.
6058 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6060 * math/Versions (GLIBC_2.29): Add pow.
6061 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6063 * math/w_pow.c: New file.
6064 * sysdeps/i386/fpu/w_pow.c: New file.
6065 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6066 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6067 and add necessary aliases.
6068 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6069 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6070 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6071 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6072 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6073 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6074 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6075 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6076 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6077 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6078 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6079 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6080 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6081 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6082 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6087 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6088 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6089 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6090 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6091 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6092 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6093 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6094 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6096 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6097 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6098 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6100 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6102 * math/Versions (GLIBC_2.29): Add log2.
6103 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6105 * math/w_log2.c: New file.
6106 * sysdeps/i386/fpu/w_log2.c: New file.
6107 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6108 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6109 and add necessary aliases.
6110 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6111 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6112 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6113 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6114 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6115 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6116 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6117 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6118 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6119 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6120 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6121 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6122 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6123 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6124 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6129 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6130 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6131 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6132 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6133 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6134 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6135 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6137 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6139 * math/Versions (GLIBC_2.29): Add log.
6140 * math/w_log_compat.c (__log_compat): Change to versioned compat
6142 * math/w_log.c: New file.
6143 * sysdeps/i386/fpu/w_log.c: New file.
6144 * sysdeps/ia64/fpu/e_log.S: Update.
6145 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6146 and add necessary aliases.
6147 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6148 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6149 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6150 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6151 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6152 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6153 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6154 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6155 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6156 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6157 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6158 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6159 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6160 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6161 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6166 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6167 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6168 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6169 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6170 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6171 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6172 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6173 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6175 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6176 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6177 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6178 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6180 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6182 * math/Versions (GLIBC_2.29): Add exp and exp2.
6183 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6184 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6185 * math/w_exp_compat.c (__exp_compat): Likewise.
6186 * math/w_exp.c: New file.
6187 * math/w_exp2.c: New file.
6188 * sysdeps/i386/fpu/w_exp.c: New file.
6189 * sysdeps/i386/fpu/w_exp2.c: New file.
6190 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6191 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6192 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6193 and add necessary aliases.
6194 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6195 and add necessary aliases.
6196 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6197 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6198 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6199 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6200 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6201 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6202 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6203 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6204 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6205 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6206 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6207 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6208 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6209 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6210 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6211 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6212 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6217 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6218 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6219 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6220 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6221 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6222 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6223 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6224 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6225 (__ieee754_exp): Rename to __exp.
6226 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6227 (__ieee754_exp): Rename to __exp.
6228 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6229 (__ieee754_exp): Rename to __exp.
6230 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6232 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6234 2018-11-20 DJ Delorie <dj@redhat.com>
6236 * malloc/malloc.c (tcache_entry): Add key field.
6237 (tcache_put): Set it.
6238 (tcache_get): Likewise.
6239 (_int_free): Check for double free in tcache.
6240 * malloc/tst-tcfree1.c: New.
6241 * malloc/tst-tcfree2.c: New.
6242 * malloc/Makefile: Run the new tests.
6243 * manual/probes.texi: Document memory_tcache_double_free probe.
6245 * dlfcn/dlerror.c (check_free): Prevent double frees.
6247 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6249 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6251 2018-11-20 Joseph Myers <joseph@codesourcery.com>
6253 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6254 in tests. Use names for format arguments.
6255 (ConstantTest.run): Likewise.
6256 (SymbolTest.run): Likewise.
6257 (TypeTest.run): Likewise.
6258 (TagTest.run): Likewise.
6259 (FunctionTest.run): Likewise.
6260 (VariableTest.run): Likewise.
6261 (MacroFunctionTest.run): Likewise.
6262 (MacroStrTest.run): Likewise.
6263 (HeaderTests.__init__): Set self.num_tests.
6264 (HeaderTests.handle_test_line): Set test.num. Increment
6267 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6269 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
6270 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
6273 2018-11-19 Mao Han <han_mao@c-sky.com>
6275 * scripts/config.guess: Update to version 2018-08-29.
6276 * scripts/config.sub: Update to version 2018-08-29.
6278 2018-11-19 Florian Weimer <fweimer@redhat.com>
6280 support: Print timestamps in timeout handler.
6281 * support/support_test_main.c (print_timestamp): New function.
6282 (signal_handler): Use it to print the termination time and the
6283 time of the last write to standard output.
6285 2018-11-16 Zack Weinberg <zackw@panix.com>
6286 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6288 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
6289 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
6291 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
6292 and add flags argument. Check flags instead of __ldbl_is_dbl when
6293 deciding whether to set is_long_double.
6294 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
6295 passing zero for flags argument.
6296 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
6298 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6299 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
6300 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
6301 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
6302 variable names. Remove libc_hidden_def/libc_hidden_proto from
6303 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
6304 longer called from within the library.
6305 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
6306 for __nldbl___vstrfmon_l, declare it explicitly.
6308 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
6310 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6312 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
6314 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
6315 F_SETLK64, F_SETLKW64, respectively.
6316 * sysdeps/mach/hurd/f_setlk.c: New file.
6317 * sysdeps/mach/hurd/f_setlk.h: New file.
6318 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
6320 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
6321 (__libc_fcntl): Move non-flock operations to...
6322 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
6323 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
6325 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
6327 mktime: DEBUG_MKTIME cleanup
6328 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
6329 And it’s no longer needed now that glibc and Gnulib both have
6330 their own testing mechanisms for mktime.
6331 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
6333 mktime: fix non-EOVERFLOW errno handling
6335 mktime was not properly reporting failures when the underlying
6336 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
6337 them like EOVERFLOW failures, and set errno to EOVERFLOW.
6338 The problem could happen on non-glibc platforms, with Gnulib.
6339 * time/mktime.c (guess_time_tm): Remove, replacing with ...
6340 (tm_diff): ... this simpler function, which does not change errno.
6341 All callers changed to deal with errno themselves.
6342 (ranged_convert, __mktime_internal): Return failure immediately if
6343 the underlying function reports any failure other than EOVERFLOW.
6344 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
6347 mktime: fix bug with Y2038 DST transition
6349 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
6350 mishandle a DST transition that jumps over the Y2038 boundary.
6351 No such DST transitions are known so this is only a theoretical
6352 bug, but we might as well do things right.
6354 mktime: make more room for overflow
6356 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
6357 This is so that we can add tm_diff results to a previous guess,
6358 which will be useful in a later patch.
6360 mktime: simplify offset guess
6362 * time/mktime.c (__mktime_internal): Omit excess precision.
6364 mktime: new test for mktime failure
6366 Based on a test suggested by Albert Aribaud in:
6367 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
6368 * time/Makefile (tests): Add bug-mktime4.
6369 * time/bug-mktime4.c: New file.
6371 mktime: fix EOVERFLOW bug
6373 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
6374 Include libc-config.h, not config.h, for __set_errno.
6375 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
6377 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6379 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
6380 __attribute_copy__ to copy attributes from name. Drop static qualifier
6381 to avoid warnings about leaf attribute not having effect on static
6384 2018-11-13 Florian Weimer <fweimer@redhat.com>
6386 * malloc/malloc.c (fastbin_push_entry): New function.
6387 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6388 (REMOVE_FB): Remove macro.
6389 (_int_malloc): Use fastbin_pop_entry and reindent.
6390 (_int_free): Use fastbin_push_entry.
6391 (malloc_consolidate): Use atomic_exchange_acquire.
6393 2018-11-13 Joseph Myers <joseph@codesourcery.com>
6395 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6396 alias attribute, not with strong_alias.
6398 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6399 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6400 with additional parameter thread.
6401 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6402 in terms of __hidden_ver2.
6403 (hidden_tls_def): New macro.
6404 (libc_hidden_tls_def): Likewise.
6405 (rtld_hidden_tls_def): Likewise.
6406 (libm_hidden_tls_def): Likewise.
6407 (libmvec_hidden_tls_def): Likewise.
6408 (libresolv_hidden_tls_def): Likewise.
6409 (librt_hidden_tls_def): Likewise.
6410 (libdl_hidden_tls_def): Likewise.
6411 (libnss_files_hidden_tls_def): Likewise.
6412 (libnsl_hidden_tls_def): Likewise.
6413 (libnss_nisplus_hidden_tls_def): Likewise.
6414 (libutil_hidden_tls_def): Likewise.
6415 (libutil_hidden_tls_def): Likweise.
6416 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6417 libc_hidden_tls_def.
6418 (__sim_disabled_exceptions_thread): Likewise.
6419 (__sim_round_mode_thread): Likewise.
6421 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6422 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6423 copy attributes from name.
6425 2018-11-12 Joseph Myers <joseph@codesourcery.com>
6427 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6428 Use __attribute_copy__ to copy attributes from name.
6430 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6431 with __hidden_ver1 call.
6432 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6433 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6434 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6435 (__cosf): Do not declare here.
6436 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6437 (__sincosf): Do not declare here.
6438 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6439 (__sinf): Do not declare here.
6441 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6442 (__BIG_ENDIAN): Likewise.
6443 (__BYTE_ORDER): Likewise.
6444 (strong_alias): Likewise.
6445 (_strong_alias): Likewise.
6447 2018-11-12 Florian Weimer <fweimer@redhat.com>
6449 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6450 function. Move after the definition of in_smallbin_range. Do not
6451 use __builtin_expect for paths that lead to a noreturn function.
6452 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6453 because it is unclear whether this is in fact an unlikely
6455 (_int_malloc, _int_free): Adjust.
6456 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6458 * malloc/arena.c (heap_trim): Likewise.
6460 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6462 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
6463 it, free it if needed.
6464 (reauthenticate): Test and use ccwdir.
6465 (child_init_port): In non-resetids case, test and use ccwdir.
6466 (child_chdir): New nested function to set ccwdir.
6467 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
6468 * hurd/hurd/port.h (_hurd_port_move): New function.
6469 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
6470 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
6471 * hurd/Versions (_hurd_port_move): Export function.
6472 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
6474 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
6475 of dtablesize for allocating dtable_cloexec.
6477 2018-11-09 Martin Sebor <msebor@redhat.com>
6479 * include/libc-symbols.h (__attribute_copy__): Define macro unless
6480 it's already defined.
6481 (_strong_alias): Use __attribute_copy__.
6482 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
6483 * misc/sys/cdefs.h (__attribute_copy__): New macro.
6484 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
6485 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
6486 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
6487 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
6488 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
6489 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
6490 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
6491 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
6492 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
6493 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
6494 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
6495 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
6496 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
6497 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
6498 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
6499 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
6500 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
6502 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6504 * misc/tst-efgcvt.c: Include support/check.h and
6505 support/test-driver.c. Do not include test-skeleton.c.
6506 (error_count): Remove.
6507 (output_error): Replace increments to error_count with calls to
6508 support_record_failure.
6509 (output_r_error): Likewise.
6510 (special): Likewise.
6511 (do_test): Unconditionally return zero.
6512 (TEST_FUNCTION): Remove.
6514 2018-11-09 Joseph Myers <joseph@codesourcery.com>
6516 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
6518 ($(linknamespace-header-tests)): Likewise.
6520 * conform/conformtest.py: New file.
6521 * conform/conformtest.pl: Remove.
6522 * conform/GlibcConform.pm: Likewise.
6523 * conform/glibcconform.py (KEYWORDS_C90): New constant.
6524 (KEYWORDS_C99): Likewise.
6525 (KEYWORDS): Likewise.
6526 * conform/Makefile ($(conformtest-header-tests)): Use
6527 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
6528 option. Use --header instead of --headers.
6529 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
6531 * conform/data/spawn.h-data: Likewise.
6532 * conform/data/fcntl.h-data (openat): Add space after function
6534 * conform/data/wchar.h-data (wcscasecmp): Likewise.
6535 (wcscasecmp_l): Likewise.
6536 * conform/data/termios.h-data (c_cc): Add space after element
6539 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6541 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
6542 instead of manually comparing and reporting mismatching strings.
6543 * misc/tst-ldbl-error.c (do_one_test): Likewise.
6544 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6546 2018-11-08 Joseph Myers <joseph@codesourcery.com>
6548 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
6549 __ASSUME_SOCKETCALL.
6550 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6551 (__ASSUME_SOCKETCALL): Remove.
6552 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6553 (__ASSUME_SOCKETCALL): Likewise.
6554 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6555 (__ASSUME_SOCKETCALL): Likewise.
6556 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6557 (__ASSUME_SOCKETCALL): Likewise.
6558 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6559 (__ASSUME_SOCKETCALL): Likewise.
6560 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6561 (__ASSUME_SOCKETCALL): Likewise.
6562 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6563 (__ASSUME_SOCKETCALL): Likewise.
6565 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
6568 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
6569 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
6570 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
6571 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
6572 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
6575 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
6578 * resolv/tst-resolv-network.c: Add test for getnetbyname.
6580 2018-11-07 Joseph Myers <joseph@codesourcery.com>
6583 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6584 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6585 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6586 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6588 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6590 * support/support_test_compare_string.c
6591 (support_test_compare_string): Fix printf format.
6593 2018-11-07 Florian Weimer <fweimer@redhat.com>
6595 Implement TEST_COMPARE_STRING.
6596 * support/check.h (TEST_COMPARE_STRING): Define.
6597 (support_test_compare_string): Declare.
6598 * support/Makefile (libsupport-routines): Add
6599 support_test_compare_string.
6600 (tests): Add tst-test_compare_string.
6601 * support/support_test_compare_string.c: New file.
6602 * support/tst-test_compare_string.c: Likewise.
6604 2018-11-07 Andreas Schwab <schwab@suse.de>
6607 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
6608 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
6611 2018-11-06 Joseph Myers <joseph@codesourcery.com>
6614 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6615 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
6616 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
6617 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
6620 2018-11-06 Florian Weimer <fweimer@redhat.com>
6623 * posix/Makefile (routines): Add spawn_faction_addchdir.
6624 (tests): Add tst-spawn-chdir.
6625 * posix/Versions (GLIBC_2.29): Add
6626 posix_spawn_file_actions_addchdir_np.
6627 * posix/spawn_faction_addchdir.c: New file.
6628 * posix/spawn_faction_destroy.c
6629 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
6630 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
6631 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
6633 * posix/tst-spawn-chdir.c: New file.
6634 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
6635 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6636 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6637 posix_spawn_file_actions_addchdir_np.
6638 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6640 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6642 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6643 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6645 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6647 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6649 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6651 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6653 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6655 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6656 (GLIBC_2.29): Likewise.
6657 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6658 (GLIBC_2.29): Likewise.
6659 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6660 (GLIBC_2.29): Likewise.
6661 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6662 (GLIBC_2.29): Likewise.
6663 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6666 (GLIBC_2.29): Likewise.
6667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6668 (GLIBC_2.29): Likewise.
6669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6670 (GLIBC_2.29): Likewise.
6671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6672 (GLIBC_2.29): Likewise.
6673 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6675 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6677 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6679 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6680 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6682 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6684 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6686 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6689 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6691 * misc/Makefile (tests): Add tst-ldbl-error.
6692 * misc/tst-ldbl-error.c: New file.
6694 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6696 * misc/Makefile (tests): Add tst-ldbl-warn.
6697 * misc/tst-ldbl-warn.c: New file.
6699 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6701 * argp/Makefile (tests): Add tst-ldbl-argp.
6702 * argp/tst-ldbl-argp.c: New file.
6704 2018-11-05 Arjun Shankar <arjun@redhat.com>
6706 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
6707 __gconv_path_elem and call __gconv_get_path unconditionally.
6709 2018-11-05 Andreas Schwab <schwab@suse.de>
6712 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
6713 creating the first helper thread failed.
6715 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6717 * sysdeps/mach/hurd/msync.c: New file.
6719 2018-11-02 Florian Weimer <fweimer@redhat.com>
6721 * support/shell-container.c (copy_func): Call
6722 support_copy_file_range instead of copy_file_range to support
6723 cross-device copies.
6725 2018-11-02 Florian Weimer <fweimer@redhat.com>
6727 * support/test-container.c: Include <libc-pointer-arith.h> for
6730 2018-11-01 Zong Li <zong@andestech.com>
6732 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
6733 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
6734 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
6735 (__FP_FRAC_SET_8): Add implementation for RV32 use.
6737 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
6738 variable to avoid overlap arguments.
6740 2018-11-01 Joseph Myers <joseph@codesourcery.com>
6742 * posix/bug-regex22.c (main): Use puts with distinct error
6743 messages for unexpected success of re_compile_pattern, not printf
6744 with NULL argument to %s.
6746 * stdio-common/bug22.c: Include <libc-diag.h>.
6747 (do_test): Disable -Wformat-overflow= warnings around fprintf
6748 calls outputting more than INT_MAX characters.
6749 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
6750 around printf call with NULL %s argument.
6753 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
6754 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
6756 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6757 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6758 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6759 (__ASSUME_SENDTO_SYSCALL): Likewise.
6760 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6761 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
6763 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6764 (__ASSUME_CONNECT_SYSCALL): Likewise.
6765 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6766 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6767 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
6769 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
6771 [__LINUX_KERNEL_VERSION >= 0x040400]
6772 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6773 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
6776 (setsockopt): Likewise.
6778 2018-11-01 Fredrik Noring <noring@nocrew.org>
6780 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
6781 with the ISA override.
6783 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
6785 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
6788 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6790 * manual/errno.texi (EIEIO): Document how translators should
6791 translate the error message.
6792 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
6793 printing trailing whitespaces refused by git.
6794 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
6795 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6796 * hurd/Makefile (user-interfaces): Add pci.
6798 2018-10-30 Joseph Myers <joseph@codesourcery.com>
6800 * conform/linknamespace.py: New file.
6801 * conform/linknamespace.pl: Remove file.
6802 * conform/Makefile ($(linknamespace-header-tests)): Use
6803 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
6806 2018-10-30 Florian Weimer <fweimer@redhat.com>
6808 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
6811 2018-10-30 Florian Weimer <fweimer@redhat.com>
6813 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
6815 2018-10-30 Florian Weimer <fweimer@redhat.com>
6817 * stdlib/tst-strtod-overflow.c (do_test): Switch to
6818 support_blob_repeat.
6820 2018-10-30 Florian Weimer <fweimer@redhat.com>
6822 Avoid spurious test failures in stdlib/test-bz22786.
6823 * support/Makefile (libsupport-routines): Add blob_repeat.
6824 (tests): Add tst-support_blob_repeat.
6825 * support/blob_repeat.h: New file.
6826 * support/blob_repeat.c: Likewise.
6827 * support/tst-support_blob_repeat.c: Likewise.
6828 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6829 support_blob_repeat_allocate.
6831 2018-10-30 Andreas Schwab <schwab@suse.de>
6834 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6835 Don't use tail call.
6836 * elf/tst-unwind-main.c: New file.
6837 * elf/Makefile (tests): Add tst-unwind-main.
6838 (CFLAGS-tst-unwind-main.c): Define.
6840 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
6843 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6845 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6847 2018-10-29 Joseph Myers <joseph@codesourcery.com>
6849 * conform/glibcconform.py: Do not import shutil.
6850 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6853 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6854 critic_missing for versions before 3.4.
6855 * configure: Regenerated.
6856 * manual/install.texi (Tools for Compilation): Document
6857 requirement for Python to build glibc.
6858 * INSTALL: Regenerated.
6859 * Rules [PYTHON]: Make code unconditional.
6860 * benchtests/Makefile [PYTHON]: Likewise.
6861 * conform/Makefile [PYTHON]: Likewise.
6862 * manual/Makefile [PYTHON]: Likewise.
6863 * math/Makefile [PYTHON]: Likewise.
6865 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6867 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
6868 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
6869 answer to interrupt_operation, return EIEIO instead of EINTR.
6870 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6871 _hurd_intr_rpc_msg_about_to global point to start of controlled
6872 assembly snippet. Make it check canceled flag.
6873 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6874 the _hurd_intr_rpc_msg_about_to point.
6875 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6876 issue, remove cancel flag check.
6878 2018-10-26 Joseph Myers <joseph@codesourcery.com>
6880 * scripts/build-many-glibcs.py: Remove compatibility for missing
6881 os.cpu_count and re.fullmatch.
6883 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6886 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6887 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6888 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6890 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6892 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6895 2018-10-25 Florian Weimer <fweimer@redhat.com>
6899 XFAIL siginfo_t si_band conform test on sparc64.
6900 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6901 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6902 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6903 (conformtest-xfail-conds): Add sparc64-linux.
6904 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6906 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6908 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6910 * elf/elf.h (NT_MIPS_DSP): New macro.
6911 (NT_MIPS_FP_MODE): Likewise.
6913 2018-10-25 Zong Li <zong@andestech.com>
6915 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6916 name by adding the file extension (.so).
6918 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6920 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6921 (test-xfail-ISO11/threads.h/linknamespace,
6922 test-xfail-ISO11/threads.h/conform): Add.
6924 2018-10-24 Joseph Myers <joseph@codesourcery.com>
6926 * math/gen-libm-test.py: Import os.
6927 (ALL_FLOATS_MANUAL): New constant.
6928 (ALL_FLOATS_SUFFIX): Likewise.
6929 (Ulps.all_functions): New function.
6930 (real_all_ulps): Likewise.
6931 (generate_err_table_sub): Likewise.
6932 (generate_err_table): Likewise.
6933 (main): Handle -s and -m options.
6934 * manual/libm-err-tab.pl: Remove.
6935 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6936 instead of libm-err-tab.pl.
6937 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6939 * manual/install.texi (Tools for Compilation): Document
6940 requirement for Python to build manual.
6941 * INSTALL: Regenerated.
6943 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6945 * bits/time64.h: New file.
6946 * include/time.h: Replace internal_time_t with __time64_t.
6947 * posix/bits/types (__time64_t): Add.
6948 * stdlib/Makefile: Add bits/time64.h to includes.
6949 * time/tzfile.c: Replace internal_time_t with __time64_t.
6951 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6953 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6954 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6955 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6956 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6957 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6959 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6960 * posix/spawn_faction_addclose.c
6961 (__posix_spawn_file_actions_addclose): Add hidden definition.
6962 * posix/spawn_faction_adddup2.c
6963 (__posix_spawn_file_actions_adddup2): Likewise.
6964 * posix/spawn_faction_destroy.c
6965 (__posix_spawn_file_actions_destroy): Likewise.
6966 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6968 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6969 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6970 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6972 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6973 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6976 2018-10-24 Andreas Schwab <schwab@suse.de>
6979 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6981 * elf/cache.c (print_cache): Likewise.
6983 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6985 * bits/timesize.h: New file.
6986 * stdlib/Makefile (headers): Add bits/timesize.h.
6987 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6988 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6989 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6990 (__SEM_PAD_AFTER_TIME): Likewise.
6991 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6992 (__SHM_PAD_AFTER_TIME): Likewise.
6993 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6994 (__MSQ_PAD_BEFORE_TIME): Likewise.
6995 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6996 (__SEM_PAD_BEFORE_TIME): Likewise.
6997 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6998 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6999 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
7000 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7001 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7002 (__MSQ_PAD_BEFORE_TIME): Likewise.
7003 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7004 (__SEM_PAD_BEFORE_TIME): Likewise.
7005 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7006 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7007 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7008 (__MSQ_PAD_BEFORE_TIME): Likewise.
7009 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7010 (__SEM_PAD_BEFORE_TIME): Likewise.
7011 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7012 (__SHM_PAD_BEFORE_TIME): Likewise.
7013 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7014 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7015 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7017 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7019 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7020 USE_RDTSCP is defined.
7021 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7022 USE_RDTSCP is defined.
7024 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7026 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7030 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7031 independently of other flags.
7033 2018-10-23 Florian Weimer <fweimer@redhat.com>
7035 * time/tst-mktime2.c (N_STRINGS): Remove.
7036 (set_timezone): New function.
7037 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7038 (mktime_test1): Report localtime failure and check errno value.
7040 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7041 (do_test): Remove alarm call. Use set_timezone and array_length.
7043 2018-10-23 Andreas Schwab <schwab@suse.de>
7045 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7046 (__start_context): Use END instead of PSEUDO_END.
7048 2018-10-22 Joseph Myers <joseph@codesourcery.com>
7050 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7053 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7057 * wcsmbs/c32rtomb.c: New file.
7058 * wcsmbs/mbrtoc32.c: Likewise.
7059 * wcsmbs/tst-c32-state.c: Likewise.
7060 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7061 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7062 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7063 (tests): Add tst-c32-state.
7064 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7067 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7069 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7070 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7072 2018-10-19 Joseph Myers <joseph@codesourcery.com>
7075 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7076 pair and return 0 in that case, and use saved character to
7077 interpret following character.
7078 * wcsmbs/tst-c16-surrogate.c: New file.
7079 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7080 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7081 Depend on $(gen-locales)
7083 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7086 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7087 (struct siginfo_t): Use correct type for si_band.
7089 2018-10-19 Florian Weimer <fweimer@redhat.com>
7092 * resource/bits/types/struct_rusage.h (struct rusage): Update
7093 comment on struct. Remove extraneous field comment.
7095 2018-10-18 David S. Miller <davem@davemloft.net>
7097 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7098 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7099 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7100 sysdep_routines in subdir elf.
7101 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7102 version for __vdso_clock_gettime.
7103 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7105 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7106 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7108 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7110 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7112 * sysdeps/i386/init-arch.h: Removed.
7113 * sysdeps/i386/i586/init-arch.h: Likewise.
7114 * sysdeps/i386/i686/init-arch.h: Likewise.
7115 * sysdeps/i386/i686/hp-timing.h: Likewise.
7116 * sysdeps/x86_64/hp-timing.h: Likewise.
7117 * sysdeps/i386/isa.h: New file.
7118 * sysdeps/i386/i586/isa.h: Likewise.
7119 * sysdeps/i386/i686/isa.h: Likewise.
7120 * sysdeps/x86_64/isa.h: Likewise.
7121 * sysdeps/x86/hp-timing.h: New file.
7122 * sysdeps/x86/init-arch.h: Include <isa.h>.
7124 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7126 * math/libm-test-pow.inc (pow_test_data): Do not allow
7127 divide-by-zero exception for pow(+/- 0, -Inf).
7129 2018-10-17 Zack Weinberg <zackw@panix.com>
7131 * manual/job.texi (Job Control is Optional): Remove node, as
7132 job control has not been optional in quite some time.
7133 (Job Control): Mention briefly that systems older than
7134 POSIX.1-2001 might not support job control.
7135 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7136 defined on systems conforming to POSIX.1-2001.
7138 2018-10-17 Arjun Shankar <arjun@redhat.com>
7141 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7143 * (__gconv_read_conf): Mark function static.
7144 * (once): New static variable.
7145 * (__gconv_load_conf): New function.
7146 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7147 * iconv/gconv_db.c (once): Remove static variable.
7148 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7150 * (__gconv_find_transform): Likewise.
7151 * iconv/tst-iconv-mt.c: New test.
7152 * iconv/Makefile: Add tst-iconv_mt.
7154 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7156 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7158 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7159 (shmatt_t): Define as __syscall_ulong_t.
7160 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7161 and [__SHM_PAD_AFTER_TIME].
7162 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7163 Define shm_segsz and associated padding based on
7164 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7165 Use __syscall_ulong_t instead of unsigned long int.
7166 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7168 [__USE_MISC] (struct shm_info): Likewise.
7169 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7170 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7171 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7172 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7173 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7174 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7175 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7176 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7177 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7178 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7179 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7183 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7184 (SHMLBA): Remove macro.
7185 (__getpagesize): Remove function declaration.
7186 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7188 (SHMLBA): Remove macro.
7189 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7191 (SHMLBA): Remove macro.
7192 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7194 (SHMLBA): Remove macro.
7195 (__getpagesize): Remove function declaration.
7196 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7198 (SHMLBA): Remove macro.
7199 (__getshmlba): Remove function declaration.
7200 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7201 (SHMLBA): Remove macro.
7202 (__getpagesize): Remove function declaration.
7203 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7204 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7205 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7206 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7207 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7208 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7209 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7210 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7211 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7212 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7214 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
7217 * nptl/tst-mutex10.c: New File.
7218 * nptl/Makefile (tests): Add tst-mutex10.
7219 (tst-mutex10-ENV): New variable.
7220 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7221 Ensure that elision path is used if elision is available.
7222 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7224 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7226 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7227 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7228 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7229 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7231 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7232 (__pthread_mutex_cond_lock_adjust): Likewise.
7233 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7235 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7236 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7237 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7238 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7240 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7241 Use atomic_load_relaxed and atomic_store_relaxed.
7242 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7243 Use atomic_store_relaxed.
7245 2018-10-17 Andreas Schwab <schwab@suse.de>
7247 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7248 * crypt/badsalttest.c (TIMEOUT): Likewise.
7249 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7250 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7251 * io/test-lfs.c (TIMEOUT): Likewise.
7252 * libio/tst-atime.c (TIMEOUT): Likewise.
7253 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7254 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7255 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7256 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7257 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7258 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7259 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7260 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7261 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7262 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7263 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7264 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7265 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7266 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7267 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
7268 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
7269 * nptl/tst-once2.c (TIMEOUT): Likewise.
7270 * nptl/tst-once3.c (TIMEOUT): Likewise.
7271 * nptl/tst-once4.c (TIMEOUT): Likewise.
7272 * nptl/tst-robust8.c (TIMEOUT): Likewise.
7273 * nptl/tst-robust9.c (TIMEOUT): Likewise.
7274 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
7275 * nptl/tst-sem14.c (TIMEOUT): Likewise.
7276 * nptl/tst-sem6.c (TIMEOUT): Likewise.
7277 * nptl/tst-signal3.c (TIMEOUT): Likewise.
7278 * nptl/tst-spin4.c (TIMEOUT): Likewise.
7279 * nptl/tst-tls3.c (TIMEOUT): Likewise.
7280 * nptl/tst-tls4.c (TIMEOUT): Likewise.
7281 * posix/tst-chmod.c (TIMEOUT): Likewise.
7282 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
7283 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
7284 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
7285 * posix/tst-regex2.c (TIMEOUT): Likewise.
7286 * posix/tst-waitid.c (TIMEOUT): Likewise.
7287 * rt/tst-aio.c (TIMEOUT): Likewise.
7288 * rt/tst-aio10.c (TIMEOUT): Likewise.
7289 * rt/tst-aio4.c (TIMEOUT): Likewise.
7290 * rt/tst-aio5.c (TIMEOUT): Likewise.
7291 * rt/tst-aio6.c (TIMEOUT): Likewise.
7292 * rt/tst-aio64.c (TIMEOUT): Likewise.
7293 * rt/tst-aio7.c (TIMEOUT): Likewise.
7294 * rt/tst-aio9.c (TIMEOUT): Likewise.
7295 * rt/tst-clock.c (TIMEOUT): Likewise.
7296 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
7297 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
7298 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
7299 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
7300 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
7301 * rt/tst-timer4.c (TIMEOUT): Likewise.
7302 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
7303 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
7304 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
7305 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
7306 * time/tst-ftime.c (TIMEOUT): Likewise.
7307 * timezone/tst-tzset.c (TIMEOUT): Likewise.
7309 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
7311 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
7312 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
7315 2018-10-15 Joseph Myers <joseph@codesourcery.com>
7317 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7319 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
7320 instead of <bits/wordsize.h>.
7321 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
7322 and [__SEM_PAD_AFTER_TIME].
7323 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
7324 __syscall_ulong_t instead of unsigned long int.
7325 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
7326 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
7327 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
7328 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
7329 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
7330 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
7331 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
7332 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
7333 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7334 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7335 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7337 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
7339 regex: simplify by using intprops.h
7341 * posix/regex_internal.h [_LIBC]: Include intprops.h.
7342 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
7343 intprops.h defines them.
7345 regex: __builtin_expect → __glibc_unlikely
7347 This refactoring was prompted by a problem when the regex code is
7348 used as part of Gnulib and when the builder’s compiler does not grok
7349 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
7350 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
7351 Although this refactoring does not fix the problem directly,
7352 we might as well have Gawk use the now-preferred glibc style for when
7353 __builtin_expect is unavailable.
7354 * posix/regex_internal.h (BE): Remove.
7355 All uses replaced by __glibc_unlikely or __glibc_likely.
7357 2018-10-11 Joseph Myers <joseph@codesourcery.com>
7359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7361 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
7362 instead of <bits/wordsize.h>.
7363 (msgqnum_t): Define as __syscall_ulong_t.
7364 (msglen_t): Likewise.
7365 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
7366 and [__MSQ_PAD_AFTER_TIME].
7367 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
7368 __syscall_ulong_t instead of unsigned long int.
7369 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
7370 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
7371 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
7372 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
7373 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
7374 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
7375 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
7376 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
7377 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7378 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7379 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7381 2018-10-10 Joseph Myers <joseph@codesourcery.com>
7383 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
7384 (struct shmid_ds): Condition padding after time fields on
7386 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7387 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7388 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7390 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7391 (struct semid_ds): Condition padding after time fields on
7393 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7394 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7395 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7396 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7398 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7399 (struct msqid_ds): Condition padding after time fields on
7401 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7402 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7403 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7404 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7406 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7408 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7410 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7412 * libio/tst-readline.c (TIMEOUT): Define.
7414 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7416 mktime fix for Gnulib + coreutils
7418 This fix affects only Gnulib. Problem discovered when
7419 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7421 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7422 Do not define since it is not used. Defining an unused static
7423 function prompts a warning from GCC when Coreutils is configured
7424 with --enable-gcc-warnings.
7426 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7428 * benchtests/scripts/compare_bench.py (main): set float type on
7431 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7434 * localedata/locales/kl_GL (mon): Update, the relative case.
7435 (alt_mon): Add, fill with month names in the nominative case.
7436 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7437 (d_fmt): Set to "%b %d %Y".
7439 2018-10-04 Joseph Myers <joseph@codesourcery.com>
7441 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7442 <bits/mman-linux.h>.
7443 (PROT_READ): Don't define here.
7444 (PROT_WRITE): Likewise.
7445 (PROT_EXEC): Likewise.
7446 (PROT_NONE): Likewise.
7447 (PROT_GROWSDOWN): Likewise.
7448 (PROT_GROWSUP): Likewise.
7449 (MAP_SHARED): Likewise.
7450 (MAP_PRIVATE): Likewise.
7451 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7452 [__USE_MISC] (MAP_FILE): Likewise.
7453 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7454 [__USE_MISC] (MAP_ANON): Likewise.
7455 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7456 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7457 (MCL_CURRENT): Likewise.
7458 (MCL_FUTURE): Likewise.
7459 (MCL_ONFAULT): Likewise.
7460 [__USE_MISC] (MADV_NORMAL): Likewise.
7461 [__USE_MISC] (MADV_RANDOM): Likewise.
7462 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
7463 [__USE_MISC] (MADV_WILLNEED): Likewise.
7464 [__USE_MISC] (MADV_DONTNEED): Likewise.
7465 [__USE_MISC] (MADV_FREE): Likewise.
7466 [__USE_MISC] (MADV_REMOVE): Likewise.
7467 [__USE_MISC] (MADV_DONTFORK): Likewise.
7468 [__USE_MISC] (MADV_DOFORK): Likewise.
7469 [__USE_MISC] (MADV_HWPOISON): Likewise.
7470 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
7471 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
7472 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
7473 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
7474 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
7475 (__MAP_ANONYMOUS): New macro.
7476 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
7477 <bits/mman-linux.h> inclusion.
7478 (MAP_FIXED): Likewise.
7479 (MS_SYNC): Likewise.
7480 (MS_ASYNC): Likewise.
7481 (MS_INVALIDATE): Likewise.
7482 [__USE_MISC] (MADV_MERGEABLE): Likewise.
7483 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
7484 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
7485 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
7486 [__USE_MISC] (MADV_DONTDUMP): Likewise.
7487 [__USE_MISC] (MADV_DODUMP): Likewise.
7488 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7489 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7492 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
7494 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
7495 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
7496 Add test-nldbl-redirect.
7497 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
7498 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
7499 $(objpfx)libnldbl_nonshared.a.
7501 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
7503 * support/support.h (support_objdir_elf_ldso): New variable.
7504 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
7505 * support/Makefile (CFLAGS-support_paths.c): Add definition
7506 for OBJDIR_ELF_LDSO_PATH.
7507 * support/test-container.c (main): Search for the ld.so
7508 which is also used by the testsuite.
7510 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
7513 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
7514 should be "sap" rather than "sab".
7515 (day): Fix spelling of Sunday, should be "sapaat" rather than
7518 2018-10-02 Joseph Myers <joseph@codesourcery.com>
7520 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7522 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
7525 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
7526 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
7527 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
7529 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7531 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
7533 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
7535 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
7537 (CFLAGS-elision-unlock.c): Likewise.
7538 (CFLAGS-elision-timed.c): Likewise.
7539 (CFLAGS-elision-trylock.c): Likewise.
7540 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
7542 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7545 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
7546 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
7547 new fd_to_filename interface.
7548 * libio/freopen64.c (freopen64): Likewise.
7549 * libio/tst-memstream.h: New file.
7550 * libio/tst-memstream4.c: Likewise.
7551 * libio/tst-wmemstream4.c: Likewise.
7552 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
7553 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
7554 and remove internal dynamic allocation.
7556 2018-10-01 Joseph Myers <joseph@codesourcery.com>
7558 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7559 (MREMAP_MAYMOVE): Do not define here.
7560 [__USE_GNU] (MREMAP_FIXED): Likewise.
7561 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
7562 (MREMAP_MAYMOVE): Define here instead.
7563 [__USE_GNU] (MREMAP_FIXED): Likewise.
7564 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
7565 (MREMAP_MAYMOVE): Remove.
7566 [__USE_GNU] (MREMAP_FIXED): Likewise.
7568 2018-09-28 Joseph Myers <joseph@codesourcery.com>
7570 * math/fromfp.h: Do not include <math_private.h>.
7571 * math/s_cacosh_template.c: Likewise.
7572 * math/s_casin_template.c: Likewise.
7573 * math/s_casinh_template.c: Likewise.
7574 * math/s_ccos_template.c: Likewise.
7575 * math/s_cproj_template.c: Likewise.
7576 * math/s_fdim_template.c: Likewise.
7577 * math/s_fmaxmag_template.c: Likewise.
7578 * math/s_fminmag_template.c: Likewise.
7579 * math/s_iseqsig_template.c: Likewise.
7580 * math/s_ldexp_template.c: Likewise.
7581 * math/s_nextdown_template.c: Likewise.
7582 * math/w_log1p_template.c: Likewise.
7583 * math/w_scalbln_template.c: Likewise.
7584 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7585 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7586 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7587 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7588 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
7589 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
7590 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
7591 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
7592 * sysdeps/i386/fpu/s_atanl.c: Likewise.
7593 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
7594 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
7595 * sysdeps/i386/fpu/s_fdim.c: Likewise.
7596 * sysdeps/i386/fpu/s_logbl.c: Likewise.
7597 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7598 * sysdeps/i386/fpu/s_significandl.c: Likewise.
7599 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
7600 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
7601 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7602 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7603 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7604 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7605 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7606 * sysdeps/ieee754/k_standardf.c: Likewise.
7607 * sysdeps/ieee754/k_standardl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7610 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7614 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7615 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7616 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7617 * sysdeps/ieee754/s_signgam.c: Likewise.
7618 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7619 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
7620 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
7621 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7622 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7623 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7624 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7625 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7626 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7627 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7628 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7629 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7630 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7631 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7632 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7633 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7634 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7635 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7636 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7637 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7638 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7639 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7640 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7641 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7642 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7643 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7644 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7645 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7646 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7647 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7648 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7649 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7650 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7651 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7652 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7653 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7654 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
7656 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7658 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
7661 * sysdeps/i386/dl-cet.c: Removed.
7662 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
7664 (_dl_runtime_profile_shstk): Likewise.
7665 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
7666 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
7668 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7671 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
7672 do_test_with_invalid_iov): New tests.
7673 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
7674 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
7675 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
7677 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7678 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7679 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7681 2018-09-27 Joseph Myers <joseph@codesourcery.com>
7683 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7684 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
7685 (MATH_REDIRECT_BINARY_ARGS): New macro.
7686 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7687 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
7688 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
7690 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
7691 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7692 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
7693 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7694 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7695 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7696 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
7701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
7703 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
7704 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
7705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
7707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
7709 * sysdeps/generic/math_private_calls.h
7710 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
7711 Do not declare and define as an inline function.
7712 * math/divtc3.c (__divtc3): Use copysign functions instead of
7713 __copysign variants.
7714 * math/multc3.c (__multc3): Likewise.
7715 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
7716 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
7717 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7718 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7720 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7721 (__ieee754_yn): Likewise.
7722 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7723 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
7724 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7725 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7726 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
7728 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
7729 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7731 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7733 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7735 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7736 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7738 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7739 (__ieee754_ynf): Likewise.
7740 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7741 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7742 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7743 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7745 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7746 (__ieee754_ynl): Likewise.
7747 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7748 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7749 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7751 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7752 (__ieee754_ynl): Likewise.
7753 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
7754 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7755 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7756 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7758 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7760 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
7761 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7762 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
7763 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7764 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7766 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7767 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
7768 using MATH_REDIRECT.
7769 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
7771 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
7772 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7773 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7774 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
7775 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7776 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7777 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
7779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
7780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
7781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
7782 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7783 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7784 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7785 (round): Redirect to __round.
7786 (__roundl): Call round instead of __round.
7787 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
7789 [_ARCH_PWR5X] (__roundf): Likewise.
7790 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
7791 functions instead of __round variants.
7792 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7793 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7795 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7797 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7799 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7800 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
7802 (__ieee754_expl): Call roundl instead of __roundl.
7804 2018-09-27 Andreas Schwab <schwab@suse.de>
7807 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
7808 (do_test): Make st1 static.
7810 2018-09-26 Andreas Schwab <schwab@suse.de>
7813 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
7814 * elf/Makefile (tests): Add tst-unwind-ctor.
7815 (modules-names): Add tst-unwind-ctor-lib.
7816 ($(objpfx)tst-unwind-ctor): Depend on
7817 $(objpfx)tst-unwind-ctor-lib.so.
7819 2018-09-26 Joseph Myers <joseph@codesourcery.com>
7821 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
7822 file. Most contents moved from ....
7823 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7824 and include <bits/mman-map-flags-generic.h>.
7825 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7826 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7827 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7828 <bits/mman-map-flags-generic.h>.
7829 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7830 macros defined in <bits/mman-map-flags-generic.h>.
7831 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7832 <bits/mman-map-flags-generic.h>.
7833 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7834 defined in <bits/mman-map-flags-generic.h>.
7836 2018-09-26 Andreas Schwab <schwab@suse.de>
7838 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7841 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7842 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7843 Fangrui Song <maskray@google.com>
7846 * config.make.in (have-textrel_ifunc): New define.
7847 * configure.ac: Add check if linker supports textrel relocation with
7849 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7851 (CFLAGS-tst-ifunc-textrel.c): New rule.
7852 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7853 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7854 * elf/tst-ifunc-textrel.c: New file.
7856 2018-09-25 Joseph Myers <joseph@codesourcery.com>
7858 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7859 <bits/procfs-prregset.h>.
7860 (prgregset_t): Define using __prgregset_t.
7861 (prfpregset_t): Define using __prfpregset_t.
7862 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7863 (sysdep_headers): Add bits/procfs-prregset.h.
7864 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7865 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7866 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7867 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7869 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7870 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7871 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7873 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7874 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7875 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7876 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7877 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7878 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7879 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7880 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7881 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7882 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7883 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7884 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7885 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7886 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7887 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7888 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7889 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7890 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7891 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7892 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7893 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7894 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7895 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7896 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7898 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7899 AArch64 version. Include <bits/procfs.h>.
7900 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7901 (sysdep_headers): Add bits/procfs.h.
7902 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7903 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7904 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7905 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7906 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7907 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7908 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7909 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7910 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7911 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7912 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7913 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7914 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7915 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7916 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7917 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7918 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7920 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7922 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7925 2018-09-25 Arjun Shankar <arjun@redhat.com>
7927 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7928 (__gconv_max_path_elem_len): Likewise.
7929 (__gconv_nmodules): Likewise.
7930 (__gconv_get_path): Likewise.
7931 (path_elem): Move to ...
7932 * iconv/gconv_conf.c: ... here.
7933 (__gconv_get_path): Mark function static.
7934 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7935 * iconv/gconv_open.c: ... here.
7937 2018-09-24 Andreas Schwab <schwab@suse.de>
7939 * scripts/haveversions.awk: New file.
7940 * Makerules ($(common-objpfx)Versions.def)
7941 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7942 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7944 * Makeconfig ($(common-objpfx)Versions.def)
7945 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7946 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7948 ($(common-objpfx)Versions.mk): New rule. Include it.
7949 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7950 Emit error if build-obsolete-nsl = yes.
7951 * manual/install.texi (Configuring and compiling): Describe
7952 --enable-obsolete-nsl as unavaiable after version 2.28.
7953 * INSTALL: Regenerate.
7955 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7957 * NEWS: Add note about new TLE support on powerpc64le.
7958 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7959 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7961 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7962 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7963 * sysdeps/powerpc/powerpc32/sysdep.h,
7964 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7965 ABORT_TRANSACTION): Remove macros.
7966 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7967 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7968 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7970 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7971 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7973 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7975 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7978 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7979 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7980 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7981 which is the same as in it_IT.
7982 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7983 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7985 2018-09-20 Joseph Myers <joseph@codesourcery.com>
7987 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7988 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7989 using MATH_REDIRECT.
7990 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7992 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7993 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7994 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7995 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7996 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7997 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8002 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8003 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8004 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8005 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8006 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8007 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8008 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8009 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8010 (ceil): Redirect to __ceil.
8011 (floor): Redirect to __floor.
8012 (trunc): Redirect to __trunc.
8013 (__truncl): Call trunc instead of __trunc.
8014 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8016 [_ARCH_PWR5X] (__truncf): Likewise.
8017 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8018 trunc functions instead of __trunc variants.
8019 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8021 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8023 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8025 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8028 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8029 [__i586__ || __pentium__].
8030 [__i486__]: Handle explicitly.
8031 (HAS_CPUID): Define to 1 if above macros are undefined.
8032 (HAS_I586): Likewise.
8033 (HAS_I686): Likewise.
8035 2018-09-20 Florian Weimer <fweimer@redhat.com>
8037 * misc/tst-gethostid.c: New file.
8038 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8039 (tst-gethostid): Link with -ldl.
8041 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8043 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8044 value from gethostbyname_r.
8046 2018-09-19 Carlos O'Donell <carlos@redhat.com>
8048 * stdlib/tst-setcontext9.c (f1): Rename to...
8050 (f1b): New function implementing lower half of f1 in alternate stack.
8052 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8054 Fix mktime localtime offset confusion
8056 * include/time.h (__mktime_internal): The localtime offset is now
8057 of type long int instead of time_t. This is the longstanding type
8058 in glibc, and it is more than enough to represent difference
8059 between localtime and gmtime even if it is 32 bits and time_t is
8060 64. Changing it now will let us avoid an unnecessary change when
8061 time_t is widened to 64 bits on 32-bit platforms.
8062 * time/mktime-internal.h (mktime_offset_t): Now long int.
8064 Merge mktime, timegm from upstream Gnulib
8065 [BZ #23603][BZ #16346]
8066 This fixes some obscure problems with integer overflow.
8067 Although it looks scary, it is almost all a byte-for-byte copy
8068 from Gnulib, and the Gnulib code has been tested reasonably well.
8069 * include/intprops.h: New file, copied from Gnulib.
8070 * include/verify.h, time/mktime-internal.h:
8071 New tiny files, simplified from Gnulib.
8072 * time/mktime.c: Copy from Gnulib. This has the following changes:
8073 Do not include config.h if DEBUG_MKTIME is nonzero.
8074 Include stdbool.h, intprops.h, verify.h.
8075 Include string.h only if needed.
8076 Include stdlib.h on MS-Windows.
8077 Include mktime-internal.h.
8078 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8079 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8080 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8081 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8082 simplify later conditionals; default the others to zero. Use
8083 these conditionals to express only the code needed on the current
8084 platform. In uses of these conditionals, explicitly spell out how
8085 _LIBC affects things, so it’s easier to review from a glibc
8087 (WRAPV): Remove; no longer needed now that we have
8088 systematic overflow checking.
8089 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8090 compartmentalize tzset issues. Move system-dependent tzsettish
8091 code here from mktime.
8092 (verify): Remove; now done by verify.h. All uses changed.
8093 (long_int): Use a more-conservative definition, to avoid
8095 (SHR): Remove, replacing with ...
8096 (shr): New function, which means we needn’t worry about side
8097 effects in args, and conversion analysis is simpler.
8098 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8099 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8100 (time_t_avg, time_t_add_ok): Remove.
8101 (mktime_min, mktime_max): New constants.
8102 (leapyear, isdst_differ): Use bool for booleans.
8103 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8104 Use long_int, not time_t, for mktime differences.
8105 (long_int_avg): New function, replacing time_t_avg.
8106 INT_ADD_WRAPV replaces time_t_add_ok.
8107 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8109 (convert_time): New function.
8110 (ranged_convert): Use it.
8111 (__mktime_internal): Last arg now points to mktime_offset_t, not
8112 time_t. All uses changed. This is a no-op on glibc, where
8113 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8114 offset guess. Directly check for integer overflow instead of
8115 using a heuristic that works only 99.9...% of the time.
8116 Access *OFFSET only once, to avoid an unlikely race if the
8117 compiler delays a load and if this cascades into a signed integer
8119 (mktime): Move tzsettish code to my_tzset, and move
8120 localtime_offset to within mktime so that it doesn’t
8121 need a separate ifdef.
8122 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8123 instead of localtime.
8124 * time/timegm.c: Copy from Gnulib. This has the following changes:
8125 Include mktime-internal.h.
8126 [!_LIBC]: Include config.h and time.h. Do not include
8127 timegm.h or time_r.h. Make __mktime_internal a macro,
8128 and include mktime-internal.h to get its declaration.
8129 (timegm): Temporary is now mktime_offset_t, not time_t.
8130 This affects only Gnulib.
8132 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8135 * string/test-strstr.c (pr23637): New function.
8136 (test_main): Add tests with longer needles.
8137 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8138 * string/strstr.c (AVAILABLE): Likewise.
8140 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8142 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8144 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8146 * NEWS: Mention pow improvements.
8147 * math/Makefile (type-double-routines): Add e_pow_log_data.
8148 * sysdeps/generic/math_private.h (__exp1): Remove.
8149 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8150 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8151 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8153 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8154 (exp_inline): Remove.
8155 (__ieee754_exp): Only single double input is handled.
8156 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8157 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8158 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8159 (__pow_log_data): Define.
8160 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8161 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8162 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8163 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8165 (CFLAGS-e_pow-fma4.c): Likewise.
8167 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8169 Simplify tzfile fstat failure code
8171 * time/tzfile.c (__tzfile_read): Simplify slightly.
8173 Fix tzfile low-memory assertion failure
8175 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8176 when registering time zone abbreviations.
8178 2018-09-18 Joseph Myers <joseph@codesourcery.com>
8180 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8181 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8182 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8183 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8184 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8185 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8186 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8187 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8188 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8190 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8192 (__ceill): Call ceil instead of __ceil.
8193 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8195 (__floorl): Call floor instead of __floor.
8197 2018-09-17 Joseph Myers <joseph@codesourcery.com>
8199 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8200 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8201 using MATH_REDIRECT.
8202 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8204 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8205 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8206 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8207 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8208 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8209 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8210 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8211 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8216 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8217 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8219 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8220 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8221 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8222 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8224 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8225 functions instead of __ceil variants.
8226 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8227 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8229 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8231 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8232 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8234 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8235 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8238 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8240 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8241 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8242 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8243 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8244 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8245 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8246 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8247 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8248 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8249 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8250 (ILL_BADIADDR): Remove constant.
8251 (TRAP_BRANCH): Likewise.
8252 (TRAP_HWBKPT): Likewise.
8254 2018-09-14 Joseph Myers <joseph@codesourcery.com>
8257 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8258 Remove [_MIPS_SIM = _ABIN32] conditional case.
8259 (struct elf_prpsinfo): Likewise.
8262 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8263 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8264 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8266 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8267 elf_prpsinfo): Likewise.
8268 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
8269 elf_prpsinfo): Likewise.
8270 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
8273 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8274 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
8275 using MATH_REDIRECT.
8276 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
8278 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
8279 * sysdeps/alpha/fpu/s_rint.c: Likewise.
8280 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
8281 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8282 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8283 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8284 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
8285 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8286 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8287 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8288 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
8289 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
8290 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
8291 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
8292 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
8293 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8294 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8295 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
8296 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
8298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
8299 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
8300 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
8301 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8302 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8303 * sysdeps/x86_64/fpu/math_private.h: Remove file.
8304 * math/e_scalb.c (invalid_fn): Use rint functions instead of
8306 * math/e_scalbf.c (invalid_fn): Likewise.
8307 * math/e_scalbl.c (invalid_fn): Likewise.
8308 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8310 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8312 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8313 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
8314 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8316 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8318 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8320 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
8321 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
8323 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8324 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
8326 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8327 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
8328 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8329 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
8330 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8331 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
8332 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8333 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
8334 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8335 && !NO_MATH_REDIRECT] (floor): Likewise.
8336 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
8338 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
8339 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8340 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8341 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
8342 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8343 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8344 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8345 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
8346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
8347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
8348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
8349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
8350 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8351 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8352 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8353 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8354 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8355 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8356 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
8358 [_ARCH_PWR5X] (__floorf): Likewise.
8359 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
8361 [__SSE4_1__] (__floorf): Likewise.
8362 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
8363 instead of __floor variants.
8364 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
8365 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
8366 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
8367 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
8368 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
8369 * math/w_tgamma_compat.c (__tgamma): Likewise.
8370 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
8371 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
8372 * math/w_tgammal_compat.c (__tgammal): Likewise.
8373 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
8374 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8376 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8377 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
8378 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8379 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8381 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8382 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
8384 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8385 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8387 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8388 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8390 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8391 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8392 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8393 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8394 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8395 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8397 2018-09-12 Joseph Myers <joseph@codesourcery.com>
8399 * elf/Makefile (modules-names-tests): New variable.
8401 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8403 * NEWS: Mention log2 improvements.
8404 * math/Makefile (type-double-routines): Add e_log2_data.
8405 * sysdeps/i386/fpu/e_log2_data.c: New file.
8406 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8407 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8408 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8409 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8410 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8411 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8413 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8415 * NEWS: Mention log improvement.
8416 * math/Makefile (type-double-routines): Add e_log_data.
8417 * sysdeps/i386/fpu/e_log_data.c: New file.
8418 * sysdeps/ia64/fpu/e_log_data.c: New file.
8419 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8420 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8421 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8422 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8423 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8424 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8426 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8427 Xuepeng Guo <xuepeng.guo@intel.com>
8430 * sysdeps/i386/start.S: Include <sysdep.h>
8431 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8432 enabled. Add cfi_undefined (eip).
8434 2018-09-11 Joseph Myers <joseph@codesourcery.com>
8436 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8438 (EXTRACT_WORDS64): Likewise.
8439 (INSERT_WORDS64): Likewise.
8440 (GET_FLOAT_WORD): Likewise.
8441 (SET_FLOAT_WORD): Likewise.
8443 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8445 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8446 build, but not for second build if --full-gcc. Use
8447 --enable-languages=all for second build if --full-gcc.
8448 (get_parser): Add --full-gcc option.
8449 (main): Update call to Context.
8451 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8454 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8455 Single Quotation Mark).
8456 (thousands_sep): Likewise.
8457 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8458 * localedata/locales/it_IT (thousands_sep): Use ".".
8459 (grouping): Use "3;3".
8461 2018-09-10 Joseph Myers <joseph@codesourcery.com>
8463 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8464 x86_64 and i686 configs using --enable-obsolete-rpc
8465 --enable-obsolete-nsl.
8467 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8469 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8471 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8473 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
8474 Increment size of new_argv by one.
8476 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
8479 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
8480 * localedata/locales/ar_IN (d_fmt): Likewise.
8481 * localedata/locales/bhb_IN (d_fmt): Likewise.
8482 * localedata/locales/bho_IN (d_fmt): Likewise.
8483 * localedata/locales/bn_BD (d_fmt): Likewise.
8484 * localedata/locales/bn_IN (d_fmt): Likewise.
8485 * localedata/locales/doi_IN (d_fmt): Likewise.
8486 * localedata/locales/gu_IN (d_fmt): Likewise.
8487 * localedata/locales/hi_IN (d_fmt): Likewise.
8488 * localedata/locales/hne_IN (d_fmt): Likewise.
8489 * localedata/locales/kn_IN (d_fmt): Likewise.
8490 * localedata/locales/mag_IN (d_fmt): Likewise.
8491 * localedata/locales/mai_IN (d_fmt): Likewise.
8492 * localedata/locales/mjw_IN (d_fmt): Likewise.
8493 * localedata/locales/ml_IN (d_fmt): Likewise.
8494 * localedata/locales/mni_IN (d_fmt): Likewise.
8495 * localedata/locales/mr_IN (d_fmt): Likewise.
8496 * localedata/locales/pa_IN (d_fmt): Likewise.
8497 * localedata/locales/raj_IN (d_fmt): Likewise.
8498 * localedata/locales/sat_IN (d_fmt): Likewise.
8499 * localedata/locales/sd_IN (d_fmt): Likewise.
8500 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
8501 * localedata/locales/ta_IN (d_fmt): Likewise.
8502 * localedata/locales/ta_LK (d_fmt): Likewise.
8503 * localedata/locales/tcy_IN (d_fmt): Likewise.
8504 * localedata/locales/ur_IN (d_fmt): Likewise.
8506 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
8507 * localedata/locales/ks_IN (d_fmt): Likewise.
8508 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
8510 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
8511 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
8512 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
8513 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
8515 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
8517 * NEWS: Mention exp and exp2 improvements.
8518 * math/Makefile (libm-support): Remove t_exp.
8519 (type-double-routines): Add math_err and e_exp_data.
8520 * sysdeps/aarch64/libm-test-ulps: Update.
8521 * sysdeps/arm/libm-test-ulps: Update.
8522 * sysdeps/i386/fpu/e_exp_data.c: New file.
8523 * sysdeps/i386/fpu/math_err.c: New file.
8524 * sysdeps/i386/fpu/t_exp.c: Remove.
8525 * sysdeps/ia64/fpu/e_exp_data.c: New file.
8526 * sysdeps/ia64/fpu/math_err.c: New file.
8527 * sysdeps/ia64/fpu/t_exp.c: Remove.
8528 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
8529 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
8530 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
8531 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
8532 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
8533 * sysdeps/ieee754/dbl-64/math_config.h: New file.
8534 * sysdeps/ieee754/dbl-64/math_err.c: New file.
8535 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
8536 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
8537 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
8538 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
8539 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
8540 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
8541 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
8542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8545 2018-09-05 Joseph Myers <joseph@codesourcery.com>
8547 * sysdeps/alpha/fpu/math_private.h: Remove.
8549 * sysdeps/generic/math_private.h
8550 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
8551 Move this inline function ....
8552 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
8553 * include/math.h [!_ISOMAC]: To here....
8555 2018-09-04 Joseph Myers <joseph@codesourcery.com>
8557 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
8559 [!FE_HAVE_ROUNDING_MODES]: And this code ....
8560 * include/fenv.h [!_ISOMAC]: ... to here.
8561 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
8562 (feraiseexcept): Likewise.
8563 * math/fromfp.h: Do not include <fenv_private.h>.
8564 * math/s_cexp_template.c: Likewise.
8565 * math/s_csin_template.c: Likewise.
8566 * math/s_csinh_template.c: Likewise.
8567 * math/s_ctan_template.c: Likewise.
8568 * math/s_ctanh_template.c: Likewise.
8569 * math/s_iseqsig_template.c: Likewise.
8570 * math/w_acos_compat.c: Likewise.
8571 * math/w_acosf_compat.c: Likewise.
8572 * math/w_acosl_compat.c: Likewise.
8573 * math/w_asin_compat.c: Likewise.
8574 * math/w_asinf_compat.c: Likewise.
8575 * math/w_asinl_compat.c: Likewise.
8576 * math/w_j0_compat.c: Likewise.
8577 * math/w_j0f_compat.c: Likewise.
8578 * math/w_j0l_compat.c: Likewise.
8579 * math/w_j1_compat.c: Likewise.
8580 * math/w_j1f_compat.c: Likewise.
8581 * math/w_j1l_compat.c: Likewise.
8582 * math/w_jn_compat.c: Likewise.
8583 * math/w_jnf_compat.c: Likewise.
8584 * math/w_log10_compat.c: Likewise.
8585 * math/w_log10f_compat.c: Likewise.
8586 * math/w_log10l_compat.c: Likewise.
8587 * math/w_log2_compat.c: Likewise.
8588 * math/w_log2f_compat.c: Likewise.
8589 * math/w_log2l_compat.c: Likewise.
8590 * math/w_log_compat.c: Likewise.
8591 * math/w_logf_compat.c: Likewise.
8592 * math/w_logl_compat.c: Likewise.
8593 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8594 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8595 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8596 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8597 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8598 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8599 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8600 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8601 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8602 * sysdeps/ieee754/k_standardl.c: Likewise.
8603 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8604 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8605 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8606 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8607 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8608 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8609 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8610 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8611 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8612 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8613 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8614 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8615 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8616 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8617 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8618 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8619 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8620 * math/w_ilogb_template.c: Include <fenv.h> instead of
8622 * math/w_llogb_template.c: Likewise.
8623 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8624 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8626 2018-09-03 Joseph Myers <joseph@codesourcery.com>
8628 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
8629 * math/fromfp.h: Include <fenv_private.h>.
8630 * math/math-narrow.h: Likewise.
8631 * math/s_cexp_template.c: Likewise.
8632 * math/s_csin_template.c: Likewise.
8633 * math/s_csinh_template.c: Likewise.
8634 * math/s_ctan_template.c: Likewise.
8635 * math/s_ctanh_template.c: Likewise.
8636 * math/s_iseqsig_template.c: Likewise.
8637 * math/w_acos_compat.c: Likewise.
8638 * math/w_acosf_compat.c: Likewise.
8639 * math/w_acosl_compat.c: Likewise.
8640 * math/w_asin_compat.c: Likewise.
8641 * math/w_asinf_compat.c: Likewise.
8642 * math/w_asinl_compat.c: Likewise.
8643 * math/w_ilogb_template.c: Likewise.
8644 * math/w_j0_compat.c: Likewise.
8645 * math/w_j0f_compat.c: Likewise.
8646 * math/w_j0l_compat.c: Likewise.
8647 * math/w_j1_compat.c: Likewise.
8648 * math/w_j1f_compat.c: Likewise.
8649 * math/w_j1l_compat.c: Likewise.
8650 * math/w_jn_compat.c: Likewise.
8651 * math/w_jnf_compat.c: Likewise.
8652 * math/w_llogb_template.c: Likewise.
8653 * math/w_log10_compat.c: Likewise.
8654 * math/w_log10f_compat.c: Likewise.
8655 * math/w_log10l_compat.c: Likewise.
8656 * math/w_log2_compat.c: Likewise.
8657 * math/w_log2f_compat.c: Likewise.
8658 * math/w_log2l_compat.c: Likewise.
8659 * math/w_log_compat.c: Likewise.
8660 * math/w_logf_compat.c: Likewise.
8661 * math/w_logl_compat.c: Likewise.
8662 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8663 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8664 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8665 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8666 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8667 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8668 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8669 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8670 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8671 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8672 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8673 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8674 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
8675 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8676 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8677 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8678 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8679 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8680 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8681 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8682 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8683 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8684 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8685 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8686 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8687 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8688 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8690 * sysdeps/ieee754/float128/float128_private.h: Likewise.
8691 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8692 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8693 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8694 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8695 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8696 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8697 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8698 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8699 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8700 * sysdeps/ieee754/k_standardl.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8703 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8705 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8706 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8708 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8709 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8714 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8715 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8716 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8717 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8718 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8720 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8721 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8722 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8723 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8724 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8725 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8726 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8727 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8728 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8729 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8730 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8731 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8732 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8734 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8737 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8738 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8739 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8740 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8741 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8742 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8743 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8744 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8745 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8746 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8747 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8748 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8749 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8750 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8751 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8752 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8753 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8754 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8755 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8756 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8757 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8758 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8759 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8760 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8761 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8762 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8763 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8764 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8765 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8766 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8767 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8768 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8769 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8770 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8771 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8773 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8776 * include/stdio.h (__libc_fatal): Mention newline in comment.
8777 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
8778 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
8779 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8780 * nss/nsswitch.c (__nss_next2): Likewise.
8781 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
8782 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
8783 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
8784 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8785 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
8786 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
8787 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
8788 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
8789 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
8790 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
8791 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
8792 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8793 (__netlink_assert_response): Likewise.
8795 2018-08-31 Joseph Myers <joseph@codesourcery.com>
8797 * conform/glibcconform.py: New file.
8798 * conform/list-header-symbols.py: Likewise.
8799 * conform/list-header-symbols.pl: Remove.
8800 * conform/Makefile (tests-special): Only add linknamespace tests
8802 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
8804 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
8807 * support/Makefile (libsupport-routines): Add
8808 support_copy_file_range and xcopy_file_range.
8809 * support/support.h: Include <sys/types.h>.
8810 (support_copy_file_range): New prototype.
8811 * support/support_copy_file_range.c: New file. Copied and
8812 modified from io/copy_file_range-compat.c.
8813 * support/test-container.c (copy_one_file): Call xcopy_file_rang
8814 instead of copy_file_range.
8815 * support/xcopy_file_range.c: New file.
8816 * support/xunistd.h (xcopy_file_range): New prototype.
8818 2018-08-30 Carlos O'Donell <carlos@redhat.com>
8820 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
8821 xpthread_create and xpthread_join.
8823 2018-08-30 Florian Weimer <fweimer@redhat.com>
8825 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8827 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
8829 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8832 2018-08-29 Joseph Myers <joseph@codesourcery.com>
8834 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8835 and minus_oflow as non-finite.
8837 2018-08-28 Joseph Myers <joseph@codesourcery.com>
8839 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8840 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8841 moved to fenv_private.h except for ...
8842 (TOINT_INTRINSICS): Kept in math_private.h.
8843 (roundtoint): Likewise.
8844 (converttoint): Likewise.
8845 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8846 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8847 * sysdeps/arm/math_private.h: Remove.
8848 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8850 * sysdeps/generic/math_private.h: ... this file. Include
8851 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8852 Include <fenv_private.h>. Remove functions and macros moved to
8854 * sysdeps/i386/fpu/math_private.h: Remove.
8855 * sysdeps/mips/math_private.h: Move to ....
8856 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8857 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8858 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8859 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8860 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8861 * sysdeps/powerpc/fpu/math_private.h: Do not include
8863 * sysdeps/riscv/rvf/math_private.h: Move to ....
8864 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8865 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8867 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8868 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8869 * sysdeps/sparc/fpu/math_private.h: Remove.
8870 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8871 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8872 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8874 * sysdeps/x86_64/fpu/math_private.h: Do not include
8875 <sysdeps/i386/fpu/fenv_private.h>.
8877 2018-08-28 Florian Weimer <fweimer@redhat.com>
8880 * posix/tst-regcomp-truncated.c: New file.
8881 * posix/Makefile (tests): Add it.
8882 (tst-regcomp-truncated.out): Depend on generated locales.
8884 2018-08-28 Florian Weimer <fweimer@redhat.com>
8886 * support/test-container.c (main): Treat unshare failure with
8887 EPERM as an unsupported test.
8889 2018-08-28 Florian Weimer <fweimer@redhat.com>
8892 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8893 * nscd/netgroupcache.c
8894 (addgetnetgrentX): Add tofreep parameter. Do not free
8895 heap-allocated buffer.
8896 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8897 (addgetnetgrentX_ignore): New function.
8898 (addgetnetgrent): Call it.
8899 (readdgetnetgrent): Likewise.
8901 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8903 * string/memmem.c: Use memcmp for first match.
8905 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8908 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8910 2018-08-27 DJ Delorie <dj@redhat.com>
8912 * support/Makefile (others): Don't list programs explicitly as a
8913 dependency of "others".
8915 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8917 * sysdeps/generic/math-tests-trap-force.h: New file.
8918 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8919 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8920 * sysdeps/powerpc/math-tests.h: Remove file.
8921 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8923 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8924 Torvald Riegel <triegel@redhat.com>
8927 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8928 Update r to include the set wake-request flag if waiters are
8929 remaining after spinning.
8931 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8933 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8935 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8938 regex: fix uninitialized memory access
8939 I introduced this bug into gnulib in commit
8940 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8941 eventually it was merged into glibc. The bug was found by
8942 project-repo <bugs@feusi.co> and reported here:
8943 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8944 Diagnosis and draft fix reported by Assaf Gordon here:
8945 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8946 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8947 * posix/regex_internal.c (build_wcs_upper_buffer):
8948 Fix bug when mbrtowc returns 0.
8950 2018-08-24 Carlos O'Donell <carlos@redhat.com>
8952 * po/be.po: Update translation.
8954 2018-08-24 DJ Delorie <dj@delorie.com>
8956 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8959 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8962 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8963 create temporary files in source tree.
8965 2018-08-24 Joseph Myers <joseph@codesourcery.com>
8967 * sysdeps/generic/math-tests-trap.h: New file.
8968 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8969 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8970 * sysdeps/aarch64/math-tests.h: Remove file.
8971 * sysdeps/arm/math-tests.h: Likewise.
8972 * sysdeps/riscv/math-tests.h: Likewise.
8973 * sysdeps/aarch64/math-tests-trap.h: New file.
8974 * sysdeps/arm/math-tests-trap.h: Likewise.
8975 * sysdeps/riscv/math-tests-trap.h: Likewise.
8977 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8979 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8980 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8981 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8982 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8983 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8984 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8985 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8986 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8987 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8988 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8989 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8990 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8991 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8992 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8993 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8994 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8995 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8996 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8998 2018-08-23 Joseph Myers <joseph@codesourcery.com>
9000 * sysdeps/generic/math-tests-exceptions.h: New file.
9001 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9002 (EXCEPTION_TESTS_float): Do not define here.
9003 (EXCEPTION_TESTS_double): Likewise.
9004 (EXCEPTION_TESTS_long_double): Likewise.
9005 (EXCEPTION_TESTS_float128): Likewise.
9006 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9008 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9009 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9010 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9011 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9012 * sysdeps/mips/math-tests.h: Likewise.
9013 * sysdeps/nios2/math-tests.h: Likewise.
9014 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9015 (EXCEPTION_TESTS_float): Do not define here.
9016 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9017 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9018 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9020 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9022 * NEWS: Move optimized sinf entry to 2.29.
9024 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9026 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9028 2018-08-22 DJ Delorie <dj@redhat.com>
9030 * Makefile (testroot.pristine): New rules to initialize the
9031 test-in-container "testroot".
9032 * Makerules (all-testsuite): Add tests-container.
9033 * Rules (tests-expected): Add tests-container.
9034 (binaries-all-tests): Likewise.
9035 (tests-container): New, run these tests in the testroot container.
9036 * support/Makefile (others): Add *-container, support_paths.c,
9037 xmkdirp, and links-dso-program.
9038 * support/links-dso-program-c.c: New.
9039 * support/links-dso-program.cc: New.
9040 * support/test-container.c: New.
9041 * support/shell-container.c: New.
9042 * support/echo-container.c: New.
9043 * support/true-container.c: New.
9044 * support/xmkdirp.c: New.
9045 * support/xsymlink.c: New.
9046 * support/support_paths.c: New.
9047 * support/support.h: Add support paths prototypes.
9048 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9050 * nss/tst-nss-test3.c: Convert to test-in-container.
9051 * nss/tst-nss-test3.root/: New.
9053 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9055 regex: port Gnulib code to z/OS POSIX environment
9056 Problem reported by Arnold Robbins in:
9057 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9058 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9061 2018-08-22 Joseph Myers <joseph@codesourcery.com>
9063 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9064 (ROUNDING_TESTS_double): Remove.
9065 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9066 (ROUNDING_TESTS_double): Remove.
9067 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9068 (ROUNDING_TESTS_double): Remove.
9069 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9070 (ROUNDING_TESTS_float): Remove.
9071 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9072 (ROUNDING_TESTS_float): Remove.
9073 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9074 (ROUNDING_TESTS_float): Remove.
9075 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9077 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9078 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9080 * sysdeps/generic/math-tests-rounding.h: New file.
9081 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9082 (ROUNDING_TESTS_float): Do not define here.
9083 (ROUNDING_TESTS_double): Likewise.
9084 (ROUNDING_TESTS_long_double): Likewise.
9085 (ROUNDING_TESTS_float128): Likewise.
9086 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9087 (ROUNDING_TESTS_double): Undefine before defining.
9088 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9089 (ROUNDING_TESTS_double): Undefine before defining.
9090 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9091 (ROUNDING_TESTS_double): Undefine before defining.
9092 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9093 (ROUNDING_TESTS_float): Undefine before defining.
9094 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9095 (ROUNDING_TESTS_float): Undefine before defining.
9096 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9097 (ROUNDING_TESTS_float): Undefine before defining.
9098 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9099 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9101 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9102 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9103 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9104 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9105 (ROUNDING_TESTS_float): Do not define here.
9106 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9107 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9108 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9109 (ROUNDING_TESTS_float): Likewise.
9110 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9111 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9112 * sysdeps/mips/math-tests.h [__mips_soft_float]
9113 (ROUNDING_TESTS_float): Likewise.
9114 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9115 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9116 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9117 (ROUNDING_TESTS_double): Likewise.
9118 (ROUNDING_TESTS_long_double): Likewise.
9120 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
9122 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9123 (PF_XDP): New macro.
9124 (AF_XDP): New macro.
9125 (SOL_XDP): New macro.
9127 2018-08-21 Joseph Myers <joseph@codesourcery.com>
9129 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9130 (TCP_INQ): Likewise.
9131 (TCP_CM_INQ): Likewise.
9132 (TCP_REPAIR_ON): Likewise.
9133 (TCP_REPAIR_OFF): Likewise.
9134 (TCP_REPAIR_OFF_NO_WP): Likewise.
9135 (struct tcp_zerocopy_receive): New type.
9137 2018-08-21 Florian Weimer <fweimer@redhat.com>
9139 * support/support.h (support_descriptor_supports_holes): Declare.
9140 * support/Makefile (libsupport-routines): Add
9141 support_descriptor_supports_holes.
9142 * support/support_descriptor_supports_holes.c: New file.
9143 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9144 and stop testing if holes are not supported.
9145 * io/test-lfs.c (do_prepare): Likewise.
9146 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9148 * timezone/tst-tzset.c (create_tz_file): Likewise.
9149 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9151 (do_prepare): Set it.
9152 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9154 2018-08-21 Florian Weimer <fweimer@redhat.com>
9157 * Makeconfig (+cflags): Do not sort (and deduplicate).
9159 2018-08-21 Florian Weimer <fweimer@redhat.com>
9161 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9162 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9164 2018-08-20 Florian Weimer <fweimer@redhat.com>
9166 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9167 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9169 2018-08-20 Joseph Myers <joseph@codesourcery.com>
9171 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9172 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9173 and ssi_arch members.
9175 * elf/elf.c (NT_VMCOREDD): New macro.
9176 (AT_MINSIGSTKSZ): Likewise.
9178 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9180 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9181 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9182 s_cosf-ppc64 and s_cosf-power8.
9183 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9184 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9185 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9186 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9193 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9194 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9196 2018-08-17 Florian Weimer <fweimer@redhat.com>
9198 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9200 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9202 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9204 2018-08-16 Florian Weimer <fweimer@redhat.com>
9206 * configure.ac: Add --with-nonshared-cflags option.
9207 * config.make.in (extra-nonshared-cflags): Set variable.
9208 * Makeconfig (CFLAGS-.oS): Use it.
9209 * manual/install.texi (Configuring and compiling): Document
9210 --with-nonshared-cflags.
9211 * configure: Regenerate.
9212 * INSTALL: Likewise.
9214 2018-08-16 Florian Weimer <fweimer@redhat.com>
9216 * Makeconfig (ASFLAGS): Always append required assembler flags.
9218 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
9220 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9221 (malloc_consolidate): Likewise.
9223 2018-08-16 Pochang Chen <johnchen902@gmail.com>
9225 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9227 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9229 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9232 * benchtests/bench-strlen.c: Print performance numbers in json.
9234 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9236 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9237 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9238 only for little endian.
9239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9240 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9241 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9242 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9243 Add check for little endian.
9244 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9245 (__strcmp_power9): Add check for little endian.
9246 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9247 Add check for little endian.
9248 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9249 (__strncmp_power9): Add check for little endian.
9250 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9251 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9252 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9253 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9254 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9256 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9258 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9259 [!STRLEN](STRLEN): Set to __strlen.
9260 * sysdeps/aarch64/multiarch/strlen.c: New file.
9261 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9262 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9263 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9264 (__libc_ifunc_impl_list): Add strlen.
9265 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9266 strlen_generic and strlen_asimd.
9268 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9270 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
9271 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
9272 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9274 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9276 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
9278 2018-08-14 Florian Weimer <fweimer@redhat.com>
9281 * include/stdio.h (__vfxprintf): Declare.
9282 * stdio-common/fxprintf.c (__vfxprintf): New function.
9283 (__fxprintf): Call it.
9284 * misc/err.c (convert_and_print): Remove function.
9285 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
9286 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
9287 * misc/Makefile (tests): Add tst-warn-wide.
9288 * misc/tst-warn-wide.c: New file.
9290 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
9291 Szabolcs Nagy <szabolcs.nagy@arm.com>
9293 * NEWS: Mention sinf, cosf, sincosf.
9294 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
9295 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
9296 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
9297 constants rather than including generic sincosf.h.
9298 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
9299 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
9300 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
9301 (reduced_cos): Remove.
9302 (sinf_poly): New function.
9303 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
9305 2018-08-14 Florian Weimer <fweimer@redhat.com>
9309 * nss/nss_files/files-alias.c (get_next_alias): During :include:
9310 processing, bail out if no room, and close the stream before
9312 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
9313 (tst-nss-files-alias-leak): Link with libdl.
9314 (tst-nss-files-alias-leak.out): Depend on nss_files.
9316 * nss/tst-nss-files-alias-leak.c: New file.
9318 2018-08-14 Florian Weimer <fweimer@redhat.com>
9320 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
9321 server_user, stat_user.
9323 2018-08-13 Joseph Myers <joseph@codesourcery.com>
9325 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9327 (io_pgetevents): New syscall.
9330 * manual/install.texi (Configuring and compiling): Do not list
9331 tools used for testing pretty printers here.
9332 (Tools for Compilation): List Python, PExpect and GDB here.
9333 Update descriptions of uses of Perl and Python.
9334 * INSTALL: Regenerate.
9336 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9339 2018-08-13 Florian Weimer <fweimer@redhat.com>
9341 * misc/error.c (error): Add missing va_end call.
9342 (error_at_line): Likewise.
9344 2018-08-13 Florian Weimer <fweimer@redhat.com>
9346 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
9348 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9350 * benchtests/scripts/benchout.schema.json (properties): Add
9353 * benchtests/bench-skeleton.c (main): Add duration and
9354 iterations attributes.
9356 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
9358 regex: Gnulib unibyte RRI uses bytes not chars
9359 Adjust the non-glibc code to agree with what Gawk needs for
9360 rational range interpretation (RRI) for regular expression ranges.
9361 In unibyte locales, Gawk wants ranges to use the underlying byte
9362 rather than the character code point. This change does not affect
9364 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
9365 In unibyte locales, use the byte value rather than
9366 running it through btowc.
9368 2018-08-10 Joseph Myers <joseph@codesourcery.com>
9370 * sysdeps/generic/math-tests-snan.h: New file.
9371 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
9372 (SNAN_TESTS_float): Do not define here.
9373 (SNAN_TESTS_double): Likewise.
9374 (SNAN_TESTS_long_double): Likewise.
9375 (SNAN_TESTS_float128): Likewise.
9376 * sysdeps/i386/fpu/math-tests-snan.h: New file.
9377 * sysdeps/i386/fpu/math-tests.h: Remove file.
9378 * sysdeps/ia64/math-tests-snan.h: New file.
9379 * sysdeps/ia64/math-tests.h: Remove file.
9380 * sysdeps/x86/math-tests.h: Likewise.
9381 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
9383 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9384 Szabolcs Nagy <szabolcs.nagy@arm.com>
9386 * math/Makefile: Add s_sincosf_data.c.
9387 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9388 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9389 (sincosf_poly): Likewise.
9390 (reduce_small): Likewise.
9391 (reduce_large): Likewise.
9392 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9393 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9394 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9395 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9397 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9398 Szabolcs Nagy <szabolcs.nagy@arm.com>
9400 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9401 (converttoint): Use lround.
9402 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9403 document the semantics when TOINT_INTRINSICS is set.
9404 (converttoint): Likewise.
9405 (TOINT_RINT): Remove.
9406 (TOINT_SHIFT): Remove.
9407 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9410 2018-08-10 Florian Weimer <fweimer@redhat.com>
9413 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9415 (__old_getdents64): Use getdents64. Convert entries without
9417 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9418 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9419 tst-readdir64-compat.
9421 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9423 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9426 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9428 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9429 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9430 code to s390x-mcount.h and #include it.
9431 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9432 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9435 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9437 * stdlib/Versions: Remove __fentry__.
9438 * sysdeps/i386/Versions: Add __fentry__.
9439 * sysdeps/x86_64/Versions: Add __fentry__.
9441 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9443 * sysdeps/s390/Makefile: Register the new tests.
9444 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9445 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9446 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9447 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9448 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9449 * sysdeps/s390/tst-dl-runtime.c: New file.
9451 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9453 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9456 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9458 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9461 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9463 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9466 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9468 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9471 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9473 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9474 Use symbolic offsets for stack variables.
9476 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9478 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9479 Use symbolic offsets for stack variables.
9481 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9483 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9484 Use symbolic offsets for stack variables.
9486 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9488 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9489 Use symbolic offsets for stack variables.
9491 2018-08-09 Joseph Myers <joseph@codesourcery.com>
9493 * math/gen-libm-test.py: New file.
9494 * math/gen-libm-test.pl: Remove.
9495 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
9496 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
9498 ($(libm-test-c-noauto-obj)): Likewise.
9499 ($(libm-test-c-auto-obj)): Likewise.
9500 ($(libm-test-c-narrow-obj)): Likewise.
9501 (regen-ulps): Likewise.
9502 * math/README.libm-test: Update references to gen-libm-test.pl.
9503 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
9504 referencing gen-libm-test.pl.
9505 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
9506 * math/libm-test-support.c: Likewise.
9507 * math/libm-test-support.h: Likewise.
9508 * sysdeps/generic/libm-test-ulps: Likewise.
9510 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9512 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
9515 2018-08-08 Joseph Myers <joseph@codesourcery.com>
9517 * math/libm-test-nextdown.inc (do_test): Move comment to ....
9518 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
9520 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9522 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
9524 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
9525 __pthread_setspecific): Add hidden proto.
9526 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
9527 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
9529 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9531 * benchtests/bench-string.h (buf1_size, buf2_size): New
9533 (init_sizes): New function.
9534 (test_init): Use it.
9535 (alloc_buf, exit_error): New functions.
9536 (alloc_bufs): Use ALLOC_BUF.
9537 (realloc_bufs): Remove.
9538 * benchtests/bench-memcmp.c (do_test): Adjust.
9539 * benchtests/bench-memset-large.c (do_test): Likewise.
9540 * benchtests/bench-memset-walk.c (do_test): Likewise.
9541 * benchtests/bench-memset.c (do_test): Likewise.
9542 * benchtests/bench-strncmp.c (do_test): Likewise.
9544 2018-08-06 Andreas Schwab <schwab@suse.de>
9546 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
9547 of CONST_THREAD_AREA.
9549 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
9551 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
9552 (STATE_SAVE_MASK): Likewise.
9553 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
9554 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
9555 (STATE_SAVE_MASK): Likewise.
9556 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
9557 instead of <cpu-features.h>.
9559 2018-08-03 DJ Delorie <dj@redhat.com>
9561 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
9562 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
9564 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
9566 2018-08-03 Joseph Myers <joseph@codesourcery.com>
9568 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
9570 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
9571 * math/libm-test-logb.inc (logb_test_data): Likewise.
9573 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
9575 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
9576 * string/strstr.c (AVAILABLE): Likewise.
9578 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9580 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
9582 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
9583 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
9584 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
9586 2018-08-03 Carlos O'Donell <carlos@redhat.com>
9588 * po/be.po: Update translation.
9590 * po/be.po: Update translation.
9592 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9594 * sysdeps/x86/cpu-features-offsets.sym
9595 (rtld_global_ro_offsetof): Removed.
9596 (CPU_FEATURES_SIZE): Likewise.
9597 (CPUID_OFFSET): Likewise.
9598 (CPUID_SIZE): Likewise.
9599 (CPUID_EAX_OFFSET): Likewise.
9600 (CPUID_EBX_OFFSET): Likewise.
9601 (CPUID_ECX_OFFSET): Likewise.
9602 (CPUID_EDX_OFFSET): Likewise.
9603 (FAMILY_OFFSET): Likewise.
9604 (MODEL_OFFSET): Likewise.
9605 (FEATURE_OFFSET): Likewise.
9606 (FEATURE_SIZ): Likewise.
9607 (COMMON_CPUID_INDEX_1): Likewise.
9608 (COMMON_CPUID_INDEX_7): Likewise.
9609 (FEATURE_INDEX_1): Likewise.
9610 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
9612 2018-08-02 Carlos O'Donell <carlos@redhat.com>
9614 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
9615 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
9616 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
9617 (install-locales): Depend on install-locale-archive.
9618 (install-locale-archive): Define.
9619 (install-locale-files): Define.
9620 (build-one-locale): Define macro.
9621 * manual/install.texi (Running make install): Document.
9622 * manual/INSTALL: Regenerate.
9624 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9626 * benchtests/scripts/compare_strings.py: Import traceback.
9627 (parse_file): Pretty-print error.
9629 * NEWS: Mention the change.
9630 * elf/dl-tunables.list: Rename tune namespace to cpu.
9631 * sysdeps/powerpc/dl-tunables.list: Likewise.
9632 * sysdeps/x86/dl-tunables.list: Likewise.
9633 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
9635 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
9636 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
9637 * manual/README.tunables: Likewise.
9638 * manual/tunables.texi: Likewise.
9639 * sysdeps/powerpc/cpu-features.c: Likewise.
9640 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
9641 (init_cpu_features): Likewise.
9642 * sysdeps/x86/cpu-features.c: Likewise.
9643 * sysdeps/x86/cpu-features.h: Likewise.
9644 * sysdeps/x86/cpu-tunables.c: Likewise.
9645 * sysdeps/x86_64/Makefile: Likewise.
9646 * sysdeps/x86/dl-cet.c: Likewise.
9648 2018-08-02 Joseph Myers <joseph@codesourcery.com>
9651 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
9652 [__mips_hard_float].
9653 (FE_UNDERFLOW): Likewise.
9654 (FE_OVERFLOW): Likewise.
9655 (FE_DIVBYZERO): Likewise.
9656 (FE_INVALID): Likewise.
9657 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
9658 (FE_TOWARDZERO): Define only if [__mips_hard_float].
9659 (FE_UPWARD): Likewise.
9660 (FE_DOWNWARD): Likewise.
9661 (__FE_UNDEFINED): Define if [!__mips_hard_float]
9662 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
9663 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
9664 [__mips_hard_float].
9665 (FP_ROUNDMODE): Likewise.
9666 (FP_RND_NEAREST): Likewise.
9667 (FP_RND_ZERO): Likewise.
9668 (FP_RND_PINF): Likewise.
9669 (FP_RND_MINF): Likewise.
9670 (FP_EX_INVALID): Likewise.
9671 (FP_EX_OVERFLOW): Likewise.
9672 (FP_EX_UNDERFLOW): Likewise.
9673 (FP_EX_DIVZERO): Likewise.
9674 (FP_EX_INEXACT): Likewise.
9675 (FP_INIT_ROUNDMODE): Likewise.
9676 * sysdeps/mips/nofpu/fesetenv.c: New file.
9677 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
9679 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9681 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
9682 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
9683 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
9684 conditional on [FE_UPWARD].
9686 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
9688 regex: fix memory leak in Gnulib
9689 Problem and fix reported by Assaf Gordon in:
9690 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
9691 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
9692 range_ends members too, as they are defined in 'struct
9693 re_charset_t' even if not _LIBC. This affects only Gnulib.
9695 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
9697 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
9699 (get_common_indices): This.
9700 (init_cpu_features): Updated.
9702 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9704 * sysdeps/generic/math-tests-snan-payload.h: New file.
9705 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
9706 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
9707 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
9708 * sysdeps/generic/math-tests.h: Include
9709 <math-tests-snan-payload.h>.
9710 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9711 * sysdeps/hppa/math-tests.h: Remove file.
9712 * sysdeps/mips/math-tests.h [!__mips_nan2008]
9713 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9714 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
9717 * sysdeps/generic/math-tests-snan-cast.h: New file.
9718 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
9719 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
9720 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
9721 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
9723 2018-08-01 Carlos O'Donel <carlos@redhat.com>
9725 * version.h (RELEASE): Set to "development".
9726 (VERSION): Set to "2.28.9000".
9727 * NEWS (2.29): New section.
9729 * version.h (RELEASE): Set to "stable".
9730 (VERSION): Set to "2.28".
9731 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
9732 * NEWS: Add the list of bugs fixed in 2.28.
9734 * po/ca.po: Update to latest version.
9735 * po/cs.po: Likewise
9736 * po/da.po: Likewise
9737 * po/el.po: Likewise
9738 * po/eo.po: Likewise
9739 * po/es.po: Likewise
9740 * po/fi.po: Likewise
9741 * po/fr.po: Likewise
9742 * po/gl.po: Likewise
9743 * po/hu.po: Likewise
9744 * po/ia.po: Likewise
9745 * po/id.po: Likewise
9746 * po/it.po: Likewise
9747 * po/ja.po: Likewise
9748 * po/ko.po: Likewise
9749 * po/lt.po: Likewise
9750 * po/nb.po: Likewise
9751 * po/nl.po: Likewise
9752 * po/pt_BR.po: Likewise
9753 * po/ru.po: Likewise
9754 * po/rw.po: Likewise
9755 * po/sk.po: Likewise
9756 * po/sl.po: Likewise
9757 * po/tr.po: Likewise
9758 * po/zh_CN.po: Likewise
9759 * po/zh_TW.po: Likewise
9761 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9763 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
9765 (init): ... before initializing libpthread.
9767 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
9768 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
9769 (__mach_setup_tls): ... new function.
9770 (mach_setup_tls): New alias.
9771 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
9772 __mach_setup_thread.
9773 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
9774 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
9775 * mach/Versions [libc] (mach_setup_tls): Add symbol.
9776 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
9778 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9780 * manual/install.texi: Update versions.
9781 * INSTALL: Regenerate.
9783 * manual/contrib.texi (Contributors): Update contributions.
9785 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9787 * po/be.po: Update translations.
9789 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9791 * sysdeps/sh/libm-test-ulps: Update.
9793 2018-07-30 Carlos O'Donell <carlos@redhat.com>
9795 * po/bg.po: Update translations.
9796 * po/de.po: Likewise.
9797 * po/hr.po: Likewise.
9798 * po/pt_BR.po: Likewise.
9799 * po/sv.po: Likewise.
9800 * po/vi.po: Likewise.
9802 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9805 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9806 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
9807 (CFLAGS-tst-cet-property-1.o): New.
9808 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
9809 ($(objpfx)tst-cet-property-2): Likewise.
9810 ($(objpfx)tst-cet-property-2.out): Likewise.
9811 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
9812 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
9813 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
9814 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
9815 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
9817 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9820 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
9822 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9824 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9825 __sbrk): Do not set attribute_hidden.
9826 * sysdeps/mach/hurd/not-errno.h: New file.
9827 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9828 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9830 2018-07-27 Carlos O'Donell <carlos@redhat.com>
9832 * po/uk.po: Update translations.
9833 * po/cs.po: Likewise.
9834 * po/pl.po: Likewise.
9836 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9838 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9839 parse beyond the note end.
9841 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9843 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9844 kernel does not support OFD locks.
9845 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9847 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9849 * sysdeps/mach/hurd/Versions (libc): Make __access and
9850 __access_noerrno external so they can override the ld symbols.
9851 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9852 __writev, __open64, __access_noerrno extern so they can be overrided.
9853 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9854 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9856 2018-07-26 Carlos O'Donell <carlos@redhat.com>
9858 * po/libc.pot: Regenerate.
9860 2018-07-26 Joseph Myers <joseph@codesourcery.com>
9862 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9864 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9867 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9869 (init_cpu_features): Call get_extended_indices for both Intel
9871 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9872 Remove "for AMD" comment.
9874 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9877 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9878 COMMON_CPUID_INDEX_80000001.
9880 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
9882 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9883 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9885 2018-07-26 Florian Weimer <fweimer@redhat.com>
9887 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9888 aliases for symbols not in the implementation namespace.
9890 2018-07-25 Carlos O'Donell <carlos@redhat.com>
9893 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9894 lowercase in LATIN script.
9895 * localedata/Makefile (test-input): Add en_US.UTF-8.
9896 * localedata/en_US.UTF-8.in: New file.
9897 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9898 and restore old tests.
9899 * posix/tst-regexloc.c (do_test): Add back range expression test.
9901 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9903 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9905 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9907 * nptl/threads.h: Move to ...
9908 * sysdeps/nptl/threads.h: ... here.
9909 * sysdeps/hurd/stdc-predef.h: New file.
9911 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9913 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9914 tst-cet-setcontext-1 if CET is enabled.
9915 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9916 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9918 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9920 * include/threads.h: Move to ...
9921 * sysdeps/nptl/threads.h: ... here.
9922 * sysdeps/htl/threads.h: New file.
9923 * conform/Makefile (linknamespace-libs-ISO11): Use
9924 static-thread-library instead of linking libpthread.
9925 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9927 2018-07-25 Florian Weimer <fweimer@redhat.com>
9929 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9930 nanoseconds into seconds.
9931 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9932 (do_test): Likewise.
9933 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9934 (do_test): Likewise. Avoid nanosecond overflow and spurious
9935 timeouts due to system load.
9936 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9937 (child_wait): Increment it.
9938 (do_test): Wait as long as necessary until all expected threads
9941 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9942 H.J. Lu <hongjiu.lu@intel.com>
9944 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9946 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9947 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9948 (__push___start_context): New.
9949 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9951 (__getcontext): Record the current shadow stack base. Save the
9952 caller's shadow stack pointer and base.
9953 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9954 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9955 (__push___start_context): New prototype.
9956 (__makecontext): Call __push___start_context to allocate a new
9957 shadow stack, push __start_context onto the new stack as well
9958 as the new shadow stack.
9959 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9961 (__setcontext): Restore the target shadow stack.
9962 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9964 (__swapcontext): Record the current shadow stack base. Save
9965 the caller's shadow stack pointer and base. Restore the target
9967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9968 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9969 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9971 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9973 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9974 tst-setcontext8 and tst-setcontext9.
9975 * stdlib/tst-setcontext6.c: New file.
9976 * stdlib/tst-setcontext7.c: Likewise.
9977 * stdlib/tst-setcontext8.c: Likewise.
9978 * stdlib/tst-setcontext9.c: Likewise.
9980 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9982 * stdlib/Makefile ((tests): Add tst-setcontext5.
9983 * stdlib/tst-setcontext5.c: New file.
9985 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9987 * stdlib/Makefile (tests): Add tst-setcontext4.
9988 * stdlib/tst-setcontext4.c: New file.
9990 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9992 * stdlib/Makefile (tests): Add tst-swapcontext1.
9993 * stdlib/tst-swapcontext1.c: New test.
9995 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9997 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9998 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9999 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10000 and tst-cet-legacy-4c.
10001 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10002 and tst-cet-legacy-mod-4.
10003 (CFLAGS-tst-cet-legacy-2.c): New.
10004 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10005 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10006 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10007 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10008 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10009 ($(objpfx)tst-cet-legacy-1): Likewise.
10010 ($(objpfx)tst-cet-legacy-2): Likewise.
10011 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10012 ($(objpfx)tst-cet-legacy-2a): Likewise.
10013 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10014 ($(objpfx)tst-cet-legacy-4): Likewise.
10015 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10016 ($(objpfx)tst-cet-legacy-4a): Likewise.
10017 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10018 (tst-cet-legacy-4a-ENV): Likewise.
10019 ($(objpfx)tst-cet-legacy-4b): Likewise.
10020 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10021 (tst-cet-legacy-4b-ENV): Likewise.
10022 ($(objpfx)tst-cet-legacy-4c): Likewise.
10023 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10024 (tst-cet-legacy-4c-ENV): Likewise.
10025 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10026 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10027 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10028 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10029 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10030 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10031 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10032 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10033 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10034 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10035 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10037 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10039 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10040 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10042 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10043 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10046 2018-07-25 Andreas Schwab <schwab@suse.de>
10049 * locale/weightwc.h (findidx): Handle the case where usrc is a
10050 prefix of cp but one character too short.
10052 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10054 * NEWS: Add ISO C threads addition.
10056 2018-07-24 Florian Weimer <fweimer@redhat.com>
10058 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10059 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10060 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10063 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10065 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10066 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10067 <sys/prctl.h> and <asm/prctl.h>.
10068 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10069 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10071 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10072 ARCH_CET_LEGACY_BITMAP.
10073 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10074 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10075 * sysdeps/x86/libc-start.c: Include <startup.h>.
10077 2018-07-24 Florian Weimer <fweimer@redhat.com>
10079 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10080 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10082 2018-07-24 Rical Jasan <rj@2c3t.io>
10083 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10084 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10087 * manual/debug.texi: Update adjacent chapter name.
10088 * manual/probes.texi: Likewise.
10089 * manual/threads.texi (ISO C Threads): New section.
10090 (POSIX Threads): Convert to a section.
10092 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10093 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10096 * nptl/Makefile (tests): Add new test files.
10097 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10098 * nptl/tst-cnd-basic.c: Likewise.
10099 * nptl/tst-cnd-broadcast.c: Likewise.
10100 * nptl/tst-cnd-timedwait.c: Likewise.
10101 * nptl/tst-mtx-basic.c: Likewise.
10102 * nptl/tst-mtx-recursive.c: Likewise.
10103 * nptl/tst-mtx-timedlock.c: Likewise.
10104 * nptl/tst-mtx-trylock.c: Likewise.
10105 * nptl/tst-thrd-basic.c: Likewise.
10106 * nptl/tst-thrd-detach.c: Likewise.
10107 * nptl/tst-thrd-sleep.c: Likewise.
10108 * nptl/tst-tss-basic.c: Likewise.
10110 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10113 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10114 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10116 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10117 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10118 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10119 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10120 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10121 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10122 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10123 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10124 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10125 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10126 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10127 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10135 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10136 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10137 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10138 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10139 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10140 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10141 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10142 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10143 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10144 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10145 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10146 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10147 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10149 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10150 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10151 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10152 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10153 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10154 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10155 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10156 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10157 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10158 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10159 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10160 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10167 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10168 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10169 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10170 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10171 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10172 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10173 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10174 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10177 * conform/data/threads.h-data (thread_local): New macro.
10178 (TSS_DTOR_ITERATIONS): Likewise.
10180 (tss_dtor_t): Likewise.
10181 (tss_create): New function.
10182 (tss_get): Likewise.
10183 (tss_set): Likewise.
10184 (tss_delete): Likewise.
10185 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10186 tss_get, and tss_set objects.
10187 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10188 * nptl/tss_create.c: New file.
10189 * nptl/tss_delete.c: Likewise.
10190 * nptl/tss_get.c: Likewise.
10191 * nptl/tss_set.c: Likewise.
10192 * sysdeps/nptl/threads.h (thread_local): New define.
10193 (TSS_DTOR_ITERATIONS): Likewise.
10194 (tss_t): New typedef.
10195 (tss_dtor_t): Likewise.
10196 (tss_create): New prototype.
10197 (tss_get): Likewise.
10198 (tss_set): Likewise.
10199 (tss_delete): Likewise.
10202 * conform/data/threads.h-data (cnd_t): New type.
10203 (cnd_init): New function.
10204 (cnd_signal): Likewise.
10205 (cnd_broadcast): Likewise.
10206 (cnd_wait): Likewise.
10207 (cnd_timedwait): Likewise.
10208 (cnd_destroy): Likewise.
10209 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10210 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10212 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10213 * nptl/cnd_broadcast.c: New file.
10214 * nptl/cnd_destroy.c: Likewise.
10215 * nptl/cnd_init.c: Likewise.
10216 * nptl/cnd_signal.c: Likewise.
10217 * nptl/cnd_timedwait.c: Likewise.
10218 * nptl/cnd_wait.c: Likewise.
10219 * sysdeps/nptl/threads.h (cnd_t): New type.
10220 (cnd_init): New prototype.
10221 (cnd_signa): Likewise.
10222 (cnd_broadcast): Likewise.
10223 (cnd_wait): Likewise.
10224 (cnd_timedwait): Likewise.
10225 (cnd_destroy): Likewise.
10228 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10229 (once_flag): New type.
10230 (call_once): New function.
10231 * nptl/Makefile (libpthread-routines): Add call_once object.
10232 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10233 * nptl/call_once.c: New file.
10234 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10235 (once_flag): New type.
10236 (call_once): New prototype.
10239 * conform/data/threads.h-data (mtx_plain): New constant.
10240 (mtx_recursive): Likewise.
10241 (mtx_timed): Likewise.
10243 (mtx_init): New function.
10244 (mtx_lock): Likewise.
10245 (mtx_timedlock): Likewise.
10246 (mtx_trylock): Likewise.
10247 (mtx_unlock): Likewise.
10248 (mtx_destroy): Likewise.
10249 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10250 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10251 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10252 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10253 * nptl/mtx_destroy.c: New file.
10254 * nptl/mtx_init.c: Likewise.
10255 * nptl/mtx_lock.c: Likewise.
10256 * nptl/mtx_timedlock.c: Likewise.
10257 * nptl/mtx_trylock.c: Likewise.
10258 * nptl/mtx_unlock.c: Likewise.
10259 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10260 (mtx_recursive): Likewise.
10261 (mtx_timed): Likewise.
10263 (mtx_init): New prototype.
10264 (mtx_lock): Likewise.
10265 (mtx_timedlock): Likewise.
10266 (mtx_trylock): Likewise.
10267 (mtx_unlock): Likewise.
10268 (mtx_destroy): Likewise.
10271 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
10272 (linknamespace-libs-ISO11): Add libpthread.a.
10273 * conform/data/threads.h-data: New file: add C11 thrd_* types and
10275 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
10276 * nptl/Makefile (headers): Add threads.h.
10277 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
10278 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
10280 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
10281 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
10282 thrd_join, thrd_sleep, and thrd_yield symbols.
10283 * nptl/descr.h (struct pthread): Add c11 field.
10284 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
10285 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
10286 routine with expected function prototype.
10287 (__pthread_create_2_1): Add C11 threads check based on attribute
10289 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
10290 * nptl/thrd_create.c: New file.
10291 * nptl/thrd_current.c: Likewise.
10292 * nptl/thrd_detach.c: Likewise.
10293 * nptl/thrd_equal.c: Likewise.
10294 * nptl/thrd_exit.c: Likewise.
10295 * nptl/thrd_join.c: Likewise.
10296 * nptl/thrd_priv.h: Likewise.
10297 * nptl/thrd_sleep.c: Likewise.
10298 * nptl/thrd_yield.c: Likewise.
10299 * include/threads.h: Likewise.
10301 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10303 * bits/indirect-return.h: New file.
10304 * misc/sys/cdefs.h (__glibc_has_attribute): New.
10305 * sysdeps/x86/bits/indirect-return.h: Likewise.
10306 * stdlib/Makefile (headers): Add bits/indirect-return.h.
10307 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
10308 (swapcontext): Add __INDIRECT_RETURN.
10309 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
10310 (prepare_test_buffer): Use it.
10312 2018-07-24 Andreas Schwab <schwab@suse.de>
10315 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
10316 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
10318 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10320 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
10321 Redefine if shadow stack is enabled.
10322 (SYSCALL_ERROR_LABEL): Likewise.
10323 (__vfork): Pop shadow stack and jump back to to caller directly
10324 when shadow stack is in use.
10325 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
10326 Redefine if shadow stack is enabled.
10327 (SYSCALL_ERROR_LABEL): Likewise.
10328 (__vfork): Pop shadow stack and jump back to to caller directly
10329 when shadow stack is in use.
10331 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10333 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
10336 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
10339 2018-07-20 Joseph Myers <joseph@codesourcery.com>
10341 * scripts/build-many-glibcs.py (Context.checkout): Default
10342 binutils version to 2.31 branch.
10344 2018-07-20 Zong Li <zong@andestech.com>
10346 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
10347 URL of gcc's tarball.
10349 2018-07-20 Florian Weimer <fweimer@redhat.com>
10352 * posix/regcomp.c (build_equiv_class): When comparing weights, do
10353 not compare an extra byte after the end of the weights.
10355 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10357 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
10359 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
10361 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
10362 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
10363 * scripts/check-execstack.awk: Consider `xfail' variable containing a
10364 list of libraries whose stack executability is expected.
10365 * elf/Makefile ($(objpfx)check-execstack.out): Pass
10366 $(check-execstack-xfail) to check-execstack.awk through `xfail'
10368 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
10369 libc.so libpthread.so.
10371 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
10373 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
10375 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
10377 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
10379 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
10381 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10383 * benchtests/scripts/compare_bench.py (__main__): use the argparse
10384 library to improve command line parsing.
10385 (__main__): make schema file as optional parameter (--schema),
10386 defaulting to benchtests/scripts/benchout.schema.json.
10387 (main): move out of the parsing stuff to __main_ and leave it
10388 only as caller of main comparison functions.
10390 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10392 * NEWS: Add a note for Intel CET status.
10393 * manual/install.texi: Likewise.
10394 * INSTALL: Regenerated.
10396 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10399 * localedata/locales/oc_FR (mon): Rename to...
10400 (alt_mon): This, then update October (typo fix).
10401 (mon): New content (genitive case, month names preceded by
10405 * localedata/locales/oc_FR (abday): Update all items.
10406 (day): Update Wednesday and Saturday (typo fixes).
10407 (abmon): Update all items, except May.
10408 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10409 (LC_IDENTIFICATION): Bump the revision number and date.
10410 Keep the "category" entries in alphabetic order.
10411 (LC_ADDRESS): Remove no longer needed comment.
10412 (LC_COLLATE): Use “copy "ca_ES"”.
10413 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10416 2018-07-18 Joseph Myers <joseph@codesourcery.com>
10418 * grp/tst_fgetgrent.c: Include <unistd.h>.
10419 (main): Use mkstemp instead of tmpnam.
10420 * io/test-utime.c (main): Likewise.
10421 * posix/annexc.c (macrofile): Change to modifiable array.
10422 (main): Remove macrofile here.
10423 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10425 (check_header): Do not remove macrofile here.
10426 * posix/bug-getopt1.c: Include <stdlib.h>.
10427 (do_test): Use mkstemp instead of tmpnam.
10428 * posix/bug-getopt2.c: Include <stdlib.h>.
10429 (do_test): Use mkstemp instead of tmpnam.
10430 * posix/bug-getopt3.c: Include <stdlib.h>.
10431 (do_test): Use mkstemp instead of tmpnam.
10432 * posix/bug-getopt4.c: Include <stdlib.h>.
10433 (do_test): Use mkstemp instead of tmpnam.
10434 * posix/bug-getopt5.c: Include <stdlib.h>.
10435 (do_test): Use mkstemp instead of tmpnam.
10436 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10437 (main): Use mkstemp instead of tmpnam.
10438 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10439 (main): Use mkstemp instead of tmpnam.
10440 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10441 (main): use mkstemp instead of tmpnam.
10442 * stdlib/isomac.c (macrofile): Change to modifiable array.
10443 (main): Remove macrofile here.
10444 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10446 (check_header): Do not remove macrofile here.
10448 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10450 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10451 glibc.tune.x86_shstk.
10453 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10455 * NEWS: Mention --enable-cet.
10456 * manual/install.texi: Document --enable-cet.
10457 * INSTALL: Regenerated.
10459 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10461 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
10462 Add _CET_NOTRACK before indirect jump to jump table.
10464 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10466 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
10467 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10470 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10472 * sysdeps/i386/i686/multiarch/strcat-sse2.S
10473 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10476 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10478 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
10479 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10482 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10484 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
10485 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10488 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10490 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
10491 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10493 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
10495 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10497 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
10498 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10501 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10503 * sysdeps/i386/i686/multiarch/memset-sse2.S
10504 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10507 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10509 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
10510 indirect jump to jump table.
10512 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10514 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
10515 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10517 (MEMCPY): Likewise.
10519 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10521 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
10522 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10524 (MEMCPY): Likewise.
10526 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10528 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10529 _CET_NOTRACK before indirect jump to jump table.
10531 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10533 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
10534 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10537 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10539 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
10540 indirect jump to jump table.
10542 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
10545 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
10546 (LOCALES): Likewise.
10547 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
10548 * localedata/locales/sah_RU: New file.
10549 * localedata/sah_RU.UTF-8.in: New file.
10551 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10553 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
10555 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10556 _CET_ENDBR to indirect jump targets and adjust jump destination
10558 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
10560 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10561 _CET_ENDBR to indirect jump targets and adjust jump destination
10563 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
10565 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
10566 _CET_ENDBR to indirect jump targets and adjust jump destination
10569 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10571 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10574 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10576 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
10578 (_dl_tlsdesc_undefweak): Likewise.
10579 (_dl_tlsdesc_dynamic): Likewise.
10580 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
10581 (_dl_tlsdesc_resolve_rel): Likewise.
10582 (_dl_tlsdesc_resolve_rela): Likewise.
10583 (_dl_tlsdesc_resolve_hold): Likewise.
10584 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
10585 (_dl_tlsdesc_undefweak): Likewise.
10586 (_dl_tlsdesc_dynamic): Likewise.
10587 (_dl_tlsdesc_resolve_rela): Likewise.
10588 (_dl_tlsdesc_resolve_hold): Likewise.
10590 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10592 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
10594 * sysdeps/x86_64/crti.S (_init): Likewise.
10597 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
10600 * localedata/locales/os_RU (mon): Rename to...
10602 (mon): Import from CLDR (genitive case).
10604 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10606 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
10607 cet-tunables.h> when CET is enabled.
10609 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
10612 * configure.ac: Add --enable-cet.
10613 * configure: Regenerated.
10614 * elf/Makefille (all-built-dso): Add a comment.
10615 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
10616 Include <dl-prop.h>.
10617 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
10619 * elf/dl-open.c: Include <dl-prop.h>.
10620 (dl_open_worker): Call _dl_open_check.
10621 * elf/rtld.c: Include <dl-prop.h>.
10622 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
10624 * sysdeps/generic/dl-prop.h: New file.
10625 * sysdeps/i386/dl-cet.c: Likewise.
10626 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
10627 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
10628 * sysdeps/x86/cet-tunables.h: Likewise.
10629 * sysdeps/x86/check-cet.awk: Likewise.
10630 * sysdeps/x86/configure: Likewise.
10631 * sysdeps/x86/configure.ac: Likewise.
10632 * sysdeps/x86/dl-cet.c: Likewise.
10633 * sysdeps/x86/dl-procruntime.c: Likewise.
10634 * sysdeps/x86/dl-prop.h: Likewise.
10635 * sysdeps/x86/libc-start.h: Likewise.
10636 * sysdeps/x86/link_map.h: Likewise.
10637 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
10639 (_dl_runtime_profile): Likewise.
10640 (_dl_runtime_resolve_shstk): New.
10641 (_dl_runtime_profile_shstk): Likewise.
10642 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
10644 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
10645 (CFLAGS-.os): Likewise.
10646 (CFLAGS-.op): Likewise.
10647 (CFLAGS-.oS): Likewise.
10648 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
10650 (tests-special): Add $(objpfx)check-cet.out.
10651 (cet-built-dso): New.
10652 (+$(cet-built-dso:=.note)): Likewise.
10653 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
10654 ($(objpfx)check-cet.out): New.
10655 (generated): Add check-cet.out.
10656 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
10658 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
10659 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10660 (init_cpu_features): Call get_cet_status to check CET status
10661 and update dl_x86_feature_1 with CET status. Call
10662 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
10663 (set_x86_shstk). Disable and lock CET in libc.a.
10664 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
10665 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
10666 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10667 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
10668 (_CET_ENDBR): Define if not defined.
10669 (ENTRY): Add _CET_ENDBR.
10670 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
10672 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
10674 (_dl_runtime_profile): Likewise.
10676 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
10679 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
10680 restore r2 on longjmp.
10681 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
10683 Added rules to build test tst-setjmp-bug21895-static.
10684 Added module setjmp-bug21895 and rules to build a shared object from it.
10685 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
10686 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
10688 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
10690 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
10691 * benchtests/bench-strstr.c: Likewise.
10692 * string/memmem.c (FASTSEARCH): Define.
10693 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
10694 Add support for FASTSEARCH.
10695 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
10696 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
10697 (FASTSEARCH): Define.
10698 * string/test-strcasestr.c: Rename __strnlen to strnlen.
10699 * string/test-strstr.c: Likewise.
10701 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
10703 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
10704 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
10706 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
10707 H.J. Lu <hongjiu.lu@intel.com>
10709 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
10710 (__longjmp): Restore shadow stack pointer if shadow stack is
10711 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10712 isn't defined for __longjmp_cancel.
10713 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
10714 (_setjmp): Save shadow stack pointer if shadow stack is enabled
10715 and SHADOW_STACK_POINTER_OFFSET is defined.
10716 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
10717 (setjmp): Save shadow stack pointer if shadow stack is enabled
10718 and SHADOW_STACK_POINTER_OFFSET is defined.
10719 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
10720 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10721 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10722 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
10724 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10725 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10726 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
10727 Remove jmp_buf-ssp.sym.
10728 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10730 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10731 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10732 * sysdeps/x86/Makefile (gen-as-const-headers): Add
10734 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
10735 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
10736 (__longjmp): Restore shadow stack pointer if shadow stack is
10737 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10738 isn't defined for __longjmp_cancel.
10739 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
10740 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10741 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10743 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
10746 * nptl/pthread_create.c: Include <tls-setup.h>.
10747 (__pthread_create_2_1): Call tls_setup_tcbhead.
10748 * sysdeps/generic/tls-setup.h: New file.
10749 * sysdeps/x86/nptl/tls-setup.h: Likewise.
10750 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
10751 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
10753 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
10755 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10756 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
10757 (X86_FEATURE_1_SHSTK): Likewise.
10758 (CET_ENABLED): Likewise.
10759 (IBT_ENABLED): Likewise.
10760 (SHSTK_ENABLED): Likewise.
10762 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
10765 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
10766 (LOCALES): Likewise.
10767 * localedata/dsb_DE.UTF-8.in: New file.
10768 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
10770 2018-07-12 Florian Weimer <fweimer@redhat.com>
10772 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
10773 __mprotect, not mprotect.
10775 2018-07-11 Florian Weimer <fweimer@redhat.com>
10777 * io/Makefile (headers): Add bits/statx.h.
10779 2018-07-10 Mike FABIAN <mfabian@redhat.com>
10781 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
10782 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
10784 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
10785 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
10788 2018-07-10 Florian Weimer <fweimer@redhat.com>
10790 * io/Makefile (routines): Add statx.
10791 (tests-internal): Add tst-statx.
10792 * io/Versions (GLIBC_2.28): Export statx.
10793 * io/bits/statx.h: New file.
10794 * io/sys/stat.h [__USE_GNU]: Include it.
10795 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
10796 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
10798 * io/statx.c: New file.
10799 * io/statx_generic.: Likewise.
10800 * io/tst-statx.: Likewise.
10801 * include/bits/statx.h: Likewise.
10802 * sysdeps/unix/sysv/linux/kernel-features.h
10803 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
10804 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10805 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
10806 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
10808 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10809 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
10810 * sysdeps/unix/sysv/linux/statx.c: New file.
10811 * manual/filesys.texi: Note that statx is undocumented.
10812 * sysdeps/**/libc*.abilist: Update.
10814 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10816 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
10817 a kernel issue which lead to test failure in some cases.
10819 2018-07-10 Florian Weimer <fweimer@redhat.com>
10822 * posix/regexec.c (check_node_accept_bytes): When comparing
10823 weights, do not compare an extra byte after the end of the
10826 2018-07-10 Florian Weimer <fweimer@redhat.com>
10828 * libio/readline.c: Fix copyright year.
10829 * libio/tst-readline.c Likewise.
10830 * nss/tst-nss-files-hosts-getent.c: Likewise.
10832 2018-07-06 Florian Weimer <fweimer@redhat.com>
10835 * nss/nss_files/files-XXX.c (internal_getent): Use
10836 __libc_readline_unlocked. Seek back to the start of the line if
10837 parsing failes with ERANGE.
10838 (get_contents_ret, get_contents): Remove.
10839 * nss/tst-nss-files-hosts-getent.c: New file.
10840 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10841 (tst-nss-files-hosts-getent): Link with -ldl.
10843 2018-07-06 Florian Weimer <fweimer@redhat.com>
10845 * include/stdio.h (__libc_readline_unlocked): Declare.
10846 (__ftello64, __fseeko64): Declare aliases.
10847 * libio/readline.c: New file.
10848 * libio/tst-readline.c: Likewise.
10849 (routines): Add readline.
10850 (tests-internal): Add tst-readlime.
10851 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10852 __libc_readline_unlocked.
10853 * libio/fseeko.c (__fseeko): Rename from fseeko.
10854 (fseeko): Add alias.
10855 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10856 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10857 (fseeko64): Add alias.
10858 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10859 * libio/ftello64.c (__ftello64): Rename from ftello64.
10860 (ftello64): Add alias.
10862 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10864 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10867 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10869 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10870 Use dl_hwcap without masking.
10871 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10872 Remove HWCAP_CPUID.
10874 2018-07-06 Florian Weimer <fweimer@redhat.com>
10876 * conform/conformtest.pl (checknamespace): Escape literal braces
10877 in regular expressions.
10879 2018-07-06 Amit Pawar <amit.pawar@amd.com>
10881 * sysdeps/x86/cpu-features.c (get_common_indeces):
10882 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10883 * sysdeps/x86/cpu-features.c (init_cpu_features):
10884 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10886 2018-07-05 Florian Weimer <fweimer@redhat.com>
10888 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10890 (CFLAGS-elf-init.oS): Likewise.
10892 2018-07-05 Florian Weimer <fweimer@redhat.com>
10893 Carlos O'Donell <carlos@redhat.com>
10895 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10896 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10897 with stack protector enabled because there is no risk of infinite
10900 2018-07-05 Maciej W. Rozycki <macro@mips.com>
10904 * libc-abis (ABSOLUTE): New ABI.
10905 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10906 * NEWS: Mention the new ABI.
10908 2018-07-05 Florian Weimer <fweimer@redhat.com>
10911 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10912 (RENAME_WHITEOUT): Define.
10913 [__USE_GNU] (renameat2): Declare.
10914 * stdio-common/Makefile (routines): Add renameat2.
10915 (tests): Add tst-renameat2.
10916 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10917 * stdio-common/renameat2.c: New file.
10918 * stdio-common/tst-renameat2.c: Likewise.
10919 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10920 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10922 * sysdeps/unix/sysv/linux/kernel-features.h
10923 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10924 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10925 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10926 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10927 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10928 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10929 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10930 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10931 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10932 * include/stdio.h (__renameat): Add alias for renameat.
10933 * stdio-common/renameat.c (__renameat): Rename from renameat.
10934 Add hidden definition and alias.
10935 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10936 * sysdeps/mach/hurd/renameat.c: Likewise.
10937 * sysdeps/**/libc*.abilist: Add renameat2.
10939 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10941 * posix/bug-regex33.c: Fix build after regex sync.
10943 2018-07-04 Carlos O'Donell <carlos@redhat.com>
10946 * localedata/tst-langinfo-setlocale.c: New file.
10947 * localedata/tst-langinfo-setlocale-static.c: New file.
10948 * localedata/tst-langinfo-newlocale.c: New file.
10949 * localedata/tst-langinfo-newlocale-static.c: New file.
10950 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10951 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10952 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10953 (tests-static): Remove tst-langinfo-static. Add
10954 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10955 (tests-special): Remove $(objpfx)tst-langinfo.out,
10956 $(objpfx)tst-langinfo-static.out. Add
10957 $(objpfx)tst-langinfo-setlocale.out,
10958 $(objpfx)tst-langinfo-newlocale.out,
10959 $(objpfx)tst-langinfo-setlocale-static.out,
10960 $(objpfx)tst-langinfo-newlocale-static.out.
10961 ($(objpfx)tst-langinfo.out): Remove.
10962 ($(objpfx)tst-langinfo-static.out): Remove.
10963 ($(objpfx)tst-langinfo-newlocale.out): New target.
10964 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10965 (test-xfail-tst-langinfo-newlocale-static): Add.
10966 ($(objpfx)tst-langinfo-setlocale.out): New target.
10967 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10968 * localedata/tst-langinfo.c: Call test_locale.
10969 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10972 2018-07-04 Florian Weimer <fweimer@redhat.com>
10974 testrun.sh: Implement --tool=strace, --tool=valgrind
10975 * Makefile (testrun-script): Define variable.
10976 (testrun.sh): Use variable.
10977 * manual/install.texi (Tools for Compilation): make 4.0 or later
10979 * configure.ac: Check for make 4.0 or later.
10980 * INSTALL: Regenerate.
10981 * configure: Likewise.
10983 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10989 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10990 * posix/PCRE.tests: Remove invalid test.
10991 * posix/bug-regex28.c: Fix expected values for used syntax.
10992 * posix/bug-regex37.c: New file.
10993 * posix/bug-regex38.c: Likewise.
10994 * posix/regcomp.c: Sync with gnulib.
10995 * posix/regex.c: Likewise.
10996 * posix/regex.h: Likewise.
10997 * posix/regex_internal.c: Likewise.
10998 * posix/regex_internal.h: Likewise.
10999 * posix/regexec.c: Likewise.
11001 2018-06-26 Mike FABIAN <mfabian@redhat.com>
11004 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11005 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11006 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11007 * localedata/unicode-gen/PropList.txt: likewise.
11008 * localedata/unicode-gen/UnicodeData.txt: likewise.
11009 * localedata/charmaps/UTF-8: Regenerate.
11010 * localedata/locales/i18n_ctype: likewise.
11011 * localedata/locales/tr_TR: likewise.
11012 * localedata/locales/translit_circle: likewise.
11013 * localedata/locales/translit_cjk_compat: likewise.
11014 * localedata/locales/translit_combining: likewise.
11015 * localedata/locales/translit_compat: likewise.
11016 * localedata/locales/translit_font: likewise.
11017 * localedata/locales/translit_fraction: likewise.
11019 2018-07-03 Florian Weimer <fweimer@redhat.com>
11022 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11023 * stdio-common/tst-printf.sh: Adjust expected output.
11024 * LICENSES: Update.
11026 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11028 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11031 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11033 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11034 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11035 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11036 * stdio-common/tst-printfsz-islongdouble.c: New file.
11037 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11038 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11039 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11040 [subdir == stdio-common] (tests-internal): Add
11041 test-printf-size-ieee128, and test-printf-size-ibm128.
11042 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11043 (CFLAGS-test-printf-size-ibm128.c): New variables.
11044 [subdir == stdio-common] (tests-special): Add
11045 $(objpfx)test-printf-size-ieee128.out and
11046 $(objpfx)test-printf-size-ibm128.out.
11047 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11048 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11049 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11050 __printf_sizeieee128.
11051 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11053 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11055 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11058 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11060 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11061 (exp2f_inline): Likewise.
11062 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11063 (__math_uflowf): Likewise.
11064 (__math_may_uflowf): Likewise.
11065 (__math_divzerof): Likewise.
11066 (__math_invalidf): Likewise.
11067 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11068 (__math_oflowf): Likewise.
11069 (__math_uflowf): Likewise.
11070 (__math_may_uflowf): Likewise.
11071 (__math_divzerof): Likewise.
11072 (__math_invalidf): Likewise.
11074 2018-06-29 DJ Delorie <dj@redhat.com>
11075 Carlos O'Donell <carlos@redhat.com>
11078 * include/libc-symbols.h: Comment the freeres framework.
11079 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11080 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11081 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11082 * dlfcn/dlerror.c: Include libc-symbols.h
11083 (__dlerror_main_freeres): New function.
11084 * dlfcn/dlfreeres.c: New file.
11085 * dlfcn/sdlfreeres.c: New file.
11086 * include/dlfcn.h: Declare __dlerror_main_freeres.
11087 * malloc/set-freeres.c: Declare __libdl_freeres, and
11088 __libpthread_freeres.
11089 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11090 the releavant libraries are loaded.
11091 * malloc/thread-freeres.c: Add comments.
11092 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11093 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11094 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11095 (__free_stacks): Rename to...
11096 (free_stacks): ...this. Mark static.
11097 (queue_stack): Call free_stacks.
11098 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11099 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11100 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11101 ptr_freeres element from struct.
11102 (pthread_functions): Remove .ptr_freeres from struct initializer.
11103 [SHARED] (nptl_freeres): Remove.
11104 * nptl/nptlfreeres.c: New file.
11106 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11107 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11109 (__free_stacks): Rename to...
11110 (__nptl_stacks_freeres): ...this.
11111 (__shm_directory_freeres): Declare.
11112 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11113 (__nptl_unwind_freeres): ...this.
11114 * resolv/res-close.c: Add comment.
11115 * resolv/resolv_conf.c: Include libc-symbols.h.
11116 * string/strerror_l.c: Include libc-symbols.h.
11117 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11118 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11119 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11120 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11122 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11124 * stdlib/tst-strfmon_l.c: Add tests for long double.
11126 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
11129 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11130 * localedata/locales/dsb_DE: New file.
11132 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11135 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11137 (alt_mon): New entry, import from CLDR (nominative case).
11139 2018-06-29 Sylvain Lesage <severo@rednegra.net>
11142 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11144 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11146 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11147 Use vector registers.
11149 * sysdeps/aarch64/multiarch/memmove_falkor.S
11150 (__memcpy_falkor): Use vector registers.
11152 2018-06-29 Martin Sebor <msebor@redhat.com>
11154 * manual/stdio.texi (Customizing Printf): Mention interaction
11155 with GCC built-ins.
11157 2018-06-29 Maciej W. Rozycki <macro@mips.com>
11160 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11161 `st_value' is 0 if `st_shndx' is SHN_ABS.
11162 * elf/tst-absolute-zero.c: New file.
11163 * elf/tst-absolute-zero-lib.c: New file.
11164 * elf/tst-absolute-zero-lib.lds: New file.
11165 * elf/Makefile (tests): Add `tst-absolute-zero'.
11166 (modules-names): Add `tst-absolute-zero-lib'.
11167 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11168 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11169 ($(objpfx)tst-absolute-zero: New dependency.
11171 2018-06-29 Zack Weinberg <zackw@panix.com>
11173 * configure.ac: New command-line option --disable-crypt.
11174 Force --disable-nss-crypt when --disable-crypt is given, with a
11175 warning if it was explicitly enabled.
11176 * configure: Regenerate.
11177 * config.make.in: New boolean substitution variable $(build-crypt).
11178 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11179 when $(build-crypt).
11180 * manual/install.texi: Document --disable-crypt.
11181 * INSTALL: Regenerate.
11183 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11184 which is never set.
11185 * conform/Makefile: Only include libcrypt.a in
11186 linknamespace-libs-xsi and linknamespace-libs-XPG4
11187 when $(build-crypt).
11188 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11189 USE_CRYPT to 1 when $(build-crypt).
11190 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11191 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11192 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11194 2018-06-29 Zack Weinberg <zackw@panix.com>
11196 * crypt/crypt.h, posix/unistd.h: Update comments and
11197 prototypes for crypt and crypt_r.
11199 * manual/crypt.texi (Cryptographic Functions): New initial
11201 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11202 (Unpredictable Bytes): Improve initial exposition. Clarify error
11203 behavior of getentropy and getrandom.
11204 * manual/examples/genpass.c: Generate a salt using getentropy
11205 instead of the current time. Use hash $5$ (SHA-2-256).
11206 * manual/examples/testpass.c: Demonstrate validation against
11207 hashes generated with three different one-way functions.
11209 * manual/intro.texi: crypt.texi does not need an overview
11212 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11213 * manual/terminal.texi: Consistently refer to "passphrases"
11214 * instead of "passwords", and to the "user database" instead
11215 * of the "password database".
11216 * manual/users.texi: Similarly. Add notes about how actual
11217 passphrase hashes are now stored in the shadow database.
11218 Remove 20-year-old junk todo note.
11220 2018-06-29 Zack Weinberg <zackw@panix.com>
11222 * manual/crypt.texi: Use a normal top-level @node declaration.
11223 Move most of the introductory text to the 'crypt' section.
11224 Move the example programs below the @deftypefun for 'crypt_r'.
11225 Move the 'getpass' section...
11226 * manual/terminal.texi: ...here.
11228 2018-06-29 Zack Weinberg <zackw@panix.com>
11229 Florian Weimer <fweimer@redhat.com>
11231 * posix/unistd.h: Do not declare encrypt.
11232 (_XOPEN_CRYPT): Remove macro definition.
11233 (crypt): Declare only for _USE_MISC.
11234 * stdlib/stdlib.h: Do not declare setkey.
11235 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11236 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11238 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11239 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11240 into compat symbols. Don't define initial_perm if it's not
11242 * crypt/cert.c: Link explicitly with the expected versions for
11243 setkey and encrypt. If they are not available at all, mark
11244 the test as unsupported.
11246 * sunrpc/des_crypt.c: Unconditionally block linkage with
11247 cbc_crypt and ecb_crypt for new binaries.
11248 * sunrpc/des_soft.c: Unconditionally block linkage with
11249 des_setparity for new binaries.
11251 * manual/crypt.texi: Remove the entire "DES Encryption"
11252 section. Also remove the paragraph talking about FIPS 140-2
11253 from the introduction.
11254 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11255 of libgcrypt for "real" encryption, not DES.
11256 * manual/conf.texi (Constants for Sysconf): Mention that
11257 _XOPEN_CRYPT is no longer impelemented.
11259 * conform/data/unistd.h-data: Remove crypt function declaration.
11261 2018-06-29 Florian Weimer <fweimer@redhat.com>
11264 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11265 (disallow_malloc_check): Remove variable.
11266 (__malloc_check_init): Adjust.
11267 (malloc_set_state): Update comment.
11268 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
11271 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11274 * localedata/locales/ast_ES (mon): Rename to...
11276 (mon): Import from CLDR (genitive case).
11278 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
11279 Jakub Sitnicki <jkbs@redhat.com>
11282 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
11283 on NLM_F_DUMP_INTR.
11285 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11287 * manual/llio.texi: Remove spurious space.
11289 2018-06-28 Florian Weimer <fweimer@redhat.com>
11292 * time/bits/types/struct_timespec.h: Change header inclusion guard to
11295 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11297 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
11298 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
11299 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
11300 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
11301 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
11302 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
11303 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
11305 2018-06-27 Maciej W. Rozycki <macro@mips.com>
11308 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
11309 Copy and null-terminate entries that are not terminated, in
11310 addition to empty ones.
11312 2018-06-27 Florian Weimer <fweimer@redhat.com>
11315 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
11316 (extend_alloca_account): Remove.
11317 * manual/stdio.texi (Variable Arguments Output): Update comment.
11319 2018-06-27 Joseph Myers <joseph@codesourcery.com>
11321 * nptl/sockperf.c: Remove file.
11323 2018-06-27 Florian Weimer <fweimer@redhat.com>
11326 * elf/dl-deps.c (_dl_map_object_deps): Use struct
11327 scratch_buffer instead of extend_alloca.
11329 2018-06-27 Florian Weimer <fweimer@redhat.com>
11332 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
11333 scratch_buffer instead of extend_alloca. Update comments.
11335 2018-06-27 Florian Weimer <fweimer@redhat.com>
11338 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
11339 instead of extend_alloca.
11341 2018-06-26 Joseph Myers <joseph@codesourcery.com>
11344 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
11345 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
11347 * scripts/test-installation.pl: Put temporary files in build
11348 directory, not /tmp.
11349 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
11350 (CFLAGS-bug4.c): Likewise.
11351 (CFLAGS-bug5.c): Likewise.
11352 (CFLAGS-test-fseek.c): Likewise.
11353 (CFLAGS-test-popen.c): Likewise.
11354 (CFLAGS-test_rdwr.c): Likewise.
11355 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
11357 * stdio-common/bug4.c (main): Likewise.
11358 * stdio-common/bug5.c (main): Likewise.
11359 * stdio-common/test-fseek.c (TESTFILE): Likewise.
11360 * stdio-common/test-popen.c (do_test): Likewise.
11361 * stdio-common/test_rdwr.c (main): Likewise.
11363 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
11365 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
11366 (sem_open): Set sem.newsem.pad to zero for valgrind.
11368 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11371 * NEWS: Mention fcntl64 addition.
11372 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
11373 * login/utmp_file.c: Likewise.
11374 * sysdeps/posix/fdopendir.c: Likewise.
11375 * sysdeps/posix/opendir.c: Likewise.
11376 * sysdeps/unix/pt-fcntl.c: Likewise.
11377 * include/fcntl.h (__libc_fcntl64, __fcntl64,
11378 __fcntl64_nocancel_adjusted): New prototype.
11379 (__fcntl_nocancel_adjusted): Remove prototype.
11380 * io/Makefile (routines): Add fcntl64.
11381 (CFLAGS-fcntl64.c): New rule.
11382 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
11383 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
11384 * io/fcntl.h (fcntl64): Add prototype and redirect if
11385 __USE_FILE_OFFSET64 is defined.
11386 * io/fcntl64.c: New file.
11387 * manual/llio.text: Add a note for which commands fcntl acts a
11388 cancellation point.
11389 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11390 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11391 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11393 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11394 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11396 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11397 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11398 to __fcntl64_nocancel.
11399 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11400 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11401 to __fcntl64_nocancel.
11402 * sysdeps/generic/not-cancel.h: Likewise.
11403 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11404 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11405 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11406 (fcntl64): New symbol.
11407 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11408 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11409 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11412 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11413 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11414 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11415 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11416 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11417 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11418 fcntl64): Likewise.
11419 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11420 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11421 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11422 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11423 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11424 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11425 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11426 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11427 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11432 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11433 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11434 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11436 2018-06-26 Florian Weimer <fweimer@redhat.com>
11438 Run thread shutdown functions in an explicit order.
11439 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11441 (__libc_thread_freeres): Call thread shutdown functions
11443 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11444 * include/string.h (__strerror_thread_freeres): Declare.
11445 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11446 arena_thread_freeres. No longer static. Remove thread shutdown
11448 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11450 * resolv/res-close.c (__res_thread_freeres): Renamed from
11451 res_thread_freeres. No longer static. Remove thread shutdown
11453 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11454 * resolv/resolv_conf.c (freeres): Remove incorrect section
11455 attribute and use libc_freeres_fn.
11456 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11457 strerror_thread_freeres. No longer static. Remove thread
11458 shutdown hook registration.
11459 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11460 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
11461 shutdown hook registration.
11462 * Makerules (shlib.lds): Do not provide section boundary symbols
11463 for __libc_thread_subfreeres.
11464 * manual/memory.texi (Basic Allocation): Update comment.
11466 2018-06-26 Florian Weimer <fweimer@redhat.com>
11468 Remove always-defined _RPC_THREAD_SAFE_ macro.
11469 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
11470 Do not define _RPC_THREAD_SAFE_.
11471 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
11473 * sunrpc/clnt_perr.c: Likewise.
11474 * sunrpc/clnt_raw.c: Likewise.
11475 * sunrpc/clnt_simp.c: Likewise.
11476 * sunrpc/key_call.c: Likewise.
11477 * sunrpc/rpc_common.c: Likewise.
11478 * sunrpc/rpc_main.c: Likewise.
11479 * sunrpc/rpc_thread.c: Likewise.
11480 * sunrpc/svc.c: Likewise.
11481 * sunrpc/svc_raw.c: Likewise.
11482 * sunrpc/svc_simple.c: Likewise.
11483 * sumrpc/svcauth_des.c: Likewise.
11485 2018-06-26 Florian Weimer <fweimer@redhat.com>
11487 * libio/Makefile (tests-internal): Add tst-vtables,
11488 tst-vtables-interposed.
11489 * libio/tst-vtables.c: New file.
11490 * libio/tst-vtables-common.c: Likewise.
11491 * libio/tst-vtables-interposed.c: Likewise.
11493 2018-06-26 Florian Weimer <fweimer@redhat.com>
11495 * support/support_test_main.c (support_test_main): Only call
11496 setvbuf if not disables.
11497 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
11498 * support/test-driver.h (struct test_config): Add no_setvbuf member.
11500 2018-06-26 Florian Weimer <fweimer@redhat.com>
11503 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
11505 2018-06-25 Florian Weimer <fweimer@redhat.com>
11508 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11509 Use struct scratch_buffer instead of extend_alloca.
11511 2018-06-25 Florian Weimer <fweimer@redhat.com>
11514 * nss/getent.c (initgroups_keys): Use dynarray instead of
11517 2018-06-25 Florian Weimer <fweimer@redhat.com>
11520 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
11521 Use struct scratch_buffer instead of extend_alloca.
11523 2018-06-25 Florian Weimer <fweimer@redhat.com>
11526 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
11527 back to malloc directly, without stack allocations.
11529 2018-06-25 Florian Weimer <fweimer@redhat.com>
11532 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
11535 2018-06-25 Florian Weimer <fweimer@redhat.com>
11538 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
11540 * nscd/hstcache.c (addhstbyX): Likewise.
11541 * nscd/pwdcache.c (addpwbyX): Likewise.
11542 * nscd/servicescache.c (addservbyX): Likewise.
11544 2018-06-25 Florian Weimer <fweimer@redhat.com>
11547 * nscd/connections.c (read_cmdline): New function.
11548 (restart): Use it. Update comment.
11550 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11553 * localedata/locales/csb_PL (mon): Rename to...
11555 (abmon): Rename to...
11556 (ab_alt_mon): This.
11557 (mon): Add with proper genitive forms, copy from Wikipedia.
11560 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11563 * localedata/locales/csb_PL (mon): Fix typos:
11564 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
11565 (yesstr): Add, value is "jo".
11566 (nostr): Add, value is "nié".
11568 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11570 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
11571 all log1p and significand functions on m680x0.
11572 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
11573 of s_significand.c..
11574 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11575 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
11576 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
11577 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
11578 s_log1p.c and include it..
11580 2018-06-21 Vincent Chen <vincentc@andestech.com>
11582 * elf/elf.h (R_NDS32_NONE): New define.
11583 (R_NDS32_32_RELA): Likewise.
11584 (R_NDS32_COPY): Likewise.
11585 (R_NDS32_GLOB_DAT): Likewise.
11586 (R_NDS32_JUMP_SLOT): Likewise.
11587 (R_NDS32_RELATIVE): Likewise.
11588 (R_NDS32_TLS_TPOFF): Likewise.
11589 (R_NDS32_TLS_DESC): Likewise.
11591 2018-06-21 Mark Wielaard <mark@klomp.org>
11593 * elf/elf.h (R_BPF_MAP_FD): Removed.
11594 (R_BPF_64_64, R_BPF_64_32): New.
11596 2018-06-21 Florian Weimer <fweimer@redhat.com>
11599 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
11600 Renamed from libc_feholdsetround_ctx.
11601 (default_libc_feresetround_ctx): Renamed from
11602 libc_feresetround_ctx.
11603 (default_libc_feholdsetround_noex_ctx): Renamed from
11604 libc_feholdsetround_noex_ctx.
11605 (default_libc_feresetround_noex_ctx): Renamed from
11606 libc_feresetround_noex_ctx.
11607 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
11608 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
11609 forwardning to the old implementations under the new names.
11610 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
11611 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
11612 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
11613 (libc_feresetround_ctx): Forward to default implements for i386
11614 and MATH_SET_BOTH_ROUNDING_MODES.
11615 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
11616 Add -DMATH_SET_BOTH_ROUNDING_MODES.
11618 2018-06-20 Joseph Myers <joseph@codesourcery.com>
11620 * string/tst-cmp.c: Include <libc-diag.h>.
11621 (strncmp_max): Disable -Wstringop-overflow= around call to
11623 (strncasecmp_max): Disable -Wstringop-overflow= around call to
11626 * string/bug-strpbrk1.c: Include <libc-diag.h>.
11627 (main): Disable -Wunused-value around call to strpbrk.
11628 * string/bug-strspn1.c: Include <libc-diag.h>.
11629 (main): Disable -Wunused-value around call to strspn.
11631 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11632 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11634 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
11635 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
11637 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11639 * math/Makefile (libm-calls): Move s_significandF to...
11640 (gen-libm-calls): ... here.
11641 * math/s_significand_template.c: New file.
11642 * math/s_significand.c: Removed.
11643 * math/s_significandf.c: Removed.
11644 * math/s_significandl.c: Removed.
11645 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
11646 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
11648 * math/e_exp2_template.c (declare_mgen_finite_alias,
11649 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
11650 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
11651 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
11653 2018-06-20 Florian Weimer <fweimer@redhat.com>
11655 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
11657 2018-06-19 Joseph Myers <joseph@codesourcery.com>
11660 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
11661 floating-point number to strtod functions rather than possibly
11662 negating result of those functions.
11663 * stdio-common/tst-scanf-round.c: New file.
11664 * stdio-common/Makefile (tests): Add tst-scanf-round.
11665 ($(objpfx)tst-scanf-round): Depend on $(libm).
11667 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11669 * sysdeps/mach/hurd/localplt.data: Move to...
11670 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
11671 R_386_GLOB_DAT like on Linux i386.
11673 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11675 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
11676 (SHM_STAT_ANY): New macro.
11677 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
11678 (SHM_STAT_ANY): Likewise.
11679 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
11680 (SHM_STAT_ANY): Likewise.
11681 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
11682 (SHM_STAT_ANY): Likewise.
11683 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
11684 (SHM_STAT_ANY): Likewise.
11685 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
11686 (SHM_STAT_ANY): Likewise.
11687 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
11688 (SHM_STAT_ANY): Likewise.
11689 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
11690 (SHM_STAT_ANY): Likewise.
11691 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
11692 (SHM_STAT_ANY): Likewise.
11693 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
11694 (SHM_STAT_ANY): Likewise.
11695 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
11696 (SHM_STAT_ANY): Likewise.
11697 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
11698 (SHM_STAT_ANY): Likewise.
11700 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
11701 (SEM_STAT_ANY): New macro.
11702 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
11703 (SEM_STAT_ANY): Likewise.
11704 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
11705 (SEM_STAT_ANY): Likewise.
11706 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
11707 (SEM_STAT_ANY): Likewise.
11708 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
11709 (SEM_STAT_ANY): Likewise.
11710 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
11711 (SEM_STAT_ANY): Likewise.
11712 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
11713 (SEM_STAT_ANY): Likewise.
11714 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
11715 (SEM_STAT_ANY): Likewise.
11716 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
11717 (SEM_STAT_ANY): Likewise.
11718 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
11719 (SEM_STAT_ANY): Likewise.
11721 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
11722 (MSG_STAT_ANY): New macro.
11723 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
11724 (MSG_STAT_ANY): Likewise.
11725 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
11726 (MSG_STAT_ANY): Likewise.
11727 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
11728 (MSG_STAT_ANY): Likewise.
11729 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
11730 (MSG_STAT_ANY): Likewise.
11731 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
11732 (MSG_STAT_ANY): Likewise.
11733 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
11734 (MSG_STAT_ANY): Likewise.
11735 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
11736 (MSG_STAT_ANY): Likewise.
11737 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
11738 (MSG_STAT_ANY): Likewise.
11739 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
11740 (MSG_STAT_ANY): Likewise.
11742 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11743 (MAP_TYPE): Change value to 0x2b.
11745 2018-06-18 Florian Weimer <fweimer@redhat.com>
11748 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
11749 socket with SOCK_CLOEXEC.
11751 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11754 * sysdeps/powerpc/powerpc64/le/Makefile
11755 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
11756 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
11757 (gnulib-tests): Also add $(f128-loader-link) for
11758 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
11760 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11762 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
11763 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
11765 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
11766 (sendfile64): New strong alias.
11767 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
11768 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
11769 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
11770 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
11772 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
11773 ___pthread_get_cleanup_stack.
11774 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
11775 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
11776 * mach/shortcut.awk: Make syscall stubs include
11777 <mach-shortcuts-hidden.h> and add hidden definition.
11778 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
11779 (__mach_msg): Add hidden prototype.
11780 * mach/msg.c: Include <mach.h>.
11781 (__mach_msg): Add hidden definition.
11782 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
11783 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
11784 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
11785 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
11786 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
11787 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
11788 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
11789 prototype and definition.
11790 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
11791 hidden target for _hurd_self_sigstate.
11793 2018-06-15 Joseph Myers <joseph@codesourcery.com>
11796 * stdlib/tst-strtod-nan-sign-main.c: New file.
11797 * stdlib/tst-strtod-nan-sign.c: Likewise.
11798 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
11799 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
11800 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
11801 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
11802 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
11804 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
11807 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
11810 2018-06-14 Florian Weimer <fweimer@redhat.com>
11813 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
11814 that the result stays within the ISO-8859-1 range.
11815 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
11816 characters are defined in IBM273.
11818 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11820 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
11821 __mach_task_self): Remove attribute_hidden.
11823 2018-06-14 Joseph Myers <joseph@codesourcery.com>
11825 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11826 ignore -Wrestrict for one test.
11828 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11829 Szabolcs Nagy <szabolcs.nagy@arm.com>
11831 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11833 2018-06-14 Florian Weimer <fweimer@redhat.com>
11835 * scripts/update-abilist.sh: Accept empty list of files to patch.
11837 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11839 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11840 test-xfail-check-abi-libmachuser): Add.
11841 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11842 __libc_read and __libc_write to __read and __write.
11843 * sysdeps/hurd/include/hurd/port.h: New file.
11844 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11845 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11846 __thread_switch, __evc_wait): Move declarations to...
11847 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11849 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11850 use PLT to call _hurd_self_sigstate.
11852 2018-06-13 Joseph Myers <joseph@codesourcery.com>
11855 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11856 MAX_EXP as overflowing.
11857 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11859 (round_str): Output also whether result overflows in each rounding
11861 * stdlib/tst-strtod-round-data: Add more tests.
11862 * stdlib/tst-strtod-round-data.h: Regenerated.
11863 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11864 (TEST): Handle extra arguments for overflow flags.
11865 (struct test_overflow): New type.
11866 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11867 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11868 (test_in_one_mode): Take argument with overflow information.
11869 (do_test): Update calls to test_in_one_mode.
11871 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11873 * elf/dl-load (_dl_dst_substitute): Correct comment.
11874 (_dl_dst_count): Likewise.
11876 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11877 lll_futex_timed_wait.
11879 2018-06-12 Joseph Myers <joseph@codesourcery.com>
11882 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11884 * math/test-nan-const.c: New file.
11885 * math/Makefile (tests): Add test-nan-const.
11886 (CFLAGS-test-nan-const.c): New variable.
11888 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11890 * benchtests/scripts/compare_strings.py (process_results): Add
11891 funcs argument. Compare only functions which are selected.
11892 (main): Check if base function is among selected functions.
11893 Pass selected functions to process_results.
11894 (__main__): Add -f/--functions argument.
11896 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11897 Hongbo Zhang <hongbo.zhang@linaro.org>
11899 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11900 __memcpy_falkor for phecda core.
11901 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11902 __memmove_falkor for phecda core.
11903 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11904 __memset_falkor for phecda core.
11905 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11907 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11908 macro to identify phecda core.
11910 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11911 Andreas Schwab <schwab@suse.de>
11912 Dmitry V. Levin <ldv@altlinux.org>
11913 Florian Weimer <fweimer@redhat.com>
11920 * elf/dl-dst.h: Remove DL_DST_COUNT.
11921 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11922 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11923 (is_dst): Comment. Support ELF gABI.
11924 (_dl_dst_count): Comment. Simplify and count DSTs.
11925 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11926 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11929 2018-06-12 Zack Weinberg <zackw@panix.com>
11931 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11932 * sysdeps/unix/sysv/linux/dl-sysdep.c
11933 Include not-cancel.h. Use __close_nocancel instead of __close,
11934 __open64_nocancel instead of __open, __read_nocancel instead of
11935 __libc_read, and __write_nocancel instead of __libc_write.
11937 * csu/check_fds.c (check_one_fd)
11938 * sysdeps/posix/fdopendir.c (__fdopendir)
11939 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
11940 instead of __fcntl and/or __libc_fcntl.
11942 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11943 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
11944 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
11945 Use __open64_nocancel instead of __open_nocancel.
11947 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11948 hidden_proto declarations to the end and issue them if either
11949 IS_IN(libc) or IS_IN(rtld).
11950 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11951 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11952 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11953 read_nocancel, waitpid_nocancel, write_nocancel.
11955 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11956 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11957 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
11959 * nptl/pt-fcntl.c: New file.
11960 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11961 (libpthread-routines): Add pt-fcntl.
11962 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11963 (__libc_fcntl): Remove attribute_hidden.
11964 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11965 __fcntl_nocancel_adjusted, not fcntl_common.
11966 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
11967 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11968 to fcntl_nocancel.c.
11969 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11972 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11974 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11975 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11976 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11977 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11978 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11979 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11980 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11981 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11982 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11983 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11984 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11985 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11986 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11987 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11988 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11989 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11990 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11991 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11992 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11993 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11995 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11996 libpthread-routines.
11997 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12000 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12001 __libc_read, and __write instead of __libc_write. Define
12002 __open64 in addition to __open.
12004 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12008 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12009 to _private_tm[3] and add __glibc_reserved2.
12010 Add _Static_assert of offset of __private_ss == 0x30.
12011 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12012 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12014 2018-06-12 Florian Weimer <fweimer@redhat.com>
12016 x86: Make strncmp usable from rtld.
12017 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12018 __strncmp_ia32 if in libc (and not in rtld).
12019 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12020 strncmp if not in libc (and not to __strncmp_sse2).
12022 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12025 * localedata/locales/gd_GB (mon): Rename to...
12027 (mon): Import from CLDR (genitive case).
12028 * localedata/locales/hsb_DE (mon): Rename to...
12030 (mon): Import from CLDR (genitive case).
12031 * localedata/locales/wa_BE (mon): Rename to...
12033 (mon): Add, fill with the proper genitive forms, but CLDR data
12034 is incomplete; completed according to the comments in this file.
12035 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12037 * localedata/locales/wa_BE (country_name): Reword
12038 "Beljike" -> "Beldjike".
12040 2018-06-11 Joseph Myers <joseph@codesourcery.com>
12043 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12044 cases of non-finite arguments.
12045 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12047 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
12050 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12052 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12055 * include/unistd.h (__execvpex): New prototype.
12056 * posix/Makefile (tests): Add tst-spawn4.
12057 (tests-internal): Add tst-spawn4-compat.
12058 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12059 * posix/tst-spawn4-compat.c: New file.
12060 * posix/tst-spawn4.c: Likewise.
12061 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12062 binaries as shell scripts.
12063 * sysdeps/posix/spawni.c (__spawni): Likewise.
12065 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12068 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12069 ($(all-built-dso:=.dynsym): New target.
12070 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12071 ($(objpfx)check-initfini.out): New target.
12072 (generated): Add check-initfini.out.
12073 * scripts/check-initfini.awk: New file.
12074 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12076 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12078 * sysdeps/arm/crti.S (_init): Mark as hidden.
12080 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12082 * sysdeps/i386/crti.S (_init): Mark as hidden.
12084 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12086 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12088 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12090 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12092 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12094 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12096 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12098 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12100 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12102 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12104 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12106 * sysdeps/sh/crti.S (_init): Mark as hidden.
12108 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12110 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12113 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12115 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12116 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12117 and TF redirection to KFtype and KF only when the default
12118 long double type is not the IEEE 128-bit floating point type.
12120 2018-06-05 Joseph Myers <joseph@codesourcery.com>
12122 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12124 (HWCAP_USCAT): Likewise.
12125 (HWCAP_ILRCPC): Likewise.
12126 (HWCAP_FLAGM): Likewise.
12127 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12129 (_dl_aarch64_cap_flags): Add new flag names.
12131 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12132 (MAP_FIXED_NOREPLACE): New macro.
12133 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12134 (MAP_FIXED_NOREPLACE): Likewise.
12135 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12136 (MAP_FIXED_NOREPLACE): Likewise.
12137 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12138 (MAP_FIXED_NOREPLACE): Likewise.
12139 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12140 (MAP_FIXED_NOREPLACE): Likewise.
12141 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12142 (MAP_FIXED_NOREPLACE): Likewise.
12143 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12144 (MAP_FIXED_NOREPLACE): Likewise.
12145 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12146 (MAP_FIXED_NOREPLACE): Likewise.
12147 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12148 (MAP_FIXED_NOREPLACE): Likewise.
12149 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12150 (MAP_FIXED_NOREPLACE): Likewise.
12151 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12152 (MAP_FIXED_NOREPLACE): Likewise.
12153 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12154 (MAP_FIXED_NOREPLACE): Likewise.
12155 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12156 (MAP_FIXED_NOREPLACE): Likewise.
12157 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12158 (MAP_FIXED_NOREPLACE): Likewise.
12159 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12160 (MAP_FIXED_NOREPLACE): Likewise.
12162 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12165 2018-06-04 Joseph Myers <joseph@codesourcery.com>
12167 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12170 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12172 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12174 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12176 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12178 * benchtests/scripts/compare_string.py: (process_results) Catch
12179 exception in non-existent base_func and catch exception in
12180 non-existent attribute.
12181 (parse_file) Catch exception if input file does not exist.
12183 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12185 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12186 options to avoid diff calculation and omit header, respectively.
12187 (main): process --no-diff and --no-header
12189 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12190 H.J. Lu <hongjiu.lu@intel.com>
12192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12193 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12195 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12196 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12197 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12198 and __wcsncmp_sse2.
12199 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12200 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12201 AVX unaligned load is fast and vzeroupper is preferred.
12202 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12203 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12204 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12205 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12206 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12207 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12208 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12209 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12210 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12211 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12214 2018-06-01 Florian Weimer <fweimer@redhat.com>
12216 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12217 configuring with --disable-multi-arch, building with
12218 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12221 2018-06-01 Florian Weimer <fweimer@redhat.com>
12223 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12224 results from building with “-march=x86-64 -mtune=generic
12225 -mfpmath=sse” and running on a Haswell-era CPU.
12227 2018-06-01 Joseph Myers <joseph@codesourcery.com>
12230 * soft-fp/sqrttf2.c: Remove file.
12231 * soft-fp/sqrtdf2.c: Move to ....
12232 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12234 (__sqrtdf2): Make conditional on
12235 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12237 * soft-fp/sqrtsf2.c: Move to ....
12238 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12240 (__sqrtsf2): Make conditional on
12241 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12243 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12244 (gcc-double-routines): Remove sqrtdf2.
12245 (gcc-quad-routines): Remove sqrttf2.
12246 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12247 Do not filter out sqrtsf2 and sqrtdf2.
12248 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12249 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12251 2018-06-01 Florian Weimer <fweimer@redhat.com>
12253 * sysdeps/generic/libcidn.abilist: Remove file.
12255 2018-06-01 Florian Weimer <fweimer@redhat.com>
12258 * libio/strfile.h (struct _IO_str_fields): Rename members to
12259 discourage their use and add comment.
12260 (_IO_STR_DYNAMIC): Remove unused macro.
12261 * libio/strops.c (_IO_str_init_static_internal): Do not use
12262 callback pointers. Call malloc and free.
12263 (_IO_str_overflow): Do not use callback pointers. Call malloc
12265 (enlarge_userbuf): Likewise.
12266 (_IO_str_finish): Call free.
12267 * libio/wstrops.c (_IO_wstr_init_static): Initialize
12268 _allocate_buffer_unused.
12269 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
12271 (enlarge_userbuf): Likewise.
12272 (_IO_wstr_finish): Call free.
12273 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
12274 _allocate_buffer_unused, _free_buffer_unused.
12275 * libio/memstream.c (__open_memstream): Likewise.
12276 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12277 * libio/wmemstream.c (open_wmemstream): Likewise.
12279 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12281 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
12284 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12286 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
12287 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
12288 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
12290 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
12292 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
12294 2018-05-29 Florian Weimer <fweimer@redhat.com>
12296 * support/Makefile (libsupport-routines): Add
12297 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
12298 xpthread_barrierattr_setpshared.
12299 * support/xpthread_barrierattr_destroy.c: New file.
12300 * support/xpthread_barrierattr_init.c: Likewise.
12301 * support/xpthread_barrierattr_setpshared.c: Likewise.
12303 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
12306 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
12307 _r_debug and update DT_DEBUG for debugger.
12309 2018-05-29 Florian Weimer <fweimer@redhat.com>
12311 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
12312 (tst-strtod5i.out): Likewise.
12314 2018-05-25 Joseph Myers <joseph@codesourcery.com>
12316 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
12317 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
12318 (sparc64-quad-routines): New variable. Moved from ....
12319 [$(subdir) = soft-fp] (sysdep_routines): Add
12320 $(sparc64-quad-routines). Moved from ....
12321 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
12322 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
12323 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
12325 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
12326 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
12327 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
12328 * sysdeps/sparc/sparc64/qp_add.c: ... here.
12329 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
12330 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
12331 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
12332 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
12333 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
12334 * sysdeps/sparc/sparc64/qp_div.c: ... here.
12335 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
12336 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
12337 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
12338 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
12339 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
12340 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
12341 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
12342 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
12343 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
12344 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
12345 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
12346 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
12347 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
12348 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
12349 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
12350 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
12351 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
12352 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
12353 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
12354 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
12355 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
12356 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
12357 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
12358 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
12359 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
12360 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
12361 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
12362 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
12363 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
12364 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
12365 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
12366 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
12367 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
12368 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
12369 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
12370 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
12371 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
12372 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
12373 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
12374 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
12375 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
12376 * sysdeps/sparc/sparc64/qp_util.c: ... here.
12377 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
12378 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
12379 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
12380 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
12381 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
12382 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
12384 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12385 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12386 (sparc32-quad-routines): New variable. Moved from ....
12387 [$(subdir) = soft-fp] (sysdep_routines): Add
12388 $(sparc32-quad-routines). Moved from ....
12389 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12390 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12392 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12393 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12394 * sysdeps/sparc/sparc32/q_add.c: ... here.
12395 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12396 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12397 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12398 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12399 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12400 * sysdeps/sparc/sparc32/q_div.c: ... here.
12401 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12402 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12403 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12404 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12405 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12406 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12407 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12408 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12409 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12410 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12411 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12412 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12413 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12414 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12415 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12416 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12417 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12418 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12419 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12420 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12421 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12422 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12423 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12424 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12425 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12426 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12427 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12428 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12429 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12430 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12431 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12432 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12433 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12434 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12435 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12436 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12437 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12438 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12439 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12440 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12441 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12442 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12443 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12444 * sysdeps/sparc/sparc32/q_util.c: ... here.
12445 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12446 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12447 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12448 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12450 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12451 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12453 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12454 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12455 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12456 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12458 2018-05-24 Joseph Myers <joseph@codesourcery.com>
12460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
12462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12464 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
12465 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
12467 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12470 * math/math.h [C++] (iseqsig): Fix parameter type for the long
12473 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12475 * sysdeps/sh/Implies: Remove sh/soft-fp.
12476 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
12477 * sysdeps/sh/sfp-machine.h: ... here.
12479 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12481 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12482 (__mempcpy_erms): Skip zero length.
12483 (__memmove_erms): Likewise.
12484 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12485 (__memset_erms): Likewise.
12487 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12489 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
12490 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12491 Add functions moved from ....
12492 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
12493 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
12494 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
12496 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
12497 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
12498 * sysdeps/alpha/e_sqrtl.c: ... here.
12499 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
12500 * sysdeps/alpha/local-soft-fp.h: ... here.
12501 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
12502 * sysdeps/alpha/ots_add.c: ... here.
12503 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
12504 * sysdeps/alpha/ots_cmp.c: ... here.
12505 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
12506 * sysdeps/alpha/ots_cmpe.c: ... here.
12507 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
12508 * sysdeps/alpha/ots_cvtqux.c: ... here.
12509 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
12510 * sysdeps/alpha/ots_cvtqx.c: ... here.
12511 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
12512 * sysdeps/alpha/ots_cvttx.c: ... here.
12513 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
12514 * sysdeps/alpha/ots_cvtxq.c: ... here.
12515 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
12516 * sysdeps/alpha/ots_cvtxt.c: ... here.
12517 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
12518 * sysdeps/alpha/ots_div.c: ... here.
12519 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
12520 * sysdeps/alpha/ots_mul.c: ... here.
12521 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
12522 * sysdeps/alpha/ots_nintxq.c: ... here.
12523 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
12524 * sysdeps/alpha/ots_sub.c: ... here.
12525 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
12526 * sysdeps/alpha/sfp-machine.h: ... here.
12528 2018-05-23 Florian Weimer <fweimer@redhat.com>
12536 Switch to extern IDNA implementation (libidn2).
12537 * libidn: Remove subdirectory.
12538 * LICENSES: Do not mention licensing conditions for the removed
12540 * config.h.in (HAVE_LIBIDN): Remove.
12541 * include/dlfcn.h (__libc_dlopen): Update comment.
12542 * include/idna.h: Remove file.
12543 * inet/Makefile (routines): Add idna.
12544 (tests-static, tests-internal): Add tst-idna_name_classify.
12545 (LOCALES): Generate locales for tests.
12546 (tst-idna_name_classify.out): Depend on generated locales.
12547 * inet/idna_name_classify.c: New file.
12548 * inet/tst-idna_name_classify.c: Likewise.
12549 * inet/net-internal.h (__idna_to_dns_encoding)
12550 (__idna_from_dns_encoding): Declare.
12551 * inet/net-internal.h (enum idna_name_classification): Define.
12552 (__idna_name_classify): Declare.
12553 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
12554 __idna_from_dns_encoding.
12555 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
12556 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
12557 name as a fallback in case of encoding errors.
12558 (getnameinfo): Use DEPRECATED_NI_IDN.
12559 * inet/idna.c: New file.
12560 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
12561 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
12562 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
12563 (modules-names): Add tst-no-libidn2.
12564 (extra-test-objs): Add tst-no-libidn2.os.
12565 (LDFLAGS-tst-no-libidn2.so): Set soname.
12566 (LOCALES): Set, and generate locales.
12567 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
12568 (tst-resolv-ai_idn-latin1): Likewise.
12569 (tst-resolv-ai_idn-nolibidn2): Likewise.
12570 (tst-resolv-ai_idn.out): Depend on locales.
12571 (tst-resolv-ai_idn-latin1.out): Depend on locales.
12572 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
12574 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
12575 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
12576 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
12577 * resolv/tst-resolv-ai_idn.c: New file.
12578 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
12579 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
12580 * resolv/tst-no-libidn2.c: Likewise.
12581 * support/support_format_addrinfo.c (format_ai_flags): Do not
12582 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
12583 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
12584 (gaih_inet): Call __idna_to_dns_encoding and
12585 __idna_from_dns_encoding, and use the original (punycode) name if
12586 __idna_from_dns_encoding fails due to an encoding error.
12587 (getaddrinfo): Use DEPRECATED_AI_IDN.
12588 * sysdeps/unix/inet/Subdirs (libidn): Remove.
12589 * sysdeps/unix/inet/configure: Remove file.
12590 * sysdeps/unix/inet/configure.ac: Likewise.
12592 2018-05-23 Florian Weimer <fweimer@redhat.com>
12594 Implement allocate_once.
12595 * include/allocate_once.h: New file.
12596 * misc/allocate_once.c: Likewise.
12597 * misc/tst-allocate_once.c: Likewise.
12598 * misc/Makefile (routines): Add allocate_once.
12599 (tests-internal): Add tst-allocate_once.
12600 (generated): Add tst-allocate_once.mtrace,
12601 tst-allocate_once-mem.out.
12602 (tests-special): Add tst-allocate_once-mem.out.
12603 (tst-allocate_once-ENV): Set MALLOC_TRACE.
12604 (tst-allocate_once-mem.out): Call mtrace.
12605 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
12607 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12610 * string/test-memcpy.c (do_test1): New function.
12611 (test_main): Call it.
12613 2018-05-23 Andreas Schwab <schwab@suse.de>
12617 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
12618 (L(preloop_large)): Save initial destination pointer in %r11 and
12619 use it instead of %rax after the loop.
12620 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
12622 2018-05-22 Joseph Myers <joseph@codesourcery.com>
12624 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
12625 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
12626 -I../soft-fp. Moved from ....
12627 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
12628 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
12629 * sysdeps/aarch64/e_sqrtl.c: ... here.
12630 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
12631 * sysdeps/aarch64/sfp-machine.h: ... here.
12633 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
12634 -Wmaybe-uninitialized around access to fq[0].
12635 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12639 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
12640 aliases for non-libc case of versioned symbols.
12641 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
12642 (llseek): Define as compat symbol if
12643 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
12645 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
12646 Make into a compat symbol, disabled for minimum symbol version
12647 GLIBC_2.28 and later.
12648 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
12650 2018-05-22 Florian Weimer <fweimer@redhat.com>
12652 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
12653 not add -mpreferred-stack-boundary=4.
12654 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
12655 (stack-align-test-flags): Likewise.
12656 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
12658 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
12659 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
12660 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
12661 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
12662 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
12663 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
12664 (CFLAGS-tst-align2.c): Likewise.
12666 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12668 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
12669 (index_arch_Prefer_FSRM): Likewise.
12670 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12671 Also check Prefer_FSRM.
12672 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
12673 Also return OPTIMIZE (erms) for Prefer_FSRM.
12675 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12677 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
12678 (index_cpu_FSRM): Likewise.
12679 (reg_FSRM): Likewise.
12681 2018-05-18 Joseph Myers <joseph@codesourcery.com>
12683 * math/gen-tgmath-tests.py: Import sys.
12684 (Tests.__init__): Initialize macros_seen.
12685 (Tests.add_tests): Add macro to macros_seen. Only generate tests
12686 if requested to do so for this macro.
12687 (Tests.add_all_tests): Take argument for macro for which to
12689 (Tests.check_macro_list): New function.
12690 (main): Handle check-list argument and argument specifying macro
12691 for which to generate tests.
12692 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
12693 [PYTHON] (tgmath3-macro-tests): Likewise.
12694 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
12695 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
12696 not test-tgmath3.c.
12697 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
12698 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
12700 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
12701 [PYTHON] ($(foreach
12702 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
12704 [PYTHON] (tests-special): Add
12705 $(objpfx)test-tgmath3-macro-list.out.
12706 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
12708 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
12709 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
12713 * time/tzset.c (SECSPERDAY): Cast to time_t.
12714 * time/tst-y2039.c: New file.
12715 * time/Makefile (tests): Add tst-y2039.
12717 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12719 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12720 (PREFETCH_ONE_SET): Remove duplicate line.
12722 2018-05-17 Florian Weimer <fweimer@redhat.com>
12724 * sysdeps/generic/math-type-macros-double.h: Include
12725 <math-nan-payload-double.h> after <libm-alias-double.h>.
12726 * sysdeps/generic/math-type-macros-float.h: Include
12727 <math-nan-payload-float.h> after <libm-alias-float.h>.
12728 * sysdeps/generic/math-type-macros-float128.h: Include
12729 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
12730 * sysdeps/generic/math-type-macros-ldouble.h: Include
12731 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
12733 2018-05-17 Andreas Schwab <schwab@suse.de>
12735 * resolv/res_send.c (__res_context_send): Don't set errno when
12736 returing error after malloc failure.
12738 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
12740 * nptl/allocatestack.c (allocate_stack): Remove the
12741 !__ASSUME_PRIVATE_FUTEX paths.
12742 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
12743 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12745 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
12746 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12747 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12748 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12749 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
12750 !__ASSUME_PRIVATE_FUTEX path.
12751 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
12752 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
12753 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12754 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
12755 !__ASSUME_PRIVATE_FUTEX macros.
12756 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12757 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12758 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12759 * sysdeps/unix/sysv/linux/kernel-features.h
12760 (__ASSUME_PRIVATE_FUTEX): Removed.
12762 2018-05-17 Joseph Myers <joseph@codesourcery.com>
12764 * math/Makefile (libm-narrow-fns): Add div.
12765 (libm-test-funcs-narrow): Likewise.
12766 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
12767 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
12768 * math/gen-auto-libm-tests.c (test_functions): Add div.
12769 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
12770 (NARROW_DIV_ROUND_TO_ODD): Likewise.
12771 (NARROW_DIV_TRIVIAL): Likewise.
12772 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
12774 (__ddivl): Likewise.
12775 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
12777 (CFLAGS-nldbl-ddiv.c): New variable.
12778 (CFLAGS-nldbl-fdiv.c): Likewise.
12779 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12781 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
12783 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
12784 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
12785 * math/auto-libm-test-in: Add tests of div.
12786 * math/auto-libm-test-out-narrow-div: New generated file.
12787 * math/libm-test-narrow-div.inc: New file.
12788 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
12789 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
12790 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
12791 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
12792 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
12793 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
12794 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
12795 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
12796 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
12797 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
12798 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
12799 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
12800 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
12801 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
12802 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
12803 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
12804 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
12805 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
12806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12807 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12808 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12809 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12810 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12811 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12812 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12813 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12814 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12815 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12816 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12817 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12818 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12819 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12824 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12825 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12826 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12827 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12828 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12829 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12830 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12831 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12833 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12836 * nscd/nscd-client.h (sendfileall): Remove prototype.
12837 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12838 (handle_request): Use writeall instead of sendfileall.
12839 * nscd/aicache.c (addhstaiX): Likewise.
12840 * nscd/grpcache.c (cache_addgr): Likewise.
12841 * nscd/hstcache.c (cache_addhst): Likewise.
12842 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12843 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12844 * nscd/pwdcache.c (cache_addpw): Likewise.
12845 * nscd/servicescache.c (cache_addserv): Likewise.
12846 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12847 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12848 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12851 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12853 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12854 Include <string/strncat.c>.
12855 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12857 (__GI___strncat): New hidden alias.
12859 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12861 * sysdeps/mips/mips32/libm-test-ulps: Update.
12862 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12864 2018-05-16 Florian Weimer <fweimer@redhat.com>
12866 * support/Makefile (libsupport-routines): Add support_quote_blob,
12867 support_test_compare_blob.
12868 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12869 * support/check.h (TEST_COMPARE_BLOB): Define.
12870 (support_test_compare_blob): Declare.
12871 * support/support.h (support_quote_blob): Declare.
12872 * support/support_quote_blob.c: New file.
12873 * support/support_test_compare_blob.c: Likewise.
12874 * support/tst-support_quote_blob.c: Likewise.
12875 * support/tst-test_compare_blob.c: Likewise.
12877 2018-05-16 Florian Weimer <fweimer@redhat.com>
12879 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12880 of <strtod_nan_double.h>.
12881 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12882 instead of SET_MANTISSA.
12883 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12884 of include <strtod_nan_float.h>.
12885 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12886 instead of <strtod_nan_ldouble.h>.
12887 * stdlib/strtod_nan_double.h: Move to ...
12888 * sysdeps/generic/math-nan-payload-double.h: ... here.
12889 (FLOAT): Remove definition.
12890 (SET_MANTISSA): Rename to ...
12891 (SET_NAN_PAYLOAD): ... this.
12892 * stdlib/strtod_nan_float.h: Move to ...
12893 * sysdeps/generic/math-nan-payload-float.h: ... here.
12894 (FLOAT): Remove definition.
12895 (SET_MANTISSA): Rename to ...
12896 (SET_NAN_PAYLOAD): ... this.
12897 * sysdeps/generic/math-type-macros-double.h: Include
12898 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12899 instead of <math-svid-compat.h>.
12900 * sysdeps/generic/math-type-macros-float.h: Include
12901 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12902 instead of <math-svid-compat.h>.
12903 * sysdeps/generic/math-type-macros-float128.h: Include
12904 <math-nan-payload-float128.h>.
12905 * sysdeps/generic/math-type-macros-ldouble.h: Include
12906 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12907 instead of <math-svid-compat.h>.
12908 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12909 check for definition.
12910 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12911 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12912 Include <ieee754_float128.h>.
12913 (FLOAT): Remove definition.
12914 (SET_MANTISSA): Rename to ...
12915 (SET_NAN_PAYLOAD): ... this.
12916 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12917 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12918 Do not include <float128_private.h>.
12919 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12920 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12921 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12922 (FLOAT): Remove definition.
12923 (SET_MANTISSA): Rename to ...
12924 (SET_NAN_PAYLOAD): ... this.
12925 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12926 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12927 (FLOAT): Remove definition.
12928 (SET_MANTISSA): Rename to ...
12929 (SET_NAN_PAYLOAD): ... this.
12930 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12931 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12932 (FLOAT): Remove definition.
12933 (SET_MANTISSA): Rename to ...
12934 (SET_NAN_PAYLOAD): ... this.
12935 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12936 of "../stdlib/strtod_nan_double.h".
12937 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12938 of "../stdlib/strtod_nan_float.h".
12939 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12940 instead of "../stdlib/strtod_nan_ldouble.h".
12941 * manual/arith.texi (Parsing of Floats): Adjust comment.
12943 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12945 * math/Makefile (libm-narrow-fns): Add mul.
12946 (libm-test-funcs-narrow): Likewise.
12947 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12948 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12949 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12950 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12951 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12952 (NARROW_MUL_TRIVIAL): Likewise.
12953 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12954 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12956 (__dmull): Likewise.
12957 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12959 (CFLAGS-nldbl-dmul.c): New variable.
12960 (CFLAGS-nldbl-fmul.c): Likewise.
12961 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12963 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12965 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12966 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12967 * math/auto-libm-test-in: Add tests of mul.
12968 * math/auto-libm-test-out-narrow-mul: New generated file.
12969 * math/libm-test-narrow-mul.inc: New file.
12970 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12971 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12972 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12973 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12974 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12975 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12976 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12977 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12978 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12979 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12980 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12981 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12982 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12983 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12984 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12985 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12986 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12987 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12989 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12990 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12991 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12992 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12993 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12994 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12995 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12996 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12997 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12998 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12999 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13000 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13001 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13006 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13007 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13008 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13009 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13010 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13011 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13012 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13013 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13015 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13017 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13018 with *%eax in call.
13020 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13022 * sysdeps/i386/ldsodefs.h: Removed.
13023 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13024 * sysdeps/x86/ldsodefs.h: This.
13025 (La_i86_regs): New.
13026 (La_i86_retval): Likewise.
13027 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13028 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13030 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13032 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13035 2018-05-13 Alan Modra <amodra@gmail.com>
13037 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13038 R_PARISC_TLS_DTPOFF32 reloc addend.
13040 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13042 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13043 * math/math.h: Restrict the prototype definition for the functions
13044 issignaling(_Float128) and iszero(_Float128); and template
13045 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13046 __HAVE_FLOAT128_UNLIKE_LDBL.
13047 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13048 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13049 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13050 __f128() constants; define the type _Float128 as long double;
13051 and reuse long double in __CFLOAT128.
13053 2018-05-11 Joseph Myers <joseph@codesourcery.com>
13055 * sysdeps/generic/math_private.h: Do not include
13057 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13059 * math/fromfp.h: Include <math-barriers.h>.
13060 * math/math-narrow.h: Likewise.
13061 * math/s_nextafter.c: Likewise.
13062 * math/s_nexttowardf.c: Likewise.
13063 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13064 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13065 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13066 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13067 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13068 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13069 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13070 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13071 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13072 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13073 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13074 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13075 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13076 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13077 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13078 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13079 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13080 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13081 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13082 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13083 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13084 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13085 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13086 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13087 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13088 * sysdeps/ieee754/k_standardl.c: Likewise.
13089 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13090 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13091 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13092 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13093 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13094 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13095 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13096 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13097 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13098 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13099 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13100 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13101 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13102 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13103 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13104 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13105 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13106 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13107 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13108 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13109 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13110 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13112 2018-05-11 Florian Weimer <fweimer@redhat.com>
13114 Use 64-bit epoch values in the time zone file parser.
13115 * include/time.h (internal_time_t): Define.
13116 (__tzfile_compute): Use it.
13117 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13119 (transitions): Switch to internal_time_t.
13120 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13122 (__tzfile_compute): Use internal_time_t for timer argument. Check
13123 for truncation before calling __offtime.
13125 2018-05-11 Florian Weimer <fweimer@redhat.com>
13128 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13129 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13131 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13132 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13133 export without --enable-obsolete-rpc.
13134 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13135 symbol. This should not have been exported, ever.
13137 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13140 * localedata/locales/gd_GB (abmon): Fix typo in May:
13141 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13143 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13145 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13146 Use multiple registers to copy data in loop tail.
13148 * sysdeps/aarch64/multiarch/memmove_falkor.S
13149 (__memmove_falkor): Use multiple registers to move data in
13152 2018-05-10 Joseph Myers <joseph@codesourcery.com>
13154 * math/math-underflow.h: New file.
13155 * sysdeps/generic/math_private.h: Do not include <float.h>.
13156 (fabs_tg): Remove macro. Moved to math-underflow.h.
13157 (min_of_type_f): Likewise.
13158 (min_of_type_): Likewise.
13159 (min_of_type_l): Likewise.
13160 (min_of_type_f128): Likewise.
13161 (min_of_type): Likewise.
13162 (math_check_force_underflow): Likewise.
13163 (math_check_force_underflow_nonneg): Likewise.
13164 (math_check_force_underflow_complex): Likewise.
13165 * math/e_exp2_template.c: Include <math-underflow.h>.
13166 * math/k_casinh_template.c: Likewise.
13167 * math/s_catan_template.c: Likewise.
13168 * math/s_catanh_template.c: Likewise.
13169 * math/s_ccosh_template.c: Likewise.
13170 * math/s_cexp_template.c: Likewise.
13171 * math/s_clog10_template.c: Likewise.
13172 * math/s_clog_template.c: Likewise.
13173 * math/s_csin_template.c: Likewise.
13174 * math/s_csinh_template.c: Likewise.
13175 * math/s_csqrt_template.c: Likewise.
13176 * math/s_ctan_template.c: Likewise.
13177 * math/s_ctanh_template.c: Likewise.
13178 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13179 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13180 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13181 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13182 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13183 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13184 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13185 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13186 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13187 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13188 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13189 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13190 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13191 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13192 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13193 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13194 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13195 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13196 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13197 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13198 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13199 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13200 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13201 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13202 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13203 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13204 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13205 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13206 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13207 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13208 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13209 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13210 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13211 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13212 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13213 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13214 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13215 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13216 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13217 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13218 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13219 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13220 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13221 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13222 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13223 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13224 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13225 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13226 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13227 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13228 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13229 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13230 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13231 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13232 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13233 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13234 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13235 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13236 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13237 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13238 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13239 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13240 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13241 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13242 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13243 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13244 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13245 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13246 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13247 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13248 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13249 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13250 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13251 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13252 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13253 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13254 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13255 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13256 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13257 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13258 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13259 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13260 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13261 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13263 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13265 * sysdeps/generic/math-barriers.h: New file.
13266 * sysdeps/generic/math_private.h [!math_opt_barrier]
13267 (math_opt_barrier): Move to math-barriers.h.
13268 [!math_opt_barrier] (math_force_eval): Likewise.
13269 * sysdeps/aarch64/fpu/math-barriers.h: New file.
13270 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
13272 (math_force_eval): Likewise.
13273 * sysdeps/alpha/fpu/math-barriers.h: New file.
13274 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
13276 (math_force_eval): Likewise.
13277 * sysdeps/x86/fpu/math-barriers.h: New file.
13278 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
13280 (math_force_eval): Likewise.
13281 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
13282 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
13283 multiple-include guard for rename.
13284 * sysdeps/powerpc/fpu/math-barriers.h: New file.
13285 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
13287 (math_force_eval): Likewise.
13289 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
13293 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
13295 * stdlib/Makefile (test-bz22786): New test.
13296 * stdlib/test-bz22786.c: New test.
13298 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13300 * include/math-narrow-eval.h: New file. Contents moved from ....
13301 * sysdeps/generic/math_private.h: ... here.
13302 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
13303 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13304 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
13305 * stdlib/strtod_l.c: Likewise.
13306 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13307 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13308 * sysdeps/i386/fpu/s_fdim.c: Likewise.
13309 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13310 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13311 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13312 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13313 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13314 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13315 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13316 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13317 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13318 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13319 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13320 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13321 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13322 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13323 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13324 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13325 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13326 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13327 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13328 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13329 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13330 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13331 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13332 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13333 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13334 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13336 2018-05-08 Andreas Schwab <schwab@suse.de>
13338 * sysdeps/nptl/internaltypes.h: Fix comment.
13340 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
13342 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13343 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
13346 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13348 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
13349 of I into loop header.
13350 * benchtests/bench-memmove-walk.c
13351 (test_main): Likewise.
13353 2018-05-07 Alexandre Oliva <oliva@gnu.org>
13356 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13357 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13359 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13362 * elf/dl-load.c (open_verify): Fix stack overflow.
13363 * elf/Makefile (tst-big-note): New test.
13364 * elf/tst-big-note-lib.S: New.
13365 * elf/tst-big-note.c: New.
13367 2018-05-04 Joseph Myers <joseph@codesourcery.com>
13369 * scripts/abilist.awk: Ignore absolute symbols.
13370 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
13371 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
13372 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
13373 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
13374 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
13375 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
13376 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13377 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
13378 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
13379 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
13380 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
13381 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
13382 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13383 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
13384 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13385 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13386 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13387 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13388 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13389 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13390 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13391 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13392 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13393 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13394 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13395 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13396 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13397 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13398 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13399 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13400 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13401 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13402 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13403 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13404 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13405 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13406 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13407 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13408 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13409 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13410 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13411 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13412 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13413 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13414 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13415 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13416 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13417 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13418 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13419 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13420 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13421 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13422 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13423 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13424 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13425 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13426 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13427 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13428 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13429 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13430 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13431 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13432 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13433 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13434 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13435 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13436 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13437 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13438 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13439 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13440 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13441 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13442 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13443 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13444 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13445 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13446 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13447 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13448 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13449 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13450 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13451 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13452 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13453 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13454 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13455 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13456 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13457 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13458 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13459 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13460 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13461 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13463 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
13464 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13465 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
13466 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
13467 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13468 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
13469 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13470 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
13471 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
13472 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
13473 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
13474 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13475 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13477 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
13478 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13479 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
13480 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
13481 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13482 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
13483 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13484 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
13485 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
13486 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
13487 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
13488 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13489 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
13490 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
13491 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13492 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
13493 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
13494 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13495 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
13496 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13497 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
13498 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
13499 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
13500 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
13501 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13502 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13503 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13505 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
13506 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
13507 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
13508 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
13509 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13510 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
13511 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
13512 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
13513 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
13514 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
13515 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
13516 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
13517 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
13518 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13519 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
13520 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
13521 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
13522 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
13523 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13524 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13526 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
13527 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
13528 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
13529 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13530 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
13531 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13532 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
13533 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
13534 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
13535 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13536 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13537 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
13538 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13539 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13540 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
13541 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13542 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
13543 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
13544 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13545 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
13546 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
13547 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13548 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
13549 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13550 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
13551 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
13552 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
13553 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
13554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
13560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
13561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
13562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
13563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
13567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
13568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
13571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
13583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
13584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
13589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
13590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
13591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
13595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
13596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
13604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
13605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
13606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
13613 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13614 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
13616 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13617 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13618 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
13619 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13620 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13621 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13622 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13623 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
13624 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13625 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
13626 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13627 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
13628 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13629 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13631 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13632 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
13633 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
13634 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13635 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
13636 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13637 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
13638 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
13639 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
13640 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
13641 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13642 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13644 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13645 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
13646 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
13647 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13648 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
13649 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13650 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
13651 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
13652 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
13653 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
13654 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13655 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
13656 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
13657 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13658 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
13659 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
13660 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13661 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
13662 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13663 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
13664 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
13665 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
13666 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
13667 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13668 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13670 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
13671 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13672 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
13673 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
13674 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13675 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
13676 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13677 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
13678 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
13679 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
13680 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
13681 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13682 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13684 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
13685 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13686 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
13687 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
13688 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13689 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
13690 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13691 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
13692 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
13693 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
13694 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
13695 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13696 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
13697 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
13698 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13699 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
13700 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
13701 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13702 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
13703 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13704 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
13705 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
13706 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
13707 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
13708 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13709 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13710 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
13711 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
13712 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13713 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
13714 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
13715 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13716 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
13717 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13718 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
13719 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
13720 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
13721 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
13723 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
13726 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
13727 Use atomic_load_acquire to load __tid.
13729 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13731 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
13732 Restore the pointer into %rdx, after syscall and use %rdx,
13733 instead of %rsi, to restore context.
13735 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13737 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
13738 Pop the pointer into %rdx after syscall and use %rdx, instead
13739 of %rsi, to restore context.
13741 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13743 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
13744 handlers after setjmp.
13745 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
13747 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
13748 <libc-pointer-arith.h>.
13749 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
13750 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
13751 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
13752 _JUMP_BUF_SIGSET_BITS_PER_WORD.
13753 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
13754 * sysdeps/x86/__longjmp_cancel.S: New file.
13755 * sysdeps/x86/longjmp.c: Likewise.
13756 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
13758 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13760 * NEWS: Add ustat.h deprecation entry.
13761 * bits/ustat.h: Remove file.
13762 * misc/sys/ustat.h: Likewise.
13763 * misc/ustat.h: Likewise.
13764 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
13765 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
13766 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
13767 compatibility mode.
13768 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
13769 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
13770 generic Linux implementation.
13772 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13774 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
13775 * math/w_expl_compat.c: Likewise.
13776 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
13778 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13780 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13782 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13784 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
13785 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
13786 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
13788 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
13789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13790 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13791 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
13792 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
13795 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13797 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
13799 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
13800 * math/w_asin_template.c: Likewise.
13801 * math/w_atanh_template.c: Likewise.
13803 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13805 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
13806 to powerpc/powerpc64/be for big-endian.
13807 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
13810 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
13811 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
13812 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
13813 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
13814 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13815 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
13816 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
13817 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
13818 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
13819 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13820 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
13821 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
13822 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
13823 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13824 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13825 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13826 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13827 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13828 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13829 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13830 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13831 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13832 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13833 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13834 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13835 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13836 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13837 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13838 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13839 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13840 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13841 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13843 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13844 adjusted to imply powerpc64 and older processors on powerpc64/be.
13845 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13846 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13847 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13848 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13849 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13850 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13851 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13852 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13853 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13854 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13855 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13856 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13857 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13858 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13859 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13860 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13861 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13862 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13863 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13864 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13865 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13866 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13867 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13868 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13869 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13870 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13871 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13872 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13873 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13874 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13875 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13877 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13878 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13879 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13880 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13882 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13883 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13884 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13885 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13887 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13888 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13889 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13890 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13891 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13892 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13893 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13894 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13895 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13896 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13897 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13899 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13900 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13901 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13902 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13903 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13904 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13905 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13906 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13907 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13908 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13909 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13911 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13912 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13913 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13914 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13915 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13916 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13917 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13918 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13919 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13920 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13921 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13922 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13924 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13925 and adjusted to imply olders processors.
13926 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13927 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13928 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13929 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13930 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13931 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13932 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13933 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13934 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13935 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13936 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13938 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13940 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13941 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13955 powerpc64 and adjusted.
13956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13961 2018-04-27 Joseph Myers <joseph@codesourcery.com>
13963 * sysdeps/tile: Remove.
13964 * sysdeps/unix/sysv/linux/tile: Likewise.
13965 * README (tilegx-*-linux-gnu): Remove from list of supported
13967 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13968 contribution of support for generic Linux kernel syscall
13970 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13971 tilegx configurations.
13972 (Config.install_linux_headers): Do not handle tile.
13973 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13975 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13976 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13977 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13978 conditional undefine and redefine.
13979 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13981 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13982 conditional undefine and redefine.
13984 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13986 * signal/tst-sigaction.c: New file to test BZ #23069.
13987 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13989 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13992 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13993 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13994 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13995 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13997 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13999 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14000 _DIRENT_MATCHES_DIRENT64 is not defined.
14001 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14002 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14004 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14005 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14007 2018-04-25 Joseph Myers <joseph@codesourcery.com>
14009 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14010 version to GCC 8 branch.
14012 2018-04-24 Joseph Myers <joseph@codesourcery.com>
14014 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14015 (check_no_hidden): Use type of original function when declaring
14018 * sysdeps/unix/sysv/linux/sys/ptrace.h
14019 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14020 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14021 (struct __ptrace_seccomp_metadata): New type.
14022 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14023 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14024 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14025 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14026 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14027 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14028 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14029 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14030 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14031 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14032 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14033 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14034 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14035 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14036 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14037 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14039 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14041 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14043 * dirent/versionsort.c (versionsort): Likewise.
14044 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14045 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14046 * dirent/versionsort64.c (versionsort64): Likewise.
14047 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14048 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14049 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14050 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14051 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14052 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14053 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14054 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14055 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14056 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14059 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14060 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14062 2018-04-23 Joseph Myers <joseph@codesourcery.com>
14064 * elf/elf.h (NT_PPC_PKEY): New macro.
14066 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
14069 * localedata/locales/hr_HR: fix thousands_sep and
14072 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14074 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14075 (XTABS): Define to TAB3.
14077 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14079 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14081 * dirent/scandir-tail-common.c: New file.
14082 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14083 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14084 * dirent/scandir.c: Use scandir-tail-common.c.
14085 * dirent/scandirat.c: Likewise.
14086 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14087 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14088 if _DIRENT_MATCHES_DIRENT64 is defined.
14089 * dirent/scandirat64.c (scandirat64): Likewise.
14090 * include/dirent.h (__scandir_tail): Only define iff
14091 _DIRENT_MATCHES_DIRENT64 is not defined.
14092 (__scandir64_tail): Define regardless.
14093 (__scandirat, scandirat64): Remove libc_hidden_proto.
14094 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14095 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14097 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14098 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14099 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14100 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14102 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14104 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14106 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14108 (_dl_aarch64_cap_flags): Add asimdfhm.
14110 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14112 * sysdeps/nios2/libm-test-ulps: Update.
14114 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14116 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14117 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14119 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14121 (_DIRENT_MATCHES_DIRENT64): Undef
14122 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14123 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14124 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14125 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14126 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14127 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14128 use getdents64 syscalls as base.
14129 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14130 symbol if required.
14131 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14132 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14133 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14134 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14135 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14136 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14137 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14138 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14139 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14140 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14141 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14143 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14145 * scripts/test_printers_common.py (init_test): Disable lock elision.
14147 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14149 * math/test-tgmath.c (count_double, count_float,
14150 count_ldouble, count_cdouble, count_cfloat,
14151 count_cldouble): Use volatile int.
14153 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14155 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14156 (conformtest-xfail-conds): Add i386-gnu.
14157 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
14159 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14160 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14161 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14162 msqid_ds.msg_lrpid): Likewise.
14163 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14165 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14166 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
14167 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14168 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14170 (struct statvfs64): Likewise.
14171 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14173 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14174 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14175 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14176 instead of wait_queue.
14177 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14178 instead of vm_area_struct.
14179 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14180 struct sched_param definition to it.
14181 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14182 * bits/types/struct_sched_param.h: New file.
14183 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14184 <bits/types/struct_sched_param.h> instead of <sched.h>.
14185 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
14186 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14187 generic version but include <bits/pthreadtypes.h> to make struct
14188 sigevent's sigev_notify_attributes field a pthread_attr_t*.
14189 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14191 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14192 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14193 [__USE_XOPEN] (OFDEL): New macro.
14194 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
14195 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
14196 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14198 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14199 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
14200 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14202 * sysdeps/i386/sys/ucontext.h: Likewise.
14203 * sysdeps/m68k/sys/ucontext.h: Likewise.
14204 * sysdeps/mips/sys/ucontext.h: Likewise.
14205 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
14206 * sysdeps/mach/hurd/i386/Makefile
14207 (test-xfail-POSIX/fcntl.h/conform): Add.
14208 (test-xfail-POSIX/signal.h/conform): Add.
14209 (test-xfail-POSIX/semaphore.h/conform): Add.
14210 (test-xfail-POSIX/regex.h/conform): Add.
14211 (test-xfail-POSIX/aio.h/conform): Add.
14212 (test-xfail-POSIX/mqueue.h/conform): Add.
14213 (test-xfail-POSIX/sys/types.h/conform): Add.
14214 (test-xfail-UNIX98/fcntl.h/conform): Add.
14215 (test-xfail-UNIX98/netdb.h/conform): Add.
14216 (test-xfail-UNIX98/signal.h/conform): Add.
14217 (test-xfail-UNIX98/semaphore.h/conform): Add.
14218 (test-xfail-UNIX98/regex.h/conform): Add.
14219 (test-xfail-UNIX98/aio.h/conform): Add.
14220 (test-xfail-UNIX98/ftw.h/conform): Add.
14221 (test-xfail-UNIX98/mqueue.h/conform): Add.
14222 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14223 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14224 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14225 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14226 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14227 (test-xfail-UNIX98/sys/types.h/conform): Add.
14228 (test-xfail-UNIX98/stdlib.h/conform): Add.
14229 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14230 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14231 (test-xfail-POSIX2008/netdb.h/conform): Add.
14232 (test-xfail-POSIX2008/signal.h/conform): Add.
14233 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14234 (test-xfail-POSIX2008/regex.h/conform): Add.
14235 (test-xfail-POSIX2008/aio.h/conform): Add.
14236 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14237 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14238 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14239 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14240 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14241 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14242 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14243 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14244 (test-xfail-XOPEN2K/signal.h/conform): Add.
14245 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14246 (test-xfail-XOPEN2K/regex.h/conform): Add.
14247 (test-xfail-XOPEN2K/aio.h/conform): Add.
14248 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14249 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14250 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14251 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14252 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14253 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14254 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14255 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14256 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14257 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14258 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14259 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14260 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14261 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14262 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14263 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14264 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14265 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14266 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14267 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
14268 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
14269 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
14270 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
14271 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
14272 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
14273 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
14274 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
14276 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
14277 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
14279 2018-04-18 Joseph Myers <joseph@codesourcery.com>
14281 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14282 --enable-obsolete for powerpc-linux-gnuspe.
14284 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14286 * conform/data/sys/un.h-data: Allow sun_ prefix.
14287 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
14289 * sysdeps/mach/include/mach.h: Likewise.
14290 * sysdeps/mach/include/mach/mig_support.h: Likewise.
14291 * sysdeps/mach/include/mach_error.h: Likewise.
14293 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14295 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
14296 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
14297 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
14298 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
14300 2018-04-16 Andreas Schwab <schwab@suse.de>
14303 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
14305 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14307 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
14308 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
14310 2018-04-12 DJ Delorie <dj@redhat.com>
14312 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14315 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14317 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
14318 (struct kernel_sigaction): Use the same definition on 31bit as is used
14321 2018-04-09 Florian Weimer <fweimer@redhat.com>
14324 * resolv/res_send.c (send_dg): Use designated initializers instead
14325 of assignment to zero-initialize other fields of struct mmsghdr.
14327 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14329 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
14330 __READDIR_ALIAS): Undefine after usage.
14331 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
14332 __READDIR_R_ALIAS): Likewise.
14333 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
14334 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
14335 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
14336 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
14337 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
14338 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
14339 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14340 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14341 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
14342 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
14343 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
14344 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
14345 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14346 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
14347 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
14348 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
14349 * sysdeps/unix/sysv/linux/readdir.c: New file.
14350 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
14351 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
14352 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
14354 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14356 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
14358 * manual/charset.texi (Converting a Character): Fix typo.
14360 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14364 * sysdeps/arm/libm-test-ulps: Update.
14366 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
14367 as base implementation.
14368 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14369 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14370 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14371 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14372 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14373 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
14374 remove unrequired definitions and update comments.
14375 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
14376 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
14377 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
14378 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
14379 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
14380 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
14381 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
14382 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
14383 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
14384 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14385 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14386 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14387 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14388 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14389 and RESET_SA_RESTORER hooks.
14391 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14393 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14395 2018-04-05 Florian Weimer <fweimer@redhat.com>
14397 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14398 integer overflow, memory leak on error, and indeterminate errno
14399 value. Add a null wide character to terminate the result string.
14400 * manual/charset.texi (Converting a Character): Mention embedded
14401 null bytes in the mbrtowc input string. Explain what happens in
14402 the -2 result case. Do not claim that mbrtowc is simple or
14403 obvious to use. Adjust the description of the code example. Use
14404 @code, not @var, for concrete variables.
14406 2018-04-05 Florian Weimer <fweimer@redhat.com>
14408 * manual/examples/mbstouwcs.c: New file.
14409 * manual/charset.texi (Converting a Character): Include it.
14411 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14413 * include/dirent.h (dirfd): Add hidden proto.
14414 * dirent/dirfd.c (dirfd): Add hidden def.
14415 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14416 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
14418 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14420 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14421 sin, cos and sincos to 1 ULP.
14423 2018-04-04 Maciej W. Rozycki <macro@mips.com>
14426 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14428 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14429 * elf/tst-absolute-sym.c: New file.
14430 * elf/tst-absolute-sym-lib.c: New file.
14431 * elf/tst-absolute-sym-lib.lds: New file.
14432 * elf/Makefile (tests): Add `tst-absolute-sym'.
14433 (modules-names): Add `tst-absolute-sym-lib'.
14434 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14435 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14436 ($(objpfx)tst-absolute-sym): New dependency.
14439 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14441 (SYMBOL_ADDRESS): New macro.
14442 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14443 SYMBOL_ADDRESS for symbol address calculation.
14444 * elf/dl-runtime.c (_dl_fixup): Likewise.
14445 (_dl_profile_fixup): Likewise.
14446 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14447 * elf/rtld.c (dl_main): Likewise.
14448 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14449 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14450 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14451 (elf_machine_rela): Likewise.
14452 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14453 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14454 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14455 (elf_machine_rela): Likewise.
14456 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14457 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14458 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14459 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14461 (elf_machine_reloc): Likewise.
14462 (elf_machine_got_rel): Likewise.
14463 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
14464 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
14465 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14467 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14469 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
14470 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14472 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14474 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14475 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14477 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14479 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
14480 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14482 2018-04-04 Zack Weinberg <zackw@panix.com>
14484 * sysdeps/generic/internal-signals.h: Include signal.h,
14485 sigsetops.h, and stdbool.h.
14486 (__libc_signal_block_all): Actually block all signals.
14487 (__libc_signal_block_app): Likewise.
14488 (__libc_signal_restore_set): Actually restore the signal mask.
14490 2018-04-04 Florian Weimer <fweimer@redhat.com>
14492 inet: Actually build and run tst-deadline.
14493 * inet/Makefile (tests-internal): Add tst-deadline and do not
14494 overwrite the variable.
14495 (tests-static-internal): Remove variable.
14497 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
14500 * bits/uio-ext.h (RWF_APPEND): New.
14501 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
14502 * manual/llio.texi: Document RWF_APPEND.
14503 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
14504 (RWF_SUPPORTED): Add RWF_APPEND.
14506 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14509 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
14510 check for internal nptl signals.
14511 * nptl/sigaction.c (__sigaction): Likewise.
14512 * signal/sigaddset.c (sigaddset): Likewise.
14513 * signal/sigdelset.c (sigdelset): Likewise.
14514 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14515 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
14517 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
14518 to filter out internal nptl signals.
14519 * signal/tst-sigset.c (do_test): Check ech signal indidually and
14520 also check realtime signals using standard macros.
14521 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
14522 __is_internal_signal, __libc_signal_block_all,
14523 __libc_signal_block_app, __libc_signal_restore_set): New functions.
14524 * sysdeps/nptl/sigfillset.c: Remove file.
14525 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
14526 Change return to bool.
14527 (__clear_internal_signals): Remove SIGTIMER clean since it is
14528 equal to SIGCANEL on Linux.
14529 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
14530 signal set was constructed using standard functions.
14532 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14534 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
14535 ifname is too long.
14536 * hurd/hurdsig.c (interrupted_reply_port_location): Use
14537 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
14538 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
14540 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
14541 * signal/sigaddset.c: Include <sigsetopts.h>.
14542 * signal/sigdelset.c: Likewise.
14544 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14546 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
14548 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
14549 logic as sin and cos.
14551 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14553 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
14554 inputs. Return correct sign.
14555 (do_sincos): Remove small input check before do_sin, let do_sin set
14560 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14562 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
14563 (do_cos_slow): Likewise.
14564 (do_sin_slow): Likewise.
14565 (reduce_and_compute): Likewise.
14570 (sloww1): Likewise.
14571 (sloww2): Likewise.
14573 (bslow1): Likewise.
14574 (bslow2): Likewise.
14575 (cslow2): Likewise.
14577 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14579 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
14580 (do_cos): Remove corp parameter and calculations.
14581 (do_sin): Likewise.
14582 (do_sincos): Remove cor variable.
14583 (__sin): Use do_sincos for huge inputs.
14585 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14586 (reduce_and_compute_sincos): Remove unused function.
14588 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14590 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
14591 reduce_sincos, improve accuracy to 136 bits.
14592 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
14593 (__sin): Use improved reduction and simplified do_sincos calculation.
14595 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14597 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14599 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
14600 (do_sincos_2): Likewise.
14601 (__sin): Remove middle range reduction case.
14603 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
14606 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14608 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
14609 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
14612 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
14614 2018-04-03 Joseph Myers <joseph@codesourcery.com>
14616 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14619 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14621 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
14622 Remove definitions.
14623 (opendir_oflags): Use O_DIRECTORY regardless.
14624 (__opendir, __opendirat): Remove need_isdir_precheck usage.
14625 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
14627 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14629 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
14630 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
14632 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
14633 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
14634 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
14635 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
14636 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
14637 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
14639 * htl/Makefile: Bump licence to LGPL 2.1+.
14640 * htl/alloca_cutoff.c: Likewise.
14641 * htl/cthreads-compat.c: Likewise.
14642 * htl/lockfile.c: Likewise.
14643 * htl/pt-alloc.c: Likewise.
14644 * htl/pt-cancel.c: Likewise.
14645 * htl/pt-cleanup.c: Likewise.
14646 * htl/pt-create.c: Likewise.
14647 * htl/pt-dealloc.c: Likewise.
14648 * htl/pt-detach.c: Likewise.
14649 * htl/pt-exit.c: Likewise.
14650 * htl/pt-getattr.c: Likewise.
14651 * htl/pt-initialize.c: Likewise.
14652 * htl/pt-internal.h: Likewise.
14653 * htl/pt-join.c: Likewise.
14654 * htl/pt-self.c: Likewise.
14655 * htl/pt-setcancelstate.c: Likewise.
14656 * htl/pt-setcanceltype.c: Likewise.
14657 * htl/pt-sigmask.c: Likewise.
14658 * htl/pt-spin-inlines.c: Likewise.
14659 * htl/pt-testcancel.c: Likewise.
14660 * htl/pt-yield.c: Likewise.
14661 * htl/tests/test-1.c: Likewise.
14662 * htl/tests/test-10.c: Likewise.
14663 * htl/tests/test-11.c: Likewise.
14664 * htl/tests/test-12.c: Likewise.
14665 * htl/tests/test-13.c: Likewise.
14666 * htl/tests/test-14.c: Likewise.
14667 * htl/tests/test-15.c: Likewise.
14668 * htl/tests/test-16.c: Likewise.
14669 * htl/tests/test-17.c: Likewise.
14670 * htl/tests/test-2.c: Likewise.
14671 * htl/tests/test-3.c: Likewise.
14672 * htl/tests/test-4.c: Likewise.
14673 * htl/tests/test-5.c: Likewise.
14674 * htl/tests/test-6.c: Likewise.
14675 * htl/tests/test-7.c: Likewise.
14676 * htl/tests/test-8.c: Likewise.
14677 * htl/tests/test-9.c: Likewise.
14678 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
14679 * sysdeps/htl/bits/cancelation.h: Likewise.
14680 * sysdeps/htl/bits/pthread-np.h: Likewise.
14681 * sysdeps/htl/bits/pthread.h: Likewise.
14682 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
14683 * sysdeps/htl/bits/semaphore.h: Likewise.
14684 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
14685 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
14686 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
14687 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
14688 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
14689 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
14690 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
14691 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
14692 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
14693 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
14694 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
14695 * sysdeps/htl/old_pt-atfork.c: Likewise.
14696 * sysdeps/htl/pt-atfork.c: Likewise.
14697 * sysdeps/htl/pt-attr-destroy.c: Likewise.
14698 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
14699 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
14700 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
14701 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
14702 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
14703 * sysdeps/htl/pt-attr-getscope.c: Likewise.
14704 * sysdeps/htl/pt-attr-getstack.c: Likewise.
14705 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
14706 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
14707 * sysdeps/htl/pt-attr-init.c: Likewise.
14708 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
14709 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
14710 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
14711 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
14712 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
14713 * sysdeps/htl/pt-attr-setscope.c: Likewise.
14714 * sysdeps/htl/pt-attr-setstack.c: Likewise.
14715 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
14716 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
14717 * sysdeps/htl/pt-attr.c: Likewise.
14718 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
14719 * sysdeps/htl/pt-barrier-init.c: Likewise.
14720 * sysdeps/htl/pt-barrier-wait.c: Likewise.
14721 * sysdeps/htl/pt-barrier.c: Likewise.
14722 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
14723 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
14724 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
14725 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
14726 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
14727 * sysdeps/htl/pt-cond-destroy.c: Likewise.
14728 * sysdeps/htl/pt-cond-init.c: Likewise.
14729 * sysdeps/htl/pt-cond-signal.c: Likewise.
14730 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
14731 * sysdeps/htl/pt-cond-wait.c: Likewise.
14732 * sysdeps/htl/pt-cond.c: Likewise.
14733 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
14734 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
14735 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
14736 * sysdeps/htl/pt-condattr-init.c: Likewise.
14737 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
14738 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
14739 * sysdeps/htl/pt-destroy-specific.c: Likewise.
14740 * sysdeps/htl/pt-equal.c: Likewise.
14741 * sysdeps/htl/pt-getconcurrency.c: Likewise.
14742 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
14743 * sysdeps/htl/pt-getschedparam.c: Likewise.
14744 * sysdeps/htl/pt-getspecific.c: Likewise.
14745 * sysdeps/htl/pt-init-specific.c: Likewise.
14746 * sysdeps/htl/pt-key-create.c: Likewise.
14747 * sysdeps/htl/pt-key-delete.c: Likewise.
14748 * sysdeps/htl/pt-key.h: Likewise.
14749 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
14750 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
14751 * sysdeps/htl/pt-mutex-init.c: Likewise.
14752 * sysdeps/htl/pt-mutex-lock.c: Likewise.
14753 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
14754 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
14755 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
14756 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
14757 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
14758 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
14759 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
14760 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
14761 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
14762 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
14763 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
14764 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
14765 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
14766 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
14767 * sysdeps/htl/pt-mutexattr.c: Likewise.
14768 * sysdeps/htl/pt-once.c: Likewise.
14769 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
14770 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
14771 * sysdeps/htl/pt-rwlock-init.c: Likewise.
14772 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
14773 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
14774 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
14775 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
14776 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
14777 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
14778 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
14779 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
14780 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
14781 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
14782 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
14783 * sysdeps/htl/pt-setconcurrency.c: Likewise.
14784 * sysdeps/htl/pt-setschedparam.c: Likewise.
14785 * sysdeps/htl/pt-setschedprio.c: Likewise.
14786 * sysdeps/htl/pt-setspecific.c: Likewise.
14787 * sysdeps/htl/pt-spin.c: Likewise.
14788 * sysdeps/htl/pt-startup.c: Likewise.
14789 * sysdeps/htl/pthread.h: Likewise.
14790 * sysdeps/htl/sem-close.c: Likewise.
14791 * sysdeps/htl/sem-destroy.c: Likewise.
14792 * sysdeps/htl/sem-getvalue.c: Likewise.
14793 * sysdeps/htl/sem-init.c: Likewise.
14794 * sysdeps/htl/sem-open.c: Likewise.
14795 * sysdeps/htl/sem-post.c: Likewise.
14796 * sysdeps/htl/sem-timedwait.c: Likewise.
14797 * sysdeps/htl/sem-trywait.c: Likewise.
14798 * sysdeps/htl/sem-unlink.c: Likewise.
14799 * sysdeps/htl/sem-wait.c: Likewise.
14800 * sysdeps/hurd/htl/pt-kill.c: Likewise.
14801 * sysdeps/i386/htl/pt-machdep.h: Likewise.
14802 * sysdeps/mach/htl/pt-block.c: Likewise.
14803 * sysdeps/mach/htl/pt-spin.c: Likewise.
14804 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
14805 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
14806 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
14807 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
14808 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
14809 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
14810 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
14811 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
14812 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
14813 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
14814 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
14815 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
14816 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
14817 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
14818 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
14819 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
14820 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
14821 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
14822 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
14823 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14824 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14825 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14826 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14827 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14828 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14829 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14830 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14831 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14832 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14833 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14834 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14835 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14836 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14837 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14838 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14839 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14840 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14841 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14842 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14843 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14844 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14845 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14846 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14848 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14849 * README: Remove the mention of out-of-tree patches needed for
14852 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14853 (UTIME_NOW, UTIME_OMIT): Define macros.
14855 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14856 instead of pthread_detach.
14857 (__cthread_fork): Call __pthread_create instead of pthread_create.
14858 (__cthread_keycreate): Call __pthread_key_create instead of
14859 pthread_key_create.
14860 (__cthread_getspecific): Call __pthread_getspecific instead of
14861 pthread_getspecific.
14862 (__cthread_setspecific): Call __pthread_setspecific instead of
14863 pthread_setspecific.
14864 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14865 __pthread_mutex_unlock instead of pthread_mutex_lock and
14866 pthread_mutex_unlock.
14867 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14868 ___pthread_get_cleanup_stack.
14869 (__pthread_get_cleanup_stack): New strong alias.
14870 * htl/pt-create.c: Include <pthreadP.h>.
14871 (entry_point): Call __pthread_exit instead of pthread_exit.
14872 (pthread_create): Rename to __pthread_create.
14873 (pthread_create): New strong alias.
14874 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14875 (pthread_detach): New strong alias.
14876 (__pthread_detach): Call __pthread_cond_broadcast instead of
14877 pthread_cond_broadcast.
14878 * htl/pt-exit.c: Include <pthreadP.h>.
14879 (__pthread_exit): Call __pthread_setcancelstate and
14880 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14881 __pthread_get_cleanup_stack.
14882 * htl/pt-testcancel.c: Include <pthreadP.h>.
14883 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14884 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14885 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14886 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14887 pthread_attr_getstacksize.
14888 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14889 Rename to __pthread_attr_getstackaddr.
14890 (pthread_attr_getstackaddr): New strong alias.
14891 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14892 Rename to __pthread_attr_getstacksize.
14893 (pthread_attr_getstacksize): New strong alias.
14894 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14895 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14896 (pthread_attr_setstack): New strong alias.
14897 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14898 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14899 pthread_attr_getstacksize, pthread_attr_setstacksize and
14900 pthread_attr_setstackaddr.
14901 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14902 Rename to __pthread_attr_setstackaddr.
14903 (pthread_attr_setstackaddr): New strong alias.
14904 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14905 Rename to __pthread_attr_setstacksize.
14906 (pthread_attr_setstacksize): New strong alias.
14907 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14908 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14910 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14911 (__pthread_key_create): New hidden def.
14912 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14913 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14914 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14915 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14916 __pthread_setspecific, __pthread_setcancelstate,
14917 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14918 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14919 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14921 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14922 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14923 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14924 (pthread_attr_setstackaddr): New strong alias.
14925 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14926 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14927 (pthread_attr_setstacksize): New strong alias.
14928 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14929 (call_exit): Call __pthread_exit instead of pthread_exit.
14930 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14931 (_pthread_mutex_init): New hidden definition.
14932 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14933 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14934 instead of pthread_attr_init and pthread_attr_setstack.
14936 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14937 __vm_deallocate instead of vm_allocate and vm_deallocate.
14938 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14940 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14942 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14944 * hurd/siginfo.c: Include <libioP.h>.
14945 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14946 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14948 * mach/devstream.c: Include <libioP.h>.
14949 (dealloc_ref): Call __mach_port_deallocate instead of
14950 mach_port_deallocate.
14951 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14952 Call __mach_port_deallocate instead of mach_port_deallocate.
14953 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14955 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14957 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14958 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14959 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14961 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14963 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14964 instead of sysconf.
14965 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14966 __clock_gettime instead of clock_gettime.
14967 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14968 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14969 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14970 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14971 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14973 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14974 __clock_gettime and __nanosleep instead of clock_gettime and
14976 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14977 __hurd_catch_signal.
14978 (hurd_catch_signal): New strong alias.
14979 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14980 __hurd_catch_signal instead of hurd_catch_signal.
14981 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14982 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14983 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14984 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14985 (_hurd_thread_sigstate): Add hidden def.
14986 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14988 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14989 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14990 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14991 __hurd_file_name_path_lookup.
14992 (hurd_file_name_path_lookup): New strong alias.
14993 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14994 hurd_file_name_path_lookup.
14995 * mach/errstring.c (mach_error_type): Add hidden def.
14996 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14997 * mach/mutex-init.c (__mutex_init): Add hidden def.
14998 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14999 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15000 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15001 * sysdeps/mach/hurd/getcwd.c
15002 (_hurd_canonicalize_directory_name_internal): Rename to
15003 __hurd_canonicalize_directory_name_internal.
15004 (_hurd_canonicalize_directory_name_internal): New strong alias.
15005 (__canonicalize_directory_name_internal, __getcwd): Call
15006 __hurd_canonicalize_directory_name_internal instead of
15007 _hurd_canonicalize_directory_name_internal.
15008 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15009 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15011 * sysdeps/hurd/include/hurd.h: New file.
15012 * sysdeps/hurd/include/hurd/fd.h: New file.
15013 * sysdeps/hurd/include/hurd/signal.h: New file.
15014 * sysdeps/mach/include/lock-intern.h: New file.
15015 * sysdeps/mach/include/mach.h: New file.
15016 * sysdeps/mach/include/mach/mig_support.h: New file.
15017 * sysdeps/mach/include/mach_error.h: New file.
15018 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15020 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15021 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15022 _HEADER_H_HIDDEN_DEF macro.
15023 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15024 _hurd_fd_error_signal): Add hidden prototype.
15025 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15027 * libio/iolibio.h (_IO_puts): New hidden prototype.
15028 * libio/ioputs.c (_IO_puts): New hidden def.
15029 * sysdeps/mach/hurd/localplt.data: New file.
15031 2018-04-02 Agustina Arzille <avarzille@riseup.net>
15032 Amos Jeffries <squid3@treenet.co.nz>
15033 David Michael <fedora.dm0@gmail.com>
15034 Marco Gerards <marco@gnu.org>
15035 Marcus Brinkmann <marcus@gnu.org>
15036 Neal H. Walfield <neal@gnu.org>
15037 Pino Toscano <toscano.pino@tiscali.it>
15038 Richard Braun <rbraun@sceen.net>
15039 Roland McGrath <roland@gnu.org>
15040 Samuel Thibault <samuel.thibault@ens-lyon.org>
15041 Thomas DiModica <ricinwich@yahoo.com>
15042 Thomas Schwinge <tschwinge@gnu.org>
15044 * htl: New directory.
15045 * sysdeps/htl: New directory.
15046 * sysdeps/hurd/htl: New directory.
15047 * sysdeps/i386/htl: New directory.
15048 * sysdeps/mach/htl: New directory.
15049 * sysdeps/mach/hurd/htl: New directory.
15050 * sysdeps/mach/hurd/i386/htl: New directory.
15051 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15052 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15053 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15055 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15057 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15058 signals in thread created for runing timers.
15060 2018-04-01 Florian Weimer <fweimer@redhat.com>
15062 * support/support_format_addrinfo.c (support_format_addrinfo):
15063 Include unknown error number in formatted result.
15065 2018-03-29 Florian Weimer <fweimer@redhat.com>
15067 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15070 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15072 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15073 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15074 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15075 (__ASSUME_CLONE_BACKWARDS): Define.
15077 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15080 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15081 early when linux sentinel value is set.
15083 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15085 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15087 2018-03-27 Andreas Schwab <schwab@suse.de>
15090 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15091 allocation of private copy of nsaddr_list fails.
15093 2018-03-26 Joseph Myers <joseph@codesourcery.com>
15096 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15097 * sysdeps/unix/sysv/linux/umount.c: ... here.
15098 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15099 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15100 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15101 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15103 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15104 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15106 2018-03-26 Andreas Schwab <schwab@suse.de>
15108 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15109 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15110 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15111 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15112 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15113 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15114 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15115 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15116 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15117 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15118 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15119 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15120 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15121 (R_RISCV_NUM): Define.
15123 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15125 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15126 TLS declaration of errno.
15127 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15129 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15130 (ARCH_SETUP_TLS): Likewise.
15131 * sysdeps/mach/hurd/libc-start.h: New file copied from
15132 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
15133 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15134 instead of __libc_setup_tls.
15135 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
15136 __libc_setup_tls before initializing libpthread and running _hurd_init
15137 which starts the signal thread.
15138 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15140 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15142 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15145 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15146 after it is defined.
15148 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15149 Max Horn <max@quendi.de>
15153 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15155 * string/test-memmove.c (do_test2): New testcase.
15157 2018-03-22 Joseph Myers <joseph@codesourcery.com>
15159 * sysdeps/generic/frame.h: Remove file.
15160 * sysdeps/arm/frame.h: Likewise.
15161 * sysdeps/hppa/frame.h: Likewise.
15162 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15164 (GET_FRAME): Likewise.
15165 (GET_STACK): Likewise.
15166 (CALL_SIGHANDLER): Likewise.
15167 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15169 (GET_FRAME): Likewise.
15170 (GET_STACK): Likewise.
15171 (CALL_SIGHANDLER): Likewise.
15172 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15173 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15174 (GET_FRAME): Likewise.
15175 (GET_STACK): Likewise.
15176 (CALL_SIGHANDLER): Likewise.
15177 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15178 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15179 (GET_FRAME): Likewise.
15180 (GET_STACK): Likewise.
15181 (ADVANCE_STACK_FRAME): Likewise.
15182 (CALL_SIGHANDLER): Likewise.
15183 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15184 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15185 (GET_FRAME): Likewise.
15186 (GET_STACK): Likewise.
15187 (CALL_SIGHANDLER): Likewise.
15188 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15189 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15190 (GET_FRAME): Likewise.
15191 (GET_STACK): Likewise.
15192 (CALL_SIGHANDLER): Likewise.
15193 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15194 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15195 (GET_FRAME): Likewise.
15196 (GET_STACK): Likewise.
15197 (CALL_SIGHANDLER): Likewise.
15198 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15199 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15200 (GET_FRAME): Likewise.
15201 (GET_STACK): Likewise.
15202 (CALL_SIGHANDLER): Likewise.
15203 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15204 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15205 (GET_FRAME): Likewise.
15206 (GET_STACK): Likewise.
15207 (CALL_SIGHANDLER): Likewise.
15208 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15209 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15210 (GET_FRAME): Likewise.
15211 (GET_STACK): Likewise.
15212 (CALL_SIGHANDLER): Likewise.
15213 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15214 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15215 (GET_FRAME): Likewise.
15216 (GET_STACK): Likewise.
15217 (CALL_SIGHANDLER): Likewise.
15218 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15219 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15220 (GET_FRAME): Likewise.
15221 (GET_STACK): Likewise.
15222 (CALL_SIGHANDLER): Likewise.
15223 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15224 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15225 (GET_FRAME): Likewise.
15226 (GET_STACK): Likewise.
15227 (CALL_SIGHANDLER): Likewise.
15228 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15229 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15230 (FIRST_FRAME_POINTER): Likewise.
15231 (ADVANCE_STACK_FRAME): Likewise.
15232 (GET_STACK): Likewise.
15233 (GET_FRAME): Likewise.
15234 (CALL_SIGHANDLER): Likewise.
15235 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15236 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15237 (ADVANCE_STACK_FRAME): Likewise.
15238 (GET_STACK): Likewise.
15239 (GET_FRAME): Likewise.
15240 (CALL_SIGHANDLER): Likewise.
15241 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15242 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15243 (GET_FRAME): Likewise.
15244 (GET_STACK): Likewise.
15245 (CALL_SIGHANDLER): Likewise.
15246 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15247 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15248 (GET_FRAME): Likewise.
15249 (GET_STACK): Likewise.
15250 (CALL_SIGHANDLER): Likewise.
15252 2018-03-21 Joseph Myers <joseph@codesourcery.com>
15254 * sysdeps/x86_64/backtrace.c: Move to ....
15255 * debug/backtrace.c: ... here.
15256 * sysdeps/aarch64/backtrace.c: Remove file.
15257 * sysdeps/alpha/backtrace.c: Likewise.
15258 * sysdeps/hppa/backtrace.c: Likewise.
15259 * sysdeps/ia64/backtrace.c: Likewise.
15260 * sysdeps/mips/backtrace.c: Likewise.
15261 * sysdeps/nios2/backtrace.c: Likewise.
15262 * sysdeps/riscv/backtrace.c: Likewise.
15263 * sysdeps/sh/backtrace.c: Likewise.
15264 * sysdeps/tile/backtrace.c: Likewise.
15266 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15269 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
15272 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
15275 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
15276 possibly overflowing computations.
15278 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15280 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
15281 values from Linux-specific section now that it is in the GNU section.
15282 * sysdeps/gnu/errlist.c: Regenerate.
15284 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15286 * math/Makefile (libm-narrow-fns): Add sub.
15287 (libm-test-funcs-narrow): Likewise.
15288 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
15289 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
15290 * math/gen-auto-libm-tests.c (test_functions): Add sub.
15291 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
15292 (NARROW_SUB_ROUND_TO_ODD): Likewise.
15293 (NARROW_SUB_TRIVIAL): Likewise.
15294 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
15296 (__dsubl): Likewise.
15297 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
15299 (CFLAGS-nldbl-dsub.c): New variable.
15300 (CFLAGS-nldbl-fsub.c): Likewise.
15301 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15303 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
15305 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
15306 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
15307 * math/auto-libm-test-in: Add tests of sub.
15308 * math/auto-libm-test-out-narrow-sub: New generated file.
15309 * math/libm-test-narrow-sub.inc: New file.
15310 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15311 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
15312 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
15313 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
15314 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
15315 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
15316 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
15317 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
15318 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
15319 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
15320 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
15321 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
15322 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
15323 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
15324 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
15325 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
15326 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
15327 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
15328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15329 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15330 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15331 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15332 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15333 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15334 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15335 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15336 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15337 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15338 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15339 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15340 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15341 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15346 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15347 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15348 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15349 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15350 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15351 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15352 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15353 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15354 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15355 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15357 2018-03-19 Joseph Myers <joseph@codesourcery.com>
15360 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
15362 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
15364 * benchtests/bench-timing.h (attribute_hidden): Undefine.
15366 2018-03-18 Richard Braun <rbraun@sceen.net>
15368 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
15371 2018-03-18 Agustina Arzille <avarzille@riseup.net>
15373 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
15374 (__libc_cleanup_fct): Define function.
15375 (__libc_cleanup_region_start, __libc_cleanup_region_end,
15376 __libc_cleanup_end): Rewrite implementation using
15377 __attribute__ ((__cleanup__)).
15378 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
15379 * hurd/Makefile (routines): Add hurdlock.
15380 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
15382 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
15383 * hurd/hurdpid.c: Include <lowlevellock.h>
15384 (_S_msg_proc_newids): Use lll_wait to synchronize.
15385 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15386 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15387 * mach/Makefile (lock-headers): Remove machine-lock.h.
15388 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15390 (__spin_lock_t): New type.
15391 (__SPIN_LOCK_INITIALIZER): New macro.
15392 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15393 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15394 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15395 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15396 (__mutex_init): Initialize with lll.
15397 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15398 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15400 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15401 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15402 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15403 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15404 (__setpgid): Use lll for synchronization.
15405 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15406 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15407 instead of <cthreads.h>.
15408 (_IO_lock_inexpensive): New macro
15409 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15410 (__libc_lock_self0): New declaration.
15411 (__libc_lock_owner_self): New macro.
15412 (__libc_key_t): Remove type.
15413 (_LIBC_LOCK_INITIALIZER): New macro.
15414 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15415 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15416 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15417 __libc_lock_define_initialized_recursive,
15418 __rtld_lock_define_initialized_recursive,
15419 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15420 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15421 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15422 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15423 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15424 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15425 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15427 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15428 * hurd/hurdlock.c: New file.
15429 * hurd/hurdlock.h: New file.
15430 * mach/lowlevellock.h: New file
15432 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15434 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
15435 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15436 when opening a symlink with O_NOFOLLOW.
15437 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15438 path when flags contains O_NOFOLLOW.
15439 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15440 if flags contains O_DIRECTORY and the result is a directory.
15441 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15442 oneself when the pointer given in D is nul (as set by ext2fs).
15443 * sysdeps/mach/hurd/mlockall.c: New file.
15444 * sysdeps/mach/hurd/munlockall.c: New file.
15446 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15448 * hurd/hurdsig.c: Include <pthread.h>.
15449 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15450 get the signal thread stack layout.
15451 * hurd/Makefile (headers): Remove threadvar.h.
15452 (inline-headers): Remove threadvar.h.
15453 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15454 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15455 __hurd_threadvar_max, __hurd_errno_location.
15456 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15457 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15458 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15459 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15460 unless TLS is not initialized yet, in which case we do not need a
15461 critical section yet anyway.
15462 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
15464 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
15466 (__hurd_threadvar_index): Remove enum.
15467 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
15468 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
15470 (__hurd_reply_port0): New variable declaration.
15471 (__hurd_local_reply_port): New macro.
15472 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
15473 (interrupted_reply_port_location): Add thread_t parameter. Use it
15474 with THREAD_TCB to access thread-local variables.
15475 (_hurdsig_abort_rpcs): Pass ss->thread to
15476 interrupted_reply_port_location.
15477 (_hurd_internal_post_signal): Likewise.
15478 (_hurdsig_init): Use presence of cthread_fork instead of
15479 __hurd_threadvar_stack_mask to start signal thread by hand.
15480 Remove signal thread threadvar initialization.
15481 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
15482 * hurd/sigunwind.c: Include <hurd/threadvar.h>
15483 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
15485 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
15487 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
15488 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
15489 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
15490 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
15491 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
15492 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
15493 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
15495 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
15496 <hurd/threadvar.h>.
15497 [IS_IN(rtld)] (rtld_errno): New variable.
15498 [IS_IN(rtld)] (__errno_location): New weak function.
15499 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
15500 * sysdeps/mach/hurd/errno.c: Remove file.
15501 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
15502 (__fork): Remove THREADVAR_SPACE macro and its use.
15503 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
15505 (init): Do not initialize threadvar.
15506 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
15508 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
15509 __hurd_local_reply_port instead of threadvar.
15510 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
15511 _hurd_sigstate fields.
15512 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
15513 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
15514 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
15515 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
15516 instead of threadvar.
15517 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
15518 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
15519 (use_threadvar, global_reply_port): Remove variables.
15520 (__hurd_reply_port0): New variable.
15521 (__mig_get_reply_port): Use __hurd_local_reply_port and
15522 __hurd_reply_port0 instead of threadvar.
15523 (__mig_dealloc_reply_port): Likewise.
15524 (__mig_init): Do not initialize threadvar.
15525 * sysdeps/mach/hurd/profil.c: Fix comment.
15526 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
15527 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
15528 cthread_keycreate, cthread_getspecific, cthread_setspecific to
15529 __cthread_fork, __cthread_detach, __pthread_getattr_np,
15530 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
15531 __cthread_setspecific.
15532 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
15533 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
15534 __cthread_t instead of cthread_fork, cthread_detach,
15535 pthread_getattr_np, pthread_attr_getstack.
15536 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
15537 __cthread_keycreate.
15538 (cthread_getspecific): Rename to __cthread_getspecific.
15539 (cthread_setspecific): Rename to __cthread_setspecific.
15540 (__libc_getspecific): Use __cthread_getspecific instead of
15541 cthread_getspecific.
15542 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
15543 __cthread_keycreate instead of cthread_keycreate.
15544 (__libc_setspecific): Use __cthread_setspecific instead of
15545 cthread_setspecific.
15546 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
15548 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
15549 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
15550 testing whether it is defined.
15552 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15554 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
15556 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
15557 * sysdeps/mach/i386/thread_state.h
15558 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
15560 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
15562 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
15564 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
15565 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
15567 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
15569 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
15570 descriptor instead of creating a new one.
15571 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
15573 * mach/setup-thread.c: Include <ldsodefs.h>.
15574 (__mach_setup_thread): Call _dl_allocate_tls, pass
15575 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
15576 MACHINE_THREAD_STATE_FLAVOR, before getting
15577 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
15578 MACHINE_THREAD_STATE_FLAVOR with the result.
15579 * hurd/hurdfault.c (_hurdsig_fault_init): Call
15580 MACHINE_THREAD_STATE_FIX_NEW.
15581 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
15582 too. Add original thread parameter.
15584 2018-03-16 Joseph Myers <joseph@codesourcery.com>
15586 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
15587 Remove inline function.
15589 * sysdeps/i386/fpu/libm-test-ulps: Update.
15590 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15592 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
15594 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
15597 2018-03-15 Joseph Myers <joseph@codesourcery.com>
15599 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
15600 (__sincos_code): Remove define and undefine.
15601 [__FAST_MATH__] (__sincos): Remove inline function.
15602 [__FAST_MATH__] (__sincosf): Remove inline function.
15603 [__FAST_MATH__] (__sincosl): Remove inline function.
15604 (__atan2l): Remove inline functions.
15605 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
15606 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
15608 (floor): Remove inline function.
15610 [__FAST_MATH__] (__ldexp_code): Remove macro.
15611 [__FAST_MATH__] (ldexp): Remove inline function.
15612 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
15613 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
15614 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
15615 [__USE_ISOC99] (__lrint_code): Remove macro.
15616 [__USE_ISOC99] (__llrint_code): Likewise.
15617 [__USE_ISOC99] (lrintf): Remove inline function.
15618 [__USE_ISOC99] (lrint): Likewise.
15619 [__USE_ISOC99] (lrintl): Likewise.
15620 [__USE_ISOC99] (llrint): Likewise.
15621 [__USE_ISOC99] (llrintf): Likewise.
15622 [__USE_ISOC99] (llrintl): Likewise.
15624 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15626 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
15627 (__ieee754_sqrtf): Remove.
15628 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
15629 (__ieee754_sqrtf): Remove.
15630 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
15631 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15632 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
15633 (__ieee754_sqrtf): Remove.
15634 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
15635 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
15638 (__ieee754_sqrt): Remove.
15639 (__ieee754_sqrtf): Remove.
15640 (__ieee754_sqrtl): Remove.
15641 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15642 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
15643 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
15644 (__ieee754_sqrtf): Remove.
15645 (__ieee754_sqrtl): Remove.
15647 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15649 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
15650 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15651 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15652 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
15653 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
15654 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15655 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15656 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15658 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
15659 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
15660 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15661 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15662 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
15663 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
15664 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15665 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15666 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15667 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15668 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
15669 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15670 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
15671 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
15672 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
15673 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15674 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15675 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15676 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
15677 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
15678 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15679 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15680 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
15681 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
15682 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
15683 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
15684 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15685 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15686 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
15687 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15688 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15689 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
15690 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15691 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15692 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15693 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15694 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
15695 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
15696 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15697 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
15699 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15701 * include/math.h (sqrt): Declare with asm redirect.
15704 (sqrtf128): Likewise.
15705 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
15706 nonlib and libnldbl with -fmath-errno.
15707 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
15708 * math/w_sqrt_template.c: Likewise.
15709 * math/w_sqrtf_compat.c: Likewise.
15710 * math/w_sqrtl_compat.c: Likewise.
15711 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
15712 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
15713 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
15716 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15718 * benchtests/Makefile: Define _ISOMAC.
15719 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
15720 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
15721 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
15722 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
15723 * benchtests/bench-timing.h: Define attribute_hidden.
15725 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
15727 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
15730 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15733 * localedata/locales/cs_CZ (mon): Rename to...
15735 (mon): Import from CLDR (genitive case).
15737 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15740 * localedata/locales/el_CY (abmon): Rename to...
15741 (ab_alt_mon): This.
15742 (abmon): Import from CLDR (abbreviated genitive case).
15743 * localedata/locales/el_GR (abmon): Rename to...
15744 (ab_alt_mon): This.
15745 (abmon): Import from CLDR (abbreviated genitive case).
15747 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15750 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
15752 2018-03-15 Robert Buj <robert.buj@gmail.com>
15755 * localedata/locales/ca_ES (abmon): Rename to...
15756 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15757 (mon): Rename to...
15759 (abmon): Import from CLDR (genitive case, month names preceded by
15762 (abday): Synchronize with CLDR.
15763 (d_t_fmt): Likewise.
15767 (LC_TIME): Improve indentation.
15768 (LC_TELEPHONE): Likewise.
15769 (LC_NAME): Likewise.
15770 (LC_ADDRESS): Likewise.
15772 2018-03-14 Joseph Myers <joseph@codesourcery.com>
15774 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
15775 (lrintf): Remove definitions used only with old GCC.
15776 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
15777 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
15778 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
15779 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
15780 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
15781 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
15782 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
15783 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
15784 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
15785 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
15786 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
15787 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
15788 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
15789 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
15790 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
15791 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
15792 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
15793 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
15794 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
15795 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
15796 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
15797 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
15798 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
15799 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
15800 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
15801 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
15802 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
15803 [__FAST_MATH__] (__M_SQRT2): Remove macro.
15805 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15807 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
15808 instruction to unbreak builds with binutils 2.26 and older.
15810 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15812 * sysdeps/aarch64/strncmp.S (count): New macro.
15813 (strncmp): Store misaligned length in SRC1 in COUNT.
15814 (mutual_align): Adjust.
15815 (misaligned8): Load dword at a time when it is safe.
15817 2018-03-12 Zack Weinberg <zackw@panix.com>
15821 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
15822 if the _IO_EOF_SEEN bit is already set; update commentary.
15823 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15824 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15826 * support/support_openpty.c, support/tty.h: New files.
15827 * support/Makefile (libsupport-routines): Add support_openpty.
15829 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15831 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15832 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15834 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15836 * po/pt_BR.po: Update translations.
15838 2018-03-12 David Michael <fedora.dm0@gmail.com>
15840 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15841 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15842 get a port to the startup server.
15844 2018-03-11 Zack Weinberg <zackw@panix.com>
15846 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15847 before nldbl-compat.h.
15849 2018-03-10 Zack Weinberg <zackw@panix.com>
15851 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15852 math.h or math_private.h.
15854 * sysdeps/alpha/fpu/s_isnan.c
15855 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15856 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15857 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15858 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15859 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15860 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15861 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15862 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15863 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15866 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15867 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15868 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15869 Include math_private.h.
15871 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15872 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15873 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15874 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15875 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15876 * sysdeps/powerpc/power7/fpu/s_logb.c:
15877 Include math.h and math_private.h.
15879 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15880 uses of $at in .set noat / .set at.
15882 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15884 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15885 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15886 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15887 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15890 2018-03-09 Florian Weimer <fweimer@redhat.com>
15892 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15895 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15898 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15899 Add nop before __startcontext, add explaining comments.
15901 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15904 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15906 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15907 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15908 Do not build hardware transactional code for __SPE__.
15909 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15910 (__lll_trylock_elision): Likewise.
15911 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15912 (__lll_unlock_elision): Likewise.
15914 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
15915 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15916 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15917 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15918 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15919 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15920 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15921 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15922 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15923 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15924 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15925 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15926 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15927 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15928 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15929 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15930 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15931 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15932 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15933 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15934 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15935 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15936 (__ASSUME_CLONE_BACKWARDS): Define.
15937 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15938 __clone2 if __NR_clone2 is defined.
15939 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15940 (__ASSUME_CLONE_BACKWARDS): Likewise.
15941 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15942 (__ASSUME_CLONE_BACKWARDS): Likewise.
15943 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15944 (__ASSUME_CLONE2): Likewise.
15945 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15946 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15947 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15948 variants and the define architecture can use.
15949 (__ASSUME_CLONE_DEFAULT): Define as default.
15950 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15951 (__ASSUME_CLONE_BACKWARDS): Likewise.
15952 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15953 (__ASSUME_CLONE_BACKWARDS): Likewise.
15954 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15955 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15957 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15959 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15961 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15964 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15965 (do_test_limit): Likewise.
15967 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15968 for every implementation.
15969 (do_test): Likewise.
15971 * benchtests/bench-strncmp.c: Convert output to json.
15973 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15975 * io/futimens.c: Add missing start-of-file descriptive comment.
15976 * io/utime.c: Likewise.
15977 * misc/futimesat.c: Likewise.
15978 * misc/utimes.c: Likewise.
15979 * sysdeps/mach/hurd/futimesat.c: Likewise.
15980 * sysdeps/mach/hurd/utimes.c: Likewise.
15981 * sysdeps/posix/utime.c: Likewise.
15982 * sysdeps/posix/utimes.c: Likewise.
15983 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15984 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15985 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15986 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15988 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15990 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15992 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15993 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15994 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15995 (__futimens): Move implementation to...
15996 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15997 utime_tvalue_from_tspec): ... new helper functions.
15998 (hurd_futimens): New function.
15999 * sysdeps/mach/hurd/futimesat.c: New file.
16000 * sysdeps/mach/hurd/utimensat.c: New file.
16002 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16004 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16005 UTIME_OMIT): New macros.
16006 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16007 before reverting to converting time spec to time value and calling
16009 * sysdeps/mach/hurd/utime-helper.c: New file.
16010 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16011 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16012 reverting to utime_tvalue_from_tval and __file_utimes.
16013 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16014 (__lutimes): Just call hurd_futimens after lookup.
16015 * sysdeps/mach/hurd/utimes.c: Likewise.
16017 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16019 * bits/sigaction.h: Add include guard.
16020 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16021 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16022 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16023 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16024 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16025 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16026 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16027 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16028 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16030 2018-03-05 Joseph Myers <joseph@codesourcery.com>
16032 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16033 -Wmaybe-uninitialized for -Os.
16034 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16037 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16039 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16040 __INO_T_MATCHES_INO64_T is defined.
16041 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16042 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16044 * dirent/alphasort64.c: Likewise.
16045 * dirent/scandir.c: Likewise.
16046 * dirent/scandir64-tail.c: Likewise.
16047 * dirent/scandir64.c: Likewise.
16048 * dirent/scandirat.c: Likewise.
16049 * dirent/scandirat64.c: Likewise.
16050 * dirent/versionsort.c: Likewise.
16051 * dirent/versionsort64.c: Likewise.
16052 * include/dirent.h: Likewise.
16054 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16055 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16056 for socketpair endpoint.
16057 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16058 WRITE_BUFFER_SIZE as buffer size for sending socket.
16059 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16060 issue on system where send is implemented with sendto syscall.
16061 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16062 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16063 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16064 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16067 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16068 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16069 sa_restorer for vDSO case.
16070 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16072 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16074 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
16075 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16076 * hurd/hurd/ioctl.h: Include <mach/port.h>
16077 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
16078 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16079 <mach/mach_types.h> and <mach/message.h>.
16080 (headers): Move mach/param.h to bits/mach/param.h.
16081 * sysdeps/mach/i386/mach/param.h: Move file to ...
16082 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16083 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16085 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16086 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16087 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
16088 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16089 trivial, for C++ conformity.
16090 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
16091 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16092 Process mig output through $(migheadersed).
16093 * hurd/Makefile (migheadersed): Define variable.
16094 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16095 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16097 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16098 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16099 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16100 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16101 <bits/types/sigset_t.h>.
16102 [!defined __USE_GNU]: Do not #error out.
16103 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16104 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16105 Include <stddef.h> and <bits/types/sigset_t.h>
16106 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16107 instead of sighandler_t.
16108 * stdlib/errno.h (error_t): Move definition to...
16109 * bits/types/error_t.h: ... new header.
16110 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16111 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16112 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16113 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16114 * hurd/hurd.h: Include <bits/types/error_t.h>
16115 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16116 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16117 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16118 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16119 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16120 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
16121 * sysdeps/mach/hurd/futimens.c: New file.
16123 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16126 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16127 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16128 * nscd/gai.c (__nss_hosts_database): Readd definition.
16129 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16130 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16131 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16133 2018-03-02 Joseph Myers <joseph@codesourcery.com>
16135 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16136 (ifunc_one): Likewise.
16138 2018-03-01 DJ Delorie <dj@delorie.com>
16141 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16144 2018-03-01 Maciej W. Rozycki <macro@mips.com>
16146 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16147 `match_pid' parameter.
16148 (td_ta_thr_iter): Update accordingly.
16150 2018-03-01 Florian Weimer <fweimer@redhat.com>
16152 * nptl/Makefile (install-lib-ldscripts): Remove.
16153 (install): Remove rule.
16154 ($(inst_libdir)/libpthread.so): Likewise.
16156 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16159 * localedata/locales/an_ES: update month and day names,
16160 improve d_fmt, improve postal_fmt, add country_post,
16163 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16165 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16166 Ukrainian instead of Bulgarian.
16168 2018-03-01 Florian Weimer <fweimer@redhat.com>
16170 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16173 2018-03-01 Florian Weimer <fweimer@redhat.com>
16175 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16176 * nptl/Makefile (routines): Add pthread_atfork.
16177 (static-only-routines): Set to pthread_atfork.
16178 (libpthread-routines): Remove pthread_atfork.
16179 (libpthread-static-only-routines): Remove.
16180 (install): Update comment.
16181 (libpthread.so): Do not install libpthread_nonshared.a.
16182 (tests): Do not link with libpthread_nonshared.a.
16183 (generated): Remove libpthread_nonshared.a.
16184 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16185 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16186 with libpthread_nonshared.a.
16188 2018-02-28 Joseph Myers <joseph@codesourcery.com>
16191 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16192 (libc_feholdexcept_setroundf128): New macro.
16193 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16196 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16198 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16199 * include/inttypes.h: New file.
16201 2018-02-27 Joseph Myers <joseph@codesourcery.com>
16203 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16204 -Os in two more places.
16206 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16208 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16209 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16210 be sorted correctly at the moment because of a bug.
16212 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16214 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16215 treat ñ as a primary different character, sync the collation
16216 for Spanish with CLDR.
16217 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16218 * localedata/Makefile: Add new test files.
16219 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16220 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16222 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16223 * localedata/am_ET.UTF-8.in: New test file.
16224 * localedata/az_AZ.UTF-8.in: Likewise.
16225 * localedata/be_BY.UTF-8.in: Likewise.
16226 * localedata/ber_DZ.UTF-8.in: Likewise.
16227 * localedata/ber_MA.UTF-8.in: Likewise.
16228 * localedata/bg_BG.UTF-8.in: Likewise.
16229 * localedata/br_FR.UTF-8.in: Likewise.
16230 * localedata/cmn_TW.UTF-8.in: Likewise.
16231 * localedata/crh_UA.UTF-8.in: Likewise.
16232 * localedata/csb_PL.UTF-8.in: Likewise.
16233 * localedata/cv_RU.UTF-8.in: Likewise.
16234 * localedata/cy_GB.UTF-8.in: Likewise.
16235 * localedata/dz_BT.UTF-8.in: Likewise.
16236 * localedata/eo.UTF-8.in: Likewise.
16237 * localedata/es_ES.UTF-8.in: Likewise.
16238 * localedata/fa_IR.UTF-8.in: Likewise.
16239 * localedata/fi_FI.UTF-8.in: Likewise.
16240 * localedata/fil_PH.UTF-8.in: Likewise.
16241 * localedata/fur_IT.UTF-8.in: Likewise.
16242 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16243 * localedata/ha_NG.UTF-8.in: Likewise.
16244 * localedata/ig_NG.UTF-8.in: Likewise.
16245 * localedata/ik_CA.UTF-8.in: Likewise.
16246 * localedata/kk_KZ.UTF-8.in: Likewise.
16247 * localedata/ku_TR.UTF-8.in: Likewise.
16248 * localedata/ky_KG.UTF-8.in: Likewise.
16249 * localedata/ln_CD.UTF-8.in: Likewise.
16250 * localedata/mi_NZ.UTF-8.in: Likewise.
16251 * localedata/ml_IN.UTF-8.in: Likewise.
16252 * localedata/mn_MN.UTF-8.in: Likewise.
16253 * localedata/mr_IN.UTF-8.in: Likewise.
16254 * localedata/mt_MT.UTF-8.in: Likewise.
16255 * localedata/nb_NO.UTF-8.in: Likewise.
16256 * localedata/om_KE.UTF-8.in: Likewise.
16257 * localedata/os_RU.UTF-8.in: Likewise.
16258 * localedata/ps_AF.UTF-8.in: Likewise.
16259 * localedata/ro_RO.UTF-8.in: Likewise.
16260 * localedata/ru_RU.UTF-8.in: Likewise.
16261 * localedata/sc_IT.UTF-8.in: Likewise.
16262 * localedata/se_NO.UTF-8.in: Likewise.
16263 * localedata/sq_AL.UTF-8.in: Likewise.
16264 * localedata/sv_SE.UTF-8.in: Likewise.
16265 * localedata/szl_PL.UTF-8.in: Likewise.
16266 * localedata/tg_TJ.UTF-8.in: Likewise.
16267 * localedata/tk_TM.UTF-8.in: Likewise.
16268 * localedata/tt_RU.UTF-8.in: Likewise.
16269 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
16270 * localedata/ug_CN.UTF-8.in: Likewise.
16271 * localedata/uz_UZ.UTF-8.in: Likewise.
16272 * localedata/vi_VN.UTF-8.in: Likewise.
16273 * localedata/yi_US.UTF-8.in: Likewise.
16274 * localedata/yo_NG.UTF-8.in: Likewise.
16275 * localedata/zh_CN.UTF-8.in: Likewise.
16276 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
16277 file and fix bugs in the collation.
16278 * localedata/locales/az_AZ: Likewise.
16279 * localedata/locales/be_BY: Likewise.
16280 * localedata/locales/ber_DZ: Likewise.
16281 * localedata/locales/ber_MA: Likewise.
16282 * localedata/locales/bg_BG: Likewise.
16283 * localedata/locales/br_FR: Likewise.
16284 * localedata/locales/br_FR@euro: Likewise.
16285 * localedata/locales/ca_ES: Likewise.
16286 * localedata/locales/cns11643_stroke: Likewise.
16287 * localedata/locales/crh_UA: Likewise.
16288 * localedata/locales/cs_CZ: Likewise.
16289 * localedata/locales/csb_PL: Likewise.
16290 * localedata/locales/cv_RU: Likewise.
16291 * localedata/locales/cy_GB: Likewise.
16292 * localedata/locales/da_DK: Likewise.
16293 * localedata/locales/dz_BT: Likewise.
16294 * localedata/locales/en_CA: Likewise.
16295 * localedata/locales/eo: Likewise.
16296 * localedata/locales/es_CU: Likewise.
16297 * localedata/locales/es_EC: Likewise.
16298 * localedata/locales/es_ES: Likewise.
16299 * localedata/locales/es_US: Likewise.
16300 * localedata/locales/et_EE: Likewise.
16301 * localedata/locales/fa_IR: Likewise.
16302 * localedata/locales/fi_FI: Likewise.
16303 * localedata/locales/fil_PH: Likewise.
16304 * localedata/locales/fur_IT: Likewise.
16305 * localedata/locales/gez_ER@abegede: Likewise.
16306 * localedata/locales/ha_NG: Likewise.
16307 * localedata/locales/hr_HR: Likewise.
16308 * localedata/locales/hsb_DE: Likewise.
16309 * localedata/locales/hu_HU: Likewise.
16310 * localedata/locales/ig_NG: Likewise.
16311 * localedata/locales/ik_CA: Likewise.
16312 * localedata/locales/is_IS: Likewise.
16313 * localedata/locales/iso14651_t1_pinyin: Likewise.
16314 * localedata/locales/kk_KZ: Likewise.
16315 * localedata/locales/ku_TR: Likewise.
16316 * localedata/locales/ky_KG: Likewise.
16317 * localedata/locales/ln_CD: Likewise.
16318 * localedata/locales/lt_LT: Likewise.
16319 * localedata/locales/lv_LV: Likewise.
16320 * localedata/locales/mi_NZ: Likewise.
16321 * localedata/locales/ml_IN: Likewise.
16322 * localedata/locales/mn_MN: Likewise.
16323 * localedata/locales/mr_IN: Likewise.
16324 * localedata/locales/mt_MT: Likewise.
16325 * localedata/locales/nb_NO: Likewise.
16326 * localedata/locales/om_KE: Likewise.
16327 * localedata/locales/os_RU: Likewise.
16328 * localedata/locales/pl_PL: Likewise.
16329 * localedata/locales/ps_AF: Likewise.
16330 * localedata/locales/ro_RO: Likewise.
16331 * localedata/locales/ru_RU: Likewise.
16332 * localedata/locales/ru_UA: Likewise.
16333 * localedata/locales/sc_IT: Likewise.
16334 * localedata/locales/se_NO: Likewise.
16335 * localedata/locales/si_LK: Likewise.
16336 * localedata/locales/sq_AL: Likewise.
16337 * localedata/locales/sv_FI: Likewise.
16338 * localedata/locales/sv_FI@euro: Likewise.
16339 * localedata/locales/sv_SE: Likewise.
16340 * localedata/locales/szl_PL: Likewise.
16341 * localedata/locales/tg_TJ: Likewise.
16342 * localedata/locales/ti_ER: Likewise.
16343 * localedata/locales/tk_TM: Likewise.
16344 * localedata/locales/tl_PH: Likewise.
16345 * localedata/locales/tr_TR: Likewise.
16346 * localedata/locales/tt_RU: Likewise.
16347 * localedata/locales/tt_RU@iqtelif: Likewise.
16348 * localedata/locales/ug_CN: Likewise.
16349 * localedata/locales/uk_UA: Likewise.
16350 * localedata/locales/uz_UZ: Likewise.
16351 * localedata/locales/uz_UZ@cyrillic: Likewise.
16352 * localedata/locales/vi_VN: Likewise.
16353 * localedata/locales/yi_US: Likewise.
16354 * localedata/locales/yo_NG: Likewise.
16356 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16358 * gen-locales.mk: Make test files which contain @ modifiers in their
16360 * localedata/gen-locale.sh: Likewise.
16362 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16364 * posix/tst-fnmatch.input: Fix results for range expressions
16366 * posix/tst-regexloc.c: Do not use a range expression for
16367 de_DE.ISO-8859-1 locale.
16369 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16371 * posix/bug-regex5.c: Fix test case because with the new
16372 iso14651_t1_common file, the da_DK locale now has 6 collating elements
16373 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
16376 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16378 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
16379 downloaded from ISO, the collation order of @-. and space has changed.
16380 Therefore, this test file needed to be adapted.
16381 * localedata/fr_CA.UTF-8.in: Likewise.
16382 * localedata/fr_FR.UTF-8.in: Likewise.
16383 * localedata/uk_UA.UTF-8.in: Likewise.
16385 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16387 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16388 order of ȥ in the new iso14651_t1_common file.
16389 * localedata/pl_PL.UTF-8.in: Likewise.
16391 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16393 * localedata/locales/iso14651_t1_common: Add sections for various
16394 scripts to the iso14651_t1_common file.
16396 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16398 * localedata/locales/iso14651_t1_common: Use the code point of a
16399 character in the fourth collation level instead of IGNORE for all
16400 entries which have IGNORE on all 4 levels.
16402 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16404 * localedata/locales/iso14651_t1_common: Add some convenient collation
16405 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16406 rules similar to those in CLDR.
16408 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16410 * localedata/locales/iso14651_t1_common: The new version of this
16411 file downloaded from ISO contained several syntax errors which
16412 are fixed by this patch.
16414 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16416 * localedata/locales/iso14651_t1_common: replace all <U.....>
16417 with <U000.....> because glibc understands only 4 digit or 8 digit
16419 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16421 * localedata/locales/iso14651_t1_common: Necessary changes
16422 to make the file downloaded from ISO usable by glibc.
16424 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16427 * localedata/locales/iso14651_t1_common: Update file to
16428 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16430 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16432 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16433 of <nptl/pthreadP.h>
16434 (thread_attr_compare): Move function to...
16435 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
16436 * sysdeps/nptl/timer_routines.h: ... new header.
16437 * sysdeps/mach/hurd/gai_misc.h: New file.
16439 2018-02-26 Joseph Myers <joseph@codesourcery.com>
16441 * string/strcoll_l.c: Include <libc-diag.h>.
16442 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16443 declarations of seq1 and seq2.
16446 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16447 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16449 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16453 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16454 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16455 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16456 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16457 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16458 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16460 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16462 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
16463 macros used in __ptrace_request.
16465 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
16468 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
16470 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
16471 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
16472 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
16475 2018-02-23 Joseph Myers <joseph@codesourcery.com>
16478 * ctype/ctype.c (tolower): Use libc_hidden_def.
16479 (toupper): Likewise.
16480 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
16481 [!_ISOMAC] (toupper): Likewise.
16483 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16485 * localedata/Makefile: Remove --quiet argument when
16488 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16491 * localedata/locales/pt_BR (LC_TIME): use / instead of -
16493 * localedata/locales/pt_PT (LC_TIME): likewise
16495 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16498 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
16499 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
16500 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
16502 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16506 * nptl/Makefile (routines): Remove unregister-atfork.
16507 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
16508 (fork_handler_alloc): Remove function.
16509 (fork_handlers, fork_handler_init): New variables.
16510 (__fork_lock): Rename to atfork_lock.
16511 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
16512 to use a dynamic array to add/remove atfork handlers.
16513 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16514 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
16515 Remove declaration.
16516 (fork_handler): Remove next, refcntr, and need_signal member.
16517 (__run_fork_handler_type): New enum.
16518 (__run_fork_handlers): New prototype.
16519 * nptl/register-atfork.c: Remove file.
16520 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
16522 * sysdeps/nptl/nptl-signals.h: Move to ...
16523 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
16525 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
16526 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
16527 unnecessary check for SIGTIMER.
16528 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
16529 remove unnecessary removal of SIGTIMER.
16530 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
16531 include-signals.h rename.
16532 * nptl/pthreadP.h: Likewise.
16533 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
16534 __is_internal_signal instead of __nptl_is_internal_signal.
16536 2018-02-22 Andrew Waterman <andrew@sifive.com>
16539 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
16540 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
16541 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
16542 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
16544 2018-02-22 DJ Delorie <dj@delorie.com>
16546 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
16548 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
16550 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
16551 do_misaligned, not misaligned8.
16553 2018-02-22 Steve Ellcey <sellcey@cavium.com>
16555 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
16556 Add memcpy_thunderx2.
16557 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16559 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
16560 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
16561 and IS_THUNDERX2PA checks.
16562 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
16563 Use macro to set name appropriately.
16564 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
16565 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
16566 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
16568 (IS_THUNDERX2): New macro.
16570 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
16572 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16574 2018-02-21 Zack Weinberg <zackw@panix.com>
16576 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
16577 Define here, unconditionally.
16578 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
16579 * libio/libioP.h: Remove #if 0 blocks.
16580 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
16581 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
16582 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
16584 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
16585 Assume weak_alias is always defined.
16587 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
16588 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
16589 Remove #if 0 and #ifdef TODO blocks.
16590 Assume text_set_element is always defined.
16592 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
16593 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
16594 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
16596 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
16597 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
16598 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
16599 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
16600 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
16601 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
16602 Reformat bit flags for _flags field to make occupancy clearer.
16604 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
16605 Keep definitions consistent with those in libio/libio.h.
16607 * libio/libio.h (_IO_file_flags): Remove macro.
16608 All uses changed to _flags.
16610 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
16611 (__HAVE_COLUMN, _IO_BE): Don't define.
16612 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
16613 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
16614 * libio/libioP.h (EOF): Don't define.
16615 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
16616 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
16617 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
16618 testing _IO_UNIFIED_JUMPTABLES.
16620 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
16621 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
16622 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
16623 (_IO_size_t): Delete; all uses changed to size_t.
16624 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
16625 (_IO_off_t): Delete; all uses changed to off_t.
16626 (_IO_off64_t): Delete; all uses changed to off64_t.
16627 (_IO_pid_t): Delete; all uses changed to pid_t.
16628 (_IO_uid_t): Delete; all uses changed to uid_t.
16629 (_IO_wint_t): Delete; all uses changed to wint_t.
16630 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
16631 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
16632 (_IO_cookie_io_functions_t): Delete; all uses changed to
16633 cookie_io_functions_t.
16634 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
16635 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
16636 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
16637 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
16639 * libio/iofopncook.c: Remove unnecessary forward declarations.
16640 * libio/iolibio.h: Correct outdated commentary.
16641 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
16642 * stdio-common/fxprintf.c (__fxprintf_nocancel):
16643 Remove unnecessary casts.
16644 * stdio-common/getline.c: Use _IO_getdelim directly.
16645 Don't redefine ssize_t.
16646 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
16647 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
16648 Remove outdated comments.
16649 * stdio-common/vfscanf.c: Don't redefine va_list.
16651 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
16652 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
16653 Remove preprocessor conditionals on _LIBC and __USE_GNU,
16654 which are always true, and __cplusplus, which is always false.
16656 2018-02-21 Joseph Myers <joseph@codesourcery.com>
16660 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
16661 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
16662 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
16663 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
16665 [!_ISOMAC] (putc_unlocked): Likewise.
16666 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
16667 define inline if [__USE_EXTERN_INLINES].
16668 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
16673 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
16674 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
16675 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
16676 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
16677 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
16679 * time/tzfile.c (__tzfile_read): Likewise.
16681 2018-02-21 Mike FABIAN <mfabian@redhat.com>
16684 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
16686 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16688 * io/fcntl.h: Fix a typo in a comment.
16690 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16693 * include/features.h: Add _ISOC11_SOURCE to test for whether to
16694 define _DEFAULT_SOURCE.
16695 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
16697 2018-02-21 Florian Weimer <fweimer@redhat.com>
16700 * elf/cache.c (save_cache): Call fsync on temporary file before
16702 (save_aux_cache): Call fdatasync on temporary file before renaming
16705 2018-02-21 Florian Weimer <fweimer@redhat.com>
16708 * include/caller.h: Remove file.
16709 * elf/dl-caller.c: Likewise.
16710 * elf/Makefile (dl-routines): Remove dl-caller.
16711 (shared-only-routines): Do not add dl-caller.
16712 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
16714 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
16716 (dl_open_worker): Do not call __check_caller.
16717 (_dl_open): Do not set caller_dl_open member.
16718 * elf/rtld.c (_rtld_global_ro): Do not initialize
16719 _dl_check_caller member.
16720 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
16721 _dl_check_caller member.
16722 (_dl_check_caller): Remove declaration.
16723 * sysdeps/unix/sysv/linux/dl-execstack.c
16724 (_dl_make_stack_executable): Do not call __check_caller.
16726 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
16728 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
16729 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
16731 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16733 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
16736 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16739 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
16740 of 199606L, 200112L, and 200809L.
16741 (_XOPEN_SOURCE): Document special values of 600 and 700.
16742 (_ISOC11_SOURCE): Document macro.
16743 (_ATFILE_SOURCE): Likewise.
16744 (_FORTIFY_SOURCE): Likewise.
16746 2018-02-19 Joseph Myers <joseph@codesourcery.com>
16750 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
16751 and define as weak alias of __ferror_unlocked. Use
16753 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
16755 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
16756 function if [__USE_EXTERN_INLINES].
16757 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
16760 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
16763 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
16765 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16768 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
16769 the GLIBC_2.1 version.
16771 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16774 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
16775 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
16776 intl/tst-gettext-de.po from po/de.po by removing the
16777 POT-Creation-Date line.
16778 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
16780 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
16783 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16785 * mach/Makefile (headers): Add mach/param.h.
16786 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
16787 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
16788 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
16789 (__ptsname_r): Move implementation to...
16790 (__ptsname_internal): ... new function. Add filling the STP
16793 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
16795 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
16798 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
16800 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
16803 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16805 * nptl/Makefile (tst-mutex8-ENV): Delete.
16806 * nptl/tst-mutex8.c (check_type):
16807 Add runtime check if mutex will be elided.
16809 2018-02-15 Joseph Myers <joseph@codesourcery.com>
16813 * manual/install.texi (Configuring and compiling): Describe
16814 passing CC and CFLAGS on configure command line, not as
16815 environment variables. Use @code markup on those variables.
16816 Specify what options go in CC and what go in CFLAGS. Note the
16817 requirement to compile with optimization.
16818 * INSTALL: Regenerated.
16821 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
16822 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
16823 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16824 __sigprocmask instead of sigprocmask.
16825 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16827 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16828 __sigsetjmp and sigprocmask.
16831 * include/argz.h (argz_next): Use libc_hidden_proto.
16832 (__argz_next): Likewise.
16833 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16834 (argz_next): Use libc_hidden_weak.
16837 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16839 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16843 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16845 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16849 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16850 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16851 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16852 (__feof_unlocked): New declaration, and inline function if
16853 [__USE_EXTERN_INLINES].
16854 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16855 instead of feof_unlocked.
16856 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16857 * nss/nsswitch.c (nss_parse_file): Likewise.
16858 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16860 * time/getdate.c (__getdate_r): Likewise.
16861 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16862 Define as macro to call __feof_unlocked.
16864 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16866 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16868 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16870 * math/Makefile: Remove mpexp.c and mplog.c
16871 * sysdeps/i386/fpu/mpexp.c: Delete file.
16872 * sysdeps/i386/fpu/mplog.c: Likewise.
16873 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16874 * sysdeps/ia64/fpu/mplog.c: Likewise.
16875 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16876 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16877 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16878 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16879 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16880 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16881 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16882 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16883 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16884 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16885 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16886 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16887 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16888 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16889 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16890 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16892 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16894 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16896 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16898 * sysdeps/sh/libm-test-ulps: Update.
16900 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16902 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16905 2018-02-12 Zack Weinberg <zackw@panix.com>
16908 * posix/sys/types.h: Don't include sys/sysmacros.h.
16909 * misc/sys/sysmacros.h: Remove the conditional deprecation
16910 warnings for the macros defined by this header.
16912 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16914 * manual/probes.texi: Remove slowexp probes.
16915 * math/Makefile: Remove slowexp.
16916 * sysdeps/generic/math_private.h (__slowexp): Remove.
16917 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16918 document error bounds.
16919 * sysdeps/i386/fpu/slowexp.c: Remove.
16920 * sysdeps/ia64/fpu/slowexp.c: Remove.
16921 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16922 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16923 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16924 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16925 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16926 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16927 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16928 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16929 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16930 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16931 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16933 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16936 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16937 * benchtests/pow-inputs: Update comment for slow path cases.
16938 * manual/probes.texi (slowpow_p10): Delete removed probe.
16939 (slowpow_p10): Likewise.
16940 * math/Makefile: Remove halfulp.c and slowpow.c.
16941 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16942 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16943 (__halfulp): Remove.
16944 (__slowpow): Remove.
16945 * sysdeps/i386/fpu/halfulp.c: Delete file.
16946 * sysdeps/i386/fpu/slowpow.c: Likewise.
16947 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16948 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16949 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16950 improve comments and add error analysis.
16951 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16952 (power1): Remove function:
16953 (log1): Remove error argument, add error analysis.
16954 (my_log2): Remove function.
16955 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16956 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16957 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16958 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16959 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16960 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16961 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16962 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16963 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16964 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16965 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16966 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16967 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16968 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16970 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16972 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16973 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16975 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16978 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16979 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16980 and PTRACE_SETHBPREGS.
16982 2018-02-10 Zack Weinberg <zackw@panix.com>
16985 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16987 * malloc/tst-malloc-stats-cancellation.c: New test case.
16988 * malloc/Makefile: Add new test case.
16990 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16992 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16994 2018-02-10 Joseph Myers <joseph@codesourcery.com>
16996 * math/Makefile (libm-narrow-fns): Add add.
16997 (libm-test-funcs-narrow): Likewise.
16998 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16999 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17000 * math/gen-auto-libm-tests.c (test_functions): Add add.
17001 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17002 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17003 (NARROW_ADD_TRIVIAL): Likewise.
17004 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17006 (__daddl): Likewise.
17007 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17009 (CFLAGS-nldbl-dadd.c): New variable.
17010 (CFLAGS-nldbl-fadd.c): Likewise.
17011 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17013 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17015 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17016 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17017 * math/auto-libm-test-in: Add tests of add.
17018 * math/auto-libm-test-out-narrow-add: New generated file.
17019 * math/libm-test-narrow-add.inc: New file.
17020 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17021 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17022 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17023 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17024 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17025 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17026 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17027 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17028 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17029 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17030 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17031 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17032 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17033 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17034 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17035 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17036 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17037 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17039 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17040 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17041 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17042 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17043 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17044 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17045 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17046 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17047 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17048 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17049 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17050 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17051 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17056 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17057 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17058 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17059 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17060 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17061 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17062 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17063 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17064 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17065 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17067 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17068 (f128-pairs): New variable.
17069 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17070 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17072 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17073 Also make tests add $(f128-loader-link) to gnulib-tests.
17075 2018-02-09 DJ Delorie <dj@redhat.com>
17078 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17079 64-bit ELF type for 64-bit ELF objects.
17081 2018-02-09 Joseph Myers <joseph@codesourcery.com>
17083 * math/libm-test-driver.c (snan_tests_arg): New variable.
17084 * math/libm-test-support.h (snan_tests_arg): New declaration.
17085 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17087 * math/Makefile (test-type-pairs): New variable.
17088 (test-type-pairs-f64xf128-yes): Likewise.
17089 (tests): Add test-narrow-macros.
17090 (libm-test-funcs-narrow): New variable.
17091 (libm-test-c-narrow): Likewise.
17092 (generated): Add $(libm-test-c-narrow).
17093 (libm-tests-base-narrow): New variable.
17094 (libm-tests-narrow): Likewise.
17095 (libm-tests): Add $(libm-tests-narrow).
17096 (libm-tests-for-type): Handle $(libm-tests-narrow).
17097 (libm-test-c-narrow-obj): New variable.
17098 ($(libm-test-c-narrow-obj)): New rule.
17099 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17100 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17101 $(o-iterator) to set dependencies and CFLAGS.
17102 * math/gen-auto-libm-tests.c: Document use for narrowing
17104 (output_for_one_input_case): Take argument NARROW.
17105 (generate_output): Likewise. Update call to
17106 output_for_one_input_case.
17107 (main): Take --narrow option. Update call to generate_output.
17108 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17109 (apply_lit): Update call to _apply_lit.
17110 (apply_arglit): New function.
17111 (parse_args): Handle "a" arguments.
17112 (parse_auto_input): Handle format names using ":".
17113 * math/README.libm-test: Document "a" parameter type.
17114 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17115 (ARG_TYPE_TRUE_MIN): Likewise.
17116 (ARG_TYPE_MAX): Likwise.
17117 (ARG_MIN_EXP): Likewise.
17118 (ARG_MAX_EXP): Likewise.
17119 (ARG_MANT_DIG): Likewise.
17120 (TEST_COND_arg_ibm128): Likewise.
17121 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17122 (TEST_COND_arg_fmt): New macro.
17123 (init_max_error): Update prototype.
17124 * math/libm-test-support.c (test_ibm128): New variable.
17125 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17126 instead of using [TEST_COND_ibm128] conditional.
17127 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17128 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17129 [TEST_NARROW] (TEST_MSG): New definition.
17130 (arg_plus_zero): New macro.
17131 (arg_minus_zero): Likewise.
17132 (arg_plus_infty): Likewise.
17133 (arg_minus_infty): Likewise.
17134 (arg_qnan_value_pl): Likewise.
17135 (arg_qnan_value): Likewise.
17136 (arg_snan_value_pl): Likewise.
17137 (arg_snan_value): Likewise.
17138 (arg_max_value): Likewise.
17139 (arg_min_value): Likewise.
17140 (arg_min_subnorm_value): Likewise.
17141 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17142 (RUN_TEST_LOOP_aa_f): New macro.
17143 (TEST_SUFF): New macro.
17144 (TEST_SUFF_STR): Likewise.
17145 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17146 (TEST_COND_any_ibm128): New macro.
17147 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17148 this_func. Update call to init_max_error.
17149 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17150 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17151 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17152 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17153 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17154 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17155 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17156 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17157 * math/test-math-vector.h (TEST_NARROW): Likewise.
17158 * math/test-arg-double.h: New file.
17159 * math/test-arg-float128.h: Likewise.
17160 * math/test-arg-float32x.h: Likewise.
17161 * math/test-arg-float64.h: Likewise.
17162 * math/test-arg-float64x.h: Likewise.
17163 * math/test-arg-ldouble.h: Likewise.
17164 * math/test-math-narrow.h: Likewise.
17165 * math/test-narrow-macros.c: Likewise.
17166 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17167 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17168 test-narrow-macros-ldbl-64.
17169 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17171 * math/bits/mathcalls-narrow.h: New file.
17172 * include/bits/mathcalls-narrow.h: Likewise.
17173 * math/math-narrow.h: Likewise.
17174 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17175 (__MATHCALL_NARROW_ARGS_2): Likewise.
17176 (__MATHCALL_NARROW_ARGS_3): Likewise.
17177 (__MATHCALL_NARROW_NORMAL): Likewise.
17178 (__MATHCALL_NARROW_REDIR): Likewise.
17179 (__MATHCALL_NARROW): Likewise.
17180 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17181 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17183 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17184 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17185 (libm-narrow-fns): New variable.
17186 (libm-narrow-types-basic): Likewise.
17187 (libm-narrow-types-ldouble-yes): Likewise.
17188 (libm-narrow-types-float128-yes): Likewise.
17189 (libm-narrow-types-float128-alias-yes): Likewise.
17190 (libm-narrow-types): Likewise.
17191 (libm-routines): Add narrowing functions.
17192 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17193 (libc_feholdexcept_setroundf128): New macro.
17194 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17195 * sysdeps/ieee754/float128/float128_private.h: Include
17196 <math/math-narrow.h>.
17197 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17198 Undefine and redefine.
17199 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17200 (libm_alias_float_ldouble): Undefine and redefine.
17201 (libm_alias_double_ldouble): Likewise.
17203 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17205 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17207 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17210 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
17212 * manual/creature.texi: Convert references to gcc.info to gcc.
17213 * manual/stdio.texi: Likewise.
17214 * manual/string.texi: Likewise.
17216 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17219 * posix/bits/types.h (__int_least8_t): New typedef.
17220 (__uint_least8_t): Likewise.
17221 (__int_least16_t): Likewise.
17222 (__uint_least16_t): Likewise.
17223 (__int_least32_t): Likewise.
17224 (__uint_least32_t): Likewise.
17225 (__int_least64_t): Likewise.
17226 (__uint_least64_t): Likewise.
17227 * sysdeps/generic/stdint.h (int_least8_t): Define using
17229 (int_least16_t): Define using __int_least16_t.
17230 (int_least32_t): Define using __int_least32_t.
17231 (int_least64_t): Define using __int_least64_t.
17232 (uint_least8_t): Define using __uint_least8_t.
17233 (uint_least16_t): Define using __uint_least16_t.
17234 (uint_least32_t): Define using __uint_least32_t.
17235 (uint_least64_t): Define using __uint_least64_t.
17236 * wcsmbs/uchar.h: Include <bits/types.h>.
17237 (char16_t): Define using __uint_least16_t conditional only on
17239 (char32_t): Define using __uint_least32_t conditional only on
17241 * wcsmbs/test-char-types.c: New file.
17242 * wcsmbs/Makefile (tests): Add test-char-types.
17244 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17247 2018-02-07 Zack Weinberg <zackw@panix.com>
17249 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17250 Delete all contents except for definitions of _G_HAVE_MMAP and
17251 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17252 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17253 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17256 * libio/libio.h: Don't include bits/_G_config.h here.
17257 Include stddef.h with __need_wchar_t defined. Include
17258 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17259 Define _IO_iconv_t here, directly.
17260 Don't define _IO_HAVE_ST_BLKSIZE.
17261 * libio/libioP.h: Include _G_config.h here. Move include of
17262 shlib-compat.h up with rest of includes. Simplify conditionals
17263 controlling definition of _IO_JUMPS_OFFSET.
17265 * csu/init.c: Remove always-true #if around entire file.
17266 Don't include stdio.h. Set _IO_stdin_used to hardwired
17267 constant 0x20001, and update commentary.
17268 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
17269 Replace all uses of _G_va_list with __gnuc_va_list.
17270 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
17271 instead of #if _IO_HAVE_ST_BLKSIZE.
17272 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
17273 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
17276 * libio/bits/libio.h: Move back to libio/libio.h and adjust
17277 multiple-include guard to match.
17278 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
17280 Remove preprocessor conditionals that are always true and/or
17281 redundant to other preprocessor conditionals in the same nest.
17282 Include shlib-compat.h unconditionally.
17283 Error out if _LIBC is not defined, or if _ISOMAC is defined,
17284 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
17285 defined after including stdio.h.
17286 Use __BEGIN_DECLS/__END_DECLS.
17288 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
17289 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
17290 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
17292 2018-02-07 Zack Weinberg <zackw@panix.com>
17294 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
17295 New single-type headers split from _G_config.h.
17296 * libio/bits/types/cookie_io_functions_t.h
17297 * libio/bits/types/struct_FILE.h
17298 New single-type headers split from libio.h.
17300 * libio/Makefile: Install the above new headers. Don't install
17301 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
17303 * libio/_G_config.h, libio/libio.h: Delete file.
17305 * libio/bits/libio.h: Remove improper-inclusion guard.
17306 Include stdio.h and don't repeat anything that it does.
17307 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
17308 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
17309 __io_read_fn as cookie_read_function_t,
17310 __io_write_fn as cookie_write_function_t,
17311 __io_seek_fn as cookie_seek_function_t,
17312 __io_close_fn as cookie_close_function_t,
17313 and _IO_cookie_io_functions_t as cookie_io_functions_t.
17314 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
17315 here, in the "compatibility defines" section. Remove an #if 0
17316 block. Use the "body" macros from bits/types/struct_FILE.h to
17317 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
17318 and _IO_ferror_unlocked.
17319 Move prototypes of __uflow and __overflow...
17321 * libio/stdio.h: ...here. Don't include bits/libio.h.
17322 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
17323 directly from stdarg.h. Include bits/types/__fpos_t.h,
17324 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
17325 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
17326 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
17327 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
17328 cookie_io_functions_t, not _IO_cookie_io_functions_t;
17329 __ssize_t, not _IO_ssize_t. Unconditionally define
17330 BUFSIZ as 8192 and EOF as (-1).
17332 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
17333 macros from bits/types/struct_FILE.h instead of _IO_* macros
17334 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
17335 instead of _IO_ssize_t.
17336 * libio/bits/stdio2.h: Similarly.
17338 * libio/iolibio.h: Add multiple-include guard.
17339 Include bits/libio.h after stdio.h.
17340 * libio/libioP.h: Add multiple-include guard.
17341 Include stdio.h and bits/libio.h before iolibio.h.
17343 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
17344 * include/bits/types/cookie_io_functions_t.h
17345 * include/bits/types/struct_FILE.h: New wrappers.
17347 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
17348 Get definitions of _G_fpos_t and _G_fpos64_t from
17349 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
17350 respectively. Remove improper-inclusion guards.
17352 * conform/data/stdio.h-data: Update expectations of va_list.
17353 * scripts/check-installed-headers.sh: Remove special case for
17354 libio.h and _G_config.h.
17356 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17360 * include/sys/sysmacros.h [!_ISOMAC]
17361 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
17362 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
17363 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
17364 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
17366 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
17367 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
17369 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
17370 Undefine and redefine to add use __gnu_dev_ prefix.
17371 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
17373 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
17374 and define as hidden inline function.
17375 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
17377 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
17379 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
17380 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
17381 (gnu_dev_minor): Likewise.
17382 (gnu_dev_makedev): Likewise.
17383 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
17385 * posix/wordexp.c (exec_comm_child): Likewise.
17386 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17387 instead of minor and __gnu_dev_major instead of major.
17388 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17389 __gnu_dev_major instead of major.
17390 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17391 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17392 instead of gnu_dev_minor.
17393 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17394 (SLAVE_P): Likewise.
17395 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17396 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17400 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17402 * locale/weightwc.h (findidx): Likewise.
17404 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17406 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17407 (slowlog_inexact): Likewise
17408 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17409 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17411 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17414 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17415 missing second underscore to parameter name.
17417 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17423 * bits/byteswap.h: Update file comment. Do not include
17424 <bits/byteswap-16.h>.
17425 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17427 (__bswap_16): Define as inline function.
17428 (__bswap_constant_32): Reformat definition.
17429 (__bswap_32): Always define as inline function, not macro, using
17430 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17431 otherwise __bswap_constant_32.
17432 (__bswap_constant_64): Reformat definition. Do not use
17433 __extension__ here.
17434 (__bswap_64): Always define as inline function, not macro. Use
17435 __extension__ on function definition. Use __builtin_bswap64 if
17436 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17437 * string/test-endian-file-scope.c: New file.
17438 * string/test-endian-sign-conversion.c: Likewise.
17439 * string/Makefile (headers): Remove bits/byteswap-16.h.
17440 (tests): Add test-endian-file-scope and
17441 test-endian-sign-conversion.
17442 (CFLAGS-test-endian-sign-conversion.c): New variable.
17443 * bits/byteswap-16.h: Remove file.
17444 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17445 * sysdeps/ia64/bits/byteswap.h: Likewise.
17446 * sysdeps/m68k/bits/byteswap.h: Likewise.
17447 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17448 * sysdeps/s390/bits/byteswap.h: Likewise.
17449 * sysdeps/tile/bits/byteswap.h: Likewise.
17450 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17451 * sysdeps/x86/bits/byteswap.h: Likewise.
17454 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17455 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17456 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17457 199901L] (__restrict): Define to restrict.
17460 * string/testcopy.c: Include <support/support.h>. Do not include
17461 <malloc.h>. Use <support/test-driver.c>.
17462 (main): Rename to do_test. Make static. Use xmalloc instead of
17466 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
17467 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
17468 (SSIZE_MAX): Define to INT_MAX.
17469 * posix/test-ssize-max.c: New file.
17470 * posix/Makefile (tests): Add test-ssize-max.
17473 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
17474 <support/support.h>. Do not include <malloc.h>.
17475 (query_auxv): Use xmalloc instead of malloc.
17478 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
17479 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
17482 2018-02-06 Florian Weimer <fweimer@redhat.com>
17485 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17486 Use scratch_buffer instead of extend_alloca.
17488 2018-02-06 Zack Weinberg <zackw@panix.com>
17490 * libio/stdio.h: Don't define getc or putc as macros.
17491 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
17492 not _IO_getc and _IO_putc.
17494 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
17495 * stdio-common/tstgetln.c: Don't redefine ssize_t.
17497 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17499 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
17500 (TCP_FASTOPEN_NO_COOKIE): Likewise.
17502 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
17505 * elf/elf.h (NT_PRFPREG): New macro.
17506 (NT_S390_VXRS_LOW): Likewise.
17507 (NT_S390_VXRS_HIGH): Likewise.
17508 (NT_S390_GS_CB): Likewise.
17509 (NT_S390_GS_BC): Likewise.
17510 (NT_S390_RI_CB): Likewise.
17512 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17513 (MAP_SYNC): New macro.
17514 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
17516 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17517 (MAP_SYNC): Likewise.
17518 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17519 (MAP_SYNC): Likewise.
17520 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17521 (MAP_SYNC): Likewise.
17522 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17523 (MAP_SYNC): Likewise.
17524 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17525 (MAP_SYNC): Likewise.
17526 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17527 (MAP_SYNC): Likewise.
17528 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
17530 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
17533 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
17534 (MAP_SHARED_VALIDATE): New macro.
17535 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17536 (MAP_SHARED_VALIDATE): Likewise.
17538 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17540 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
17541 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
17542 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17544 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17546 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
17547 (DT_NUM): Updated to 35.
17549 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17551 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
17552 __builtin_expect with __glibc_likely and __glibc_unlikely.
17553 (elf_machine_rela): Likewise.
17554 (elf_machine_lazy_rel): Likewise.
17556 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17558 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
17559 __builtin_expect with __glibc_likely and __glibc_unlikely.
17560 (elf_machine_lazy_rel): Likewise.
17562 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17565 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
17567 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
17569 2018-02-05 Andreas Schwab <schwab@suse.de>
17572 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
17575 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17577 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
17578 not check against PTHREAD_STACK_MIN.
17580 2018-02-02 Sean McKean <smckean83@gmail.com>
17583 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
17585 2018-02-02 Florian Weimer <fweimer@redhat.com>
17588 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
17589 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17590 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17591 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
17592 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17593 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17594 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17595 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
17596 * manual/llio.texi (Scatter-Gather): Mention offset -1.
17597 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
17598 * misc/tst-preadvwritev2.c (do_test): Call it.
17599 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
17601 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17603 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
17605 * benchtests/bench-memcmp.c: Print json instead of plain text.
17607 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
17610 2018-02-01 Joseph Myers <joseph@codesourcery.com>
17612 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17614 (s390_sthyi): New syscall.
17616 * sysdeps/generic/ldbl-classify-compat.h: New file.
17617 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
17618 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
17619 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
17620 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
17621 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
17622 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
17623 * sysdeps/ieee754/dbl-64/s_finite.c: Include
17624 <ldbl-classify-compat.h>.
17625 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17626 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
17627 <ldbl-classify-compat.h>.
17628 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17629 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
17630 <ldbl-classify-compat.h>.
17631 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17632 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
17633 <ldbl-classify-compat.h>.
17634 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17635 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
17636 <ldbl-classify-compat.h>.
17637 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17638 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
17639 <ldbl-classify-compat.h>.
17640 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17641 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
17642 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17643 * sysdeps/m68k/coldfire/math_private.h: Remove file.
17644 * sysdeps/microblaze/math_private.h: Likewise.
17645 * sysdeps/nios2/math_private.h: Likewise.
17646 * sysdeps/sh/math_private.h: Likewise.
17648 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
17649 * sysdeps/m68k/coldfire/math_private.h: ... here.
17650 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
17651 * sysdeps/tile/math_private.h: Likewise.
17652 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
17654 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
17657 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
17659 (libc_fetestexcept): Likewise.
17660 (libc_feupdateenv_test): Likewise.
17661 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
17662 (libc_fetestexcept): Likewise.
17663 (libc_feupdateenv_test): Likewise.
17664 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
17665 (libc_fetestexcept): Likewise.
17666 (libc_feupdateenv_test): Likewise.
17667 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
17668 (libc_fetestexcept): Likewise.
17669 (libc_feupdateenv_test): Likewise.
17671 * sysdeps/generic/math_private.h
17672 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
17673 New inline function.
17674 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
17677 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
17678 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
17679 * sysdeps/generic/math_private.h
17680 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
17682 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
17684 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
17686 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
17688 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
17690 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
17692 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
17693 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
17694 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
17695 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
17696 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
17697 (__fegetenv): Likewise.
17698 (fesetenv): Likewise.
17699 (__fesetenv): Likewise.
17700 (feupdateenv): Likewise.
17701 (__feupdateenv): Likewise.
17702 (fegetround): Likewise.
17703 (__fegetround): Likewise.
17704 (fesetround): Likewise.
17705 (__fesetround): Likewise.
17707 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
17708 (feraiseexcept): New macro.
17709 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
17710 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
17712 (__feraiseexcept): Likewise.
17713 (feclearexcept): Likewise.
17714 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
17715 (__feraiseexcept): Likewise.
17716 (feclearexcept): Likewise.
17717 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
17718 (__feraiseexcept): Likewise.
17719 (feclearexcept): Likewise.
17720 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
17721 (__feraiseexcept): Likewise.
17722 (feclearexcept): Likewise.
17723 (fetestexcept): Likewise.
17725 * sysdeps/m68k/coldfire/math-tests.h: New file.
17727 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
17728 * sysdeps/m68k/bits/fenv.h: ... here.
17729 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
17731 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
17733 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
17735 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
17737 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
17739 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
17741 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
17742 (__FE_UNDEFINED): New enum constant.
17743 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
17745 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
17747 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
17749 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
17750 to match generic bits/fenv.h.
17751 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
17754 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
17756 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
17757 * soft-fp/half.h (union _FP_UNION_H): Likewise.
17758 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
17759 * soft-fp/single.h (union _FP_UNION_S): Likewise.
17761 2018-02-01 Carlos O'Donell <carlos@redhat.com>
17762 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
17763 Joseph Myers <joseph@codesourcery.com>
17766 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
17767 (__log1p): Disable -Wmaybe-uninitialized for -Os around
17768 computation using c.
17769 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
17770 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
17771 computation using c.
17773 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17775 * version.h (RELEASE): Set to "development".
17776 (VERSION): Set to "2.27.9000".
17777 * NEWS (2.28): New section.
17779 * version.h (RELEASE): Set to "stable".
17780 (VERSION): Set to "2.27".
17781 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
17783 * NEWS: Add the list of bugs fixed in 2.27.
17785 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17787 * stdlib/test-atexit-race-common.c (do_test): Check stack size
17788 against PTHREAD_STACK_MIN.
17790 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17792 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
17794 (Rafal Luzynski, Andreas Schwab): Update.
17796 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
17799 * NEWS: List the languages which actually use the alternative
17800 months feature in this release. Also explain that "alt_mon" and
17801 "ab_alt_mon" are optional.
17803 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
17806 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
17808 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
17810 * manual/install.texi (Tools for Compilation): Update the newest
17811 versions of gcc, binutils, texinfo, gawk, bison, and sed.
17812 * INSTALL: Regenerated.
17814 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17816 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
17817 instead of __builtin_expect.
17819 2018-01-30 Florian Weimer <fweimer@redhat.com>
17821 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
17823 * nss/tst-nss-getpwent.c (do_test): Likewise.
17825 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17828 * localedata/locales/hr_HR (mon): Rename to...
17830 (mon): Import from CLDR (genitive case).
17831 (d_t_fmt): Update the comment.
17833 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17835 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17836 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17837 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17839 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17841 * mach/Versions: Fix version when __mach_host_self_ was added.
17842 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17843 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17844 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17845 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17846 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17847 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17848 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17849 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17850 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17851 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17852 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17853 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
17854 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17855 || to respect codestyle.
17856 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17857 (do_test_bz20181): Rename accordingly.
17858 * malloc/malloc.c: Include <assert.h>.
17859 (assert): Do not define.
17860 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
17861 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17862 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
17863 * sysdeps/mach/hurd/hp-timing.h: New file.
17864 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
17866 2018-01-29 Darius Rad <darius@bluespec.com>
17868 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17870 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
17872 * sysdeps/init_array/crti.S (.section .init_array): Add
17873 PREINIT_FUNCTION when defined.
17874 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
17875 * config.h.in: Regenerate.
17876 * manual/platform.texi: Add RISC-V documenation for
17877 __riscv_flush_icache.
17878 * sysdeps/riscv/__longjmp.S: New file.
17879 * sysdeps/riscv/backtrace.c: Likewise.
17880 * sysdeps/riscv/bits/endian.h: Likewise.
17881 * sysdeps/riscv/bits/setjmp.h: Likewise.
17882 * sysdeps/riscv/bits/wordsize.h: Likewise.
17883 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17884 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17885 * sysdeps/riscv/dl-trampoline.S: Likewise.
17886 * sysdeps/riscv/gccframe.h: Likewise.
17887 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17888 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17889 * sysdeps/riscv/machine-gmon.h: Likewise.
17890 * sysdeps/riscv/memusage.h: Likewise.
17891 * sysdeps/riscv/setjmp.S: Likewise.
17892 * sysdeps/riscv/sys/asm.h: Likewise.
17893 * sysdeps/riscv/tls-macros.h: Likewise.
17894 * sysdeps/riscv/dl-tls.h: New file.
17895 * sysdeps/riscv/libc-tls.c: Likewise.
17896 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17897 * sysdeps/riscv/nptl/tls.h: Likewise.
17898 * sysdeps/riscv/stackinfo.h: Likewise.
17899 * sysdeps/riscv/bits/fenv.h: New file.
17900 * sysdeps/riscv/e_sqrtl.c: Likewise.
17901 * sysdeps/riscv/fpu_control.h: Likewise.
17902 * sysdeps/riscv/math-tests.h: Likewise.
17903 * sysdeps/riscv/nofpu/Implies: Likewise.
17904 * sysdeps/riscv/sfp-machine.h: Likewise.
17905 * sysdeps/riscv/tininess.h: Likewise.
17906 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17907 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17908 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17909 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17910 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17911 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17912 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17913 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17914 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17915 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17916 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17917 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17918 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17919 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17920 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17921 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17922 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17923 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17924 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17925 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17926 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17927 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17928 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17929 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17930 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17931 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17932 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17933 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17934 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17935 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17936 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17937 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17938 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17939 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17940 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17941 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17942 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17943 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17944 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17945 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17946 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17947 * sysdeps/riscv/rvf/math_private.h: Likewise.
17948 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17949 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17950 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17951 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17952 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17953 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17954 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17955 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17956 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17957 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17958 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17959 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17960 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17961 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17962 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17963 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
17964 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17965 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17966 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17967 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
17968 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17969 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17970 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17971 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17972 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17973 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17974 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17975 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17976 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
17977 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17978 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17979 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17980 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17981 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17982 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17983 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17984 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17985 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17986 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17987 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17988 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17989 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17990 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17991 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17992 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17993 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17994 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17995 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17996 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17997 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17998 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
17999 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18000 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18001 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
18002 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18003 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18004 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18005 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18006 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18007 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18008 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18009 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18010 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18011 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18012 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18013 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18014 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18015 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18016 * sysdeps/riscv/Implies: New file.
18017 * sysdeps/riscv/Makefile: Likewise.
18018 * sysdeps/riscv/configure: Likewise.
18019 * sysdeps/riscv/configure.ac: Likewise.
18020 * sysdeps/riscv/nptl/Makefile: Likewise.
18021 * sysdeps/riscv/preconfigure: Likewise.
18022 * sysdeps/riscv/rv64/Implies-after: Likewise.
18023 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18024 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18025 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18026 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18027 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18028 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18029 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18030 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18031 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18032 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18033 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
18034 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18035 (Config): Likewise.
18037 2018-01-29 Florian Weimer <fweimer@redhat.com>
18040 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18041 libnsl_hidden_proto.
18042 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18043 libnsl_hidden_proto.
18044 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18045 * nis/Makefile (libnsl-routines): Add nss-default only for
18046 build-obsolete-nsl.
18047 * nis/nis_defaults.c (__nis_default_ttl): Add
18048 libnsl_hidden_nolink_def.
18049 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18051 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18052 * nis/ypclnt.c (yp_maplist): Likewise.
18054 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18056 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18057 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18059 2018-01-29 Joseph Myers <joseph@codesourcery.com>
18061 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18062 clean -dxfq for git updates when replacing sources.
18064 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18065 --disable-libcilkrts unconditionally, not just for the final GCC
18068 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18071 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18074 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18077 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18080 * localedata/locales/be_BY (mon): Rename to...
18081 (alt_mon): This, then synchronize with CLDR (nominative case).
18082 (abmon): Rename to...
18083 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18084 (mon): Import from CLDR (genitive case).
18086 * localedata/locales/be_BY@latin (mon): Rename to...
18088 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18090 * localedata/locales/be_BY@latin (lang_name): Reworded to
18091 "biełaruskaja mova".
18093 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18096 * localedata/locales/el_CY (mon): Renamed to...
18098 (mon): Import from CLDR (genitive case).
18099 * localedata/locales/el_GR: Likewise.
18101 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18104 * localedata/locales/ru_RU (mon): Rename to...
18106 (abmon): Rename to...
18107 (ab_alt_mon): This.
18108 (mon): Import from CLDR (genitive case).
18109 (abmon): Copy from the old content except the 5th month which is
18110 now in the genitive case, even when abbreviated.
18111 * localedata/locales/ru_UA: Likewise.
18112 * time/tst-strptime.c (day_tests): Add an actual example of
18113 a difference between %b and %Ob in Russian.
18115 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18117 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
18118 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18120 * resolv/res-close.c: Include <stdlib.h>.
18121 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18122 <sys/wait.h>, <time.h>, <sys/uio.h>.
18123 (NOT_CANCEL_H): Add inclusion guard.
18124 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
18125 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18126 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18128 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18129 vm_address_t * to ElfW(Addr) * for dl_main parameter.
18130 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18132 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18133 timer_ptr2id to cast struct timer_node * to void *.
18134 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18135 --disable-libcilkrts to gcc configure.
18136 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18137 and make them the default for now.
18138 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18139 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
18140 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18141 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18142 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18144 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18145 __task_terminate would ever return successfully.
18146 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18148 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18149 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
18150 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18151 critical section to make code simpler and avoid warning.
18152 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18153 critical section to make code simpler and avoid warning.
18154 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18155 const char * instead of char *.
18156 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18157 __hurd_file_name_split, hurd_file_name_split,
18158 __hurd_directory_name_split, hurd_directory_name_split,
18159 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18160 hurd_file_name_path_lookup): Make lookup function parameter take a
18161 const char *name instead of char *name.
18162 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18163 __hurd_directory_name_split): Likewise.
18164 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18165 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
18166 * sysdeps/mach/hurd/check_native.c: New file.
18167 * sysdeps/mach/hurd/check_pf.c: New file.
18168 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18169 (__freeifaddrs): Define macro to freeifaddrs.
18170 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18171 * sysdeps/mach/libmachuser.abilist: New file.
18172 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18173 (do_test_bz20181): Rename accordingly.
18174 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
18175 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18177 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18178 version only if __USE_EXTERN_INLINES is defined.
18179 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18180 __hurd_sockfail): Likewise.
18181 (_hurd_fd_get): Always declare functions, and provide inline versions
18182 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18183 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18184 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18185 _hurd_port_set): Always declare functions, and provide inline versions
18186 only if __USE_EXTERN_INLINES and _LIBC are defined and
18188 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18189 _hurd_critical_section_unlock): Likewise.
18190 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18191 * __hurd_threadvar_location): Likewise.
18192 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18193 _hurd_userlink_clear): Likewise.
18194 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18195 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18196 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18197 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18198 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18199 __spin_lock_locked): Likewise.
18200 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18201 __spin_lock_locked): Likewise.
18202 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18203 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18204 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18205 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18206 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
18207 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18208 _POSIX_NO_TRUNC): Define to 0.
18209 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18210 check size against PTHREAD_STACK_MIN.
18211 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18212 IS_IN(libpthread)]: Include <sigsetops.h>.
18213 * mach/Makefile (user-interfaces): Add mach/gnumach.
18214 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18215 * sysdeps/mach/configure (mach_interface_list): Regenerate.
18216 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18217 instead of invalid -1.
18218 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18219 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18220 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18223 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
18225 * hurd/fcntl-internal.h: New file.
18227 2018-01-27 James Clarke <jrtc27@jrtc27.com>
18229 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18231 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18233 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18236 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18237 Build only shared objects.
18239 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18241 * README: Update for hppa.
18243 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18245 * sysdeps/sparc/fpu/libm-test-ulps: Update
18246 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
18248 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18252 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18255 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18256 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18257 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18258 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18261 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18264 * bits/types/__cancel_jmp_buf_tag.h: New file.
18265 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18266 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18267 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18268 * nptl/Makefile (headers): Add
18269 bits/types/__cancel_jmp_buf_tag.h.
18270 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18271 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18272 * sysdeps/nptl/pthread.h: Include
18273 <bits/types/__cancel_jmp_buf_tag.h>.
18274 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18276 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18278 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
18281 * localedata/locales/uk_UA (mon): Renamed to...
18283 (alt_digits): "0" removed and then renamed to...
18285 (date_fmt): Definition changed not to use the alternative
18288 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
18290 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
18291 FLAG_RISCV_FLOAT_ABI_DOUBLE.
18292 * elf/elf.h (EF_RISCV_RVC): New define.
18293 (EF_RISCV_FLOAT_ABI): Likewise.
18294 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
18295 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
18296 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18297 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
18298 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
18300 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18302 2018-01-25 Andreas Schwab <schwab@suse.de>
18304 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
18306 * sysdeps/gnu/configure: Regenerate.
18307 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18308 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18310 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18311 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18312 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
18313 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18314 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18316 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18318 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
18319 URL, and run autoconf, make it the default for now.
18321 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18323 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18324 soft-float ColdFire configuration.
18326 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
18327 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
18328 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
18330 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
18333 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
18335 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
18337 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
18340 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
18341 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
18342 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
18345 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18348 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
18349 Rename to __reserved and add comment.
18350 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
18351 Rename to __reserved.
18353 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18355 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18356 i686-gnu configurations.
18357 (Context.run_builds): Include mig, gnumach and hurd in components
18359 (Context.checkout): Add mig, gnumach and hurd to components.
18360 (Context.checkout_tar): Add URL mappings for mig, gnumach and
18362 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
18363 (Config.build): Install gnumach headers, build mig and install
18364 hurd headers for 'gnu' OS.
18365 (Config.install_gnumach_headers): New function.
18366 (Config.install_hurd_headers): Likewise.
18367 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
18368 when building for 'gnu' OS.
18370 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
18372 * manual/tunables.texi (Hardware Capability Tunables): Fix
18375 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
18377 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
18378 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
18379 (ALTMON_11, ALTMON_12): Improve documentation.
18380 * manual/time.texi (strftime): Likewise.
18382 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18385 * localedata/locales/pl_PL: Alternative month names added,
18386 primary month names are genitive now.
18387 * time/tst-strptime.c (day_tests): Actually use a genitive case
18388 of a month name in Polish language.
18390 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18393 * manual/locale.texi: Document ALTMON_1..12 constants for
18394 nl_langinfo. Specify when to use ALTMON instead of MON.
18395 * manual/time.texi (strftime, strptime): Document GNU extension
18396 permitting O modifier with %B and %b. Specify when to use
18399 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18402 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18403 names, define them as the same as abbreviated month names explicitly.
18404 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18405 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18406 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18407 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18408 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18409 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18410 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18411 _NL_WABALTMON_12): New enum constants.
18412 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18413 wab_alt_mon, and ab_alt_mon_defined members.
18414 (time_output): Output ab_alt_mon and wab_alt_mon members.
18415 (time_read): Read them, initialize them as copies of abmon and wabmon
18416 respectively if they are missing, initialize ab_alt_mon_defined.
18417 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18418 * locale/programs/locfile-kw.h: Regenerate.
18419 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18420 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18422 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18423 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18424 (__strftime_internal): Handle %Ob and %Oh formats.
18425 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18426 (__strptime_internal): Handle %Ob and %Oh formats.
18427 * time/tst-strptime.c (day_tests): Add more tests to parse different
18428 forms of month names including the new %Ob format specifier.
18430 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18433 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18434 define them as the same as primary full month names explicitly.
18435 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18436 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18437 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18438 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18439 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18440 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18441 _NL_WALTMON_12): New enum constants.
18442 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18443 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18445 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18446 walt_mon, and alt_mon_defined members.
18447 (time_output): Output alt_mon and walt_mon members.
18448 (time_read): Read them, initialize them as copies of mon and wmon
18449 respectively if they are missing, initialize alt_mon_defined.
18450 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18451 * locale/programs/locfile-kw.h: Regenerate.
18452 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18453 * localedata/tst-langinfo.c (map): Add tests for the new constants
18454 ALTMON_1 .. ALTMON_12.
18455 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18457 * time/strftime_l.c (f_altmonth): New macro.
18458 (__strftime_internal): Handle %OB format.
18459 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18460 (__strptime_internal): Handle %OB format.
18461 * time/tst-strptime.c (day_tests): Add tests to parse different forms
18462 of month names including the new %OB format specifier.
18464 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18467 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
18468 from ABORT_TRANSACTION.
18469 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
18470 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
18471 ABORT_TRANSACTION_IMPL): Likewise.
18472 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
18473 Linux code, but remove the code that aborts transactions.
18475 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18477 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
18479 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
18481 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
18482 in date: "2004-14-09" should be "2004-09-14".
18483 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
18484 "2003-15-09" should be "2003-09-15".
18486 2018-01-18 Arjun Shankar <arjun@redhat.com>
18492 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
18494 (_int_memalign): check for integer overflow before calling
18496 * malloc/tst-malloc-too-large.c: New test.
18497 * malloc/Makefile: Add tst-malloc-too-large.
18499 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
18501 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
18502 in date: "2017-24-07" should be "2017-07-24".
18503 * localedata/locales/mai_IN: Likewise.
18504 * localedata/locales/mai_NP: Likewise.
18506 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
18508 * po/ru.po: Update translations.
18510 2018-01-17 Joseph Myers <joseph@codesourcery.com>
18513 * sysdeps/hppa/backtrace.c: New file.
18515 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
18518 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
18519 align La_x86_64_retval to VEC_SIZE.
18521 2018-01-16 Joseph Myers <joseph@codesourcery.com>
18523 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
18524 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
18526 2018-01-16 Florian Weimer <fweimer@redhat.com>
18528 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
18529 Move tst-thread-exit-clobber ...
18530 [$(CXX)] (tests-unsupported): ... to here.
18532 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18534 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
18535 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
18536 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18537 (_dl_aarch64_cap_flags): Update.
18538 (_DL_HWCAP_COUNT): Update.
18540 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18542 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
18543 (_DL_HWCAP_LAST): Remove.
18544 (_DL_HWCAP_COUNT): Move to ...
18545 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18546 (_DL_HWCAP_COUNT): ... here.
18548 2018-01-16 Florian Weimer <fweimer@redhat.com>
18550 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
18551 mode with GNU extensions.
18553 2018-01-15 Alan Hayward <alan.hayward@arm.com>
18555 * elf/elf.h (NT_ARM_SVE): Define.
18557 2018-01-15 Florian Weimer <fweimer@redhat.com>
18560 * nptl/tst-minstack-throw.cc: New file.
18561 * nptl/Makefile (tests): Add tst-minstack-throw.
18562 (LDLIBS-tst-minstack-throw): Link with libstdc++.
18563 [!CXX] (tests-unsupported): Add tst-minstack-throw.
18565 2018-01-15 Joseph Myers <joseph@codesourcery.com>
18567 * scripts/build-many-glibcs.py (Context.checkout): Default
18568 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
18571 2018-01-13 Carlos O'Donell <carlos@redhat.com>
18574 * elf/elf.h (DF_1_STUB): Define.
18575 (DF_1_PIE): Define.
18577 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18580 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
18581 Do not add 0.5 to integer or out-of-range arguments.
18583 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18585 * po/bg.po: Update translations.
18586 * po/cs.po: Likewise.
18587 * po/de.po: Likewise.
18588 * po/ko.po: Likewise.
18589 * po/pl.po: Likewise.
18590 * po/sv.po: Likewise.
18591 * po/uk.po: Likewise.
18592 * po/vi.po: Likewise.
18594 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18596 * aarch64/start.S (_start): Use __wrap_main.
18597 (__wrap_main): New local symbol.
18599 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18603 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
18604 generic_getcwd if the path returned by getcwd syscall is not absolute.
18605 * io/tst-getcwd-abspath.c: New test.
18606 * io/Makefile (tests): Add tst-getcwd-abspath.
18608 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
18610 * malloc/malloc.c (malloc_consolidate): Add size check.
18612 2018-01-12 Florian Weimer <fweimer@redhat.com>
18614 * support/write_message.c (write_message): Preserve errno.
18615 * support/check.c (print_failure): Likewise.
18616 * support/support_test_verify_impl.c (support_test_verify_impl):
18618 * support/support_test_compare_failure.c
18619 (support_test_compare_failure): Likewise.
18621 2018-01-12 Florian Weimer <fweimer@redhat.com>
18624 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
18625 Prevent installation of libnsl.so.
18626 (libnsl-inhibit-o): Do not build (or install) static libraries.
18628 2018-01-12 Egmont Koblinger <egmont@gmail.com>
18631 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
18632 before the day number which may produce a double space.
18633 (date_fmt): Likewise.
18635 2018-01-12 Joseph Myers <joseph@codesourcery.com>
18637 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
18638 instead of fegetenv.
18640 2018-01-11 Joseph Myers <joseph@codesourcery.com>
18643 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
18644 comment to say exceptions are discarded.
18645 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
18647 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
18650 2018-01-11 Florian Weimer <fweimer@redhat.com>
18652 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
18655 2018-01-11 Florian Weimer <fweimer@redhat.com>
18658 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
18659 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
18661 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18664 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
18665 negative arguments in test for NaN or infinity argument.
18667 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
18669 * po/libc.pot: Regenerate.
18671 2018-01-10 Florian Weimer <fweimer@redhat.com>
18674 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
18675 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
18677 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18679 * hurd/hurd/fd.h: Include <fcntl.h>
18680 (__hurd_at_flags): New function.
18681 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
18682 with call to __hurd_at_flags.
18683 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
18684 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
18686 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
18687 (__access_noerrno): Use __faccessat_common instead of access_common.
18688 (__access): Likewise.
18689 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
18690 with a call to __faccessat.
18691 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
18692 (__faccessat_common): ... this. Move implementation of __access into it when
18693 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
18694 reauthenticate_cwdir_at helper to implement AT mechanism.
18695 (__faccessat_noerrno): New function, just calls __faccessat_common.
18696 (__faccessat): New function, just calls __faccessat_common.
18697 (faccessat): Define weak alias.
18699 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18702 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18703 (CFLAGS-s_fmaxmagl.c): New variable.
18704 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
18707 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
18708 long int for arguments of possibly overflowing addition or
18710 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18712 2018-01-09 Joseph Myers <joseph@codesourcery.com>
18715 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18716 (CFLAGS-e_remainderl.c): New variable.
18719 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
18721 (CFLAGS-s_cacoshl.c): Likewise.
18722 (CFLAGS-s_casinhl.c): Likewise.
18723 (CFLAGS-s_catanl.c): Likewise.
18724 (CFLAGS-s_catanhl.c): Likewise.
18725 (CFLAGS-s_cexpl.c): Likewise.
18726 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
18727 (CFLAGS-s_csinhl.c): Likewise.
18728 (CFLAGS-s_clogl.c): Likewise.
18729 (CFLAGS-s_clog10l.c): Likewise.
18730 (CFLAGS-s_csinl.c): Likewise.
18731 (CFLAGS-s_csqrtl.c): Likewise.
18733 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
18734 2017-01-09 Svante Signell <svante.signell@gmail.com>
18736 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
18737 (_hurd_exec_paths): New function.
18738 * hurd/hurd.h (_hurd_exec): Deprecate function.
18739 (_hurd_exec_paths): Declare function.
18740 * hurd/Versions: Export _hurd_exec_paths.
18741 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
18742 (__execve): Use __getcwd to build absolute path, and use
18743 _hurd_exec_paths instead of _hurd_exec.
18744 * sysdeps/mach/hurd/spawni.c: Likewise.
18745 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
18748 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
18750 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
18751 test instead of failing in case of ENOENT returned by posix_openpt.
18753 2018-01-08 Florian Weimer <fweimer@redhat.com>
18755 resolv: Support binary labels in test framework.
18756 * support/resolv_test.c (struct to_be_freed): Remove.
18757 (struct compressed_name): New.
18758 (allocate_compressed_name, ascii_tolower)
18759 (compare_compressed_name): New functions.
18760 (struct resolv_response_builder): Update type of
18761 compression_offsets for use with tsearch. Rempve to_be_freed.
18762 (response_push_pointer_to_free): Remove function.
18763 (resolv_response_add_name): Rewrite using struct compressed_name
18764 and tsearch instead of hsearch_r.
18765 (response_builder_allocate): Remove initialization of
18766 compression_offsets.
18767 (response_builder_free): Update for removal of to_be_freed. Use
18768 tdestroy instead of hdestroy_r.
18769 * resolv/Makefile (tests): Add tst-resolv-binary.
18770 (tst-resolv-binary): Link with -lresolv -lpthread.
18772 2018-01-08 Florian Weimer <fweimer@redhat.com>
18774 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
18775 time. Pass positive flag instead of negative flag to
18776 support_test_compare_failure.
18777 (support_test_compare_failure): Change negative parameter to
18779 * support/support_test_compare_failure.c (report)
18780 (support_test_compare_failure): Likewise.
18781 * support/tst-test_compare.c (return_ssize_t, return_int): New.
18782 (do_test): Check int/size_t, ssize_t/size_t comparisons.
18784 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
18787 * nptl/descr.h (stackblock, stackblock_size): Update comments.
18788 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
18789 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
18791 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18793 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
18795 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18796 Add s_sincosf-sse2 and s_sincosf-fma.
18797 (CFLAGS-s_sincosf-fma.c): New.
18798 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
18799 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
18800 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
18801 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
18802 __sincosf is defined.
18804 2018-01-08 Florian Weimer <fweimer@redhat.com>
18806 * nptl/tst-thread-exit-clobber.cc: New file.
18807 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
18809 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
18810 (tests): Add tst-thread-exit-clobber.
18811 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
18813 2018-01-08 Florian Weimer <fweimer@redhat.com>
18815 * support/check.h (support_static_assert): Define.
18816 (TEST_COMPARE): Use it.
18818 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
18820 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
18821 [!__RLIM_T_MATCHES_RLIM64_T]
18822 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
18823 __getrlimit64. Add libc_hidden_weak.
18825 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
18827 * elf/elf.h (R_RISCV_NONE): New define.
18828 (R_RISCV_32): Likewise.
18829 (R_RISCV_64): Likewise.
18830 (R_RISCV_RELATIVE): Likewise.
18831 (R_RISCV_COPY): Likewise.
18832 (R_RISCV_JUMP_SLOT): Likewise.
18833 (R_RISCV_TLS_DTPMOD32): Likewise.
18834 (R_RISCV_TLS_DTPMOD64): Likewise.
18835 (R_RISCV_TLS_DTPREL32): Likewise.
18836 (R_RISCV_TLS_DTPREL64): Likewise.
18837 (R_RISCV_TLS_TPREL32): Likewise.
18838 (R_RISCV_TLS_TPREL64): Likewise.
18839 * Makerules (make-link-multidir): Make directories before linking into
18841 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18843 (VDSO_HASH_LINUX_4_15): Likewise.
18844 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18845 in subdirectories of lib.
18846 * nptl/Makefile (/librt.so): Always depend on
18847 "$(shared-thread-library)".
18849 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18851 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
18852 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18853 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18855 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
18856 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18858 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
18859 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18860 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18861 * sysdeps/gnu/glob-lstat-compat.c: New file.
18862 * sysdeps/gnu/glob64-lstat-compat.c: New file.
18863 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
18865 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18867 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18868 Reserve 16 chars to reloc_addr before calling _itoa_word.
18870 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18873 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18874 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18876 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18877 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18879 * resource/tst-getrlimit.c: Add copyright header.
18881 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18882 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18884 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18885 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18886 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18887 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18889 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18890 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18891 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18892 RLIM64_INFINITY): Fix values to match the kernel ones.
18893 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18894 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18895 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18896 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18897 getrlimit64@@GLIBC_2_27.
18898 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18900 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18901 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18902 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18903 setrlimit, getrlimit64 and setrlimit64.
18905 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18908 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18909 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18911 2018-01-04 Joseph Myers <joseph@codesourcery.com>
18913 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18914 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18915 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18917 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18921 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18922 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18926 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18927 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18928 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18929 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18931 2018-01-04 Florian Weimer <fweimer@redhat.com>
18934 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18935 Align the stack before calling exit.
18936 * stdlib/tst-makecontext-align.c: New file.
18937 * stdlib/Makefile (tests): Add tst-makecontext-align.
18939 2018-01-04 Florian Weimer <fweimer@redhat.com>
18941 Add support for calling dlvsym from libc.so.
18942 * include/dlfcn.h (__libc_dlvsym): Declare.
18943 * elf/Makefile (tests-static-internal): Add
18944 tst-libc_dlvsym-static.
18945 (tests-internal): Add tst-libc_dlvsym.
18946 (modules-names): Add tst-libc_dlvsym-dso.
18947 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18948 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18949 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18950 object tst-libc_dlvsym-dso.so needs to be built before running
18952 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18953 * elf/Versions: Export __libc_dlvsym.
18954 * elf/dl-libc.c (struct do_dlvsym_args): New.
18955 (do_dlvsym, __libc_dlvsym): New functions.
18956 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18957 (_dl_open_hook2): New variable.
18958 (__libc_register_dl_open_hook): Set it.
18959 * elf/tst-libc_dlvsym-dso.c: New file.
18960 * elf/tst-libc_dlvsym-static.c: Likewise.
18961 * elf/tst-libc_dlvsym.c: Likewise.
18962 * elf/tst-libc_dlvsym.h: Likewise.
18964 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18966 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18967 include <sys/mount.h>.
18969 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18971 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18972 Add __NO_MATH_ERRNO__ check.
18974 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18976 * sysdeps/mips/mips32/libm-test-ulps: Update.
18977 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18979 2018-01-02 Florian Weimer <fweimer@redhat.com>
18981 * misc/tst-pselect.c: Add copyright header.
18983 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18985 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18987 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18989 (settrlimit): Rename into setrlimit.
18990 (__sttrlimit): Rename into __setrlimit.
18992 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18993 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18994 never defined in that case.
18996 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18998 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19000 * sysdeps/arm/libm-test-ulps: Update.
19002 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19003 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19005 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19007 * NEWS: Add cosf and sincosf to list of optimized functions.
19009 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19012 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19013 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19014 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19015 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19017 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19020 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19022 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19023 making a copy of it.
19025 2018-01-01 Joseph Myers <joseph@codesourcery.com>
19027 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19028 trailing whitespace removed.
19029 * scripts/config.guess: Update to version 2018-01-01.
19030 * scripts/config.sub: Update to version 2018-01-01.
19031 * scripts/move-if-change: Update from gnulib.
19033 * NEWS: Update copyright dates.
19034 * catgets/gencat.c (print_version): Likewise.
19035 * csu/version.c (banner): Likewise.
19036 * debug/catchsegv.sh: Likewise.
19037 * debug/pcprofiledump.c (print_version): Likewise.
19038 * debug/xtrace.sh (do_version): Likewise.
19039 * elf/ldconfig.c (print_version): Likewise.
19040 * elf/ldd.bash.in: Likewise.
19041 * elf/pldd.c (print_version): Likewise.
19042 * elf/sotruss.sh: Likewise.
19043 * elf/sprof.c (print_version): Likewise.
19044 * iconv/iconv_prog.c (print_version): Likewise.
19045 * iconv/iconvconfig.c (print_version): Likewise.
19046 * locale/programs/locale.c (print_version): Likewise.
19047 * locale/programs/localedef.c (print_version): Likewise.
19048 * login/programs/pt_chown.c (print_version): Likewise.
19049 * malloc/memusage.sh (do_version): Likewise.
19050 * malloc/memusagestat.c (print_version): Likewise.
19051 * malloc/mtrace.pl: Likewise.
19052 * manual/libc.texinfo: Likewise.
19053 * nptl/version.c (banner): Likewise.
19054 * nscd/nscd.c (print_version): Likewise.
19055 * nss/getent.c (print_version): Likewise.
19056 * nss/makedb.c (print_version): Likewise.
19057 * posix/getconf.c (main): Likewise.
19058 * scripts/test-installation.pl: Likewise.
19059 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19061 * All files with FSF copyright notices: Update copyright dates
19062 using scripts/update-copyrights.
19063 * locale/programs/charmap-kw.h: Regenerated.
19064 * locale/programs/locfile-kw.h: Likewise.
19066 2017-12-31 Zack Weinberg <zackw@panix.com>
19068 * libio/bits/libio-ldbl.h: Correct check for improper
19069 inclusion. Add own multiple include guard.
19071 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19072 Dmitry V. Levin <ldv@altlinux.org>
19076 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19077 string token expansion. Check for NULL pointer or empty string possibly
19078 returned by expand_dynamic_string_token.
19079 (decompose_rpath): Check for empty path after dynamic string
19082 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19085 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19087 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19088 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19089 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19090 and PTRACE_SYSCALL.
19091 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19092 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19093 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19094 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19095 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19096 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19098 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19099 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19100 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19101 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19103 bits/ptrace-shared.h.
19104 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19105 <bits/ptrace-shared.h>.
19106 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19107 __ptrace_peeksiginfo_flags, ptrace): Remove.
19108 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19109 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19110 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19111 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19112 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19114 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19117 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19118 end of the loop. Improve comments.
19120 2017-12-29 Zack Weinberg <zackw@panix.com>
19123 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19124 might be set on success.
19126 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19129 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19130 is unchanged on success.
19132 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19134 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19136 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19137 expand_dynamic_string_token): Likewise.
19138 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19141 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19144 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19145 is set and name contains ':', and all code depending on these checks.
19147 2017-12-24 Zack Weinberg <zackw@panix.com>
19149 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19150 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19152 * libio/libio.h: Rename the original version of this file to
19153 libio/bits/libio.h. Error out if not included by stdio.h or the
19155 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19156 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19157 if not included by bits/libio.h or the stub _G_config.h.
19158 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19159 sysdeps/unix/sysv/linux/bits. Error out if not included by
19160 bits/libio.h or the stub _G_config.h.
19161 * libio/stdio.h: Include bits/libio.h, not libio.h.
19162 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19163 well as libio.h and _G_config.h.
19165 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19166 * libio/strfile.h, stdio-common/vfscanf.c
19167 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19168 Include stdio.h, not _G_config.h nor libio.h.
19169 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19170 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19172 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19174 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19177 * stdlib/getrandom.c (getrandom): Fix comment.
19178 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19180 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
19183 * manual/arith.texi (strtoul): Fix a typo.
19186 * manual/arith.texi (finite): Fix the description of the return
19189 2017-12-22 Eric Blake <ebb9@byu.net>
19191 Avoid gcc warnings on cygwin
19192 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19193 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19194 Avoid unused variable.
19196 2017-12-22 Florian Weimer <fweimer@redhat.com>
19198 * io/Makefile (routines): Add copy_file_range.
19199 (tests): Add tst-copy_file_range.
19200 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19201 * io/Versions (GLIBC_2.27): Export copy_file_range.
19202 * io/copy_file_range-compat.c: New file.
19203 * io/copy_file_range.c: Likewise.
19204 * io/tst-copy_file_range-compat.c: Likewise.
19205 * io/tst-copy_file_range.c: Likewise.
19206 * manual/llio.texi (Copying File Data): New section.
19207 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19208 * support/Makefile (libsupport-routines): Add support-xfstat,
19209 xftruncate, xlseek.
19210 * support/support-xfstat.c: New file.
19211 * support/xftruncate.c: Likewise.
19212 * support/xlseek.c: Likewise.
19213 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19214 * sysdeps/unix/sysv/linux/**.abilist: Update.
19215 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19217 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19219 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19220 disable-multi-arch variant to aarch64-linux-gnu.
19222 2017-12-20 Joseph Myers <joseph@codesourcery.com>
19224 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19225 trailing whitespace removed.
19226 * scripts/config.guess: Update to version 2017-12-17.
19227 * scripts/config.sub: Update to version 2017-11-23.
19228 * scripts/install-sh: Update to version 2017-09-23.17.
19229 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19231 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19233 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19234 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19235 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19236 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19237 * sysdeps/tile/crtn.S: Likewise.
19238 * sysdeps/tile/dl-start.S (_start): Likewise.
19239 * sysdeps/tile/dl-trampoline.S: Likewise.
19240 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19241 * sysdeps/tile/start.S (_start): Likewise.
19242 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19243 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19244 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19245 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19246 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19247 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19248 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19250 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19252 * sysdeps/tile/preconfigure: Remove tilegx folder.
19253 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19254 * sysdeps/tile/Implies: ... here.
19255 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19256 * sysdeps/tile/Makefile: ... here.
19257 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19258 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19259 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19260 * sysdeps/tile/bits/wordsize.h: ... here.
19261 * sysdeps/tile/tilegx/*: Move to ...
19262 * sysdeps/tile/*: ... here.
19263 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19264 * sysdeps/tile/tilegx32/Implies: ... here.
19265 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19266 * sysdeps/tile/tilegx64/Implies: ... here.
19267 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
19269 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19270 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
19271 * sysdeps/unix/sysv/linux/tile/*: ... here.
19272 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
19273 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
19274 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
19275 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
19277 * README: Remove tilepro-*-linux-gnu from supported architecture.
19278 * scripts/build-many-glibcs.py: Likewise.
19279 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19280 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
19281 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
19282 elf_machine_matches_host, elf_machine_dynamic,
19283 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
19284 howto, elf_machine_rela): Likewise.
19285 * sysdeps/tile/dl-start.S (_start): Likewise.
19286 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
19287 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
19288 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
19289 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
19290 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
19291 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19293 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
19294 * sysdeps/tile/preconfigure: Likewise.
19295 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
19296 POINTER_CHK_GUARD): Likewise.
19297 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
19298 * sysdeps/tile/start.S (_start): Likewise.
19299 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
19301 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
19302 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
19304 * sysdeps/unix/sysv/linux/tile/bits/environments.h
19305 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
19306 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
19308 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
19309 * sysdeps/tile/tilepro/Implies: Remove file.
19310 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
19311 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
19312 * sysdeps/tile/tilepro/memchr.c: Likewise.
19313 * sysdeps/tile/tilepro/memcpy.S: Likewise.
19314 * sysdeps/tile/tilepro/memset.c: Likewise.
19315 * sysdeps/tile/tilepro/memusage.h: Likewise.
19316 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
19317 * sysdeps/tile/tilepro/strchr.c: Likewise.
19318 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
19319 * sysdeps/tile/tilepro/strlen.c: Likewise.
19320 * sysdeps/tile/tilepro/strrchr.c: Likewise.
19321 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
19322 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
19323 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19324 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
19325 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
19326 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19328 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
19329 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19330 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
19331 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
19332 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19333 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
19334 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
19335 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
19336 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
19337 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
19338 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
19339 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
19340 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
19341 tilepro mention in comment.
19343 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
19344 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
19345 * nptl/pthread_join_common.c: New file: common function used on
19346 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
19347 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
19348 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
19349 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19350 (cleanup): Move definition to pthread_join_common.c.
19351 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
19352 Remove superflous checks.
19353 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
19356 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
19358 * sysdeps/aarch64/libm-test-ulps: Update.
19360 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19362 * sysdeps/aarch64/memset.S (MEMSET): Define.
19364 2017-12-20 Florian Weimer <fweimer@redhat.com>
19367 nptl: Provide full implementation of pthread_self in libc.so.
19368 * nptl/Makefile (routines): Add pthread_self.
19369 (libpthread-routines): Replace pthread_self with
19370 compat-pthread_self.
19371 * nptl/forward.c (pthread_self): Remove.
19372 * nptl/nptl-init.c (pthread_functions): Do not initialize
19374 * nptl/pthread_self.c (pthread_self): Remove weak alias.
19375 * nptl/compat-pthread_self.c: New file.
19376 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
19377 Remove ptr_pthread_self.
19379 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
19381 * posix/regcomp.c: Fix spelling in comments.
19382 * posix/regex.h: Likewise.
19383 * posix/regex_internal.c: Likewise.
19384 * posix/regexec.c: Likewise.
19386 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19389 * math/Makefile [C++] (tests): Add test for iseqsig.
19390 * math/math.h [C++] (iseqsig): New implementation, which does
19391 not rely on __MATH_TG/__builtin_types_compatible_p.
19392 * math/test-math-iseqsig.cc: New file.
19393 * sysdeps/powerpc/powerpc64le/Makefile
19394 (CFLAGS-test-math-iseqsig.cc): New variable.
19396 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19398 * elf/dl-load.c (is_trusted_path): Remove.
19399 (fillin_rpath): Remove check_trusted argument and its use,
19400 all callers changed.
19402 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19405 * Makeconfig (link-pie-before-libc): Replace -pie with
19406 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19407 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19408 (tst-dlopen-aout-no-pie): New.
19409 (LDFLAGS-tst-prelink): Removed.
19410 (tst-prelink-no-pie): New.
19411 (LDFLAGS-tst-main1): Removed.
19412 (tst-main1-no-pie): New.
19413 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19414 (tst-gmon-no-pie): New.
19416 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19418 * manual/install.texi: Document that --enable-static-pie
19420 * INSTALL: Regenerated.
19422 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19425 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19428 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19432 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19436 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19438 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19439 <errno.h>. Include "eexp.tbl".
19440 (half): New constant.
19442 (__ieee754_exp): Rewrite.
19443 (__slowexp): Remove prototype.
19444 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19445 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19446 * sysdeps/i386/fpu/slowexp.c: Likewise.
19447 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19448 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19449 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19450 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19451 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19452 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19453 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19455 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19456 (CPPFLAGS-slowexp.c): Remove variable.
19457 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19458 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19459 (CFLAGS-slowexp-fma.c): Remove variable.
19460 (CFLAGS-slowexp-fma4.c): Likewise.
19461 (CFLAGS-slowexp-avx.c): Likewise.
19462 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19464 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19465 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19466 * math/Makefile (type-double-routines): Remove slowexp.
19467 * manual/probes.texi (slowexp_p6): Remove.
19468 (slowexp_p32): Likewise.
19470 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19472 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
19475 * lib/glob.c (glob): Do not pass NULL to mempcpy.
19477 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19481 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19483 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19484 <errno.h>. Include "eexp.tbl".
19485 (half): New constant.
19487 (__ieee754_exp): Rewrite.
19488 (__slowexp): Remove prototype.
19489 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19490 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19491 * sysdeps/i386/fpu/slowexp.c: Likewise.
19492 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19493 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19494 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19495 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19496 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19497 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19498 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19500 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19501 (CPPFLAGS-slowexp.c): Remove variable.
19502 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19503 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19504 (CFLAGS-slowexp-fma.c): Remove variable.
19505 (CFLAGS-slowexp-fma4.c): Likewise.
19506 (CFLAGS-slowexp-avx.c): Likewise.
19507 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19509 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19510 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19511 * math/Makefile (type-double-routines): Remove slowexp.
19512 * manual/probes.texi (slowexp_p6): Remove.
19513 (slowexp_p32): Likewise.
19515 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19516 James Clarke <jrtc27@jrtc27.com>
19519 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
19522 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19525 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
19528 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19531 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19532 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19533 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19534 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19537 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19540 * bits/types/__cancel_jmp_buf_tag.h: New file.
19541 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19542 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19543 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19544 * nptl/Makefile (headers): Add
19545 bits/types/__cancel_jmp_buf_tag.h.
19546 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19547 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19548 * sysdeps/nptl/pthread.h: Include
19549 <bits/types/__cancel_jmp_buf_tag.h>.
19550 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19552 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19554 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19556 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19557 --enable-static-pie variants to x86_64, x32 and i686.
19559 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19562 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
19563 argument for attrubutes. All callers changed.
19564 (__inline_mathop1): Likewise. All callers changed.
19565 (__inline_mathop): Likewise. All callers changed.
19566 [__USE_MISC] (scalbn): Use __inline_forward instead of
19567 __inline_forward_c.
19568 [__USE_ISOC99] (scalbln): Likewise.
19569 [__USE_ISOC99] (nearbyint): Likewise.
19570 [__USE_ISOC99] (lrint): Likewise.
19571 [__USE_MISC] (scalbnf): Likewise.
19572 [__USE_ISOC99] (scalblnf): Likewise.
19573 [__USE_ISOC99] (nearbyintf): Likewise.
19574 [__USE_ISOC99] (lrintf): Likewise.
19575 [__USE_MISC] (scalbnl): Likewise.
19576 [__USE_ISOC99] (scalblnl): Likewise.
19577 [__USE_ISOC99] (nearbyintl): Likewise.
19578 [__USE_ISOC99] (lrintl): Likewise.
19579 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
19580 __inline_mathop and __m81_defun changed.
19582 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
19583 CPU or FPU for ARM hard-float configurations.
19585 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19587 * nptl/tst-attr3.c: Include <libc-diag.h>.
19588 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
19590 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
19592 * string/tester.c (test_strncat): Also disable -Warray-bounds
19593 warnings for two tests.
19595 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19598 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
19599 $(cc-pie-default) == yes.
19600 * config.make.in (cc-pie-default): New.
19601 * configure.ac (libc_cv_pie_default): Renamed to ...
19602 (libc_cv_cc_pie_default): This.
19603 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
19604 * configure: Regenerated.
19606 2017-12-18 Florian Weimer <fweimer@redhat.com>
19609 ld.so: Harden dl-libc/libdl hooks.
19610 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
19611 (rtld_active): New function.
19612 * dlfcn/dladdr.c (__dladdr): Call it.
19613 * dlfcn/dladdr1.c (__dladdr1): Likewise.
19614 * dlfcn/dlclose.c (__dlcose): Likewise.
19615 * dlfcn/dlerror.c (__dlerror): Likewise.
19616 * dlfcn/dlinfo.c (__dlinfo): Likewise.
19617 * dlfcn/dlmopen.c (__dlmopen): Likewise.
19618 * dlfcn/dlopen.c (__dlopen): Likewise.
19619 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19620 * dlfcn/dlsym.c (__dlsym): Likewise.
19621 * dlfcn/dlvsym.c (__dlvsym): Likewise.
19622 * libio/vtables.c (_IO_vtable_check): Likewise.
19623 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
19624 (__libc_dlclose): Likewise.
19625 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
19628 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19631 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
19632 buffers for readlink input and output.
19634 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
19637 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
19638 inhibit_stack_protector.
19641 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
19642 inhibit_stack_protector.
19644 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
19647 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
19648 code and invocation.
19650 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19652 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
19654 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
19657 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
19659 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19661 * sysdeps/s390/fpu/libm-test-ulps: Update.
19663 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19667 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19669 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
19670 constants to s_sincosf.h file.
19671 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19672 * sysdeps/ieee754/flt-32/s_sincosf.c: New
19674 * sysdeps/ieee754/flt-32/s_sincosf.h:
19677 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19680 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
19683 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
19686 * INSTALL: Regenerated.
19687 * Makeconfig (real-static-start-installed-name): New.
19688 (pic-default): Updated for --enable-static-pie.
19689 (pie-default): New for --enable-static-pie.
19690 (default-pie-ldflag): Likewise.
19691 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
19692 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
19693 Replace $(static-start-installed-name) with
19694 $(real-static-start-installed-name).
19695 (+prectorT): Updated for --enable-static-pie.
19696 (+postctorT): Likewise.
19697 (CFLAGS-.o): Add $(pie-default).
19698 (CFLAGS-.op): Likewise.
19699 * NEWS: Mention --enable-static-pie.
19700 * config.h.in (ENABLE_STATIC_PIE): New.
19701 * configure.ac (--enable-static-pie): New configure option.
19702 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
19703 (have-static-pie): Likewise.
19704 Enable static PIE if linker supports --no-dynamic-linker.
19705 (ENABLE_STATIC_PIE): New AC_DEFINE.
19706 (enable-static-pie): New LIBC_CONFIG_VAR.
19707 * configure: Regenerated.
19708 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
19709 gr$(start-installed-name) for --enable-static-pie.
19710 (extra-objs): Likewise.
19711 (install-lib): Likewise.
19712 (extra-objs): Add static-reloc.o and static-reloc.os
19713 ($(objpfx)$(start-installed-name)): Also depend on
19714 $(objpfx)static-reloc.o.
19715 ($(objpfx)r$(start-installed-name)): New.
19716 ($(objpfx)g$(start-installed-name)): Also depend on
19717 $(objpfx)static-reloc.os.
19718 ($(objpfx)gr$(start-installed-name)): New.
19719 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
19721 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
19723 * csu/static-reloc.c: New file.
19724 * elf/Makefile (routines): Add dl-reloc-static-pie.
19725 (elide-routines.os): Likewise.
19726 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
19727 (tst-tls1-static-non-pie-no-pie): New.
19728 * elf/dl-reloc-static-pie.c: New file.
19729 * elf/dl-support.c (_dl_get_dl_main_map): New function.
19730 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
19731 STATIC_PIE_BOOTSTRAP.
19732 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19733 * gmon/Makefile (tests): Add tst-gmon-static-pie.
19734 (tests-static): Likewise.
19735 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
19736 (tst-gmon-static-no-pie): New.
19737 (CFLAGS-tst-gmon-static-pie.c): Likewise.
19738 (CRT-tst-gmon-static-pie): Likewise.
19739 (tst-gmon-static-pie-ENV): Likewise.
19740 (tests-special): Likewise.
19741 ($(objpfx)tst-gmon-static-pie.out): Likewise.
19742 (clean-tst-gmon-static-pie-data): Likewise.
19743 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
19744 * gmon/tst-gmon-static-pie.c: New file.
19745 * manual/install.texi: Document --enable-static-pie.
19746 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
19747 (_dl_get_dl_main_map): Likewise.
19748 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
19749 * sysdeps/x86_64/configure.ac: Likewise.
19750 * sysdeps/i386/configure: Regenerated.
19751 * sysdeps/x86_64/configure: Likewise.
19752 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
19753 (ASFLAGS-.op): Likewise.
19755 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19757 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
19758 * posix/tst-mmap-offset.c (fname): Use /tmp.
19759 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
19761 2017-12-15 Steve Ellcey <sellcey@cavium.com>
19763 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
19765 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
19767 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
19770 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19772 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19773 --with-float=hard for arm-linux-gnueabihf configurations.
19776 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
19777 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
19778 ($(mo-installed)): Use $(objpfx)%.mo.
19779 (realclean): Remove rule.
19781 * po/Makefile (linguas): Remove rule and dependencies.
19782 (linguas.mo): Likewise.
19783 (.PHONY): Do not depend on linguas and linguas.mo.
19784 (podir): Remove variable.
19785 (pofiles): Likewise.
19786 [$(pofiles)] (%.po): Remove rule.
19788 * sysdeps/sparc/sparc32/Makefile
19789 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
19790 start-of-line whitespace in argument of echo.
19791 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
19792 with whitespace. Generate __wrap_.udiv alias.
19793 * sysdeps/sparc/sparc32/rem.S: Regenerated.
19794 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19795 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19796 * sysdeps/sparc/sparc32/urem.S: Likewise.
19798 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19800 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
19801 for aligned inputs.
19803 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19805 * benchtests/bench-strcmp.c: Print output in JSON format.
19807 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
19809 2017-12-14 Florian Weimer <fweimer@redhat.com>
19813 * elf/dl-load.c (_dl_init_paths): Compute number of components in
19814 the expanded path string.
19816 2017-12-14 Florian Weimer <fweimer@redhat.com>
19820 * elf/dl-load.c (system_dirs): Update comment.
19821 (nsystem_dirs_len): Use array_length.
19822 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19824 2017-12-14 Florian Weimer <fweimer@redhat.com>
19826 Simplify compiling most of support/ outside of glibc.
19827 * support/check_addrinfo.c: Include <string.h>.
19828 * support/check_dns_packet.c: Likewise.
19829 * support/check_hostent.c: Likewise.
19830 * support/support_can_chroot.c: Include <support/xunistd.h>.
19831 * support/support_format_addrinfo.c: Include <stdlib.h>
19832 * support/support_format_dns_packet.c: Include <stdbool.h>.
19833 * support/support_format_hostent.c: Include <stdlib.h>.
19834 * support/support_format_netent.c: Likewise.
19835 * support/support_write_string.c: Include <support/xunistd.h>.
19836 * support/xdlfcn.c: Include <stddef.h>.
19838 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19840 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19842 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19843 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19845 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19846 (sysdeps_routines): Add memset-niagara7.
19847 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19849 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19851 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19852 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19853 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19854 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19855 Add niagara7 option.
19856 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19859 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19860 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19861 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19863 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19865 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19866 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19867 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19868 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19869 and __memmove_niagara7.
19870 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19871 Add niagara7 option.
19872 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19873 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19874 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19875 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19876 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19878 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19880 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19881 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19882 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19883 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19885 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19886 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19887 _dl_sparc_cap_flags array.
19888 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19890 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19892 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19893 time whenever possible.
19895 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19897 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19898 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19900 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19902 * soft-fp/fmadf4.c: Move to ....
19903 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19904 * soft-fp/fmasf4.c: Move to ....
19905 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19906 * soft-fp/fmatf4.c: Move to ....
19907 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19908 * sysdeps/ieee754/soft-fp/Makefile: New file.
19909 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19910 * sysdeps/arm/preconfigure: Regenerated.
19911 * sysdeps/arm/nofpu/Implies: New file.
19912 * sysdeps/arm/s_fma.c: Remove file.
19913 * sysdeps/arm/s_fmaf.c: Likewise.
19914 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19915 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19916 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19917 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19918 * sysdeps/microblaze/s_fma.c: Remove file.
19919 * sysdeps/microblaze/s_fmaf.c: Likewise.
19920 * sysdeps/mips/mips32/nofpu/Implies: New file.
19921 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19922 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19923 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19924 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19925 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19926 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19927 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19929 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19930 * sysdeps/nios2/s_fma.c: Remove file.
19931 * sysdeps/nios2/s_fmaf.c: Likewise.
19932 * sysdeps/sh/nofpu/Implies: New file.
19933 * sysdeps/sh/s_fma.c: Remove file.
19934 * sysdeps/sh/s_fmaf.c: Likewise.
19935 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19936 * sysdeps/tile/s_fma.c: Remove file.
19937 * sysdeps/tile/s_fmaf.c: Likewise.
19939 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19941 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19942 Add s_cosf-sse2 and s_cosf-fma.
19943 (CFLAGS-s_cosf-fma.c): New.
19944 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19945 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19946 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19948 2017-12-12 Steve Ellcey <sellcey@cavium.com>
19950 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19952 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19954 * libio/Makefile (tests): Add tst-bz22415.
19955 (tst-bz22415-ENV): New rule.
19956 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19957 (tests-special): Add tst-bz22415-mem.out.
19958 ($(objpfx)tst-bz22415-mem.out): New rule.
19959 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19960 in case of a successful seek operation.
19961 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19962 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19963 buffer is required.
19964 * libio/tst-bz22415.c: New test.
19966 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19968 2017-12-12 James Clarke <jrtc27@jrtc27.com>
19970 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19971 __IPC_64 to 0 to avoid IPC_64 being set.
19973 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19976 * math/bits/mathcalls.h (nextafter): Remove const.
19977 (nexttoward): Likewise.
19979 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19981 * configure.ac (--with-fp): Remove configure option.
19982 (with_fp_cond): New variable.
19983 (libc_cv_with_fp): New configure test. Use this variable instead
19985 * configure: Regenerated.
19986 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19987 * manual/install.texi (Configuring and compiling): Remove
19989 * INSTALL: Regenerated.
19990 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19991 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19992 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19993 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19994 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19995 use --without-fp to configure glibc.
19997 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
19999 * manual/locale.texi (nl_langinfo): Fix a typo.
20001 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
20004 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20006 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20008 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20009 (CFLAGS-argp-parse.c): Likewise.
20010 (CFLAGS-argp-fmtstream.c): Likewise.
20011 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20012 (CPPFLAGS-sha512-crypt.c): Likewise.
20013 (CPPFLAGS-md5-crypt.c): Likewise.
20014 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20015 (CFLAGS-stack_chk_fail_local.c): Likewise.
20016 (CFLAGS-backtrace.c): Likewise.
20017 (CFLAGS-sprintf_chk.c): Likewise.
20018 (CFLAGS-snprintf_chk.c): Likewise.
20019 (CFLAGS-vsprintf_chk.c): Likewise.
20020 (CFLAGS-vsnprintf_chk.c): Likewise.
20021 (CFLAGS-asprintf_chk.c): Likewise.
20022 (CFLAGS-vasprintf_chk.c): Likewise.
20023 (CFLAGS-obprintf_chk.c): Likewise.
20024 (CFLAGS-dprintf_chk.c): Likewise.
20025 (CFLAGS-vdprintf_chk.c): Likewise.
20026 (CFLAGS-printf_chk.c): Likewise.
20027 (CFLAGS-fprintf_chk.c): Likewise.
20028 (CFLAGS-vprintf_chk.c): Likewise.
20029 (CFLAGS-vfprintf_chk.c): Likewise.
20030 (CFLAGS-gets_chk.c): Likewise.
20031 (CFLAGS-fgets_chk.c): Likewise.
20032 (CFLAGS-fgets_u_chk.c): Likewise.
20033 (CFLAGS-fread_chk.c): Likewise.
20034 (CFLAGS-fread_u_chk.c): Likewise.
20035 (CFLAGS-swprintf_chk.c): Likewise.
20036 (CFLAGS-vswprintf_chk.c): Likewise.
20037 (CFLAGS-wprintf_chk.c): Likewise.
20038 (CFLAGS-fwprintf_chk.c): Likewise.
20039 (CFLAGS-vwprintf_chk.c): Likewise.
20040 (CFLAGS-vfwprintf_chk.c): Likewise.
20041 (CFLAGS-fgetws_chk.c): Likewise.
20042 (CFLAGS-fgetws_u_chk.c): Likewise.
20043 (CFLAGS-read_chk.c): Likewise.
20044 (CFLAGS-pread_chk.c): Likewise.
20045 (CFLAGS-pread64_chk.c): Likewise.
20046 (CFLAGS-recv_chk.c): Likewise.
20047 (CFLAGS-recvfrom_chk.c): Likewise.
20048 (CFLAGS-tst-longjmp_chk.c): Likewise.
20049 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20050 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20051 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20052 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20053 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20054 (CFLAGS-tst-chk1.c): Likewise.
20055 (CFLAGS-tst-chk2.c): Likewise.
20056 (CFLAGS-tst-chk3.c): Likewise.
20057 (CFLAGS-tst-chk4.cc): Likewise.
20058 (CFLAGS-tst-chk5.cc): Likewise.
20059 (CFLAGS-tst-chk6.cc): Likewise.
20060 (CFLAGS-tst-lfschk1.c): Likewise.
20061 (CFLAGS-tst-lfschk2.c): Likewise.
20062 (CFLAGS-tst-lfschk3.c): Likewise.
20063 (CFLAGS-tst-lfschk4.cc): Likewise.
20064 (CFLAGS-tst-lfschk5.cc): Likewise.
20065 (CFLAGS-tst-lfschk6.cc): Likewise.
20066 (CFLAGS-tst-ssp-1.c): Likewise.
20067 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20068 (CFLAGS-scandir64.c): Likewise.
20069 (CFLAGS-scandir-tail.c): Likewise.
20070 (CFLAGS-scandir64-tail.c): Likewise.
20071 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20072 (CFLAGS-dl-tunables.c): Likewise.
20073 (CFLAGS-dl-runtime.c): Likewise.
20074 (CFLAGS-dl-lookup.c): Likewise.
20075 (CFLAGS-dl-iterate-phdr.c): Likewise.
20076 (CFLAGS-vismain.c): Likewise.
20077 (CFLAGS-tst-linkall-static.c): Likewise.
20078 (CFLAGS-tst-linkall-static.c): Likewise.
20079 (CPPFLAGS-dl-load.c): Likewise.
20080 (CFLAGS-ldconfig.c): Likewise.
20081 (CFLAGS-dl-cache.c): Likewise.
20082 (CFLAGS-cache.c): Likewise.
20083 (CFLAGS-rtld.c): Likewise.
20084 (CFLAGS-multiload.c): Likewise.
20085 (CFLAGS-filtmod1.c): Likewise.
20086 (CFLAGS-tst-align.c): Likewise.
20087 (CFLAGS-tst-align2.c): Likewise.
20088 (CFLAGS-tst-alignmod.c): Likewise.
20089 (CFLAGS-tst-alignmod2.c): Likewise.
20090 (CPPFLAGS-tst-execstack.c): Likewise.
20091 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20092 (CFLAGS-tst-latepthreadmod.c): Likewise.
20093 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20094 (CFLAGS-getgrnam_r.c): Likewise.
20095 (CFLAGS-getgrent_r.c): Likewise.
20096 (CFLAGS-getgrent.c): Likewise.
20097 (CFLAGS-fgetgrent.c): Likewise.
20098 (CFLAGS-fgetgrent_r.c): Likewise.
20099 (CFLAGS-putgrent.c): Likewise.
20100 (CFLAGS-initgroups.c): Likewise.
20101 (CFLAGS-getgrgid.c): Likewise.
20102 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20103 (CFLAGS-getsgent.c): Likewise.
20104 (CFLAGS-fgetsgent.c): Likewise.
20105 (CFLAGS-fgetsgent_r.c): Likewise.
20106 (CFLAGS-putsgent.c): Likewise.
20107 (CFLAGS-getsgnam.c): Likewise.
20108 (CFLAGS-getsgnam_r.c): Likewise.
20109 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20110 (CFLAGS-iconv_charmap.c): Likewise.
20111 (CFLAGS-dummy-repertoire.c): Likewise.
20112 (CFLAGS-charmap.c): Likewise.
20113 (CFLAGS-linereader.c): Likewise.
20114 (CFLAGS-simple-hash.c): Likewise.
20115 (CFLAGS-gconv_conf.c): Likewise.
20116 (CFLAGS-iconvconfig.c): Likewise.
20117 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20118 (CFLAGS-gethstbyad.c): Likewise.
20119 (CFLAGS-gethstbynm_r.c): Likewise.
20120 (CFLAGS-gethstbynm.c): Likewise.
20121 (CFLAGS-gethstbynm2_r.c): Likewise.
20122 (CFLAGS-gethstbynm2.c): Likewise.
20123 (CFLAGS-gethstent_r.c): Likewise.
20124 (CFLAGS-gethstent.c): Likewise.
20125 (CFLAGS-rcmd.c): Likewise.
20126 (CFLAGS-getnetbynm_r.c): Likewise.
20127 (CFLAGS-getnetbynm.c): Likewise.
20128 (CFLAGS-getnetbyad_r.c): Likewise.
20129 (CFLAGS-getnetbyad.c): Likewise.
20130 (CFLAGS-getnetent_r.c): Likewise.
20131 (CFLAGS-getnetent.c): Likewise.
20132 (CFLAGS-getaliasent_r.c): Likewise.
20133 (CFLAGS-getaliasent.c): Likewise.
20134 (CFLAGS-getrpcent_r.c): Likewise.
20135 (CFLAGS-getrpcent.c): Likewise.
20136 (CFLAGS-getservent_r.c): Likewise.
20137 (CFLAGS-getservent.c): Likewise.
20138 (CFLAGS-getprtent_r.c): Likewise.
20139 (CFLAGS-getprtent.c): Likewise.
20140 (CFLAGS-either_ntoh.c): Likewise.
20141 (CFLAGS-either_hton.c): Likewise.
20142 (CFLAGS-getnetgrent.c): Likewise.
20143 (CFLAGS-getnetgrent_r.c): Likewise.
20144 (CFLAGS-tst-checks-posix.c): Likewise.
20145 (CFLAGS-tst-sockaddr.c): Likewise.
20146 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20147 (CFLAGS-tst-translit.c): Likewise.
20148 (CFLAGS-tst-gettext2.c): Likewise.
20149 (CFLAGS-tst-codeset.c): Likewise.
20150 (CFLAGS-tst-gettext3.c): Likewise.
20151 (CFLAGS-tst-gettext4.c): Likewise.
20152 (CFLAGS-tst-gettext5.c): Likewise.
20153 (CFLAGS-tst-gettext6.c): Likewise.
20154 * io/Makefile (CFLAGS-open.c): Likewise.
20155 (CFLAGS-open64.c): Likewise.
20156 (CFLAGS-creat.c): Likewise.
20157 (CFLAGS-creat64.c): Likewise.
20158 (CFLAGS-fcntl.c): Likewise.
20159 (CFLAGS-poll.c): Likewise.
20160 (CFLAGS-ppoll.c): Likewise.
20161 (CFLAGS-lockf.c): Likewise.
20162 (CFLAGS-statfs.c): Likewise.
20163 (CFLAGS-fstatfs.c): Likewise.
20164 (CFLAGS-statvfs.c): Likewise.
20165 (CFLAGS-fstatvfs.c): Likewise.
20166 (CFLAGS-fts.c): Likewise.
20167 (CFLAGS-fts64.c): Likewise.
20168 (CFLAGS-ftw.c): Likewise.
20169 (CFLAGS-ftw64.c): Likewise.
20170 (CFLAGS-lockf.c): Likewise.
20171 (CFLAGS-posix_fallocate.c): Likewise.
20172 (CFLAGS-posix_fallocate64.c): Likewise.
20173 (CFLAGS-fallocate.c): Likewise.
20174 (CFLAGS-fallocate64.c): Likewise.
20175 (CFLAGS-read.c): Likewise.
20176 (CFLAGS-write.c): Likewise.
20177 (CFLAGS-test-stat.c): Likewise.
20178 (CFLAGS-test-lfs.c): Likewise.
20179 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20180 (CFLAGS-fputc.c): Likewise.
20181 (CFLAGS-fputwc.c): Likewise.
20182 (CFLAGS-freopen64.c): Likewise.
20183 (CFLAGS-freopen.c): Likewise.
20184 (CFLAGS-fseek.c): Likewise.
20185 (CFLAGS-fseeko64.c): Likewise.
20186 (CFLAGS-fseeko.c): Likewise.
20187 (CFLAGS-ftello64.c): Likewise.
20188 (CFLAGS-ftello.c): Likewise.
20189 (CFLAGS-fwide.c): Likewise.
20190 (CFLAGS-genops.c): Likewise.
20191 (CFLAGS-getc.c): Likewise.
20192 (CFLAGS-getchar.c): Likewise.
20193 (CFLAGS-getwc.c): Likewise.
20194 (CFLAGS-getwchar.c): Likewise.
20195 (CFLAGS-iofclose.c): Likewise.
20196 (CFLAGS-iofflush.c): Likewise.
20197 (CFLAGS-iofgetpos64.c): Likewise.
20198 (CFLAGS-iofgetpos.c): Likewise.
20199 (CFLAGS-iofgets.c): Likewise.
20200 (CFLAGS-iofgetws.c): Likewise.
20201 (CFLAGS-iofputs.c): Likewise.
20202 (CFLAGS-iofputws.c): Likewise.
20203 (CFLAGS-iofread.c): Likewise.
20204 (CFLAGS-iofsetpos64.c): Likewise.
20205 (CFLAGS-iofsetpos.c): Likewise.
20206 (CFLAGS-ioftell.c): Likewise.
20207 (CFLAGS-iofwrite.c): Likewise.
20208 (CFLAGS-iogetdelim.c): Likewise.
20209 (CFLAGS-iogetline.c): Likewise.
20210 (CFLAGS-iogets.c): Likewise.
20211 (CFLAGS-iogetwline.c): Likewise.
20212 (CFLAGS-ioputs.c): Likewise.
20213 (CFLAGS-ioseekoff.c): Likewise.
20214 (CFLAGS-ioseekpos.c): Likewise.
20215 (CFLAGS-iosetbuffer.c): Likewise.
20216 (CFLAGS-iosetvbuf.c): Likewise.
20217 (CFLAGS-ioungetc.c): Likewise.
20218 (CFLAGS-ioungetwc.c): Likewise.
20219 (CFLAGS-oldfileops.c): Likewise.
20220 (CFLAGS-oldiofclose.c): Likewise.
20221 (CFLAGS-oldiofgetpos64.c): Likewise.
20222 (CFLAGS-oldiofgetpos.c): Likewise.
20223 (CFLAGS-oldiofsetpos64.c): Likewise.
20224 (CFLAGS-oldiofsetpos.c): Likewise.
20225 (CFLAGS-peekc.c): Likewise.
20226 (CFLAGS-putc.c): Likewise.
20227 (CFLAGS-putchar.c): Likewise.
20228 (CFLAGS-putwc.c): Likewise.
20229 (CFLAGS-putwchar.c): Likewise.
20230 (CFLAGS-rewind.c): Likewise.
20231 (CFLAGS-wfileops.c): Likewise.
20232 (CFLAGS-wgenops.c): Likewise.
20233 (CFLAGS-oldiofopen.c): Likewise.
20234 (CFLAGS-iofopen.c): Likewise.
20235 (CFLAGS-iofopen64.c): Likewise.
20236 (CFLAGS-oldtmpfile.c): Likewise.
20237 (CFLAGS-tst_putwc.c): Likewise.
20238 * locale/Makefile (CFLAGS-md5.c): Likewise.
20239 (CFLAGS-charmap.c): Likewise.
20240 (CFLAGS-locfile.c): Likewise.
20241 (CFLAGS-charmap-dir.c): Likewise.
20242 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20243 (CFLAGS-getpt.c): Likewise.
20244 (CFLAGS-pt_chown.c): Likewise.
20245 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20246 (CFLAGS-obstack.c): Likewise.
20247 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20248 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20249 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20250 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20251 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20252 (CFLAGS-test-tgmath.c): Likewise.
20253 (CFLAGS-test-tgmath2.c): Likewise.
20254 (CFLAGS-test-tgmath-ret.c): Likewise.
20255 (CFLAGS-test-powl.c): Likewise.
20256 (CFLAGS-test-snan.c): Likewise.
20257 (CFLAGS-test-signgam-finite.c): Likewise.
20258 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20259 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20260 (CFLAGS-test-signgam-uchar.c): Likewise.
20261 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20262 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20263 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20264 (CFLAGS-test-signgam-uint.c): Likewise.
20265 (CFLAGS-test-signgam-uint-init.c): Likewise.
20266 (CFLAGS-test-signgam-uint-static.c): Likewise.
20267 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20268 (CFLAGS-test-signgam-ullong.c): Likewise.
20269 (CFLAGS-test-signgam-ullong-init.c): Likewise.
20270 (CFLAGS-test-signgam-ullong-static.c): Likewise.
20271 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20272 (CFLAGS-test-math-cxx11.cc): Likewise.
20273 (CFLAGS-test-math-isinff.cc): Likewise.
20274 (CFLAGS-test-math-iszero.cc): Likewise.
20275 (CFLAGS-test-math-issignaling.cc): Likewise.
20276 (CFLAGS-test-math-iscanonical.cc): Likewise.
20277 (CFLAGS-test-iszero-excess-precision.c): Likewise.
20278 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
20279 (CFLAGS-test-flt-eval-method.c): Likewise.
20280 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
20281 (CFLAGS-test-finite-macros.c): Likewise.
20282 * misc/Makefile (CFLAGS-select.c): Likewise.
20283 (CFLAGS-tsearch.c): Likewise.
20284 (CFLAGS-lsearch.c): Likewise.
20285 (CFLAGS-pselect.c): Likewise.
20286 (CFLAGS-readv.c): Likewise.
20287 (CFLAGS-writev.c): Likewise.
20288 (CFLAGS-preadv.c): Likewise.
20289 (CFLAGS-preadv64.c): Likewise.
20290 (CFLAGS-pwritev.c): Likewise.
20291 (CFLAGS-pwritev64.c): Likewise.
20292 (CFLAGS-preadv2.c): Likewise.
20293 (CFLAGS-preadv64v2.c): Likewise.
20294 (CFLAGS-pwritev2.c): Likewise.
20295 (CFLAGS-pwritev64v2.c): Likewise.
20296 (CFLAGS-usleep.c): Likewise.
20297 (CFLAGS-syslog.c): Likewise.
20298 (CFLAGS-error.c): Likewise.
20299 (CFLAGS-getpass.c): Likewise.
20300 (CFLAGS-mkstemp.c): Likewise.
20301 (CFLAGS-mkstemp64.c): Likewise.
20302 (CFLAGS-getsysstats.c): Likewise.
20303 (CFLAGS-getusershell.c): Likewise.
20304 (CFLAGS-err.c): Likewise.
20305 (CFLAGS-tst-tsearch.c): Likewise.
20306 (CFLAGS-msync.c): Likewise.
20307 (CFLAGS-fdatasync.c): Likewise.
20308 (CFLAGS-fsync.c): Likewise.
20309 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
20310 (CFLAGS-unwind.c): Likewise.
20311 (CFLAGS-unwind-forcedunwind.c): Likewise.
20312 (CFLAGS-pthread_cancel.c): Likewise.
20313 (CFLAGS-pthread_setcancelstate.c): Likewise.
20314 (CFLAGS-pthread_setcanceltype.c): Likewise.
20315 (CFLAGS-cancellation.c): Likewise.
20316 (CFLAGS-libc-cancellation.c): Likewise.
20317 (CFLAGS-pthread_exit.c): Likewise.
20318 (CFLAGS-forward.c): Likewise.
20319 (CFLAGS-pthread_testcancel.c): Likewise.
20320 (CFLAGS-pthread_join.c): Likewise.
20321 (CFLAGS-pthread_timedjoin.c): Likewise.
20322 (CFLAGS-pthread_once.c): Likewise.
20323 (CFLAGS-pthread_cond_wait.c): Likewise.
20324 (CFLAGS-sem_wait.c): Likewise.
20325 (CFLAGS-sem_timedwait.c): Likewise.
20326 (CFLAGS-fcntl.c): Likewise.
20327 (CFLAGS-lockf.c): Likewise.
20328 (CFLAGS-pread.c): Likewise.
20329 (CFLAGS-pread64.c): Likewise.
20330 (CFLAGS-pwrite.c): Likewise.
20331 (CFLAGS-pwrite64.c): Likewise.
20332 (CFLAGS-wait.c): Likewise.
20333 (CFLAGS-waitpid.c): Likewise.
20334 (CFLAGS-sigwait.c): Likewise.
20335 (CFLAGS-msgrcv.c): Likewise.
20336 (CFLAGS-msgsnd.c): Likewise.
20337 (CFLAGS-tcdrain.c): Likewise.
20338 (CFLAGS-open.c): Likewise.
20339 (CFLAGS-open64.c): Likewise.
20340 (CFLAGS-pause.c): Likewise.
20341 (CFLAGS-recv.c): Likewise.
20342 (CFLAGS-send.c): Likewise.
20343 (CFLAGS-accept.c): Likewise.
20344 (CFLAGS-sendto.c): Likewise.
20345 (CFLAGS-connect.c): Likewise.
20346 (CFLAGS-recvfrom.c): Likewise.
20347 (CFLAGS-recvmsg.c): Likewise.
20348 (CFLAGS-sendmsg.c): Likewise.
20349 (CFLAGS-close.c): Likewise.
20350 (CFLAGS-read.c): Likewise.
20351 (CFLAGS-write.c): Likewise.
20352 (CFLAGS-nanosleep.c): Likewise.
20353 (CFLAGS-sigsuspend.c): Likewise.
20354 (CFLAGS-msync.c): Likewise.
20355 (CFLAGS-fdatasync.c): Likewise.
20356 (CFLAGS-fsync.c): Likewise.
20357 (CFLAGS-pt-system.c): Likewise.
20358 (CFLAGS-tst-cleanup2.c): Likewise.
20359 (CFLAGS-tst-cleanupx2.c): Likewise.
20360 (CFLAGS-flockfile.c): Likewise.
20361 (CFLAGS-ftrylockfile.c): Likewise.
20362 (CFLAGS-funlockfile.c): Likewise.
20363 (CFLAGS-tst-initializers1.c): Likewise.
20364 (CFLAGS-tst-initializers1-c89.c): Likewise.
20365 (CFLAGS-tst-initializers1-c99.c): Likewise.
20366 (CFLAGS-tst-initializers1-c11.c): Likewise.
20367 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
20368 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
20369 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20370 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
20371 (CFLAGS-nscd_getgr_r.c): Likewise.
20372 (CFLAGS-nscd_gethst_r.c): Likewise.
20373 (CFLAGS-nscd_getai.c): Likewise.
20374 (CFLAGS-nscd_initgroups.c): Likewise.
20375 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
20376 (CFLAGS-pause.c): Likewise.
20377 (CFLAGS-pread.c): Likewise.
20378 (CFLAGS-pread64.c): Likewise.
20379 (CFLAGS-pwrite.c): Likewise.
20380 (CFLAGS-pwrite64.c): Likewise.
20381 (CFLAGS-sleep.c): Likewise.
20382 (CFLAGS-wait.c): Likewise.
20383 (CFLAGS-waitid.c): Likewise.
20384 (CFLAGS-waitpid.c): Likewise.
20385 (CFLAGS-getopt.c): Likewise.
20386 (CFLAGS-wordexp.c): Likewise.
20387 (CFLAGS-sysconf.c): Likewise.
20388 (CFLAGS-pathconf.c): Likewise.
20389 (CFLAGS-fpathconf.c): Likewise.
20390 (CFLAGS-spawn.c): Likewise.
20391 (CFLAGS-spawnp.c): Likewise.
20392 (CFLAGS-spawni.c): Likewise.
20393 (CFLAGS-glob.c): Likewise.
20394 (CFLAGS-glob64.c): Likewise.
20395 (CFLAGS-getconf.c): Likewise.
20396 (CFLAGS-nanosleep.c): Likewise.
20397 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20398 (CFLAGS-getpwent.c): Likewise.
20399 (CFLAGS-getpw.c): Likewise.
20400 (CFLAGS-fgetpwent_r.c): Likewise.
20401 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20402 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20403 (CFLAGS-mq_timedreceive.c): Likewise.
20404 (CFLAGS-mq_timedsend.c): Likewise.
20405 (CFLAGS-clock_nanosleep.c): Likewise.
20406 (CFLAGS-librt-cancellation.c): Likewise.
20407 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20408 (CFLAGS-getspent.c): Likewise.
20409 (CFLAGS-fgetspent.c): Likewise.
20410 (CFLAGS-fgetspent_r.c): Likewise.
20411 (CFLAGS-putspent.c): Likewise.
20412 (CFLAGS-getspnam.c): Likewise.
20413 (CFLAGS-getspnam_r.c): Likewise.
20414 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20415 (CFLAGS-sigsuspend.c): Likewise.
20416 (CFLAGS-sigtimedwait.c): Likewise.
20417 (CFLAGS-sigwait.c): Likewise.
20418 (CFLAGS-sigwaitinfo.c): Likewise.
20419 (CFLAGS-sigreturn.c): Likewise.
20420 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20421 (CFLAGS-vfwprintf.c): Likewise.
20422 (CFLAGS-tmpfile.c): Likewise.
20423 (CFLAGS-tmpfile64.c): Likewise.
20424 (CFLAGS-tempname.c): Likewise.
20425 (CFLAGS-psignal.c): Likewise.
20426 (CFLAGS-vprintf.c): Likewise.
20427 (CFLAGS-cuserid.c): Likewise.
20428 (CFLAGS-errlist.c): Likewise.
20429 (CFLAGS-siglist.c): Likewise.
20430 (CFLAGS-scanf15.c): Likewise.
20431 (CFLAGS-scanf17.c): Likewise.
20432 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20433 (CFLAGS-msort.c): Likewise.
20434 (CFLAGS-qsort.c): Likewise.
20435 (CFLAGS-system.c): Likewise.
20436 (CFLAGS-fmtmsg.c): Likewise.
20437 (CFLAGS-strfmon.c): Likewise.
20438 (CFLAGS-strfmon_l.c): Likewise.
20439 (CFLAGS-strfromd.c): Likewise.
20440 (CFLAGS-strfromf.c): Likewise.
20441 (CFLAGS-strfroml.c): Likewise.
20442 (CFLAGS-tst-bsearch.c): Likewise.
20443 (CFLAGS-tst-qsort.c): Likewise.
20444 (CFLAGS-tst-makecontext2.c): Likewise.
20445 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20446 (CFLAGS-xnlm_prot.c): Likewise.
20447 (CFLAGS-xrstat.c): Likewise.
20448 (CFLAGS-xyppasswd.c): Likewise.
20449 (CFLAGS-xklm_prot.c): Likewise.
20450 (CFLAGS-xrex.c): Likewise.
20451 (CFLAGS-xsm_inter.c): Likewise.
20452 (CFLAGS-xmount.c): Likewise.
20453 (CFLAGS-xrusers.c): Likewise.
20454 (CFLAGS-xspray.c): Likewise.
20455 (CFLAGS-xnfs_prot.c): Likewise.
20456 (CFLAGS-xrquota.c): Likewise.
20457 (CFLAGS-xkey_prot.c): Likewise.
20458 (CFLAGS-auth_unix.c): Likewise.
20459 (CFLAGS-key_call.c): Likewise.
20460 (CFLAGS-pmap_rmt.c): Likewise.
20461 (CFLAGS-clnt_perr.c): Likewise.
20462 (CFLAGS-openchild.c): Likewise.
20463 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
20464 (CFLAGS-msgsnd.c): Likewise.
20465 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
20466 * time/Makefile (CFLAGS-tzfile.c): Likewise.
20467 (CFLAGS-tzset.c): Likewise.
20468 (CFLAGS-getdate.c): Likewise.
20469 (CFLAGS-test_time.c): Likewise.
20470 (CPPFLAGS-tst-tzname.c): Likewise.
20471 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
20472 (CFLAGS-zic.c): Likewise.
20473 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
20474 (CFLAGS-wcswidth.c): Likewise.
20475 (CFLAGS-wcstol.c): Likewise.
20476 (CFLAGS-wcstoul.c): Likewise.
20477 (CFLAGS-wcstoll.c): Likewise.
20478 (CFLAGS-wcstoull.c): Likewise.
20479 (CFLAGS-wcstod.c): Likewise.
20480 (CFLAGS-wcstold.c): Likewise.
20481 (CFLAGS-wcstof128.c): Likewise.
20482 (CFLAGS-wcstof.c): Likewise.
20483 (CFLAGS-wcstol_l.c): Likewise.
20484 (CFLAGS-wcstoul_l.c): Likewise.
20485 (CFLAGS-wcstoll_l.c): Likewise.
20486 (CFLAGS-wcstoull_l.c): Likewise.
20487 (CFLAGS-wcstod_l.c): Likewise.
20488 (CFLAGS-wcstold_l.c): Likewise.
20489 (CFLAGS-wcstof128_l.c): Likewise.
20490 (CFLAGS-wcstof_l.c): Likewise.
20491 (CPPFLAGS-tst-wchar-h.c): Likewise.
20492 (CPPFLAGS-wcstold_l.c): Likewise.
20494 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
20496 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
20498 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20499 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20501 * manual/tunables.texi (Hardware Capability Tunables): Document
20502 glibc.tune.cached_memopt.
20503 * sysdeps/powerpc/cpu-features.c: New file.
20504 * sysdeps/powerpc/cpu-features.h: New file.
20505 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
20506 _dl_powerpc_cpu_features.
20507 * sysdeps/powerpc/dl-tunables.list: New file.
20508 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
20509 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20510 (INIT_ARCH): Initialize use_aligned_memopt.
20511 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
20512 IS_IN(rtld))]: Restrict dl_platform_init availability and
20513 initialize CPU features used by tunables.
20514 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
20515 Add memcpy-power8-cached.
20516 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
20517 __memcpy_power8_cached.
20518 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20519 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
20522 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20524 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
20525 (CFLAGS-noinl-tester.c): Likewise.
20526 (CFLAGS-tst-strlen.c): Likewise.
20527 (CFLAGS-stratcliff.c): Likewise.
20528 (CFLAGS-test-ffs.c): Likewise.
20529 (CFLAGS-tst-inlcall.c): Likewise.
20530 (CFLAGS-tst-xbzero-opt.c): Likewise.
20531 (CFLAGS-memcpy.c): Likewise.
20532 (CFLAGS-wordcopy.c): Likewise.
20534 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20536 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
20537 Store r15 on stack and add cfi rule.
20538 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20541 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
20544 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
20547 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20549 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20550 Add s_sinf-sse2 and s_sinf-fma.
20551 (CFLAGS-s_sinf-fma.c): New.
20552 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
20553 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
20554 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
20556 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20558 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
20560 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20563 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
20564 part of result to imaginary part of argument if it is zero and the
20565 real part of the argument is not finite.
20566 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
20567 of result to real part of argument if it is zero and the imaginary
20568 part of the argument is not finite.
20570 2017-12-07 Mike FABIAN <mfabian@redhat.com>
20573 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
20574 and to the list of locales to be built for testing.
20575 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
20576 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
20577 and build the collation rules upon that.
20579 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20581 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
20582 * manual/math.texi (Mathematics): Document support for _Float32.
20583 * math/Makefile (test-types): Add float32.
20584 * math/Versions (GLIBC_2.27): Add _Float32 functions.
20585 * stdlib/Versions (GLIBC_2.27): Likewise.
20586 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20587 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20588 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20589 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20590 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20591 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20592 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20593 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20594 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20595 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20596 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20597 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20598 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20599 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20600 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20601 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20602 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20603 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20604 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20605 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20606 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20607 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20609 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20610 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20611 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20612 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20613 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20631 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20632 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20633 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20634 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20635 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20636 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20637 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20638 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20639 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20640 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20649 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20650 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20651 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20652 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20653 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20654 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20655 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20656 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20658 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20660 * stdlib/strtof.c: Include <bits/floatn.h>
20661 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
20662 and later undefine as macro. Define as weak alias if
20664 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
20665 and later undefine as macro. Define as weak alias if
20667 * stdlib/strtof_l.c: Include <bits/floatn.h>
20668 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
20669 and later undefine as macro. Define as weak alias if
20671 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
20672 and later undefine as macro. Define as weak alias if
20675 * stdlib/strfromf.c: Include <bits/floatn.h>.
20676 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
20677 and later undefine as macro and define as weak alias.
20679 * math/test-float32.h: New file.
20681 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
20682 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
20683 (libm_alias_float_other_r): Create f32 alias.
20684 (libm_alias_float_r): Use semicolon before call to
20685 libm_alias_float_other_r.
20687 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
20688 second argument to libm_alias_float_other.
20689 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
20690 second argument to libm_alias_float_other.
20691 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
20692 argument to libm_alias_float_other.
20695 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
20696 real part of result for argument 0 + i * NaN.
20697 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
20698 results for tests of 0 + i * NaN.
20700 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20702 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20704 2017-12-06 David S. Miller <davem@davemloft.net>
20706 * sysdeps/sparc/fpu/libm-test-ulps: Update
20707 exp_{downward,towardzero,upward} ulps.
20709 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20711 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
20714 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
20716 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
20718 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
20720 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
20723 2017-12-06 Mike FABIAN <mfabian@redhat.com>
20726 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
20727 and to the list of locales to be built for testing.
20728 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
20729 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
20730 and build the collation rules upon that.
20732 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20734 * NEWS: Add sinf to list of optimized functions.
20736 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20738 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
20739 (__HAVE_FLOAT32X): Likewise.
20740 * manual/math.texi (Mathematics): Document support for _Float64
20742 * math/Makefile (test-types): Add float64 and float32x.
20743 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
20745 * stdlib/Versions (GLIBC_2.27): Likewise.
20746 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20747 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20748 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20749 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20750 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20751 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20752 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20753 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20754 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20755 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20756 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20757 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20758 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20759 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20760 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20761 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20762 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20763 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20764 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20765 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20766 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20767 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20769 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20770 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20771 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20772 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20773 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20790 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20791 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20792 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20793 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20794 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20795 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20796 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20797 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20798 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20799 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20808 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20809 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20810 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20811 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20812 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20813 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20814 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20815 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20817 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20819 * bits/floatn-common.h: Include <bits/long-double.h>.
20820 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20821 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
20822 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20823 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20824 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20825 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20826 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20827 (__builtin_huge_valf64): Use __builtin_huge_vall.
20828 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20829 (__builtin_inff64): Use __builtin_infl.
20830 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20831 (__builtin_nanf64): Use __builtin_nanl.
20832 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20833 (__builtin_nansf64): Use __builtin_nansl.
20835 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20836 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20837 Carlos O'Donnell <carlos@redhat.com>
20839 * elf/dl-tunables.list: Add elision parameters.
20840 * manual/tunables.texi: Add entries about elision tunable.
20841 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20842 Add callback functions to dynamically enable/disable elision.
20843 Add multiple callbacks functions to set elision parameters.
20844 Deleted __libc_enable_secure check.
20845 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20846 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20847 * configure: Regenerated.
20848 * configure.ac: Option enable_lock_elision was deleted.
20849 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20850 * config.make.in: Remove references to enable_lock_elision.
20851 * manual/install.texi: Elision configure option was removed.
20852 * INSTALL: Regenerated to remove enable_lock_elision.
20854 Disable elision so it can verify error case for destroying a mutex.
20855 * sysdeps/powerpc/nptl/elide.h:
20856 Cleanup ENABLE_LOCK_ELISION check.
20857 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20858 * sysdeps/s390/configure: Regenerated.
20859 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20860 * nptl/tst-mutex8.c:
20861 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20862 * sysdeps/powerpc/powerpc32/sysdep.h:
20863 Deleted all ENABLE_LOCK_ELISION checks.
20864 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20865 * sysdeps/powerpc/sysdep.h: Likewise.
20866 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20867 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20868 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20869 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20870 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20871 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20872 enable-lock-elision.
20874 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20876 * stdlib/strtod.c: Include <bits/floatn.h>.
20877 (BUILD_DOUBLE): New macro.
20878 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20879 (strtof64): Define and later undefine as macro. Define as weak
20880 alias if [!USE_WIDE_CHAR].
20881 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20882 (wcstof64): Define and later undefine as macro. Define as weak
20883 alias if [USE_WIDE_CHAR].
20884 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20885 (strtof32x): Define and later undefine as macro. Define as weak
20886 alias if [!USE_WIDE_CHAR].
20887 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20888 (wcstof32x): Define and later undefine as macro. Define as weak
20889 alias if [USE_WIDE_CHAR].
20890 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20891 (BUILD_DOUBLE): New macro.
20892 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20893 (strtof64_l): Define and later undefine as macro. Define as weak
20894 alias if [!USE_WIDE_CHAR].
20895 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20896 (wcstof64_l): Define and later undefine as macro. Define as weak
20897 alias if [USE_WIDE_CHAR].
20898 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20899 (strtof32x_l): Define and later undefine as macro. Define as weak
20900 alias if [!USE_WIDE_CHAR].
20901 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20902 (wcstof32x_l): Define and later undefine as macro. Define as weak
20903 alias if [USE_WIDE_CHAR].
20905 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20907 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20908 (reduced): Use ones as double instead of integer.
20910 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20912 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20914 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20916 * stdlib/strfromd.c: Include <bits/floatn.h>.
20917 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20918 and later undefine as macro and define as weak alias.
20919 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20922 * math/test-float32x.h: New file.
20923 * math/test-float64.h: Likewise.
20925 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20926 (libm_alias_double_other_r_f64): New macro.
20927 (libm_alias_double_other_r_f32x): Likewise.
20928 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20929 libm_alias_double_other_r_f32x.
20930 (libm_alias_double_r): Use semicolon before call to
20931 libm_alias_double_other_r.
20932 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20934 (libm_alias_double_other_r_f64): New macro.
20935 (libm_alias_double_other_r_f32x): Likewise.
20936 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20937 libm_alias_double_other_r_f32x.
20939 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20941 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20943 (SINF_FUNC): Likewise. Replace floor with simple casts.
20945 2017-12-05 Mike FABIAN <mfabian@redhat.com>
20948 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20949 and to the list of locales to be built for testing.
20950 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20951 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20952 and build the collation rules upon that.
20954 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20956 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20957 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20958 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20959 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20960 instead of __insn__xxx.
20961 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20962 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20963 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20964 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20965 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20966 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20968 2017-12-05 Florian Weimer <fweimer@redhat.com>
20970 Linux: Implement interfaces for memory protection keys
20971 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20973 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20974 * support/xunistd.h (xsysconf): Declare.
20975 * support/xraise.c: New file.
20976 * support/xsigaction.c: Likewise.
20977 * support/xsignal.c: Likewise.
20978 * support/xsysconf.c: Likewise.
20979 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20980 pkey_set, pkey_get, pkey_mprotect.
20981 [misc] (tests): Add tst-pkey.
20982 (tst-pkey): Link with -lpthread.
20983 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20984 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20985 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20986 (PKEY_DISABLE_WRITE): Define.
20987 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20989 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20990 (SEGV_PKUERR): Add.
20991 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20992 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20993 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20994 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20996 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20997 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20998 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20999 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21000 * sysdeps/unix/sysv/linux/**.abilist: Update.
21002 2017-12-05 Florian Weimer <fweimer@redhat.com>
21004 * support/tst-test_compare.c (subprocess): Use long long instead
21005 of long argument for consistent type width across 32-bit and
21006 64-bit architectures.
21007 (do_test): Adjust expected output.
21009 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21011 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21012 (cosf): Define using libm_alias_float.
21013 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21014 (fabsf): Define using libm_alias_float.
21015 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21016 (fmaf): Define using libm_alias_float.
21017 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21018 (rintf): Define using libm_alias_float.
21019 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21020 (sinf): Define using libm_alias_float.
21021 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21022 <libm-alias-float.h>.
21023 (modff): Define using libm_alias_float.
21024 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21025 <libm-alias-float.h>.
21026 (logbf): Define using libm_alias_float.
21027 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21028 <libm-alias-float.h>.
21029 (ceilf): Define using libm_alias_float.
21030 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21031 <libm-alias-float.h>.
21032 (copysignf): Define using libm_alias_float.
21033 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21034 <libm-alias-float.h>.
21035 (floorf): Define using libm_alias_float.
21036 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21037 <libm-alias-float.h>.
21038 (llrintf): Define using libm_alias_float.
21039 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21040 <libm-alias-float.h>.
21041 (llroundf): Define using libm_alias_float.
21042 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21043 <libm-alias-float.h>.
21044 (lrintf): Define using libm_alias_float.
21045 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21046 <libm-alias-float.h>.
21047 (lroundf): Define using libm_alias_float.
21048 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21049 <libm-alias-float.h>.
21050 (nearbyintf): Define using libm_alias_float.
21051 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21052 <libm-alias-float.h>.
21053 (rintf): Define using libm_alias_float.
21054 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21055 <libm-alias-float.h>.
21056 (roundf): Define using libm_alias_float.
21057 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21058 <libm-alias-float.h>.
21059 (truncf): Define using libm_alias_float.
21060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21061 Include <libm-alias-float.h>.
21062 (ceilf): Define using libm_alias_float.
21063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21064 Include <libm-alias-float.h>.
21065 (copysignf): Define using libm_alias_float.
21066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21067 Include <libm-alias-float.h>.
21068 (floorf): Define using libm_alias_float.
21069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21070 Include <libm-alias-float.h>.
21071 (llrintf): Define using libm_alias_float.
21072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21073 Include <libm-alias-float.h>.
21074 (llroundf): Define using libm_alias_float.
21075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21076 Include <libm-alias-float.h>.
21077 (logbf): Define using libm_alias_float.
21078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21079 Include <libm-alias-float.h>.
21080 (lrintf): Define using libm_alias_float.
21081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21082 Include <libm-alias-float.h>.
21083 (lroundf): Define using libm_alias_float.
21084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21085 Include <libm-alias-float.h>.
21086 (modff): Define using libm_alias_float.
21087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21088 Include <libm-alias-float.h>.
21089 (roundf): Define using libm_alias_float.
21090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21091 Include <libm-alias-float.h>.
21092 (truncf): Define using libm_alias_float.
21093 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21094 <libm-alias-float.h>.
21095 (llrintf): Define using libm_alias_float.
21096 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21097 <libm-alias-float.h>.
21098 (llroundf): Define using libm_alias_float.
21099 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21100 <libm-alias-float.h>.
21101 (ceilf): Define using libm_alias_float.
21102 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21103 <libm-alias-float.h>.
21104 (floorf): Define using libm_alias_float.
21105 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21106 <libm-alias-float.h>.
21107 (llroundf): Define using libm_alias_float.
21108 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21109 <libm-alias-float.h>.
21110 (lroundf): Define using libm_alias_float.
21111 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21112 <libm-alias-float.h>.
21113 (roundf): Define using libm_alias_float.
21114 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21115 <libm-alias-float.h>.
21116 (truncf): Define using libm_alias_float.
21117 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21118 <libm-alias-float.h>.
21119 (copysignf): Define using libm_alias_float.
21120 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21121 <libm-alias-float.h>.
21122 (llrintf): Define using libm_alias_float.
21123 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21124 <libm-alias-float.h>.
21125 (llroundf): Define using libm_alias_float.
21126 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21127 <libm-alias-float.h>.
21128 (lrintf): Define using libm_alias_float.
21129 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21130 <libm-alias-float.h>.
21131 (lroundf): Define using libm_alias_float.
21132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21133 <libm-alias-float.h>.
21134 (ceilf): Define using libm_alias_float.
21135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21136 <libm-alias-float.h>.
21137 (copysignf): Define using libm_alias_float.
21138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21139 <libm-alias-float.h>.
21140 (cosf): Define using libm_alias_float.
21141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21142 <libm-alias-float.h>.
21143 (floorf): Define using libm_alias_float.
21144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21145 <libm-alias-float.h>.
21146 (llrintf): Define using libm_alias_float.
21147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21148 <libm-alias-float.h>.
21149 (llroundf): Define using libm_alias_float.
21150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21151 <libm-alias-float.h>.
21152 (logbf): Define using libm_alias_float.
21153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21154 <libm-alias-float.h>.
21155 (modff): Define using libm_alias_float.
21156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21157 <libm-alias-float.h>.
21158 (roundf): Define using libm_alias_float.
21159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21160 <libm-alias-float.h>.
21161 (sinf): Define using libm_alias_float.
21162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21163 <libm-alias-float.h>.
21164 (truncf): Define using libm_alias_float.
21165 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21166 <libm-alias-float.h>.
21167 (ceilf): Define using libm_alias_float.
21168 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21169 <libm-alias-float.h>.
21170 (copysignf): Define using libm_alias_float.
21171 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21172 <libm-alias-float.h>.
21173 (floorf): Define using libm_alias_float.
21174 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21175 <libm-alias-float.h>.
21176 (llrintf): Define using libm_alias_float.
21177 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21178 <libm-alias-float.h>.
21179 (llroundf): Define using libm_alias_float.
21180 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21181 <libm-alias-float.h>.
21182 (nearbyintf): Define using libm_alias_float.
21183 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21184 <libm-alias-float.h>.
21185 (rintf): Define using libm_alias_float.
21186 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21187 <libm-alias-float.h>.
21188 (roundf): Define using libm_alias_float.
21189 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21190 <libm-alias-float.h>.
21191 (truncf): Define using libm_alias_float.
21192 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21193 <libm-alias-float.h>.
21194 (ceilf): Define using libm_alias_float.
21195 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21196 <libm-alias-float.h>.
21197 (floorf): Define using libm_alias_float.
21198 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21199 <libm-alias-float.h>.
21200 (llroundf): Define using libm_alias_float.
21201 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21202 <libm-alias-float.h>.
21203 (roundf): Define using libm_alias_float.
21204 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21205 <libm-alias-float.h>.
21206 (truncf): Define using libm_alias_float.
21207 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21208 <libm-alias-float.h>.
21209 (copysignf): Define using libm_alias_float.
21210 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21211 <libm-alias-float.h>.
21212 (llrintf): Define using libm_alias_float.
21213 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21214 <libm-alias-float.h>.
21215 (llroundf): Define using libm_alias_float.
21216 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21217 <libm-alias-float.h>.
21218 (cosf): Define using libm_alias_float.
21219 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21220 <libm-alias-float.h>.
21221 (llrintf): Define using libm_alias_float.
21222 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21223 <libm-alias-float.h>.
21224 (llroundf): Define using libm_alias_float.
21225 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21226 <libm-alias-float.h>.
21227 (sinf): Define using libm_alias_float.
21229 2017-12-04 Florian Weimer <fweimer@redhat.com>
21231 * support/check.h (TEST_COMPARE): Define.
21232 (support_test_compare_failure): Declare.
21233 * support/Makefile (libsupport-routines): Add
21234 support_test_compare_failure.
21235 (tests): Add tst-test_compare.
21236 * support /support_test_compare_failure.c: New file.
21237 * support/tst-test_compare.c: Likewise.
21239 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21242 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21243 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21244 available, this rewrite of the collation rules does reproduce
21245 the test file in the same order.
21247 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21250 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21251 digraphs in the month and day names. Using single code points for
21252 digraphs is deprecated. While there are dedicated Unicode
21253 codepoints, for the digraphs, these are included for backwards
21254 compatibility and modern texts use a sequence of Basic Latin
21255 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21256 This makes the month and day names agree exactly with CLDR now,
21257 CLDR does not use the single code points for the digraphs either.
21259 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21261 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21263 2017-12-04 Joseph Myers <joseph@codesourcery.com>
21265 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
21268 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
21270 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
21271 Define only for libc.so.
21273 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
21275 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21276 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
21277 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
21278 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
21279 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21281 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21284 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
21286 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
21289 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
21290 PREINIT_FUNCTION_WEAK is nonzero.
21291 (gmon_initializer): New function. Put procedure label for it in
21292 .init_array section.
21293 (_init): Don't call PREINIT_FUNCTION.
21294 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
21295 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
21296 value when map argument is null.
21298 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
21299 depi instruction from PIC pc-relative sequence.
21300 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
21301 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
21302 (elf_machine_load_address): Likewise.
21303 (elf_machine_runtime_setup): Likewise.
21305 2017-12-02 Joseph Myers <joseph@codesourcery.com>
21307 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
21308 <libm-alias-double.h>.
21309 (logb): Define using libm_alias_double.
21310 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21311 <libm-alias-double.h>.
21312 (copysign): Define using libm_alias_double.
21313 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
21314 <libm-alias-double.h>.
21315 (llrint): Define using libm_alias_double.
21316 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
21317 <libm-alias-double.h>.
21318 (llround): Define using libm_alias_double.
21319 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21320 <libm-alias-double.h>.
21321 (lrint): Define using libm_alias_double.
21322 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21323 <libm-alias-double.h>.
21324 (lround): Define using libm_alias_double.
21325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21326 Include <libm-alias-double.h>.
21327 (copysign): Define using libm_alias_double.
21328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
21329 Include <libm-alias-double.h>.
21330 (llrint): Define using libm_alias_double.
21331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
21332 Include <libm-alias-double.h>.
21333 (llround): Define using libm_alias_double.
21334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
21335 <libm-alias-double.h>.
21336 (logb): Define using libm_alias_double.
21337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
21338 Include <libm-alias-double.h>.
21339 (lrint): Define using libm_alias_double.
21340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
21341 Include <libm-alias-double.h>.
21342 (lround): Define using libm_alias_double.
21343 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
21344 <libm-alias-double.h>.
21345 (llrint): Define using libm_alias_double.
21346 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21347 <libm-alias-double.h>.
21348 (llround): Define using libm_alias_double.
21349 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21350 <libm-alias-double.h>.
21351 (llround): Define using libm_alias_double.
21352 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21353 <libm-alias-double.h>.
21354 (lround): Define using libm_alias_double.
21355 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21356 <libm-alias-double.h>.
21357 (copysign): Define using libm_alias_double.
21358 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
21359 <libm-alias-double.h>.
21360 (llrint): Define using libm_alias_double.
21361 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21362 <libm-alias-double.h>.
21363 (llround): Define using libm_alias_double.
21364 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21365 <libm-alias-double.h>.
21366 (lrint): Define using libm_alias_double.
21367 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21368 <libm-alias-double.h>.
21369 (lround): Define using libm_alias_double.
21370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
21371 <libm-alias-double.h>.
21372 (copysign): Define using libm_alias_double.
21373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
21374 <libm-alias-double.h>.
21375 (llrint): Define using libm_alias_double.
21377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
21378 <libm-alias-double.h>.
21379 (llround): Define using libm_alias_double.
21380 (lround): Likewise.
21381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
21382 <libm-alias-double.h>.
21383 (logb): Define using libm_alias_double.
21384 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21385 <libm-alias-double.h>.
21386 (copysign): Define using libm_alias_double.
21387 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21388 <libm-alias-double.h>.
21389 (llrint): Define using libm_alias_double.
21391 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21392 <libm-alias-double.h>.
21393 (llround): Define using libm_alias_double.
21394 (lround): Likewise.
21395 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21396 <libm-alias-double.h>.
21397 (llround): Define using libm_alias_double.
21398 (lround): Likewise.
21399 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21400 <libm-alias-double.h>.
21401 (copysign): Define using libm_alias_double.
21402 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21403 <libm-alias-double.h>.
21404 (llrint): Define using libm_alias_double.
21406 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21407 <libm-alias-double.h>.
21408 (llround): Define using libm_alias_double.
21409 (lround): Likewise.
21410 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21411 <libm-alias-double.h>.
21412 (llrint): Define using libm_alias_double.
21414 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21415 <libm-alias-double.h>.
21416 (llround): Define using libm_alias_double.
21417 (lround): Likewise.
21419 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21422 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21423 compat symbol based on llround.
21425 * sysdeps/powerpc/power7/fpu/s_logb.c
21426 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21427 symbol based on __logb, not on logb.
21428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21429 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21431 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21433 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21434 (rint): Define using libm_alias_double.
21435 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21436 <libm-alias-double.h>.
21437 (modf): Define using libm_alias_double.
21438 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21439 <libm-alias-double.h>.
21440 (ceil): Define using libm_alias_double.
21441 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21442 <libm-alias-double.h>.
21443 (floor): Define using libm_alias_double.
21444 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21445 <libm-alias-double.h>.
21446 (nearbyint): Define using libm_alias_double.
21447 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21448 <libm-alias-double.h>.
21449 (rint): Define using libm_alias_double.
21450 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21451 <libm-alias-double.h>.
21452 (round): Define using libm_alias_double.
21453 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21454 <libm-alias-double.h>.
21455 (trunc): Define using libm_alias_double.
21456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21457 <libm-alias-double.h>.
21458 (ceil): Define using libm_alias_double.
21459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21460 Include <libm-alias-double.h>.
21461 (floor): Define using libm_alias_double.
21462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
21463 <libm-alias-double.h>.
21464 (modf): Define using libm_alias_double.
21465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
21466 Include <libm-alias-double.h>.
21467 (round): Define using libm_alias_double.
21468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
21469 Include <libm-alias-double.h>.
21470 (trunc): Define using libm_alias_double.
21471 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
21472 <libm-alias-double.h>.
21473 (ceil): Define using libm_alias_double.
21474 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
21475 <libm-alias-double.h>.
21476 (floor): Define using libm_alias_double.
21477 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
21478 <libm-alias-double.h>.
21479 (round): Define using libm_alias_double.
21480 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
21481 <libm-alias-double.h>.
21482 (trunc): Define using libm_alias_double.
21483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
21484 <libm-alias-double.h>.
21485 (ceil): Define using libm_alias_double.
21486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
21487 <libm-alias-double.h>.
21488 (floor): Define using libm_alias_double.
21489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
21490 <libm-alias-double.h>.
21491 (modf): Define using libm_alias_double.
21492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
21493 <libm-alias-double.h>.
21494 (round): Define using libm_alias_double.
21495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
21496 <libm-alias-double.h>.
21497 (trunc): Define using libm_alias_double.
21498 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
21499 <libm-alias-double.h>.
21500 (ceil): Define using libm_alias_double.
21501 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
21502 <libm-alias-double.h>.
21503 (floor): Define using libm_alias_double.
21504 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
21505 <libm-alias-double.h>.
21506 (nearbyint): Define using libm_alias_double.
21507 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
21508 <libm-alias-double.h>.
21509 (rint): Define using libm_alias_double.
21510 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
21511 <libm-alias-double.h>.
21512 (round): Define using libm_alias_double.
21513 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
21514 <libm-alias-double.h>.
21515 (trunc): Define using libm_alias_double.
21516 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
21517 <libm-alias-double.h>.
21518 (ceil): Define using libm_alias_double.
21519 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
21520 <libm-alias-double.h>.
21521 (floor): Define using libm_alias_double.
21522 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
21523 <libm-alias-double.h>.
21524 (round): Define using libm_alias_double.
21525 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
21526 <libm-alias-double.h>.
21527 (trunc): Define using libm_alias_double.
21529 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
21530 (fabs): Define using libm_alias_double.
21531 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
21532 (fma): Define using libm_alias_double.
21533 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
21534 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
21535 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
21536 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
21538 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21540 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
21542 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
21543 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
21544 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
21547 due redirect macro.
21549 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
21551 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
21553 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21555 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
21556 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
21557 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
21558 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
21560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21561 (libm-sysdep_routines): Add s_nearbyintf-generic and
21562 s_nearbyint-generic.
21563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
21565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
21566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
21568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
21570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
21572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21576 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
21577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
21579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
21580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
21582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
21583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
21584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21587 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
21588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
21590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
21591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
21593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
21594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
21595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
21597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21598 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
21599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
21601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
21602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
21604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
21605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
21606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21609 (sysdep_calls): New rule.
21610 (sysdep_routines): Use sysdep_calls as base.
21611 (libm-sysdep_routines): Add generic rule for symbols shared with
21612 libc. Add s_copysign-generic and s_copysign-generic objects.
21613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
21615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
21616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
21618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
21619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
21620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
21622 2017-12-01 Mike FABIAN <mfabian@redhat.com>
21625 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
21626 the list of locales to be built for testing.
21627 * localedata/is_IS.UTF-8.in: New file.
21628 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
21631 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21633 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
21634 <libm-alias-float.h>.
21635 (fabsf): Define using libm_alias_float.
21637 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21639 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
21641 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21643 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
21644 <libm-alias-float.h>.
21645 (fabsf): Define using libm_alias_float.
21646 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
21647 <libm-alias-float.h>.
21648 (lrintf): Define using libm_alias_float.
21649 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
21650 <libm-alias-float.h>.
21651 (rintf): Define using libm_alias_float.
21653 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
21654 <libm-alias-double.h>.
21655 (fabs): Define using libm_alias_double.
21656 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
21657 <libm-alias-double.h>.
21658 (lrint): Define using libm_alias_double.
21659 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
21660 <libm-alias-double.h>.
21661 (rint): Define using libm_alias_double.
21663 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
21664 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
21665 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
21666 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
21667 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
21668 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
21669 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
21670 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
21671 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
21672 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
21673 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
21674 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
21675 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
21676 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
21677 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
21678 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
21679 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
21680 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
21682 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
21683 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
21684 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
21686 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
21687 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
21688 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
21690 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
21691 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
21692 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
21693 s_expm1_template.c.
21694 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
21695 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
21696 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
21698 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
21699 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
21700 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
21701 s_floor_template.c.
21702 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
21703 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
21704 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
21705 s_frexp_template.c.
21706 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
21707 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
21708 s_lrint_template.c.
21709 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
21710 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
21711 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
21713 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
21714 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
21715 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
21716 s_nearbyint_template.c.
21717 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
21718 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
21719 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
21720 s_remquo_template.c.
21721 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
21722 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
21723 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
21725 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
21726 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
21727 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
21729 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
21730 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
21731 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
21732 s_sincos_template.c.
21733 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
21734 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
21735 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
21737 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
21738 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
21739 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
21741 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
21742 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
21743 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
21744 s_trunc_template.c.
21745 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
21746 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
21747 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
21748 s_atan.c instead of including s_atan.c.
21749 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
21750 s_atanf.c instead of including s_atanf.c.
21751 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
21752 s_atanl.c instead of including s_atanl.c.
21753 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
21754 instead of s_atan.c.
21755 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
21756 instead of s_atanf.c.
21757 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
21758 instead of s_atanl.c.
21760 * scripts/update-copyrights: Do not handle intl/plural.c
21763 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
21766 * configure.ac (BISON): Require to be present.
21767 * configure: Regenerated.
21768 * intl/Makefile (generated): Add plural.c.
21769 [$(BISON) != no]: Make code unconditional.
21770 (plural.c): Change rule to $(objpfx)plural.c.
21771 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
21772 * intl/plural.c: Remove.
21773 * manual/install.texi (Tools for Compilation): Document bison as
21775 * INSTALL: Regenerated.
21777 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21779 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
21780 <libm-alias-double.h>.
21781 (llrint): Define using libm_alias_double.
21782 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
21783 <libm-alias-float.h>.
21784 (llrintf): Define using libm_alias_float.
21785 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
21786 <libm-alias-ldouble.h>.
21787 (llrintl): Define using libm_alias_ldouble.
21789 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
21790 declare_mgen_alias instead of weak_alias.
21791 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
21792 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
21793 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
21795 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21797 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21799 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
21800 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
21801 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
21803 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21804 Add submul_1-generic.
21805 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
21806 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
21807 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
21809 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21810 Add addmul_1-generic.
21811 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
21812 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
21813 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
21815 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21817 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
21818 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
21819 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
21821 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21823 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21824 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21825 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21827 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21829 According to CLDR, collation rules for Serbian and Bosnian
21830 should be the same as for Croatian.
21833 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21834 and to the list of locales to be built for testing.
21835 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21836 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21837 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21838 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21840 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21842 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21843 to make test case pass.
21844 * localedata/hr_HR.UTF-8.in: Add more test strings.
21846 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21848 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21850 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21852 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21853 the list of locales to built for testing.
21854 * localedata/hr_HR.UTF-8.in: New file.
21856 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21859 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21861 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21862 CLDR (except use ligatures for the digraphs, CLDR does not use
21863 the ligatures), add first_workday, some fixes in the date and time
21865 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21867 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21868 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21869 Add int_p_cs_precedes and int_n_cs_precedes.
21870 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21871 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21873 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21874 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21876 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21877 and lang_lib. Change postal_fmt.
21879 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21881 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21883 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21884 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21885 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21886 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21887 * sysdeps/generic/setjmpP.h: New file.
21888 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21889 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21890 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21891 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21892 Add jmp_buf-ssp.sym.
21893 (tests): Add tst-saved_mask-1.
21895 2017-11-30 Arjun Shankar <arjun@redhat.com>
21899 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21900 instead of request2size.
21902 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21905 (__lllrint): Remove alias.
21906 (lllrint): Likewise.
21907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21908 (__lllrintf): Likewise.
21909 (lllrintf): Likewise.
21911 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21912 <libm-alias-float.h>.
21913 (copysignf): Define using libm_alias_float.
21914 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21915 <libm-alias-float.h>.
21916 (fabsf): Define using libm_alias_float.
21917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21918 Include <libm-alias-float.h>.
21919 (copysignf): Define using libm_alias_float.
21920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21921 <libm-alias-float.h>.
21922 (fabsf): Define using libm_alias_float.
21923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21924 <libm-alias-float.h>.
21925 (fdimf): Define using libm_alias_float.
21926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21927 <libm-alias-float.h>.
21928 (fmaf): Define using libm_alias_float.
21929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21930 <libm-alias-float.h>.
21931 (llrintf): Define using libm_alias_float.
21932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21933 Include <libm-alias-float.h>.
21934 (nearbyintf): Define using libm_alias_float.
21935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21936 <libm-alias-float.h>.
21937 (rintf): Define using libm_alias_float.
21938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21939 <libm-alias-float.h>.
21940 (llrintf): Define using libm_alias_float.
21941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21942 <libm-alias-float.h>.
21943 (lrintf): Define using libm_alias_float.
21944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21945 <libm-alias-float.h>.
21946 (nearbyintf): Define using libm_alias_float.
21947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21948 <libm-alias-float.h>.
21949 (rintf): Define using libm_alias_float.
21950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21951 <libm-alias-float.h>.
21952 (ceilf): Define using libm_alias_float.
21953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21954 <libm-alias-float.h>.
21955 (floorf): Define using libm_alias_float.
21956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21957 <libm-alias-float.h>.
21958 (fmaf): Define using libm_alias_float.
21959 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21960 <libm-alias-float.h>.
21961 (lrintf): Define using libm_alias_float.
21962 (llrintf): Likewise.
21963 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21964 <libm-alias-float.h>.
21965 (nearbyintf): Define using libm_alias_float.
21966 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21967 <libm-alias-float.h>.
21968 (rintf): Define using libm_alias_float.
21969 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21970 <libm-alias-float.h>.
21971 (truncf): Define using libm_alias_float.
21972 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21973 <libm-alias-float.h>.
21974 (copysignf): Define using libm_alias_float.
21975 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21976 <libm-alias-float.h>.
21977 (fabsf): Define using libm_alias_float.
21978 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21979 <libm-alias-float.h>.
21980 (lrintf): Define using libm_alias_float.
21981 (llrintf): Likewise.
21982 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21983 <libm-alias-float.h>.
21984 (nearbyintf): Define using libm_alias_float.
21985 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21986 <libm-alias-float.h>.
21987 (rintf): Define using libm_alias_float.
21989 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21991 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21992 <libm-alias-double.h>.
21993 (copysign): Define using libm_alias_double.
21994 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21995 <libm-alias-double.h>.
21996 (fabs): Define using libm_alias_double.
21997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21998 Include <libm-alias-double.h>.
21999 (copysign): Define using libm_alias_double.
22000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22001 <libm-alias-double.h>.
22002 (fabs): Define using libm_alias_double.
22003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22004 <libm-alias-double.h>.
22005 (fdim): Define using libm_alias_double.
22006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22007 <libm-alias-double.h>.
22008 (fma): Define using libm_alias_double.
22009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22010 <libm-alias-double.h>.
22011 (llrint): Define using libm_alias_double.
22012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22013 Include <libm-alias-double.h>.
22014 (nearbyint): Define using libm_alias_double.
22015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22016 <libm-alias-double.h>.
22017 (rint): Define using libm_alias_double.
22018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22019 <libm-alias-double.h>.
22020 (fabs): Define using libm_alias_double.
22021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22022 <libm-alias-double.h>.
22023 (llrint): Define using libm_alias_double.
22024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22025 <libm-alias-double.h>.
22026 (nearbyint): Define using libm_alias_double.
22027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22028 <libm-alias-double.h>.
22029 (rint): Define using libm_alias_double.
22030 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22031 <libm-alias-double.h>.
22032 (ceil): Define using libm_alias_double.
22033 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22034 <libm-alias-double.h>.
22035 (floor): Define using libm_alias_double.
22036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22037 <libm-alias-double.h>.
22038 (fma): Define using libm_alias_double.
22039 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22040 <libm-alias-double.h>.
22041 (lrint): Define using libm_alias_double.
22042 (llrint): Likewise.
22043 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22044 <libm-alias-double.h>.
22045 (nearbyint): Define using libm_alias_double.
22046 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22047 <libm-alias-double.h>.
22048 (rint): Define using libm_alias_double.
22049 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22050 <libm-alias-double.h>.
22051 (trunc): Define using libm_alias_double.
22052 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22053 <libm-alias-double.h>.
22054 (copysign): Define using libm_alias_double.
22055 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22056 <libm-alias-double.h>.
22057 (fabs): Define using libm_alias_double.
22058 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22059 <libm-alias-double.h>.
22060 (lrint): Define using libm_alias_double.
22061 (llrint): Likewise.
22062 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22063 <libm-alias-double.h>.
22064 (nearbyint): Define using libm_alias_double.
22065 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22066 <libm-alias-double.h>.
22067 (rint): Define using libm_alias_double.
22070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22072 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22074 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22075 SPARC --disable-multi-arch glibc variants.
22077 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22078 <libm-alias-float.h>.
22079 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22081 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22082 <libm-alias-float.h>.
22083 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22085 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22086 <libm-alias-float.h>.
22087 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22089 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22090 <libm-alias-float.h>.
22091 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22093 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22094 <libm-alias-float.h>.
22095 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22097 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22098 <libm-alias-float.h>.
22099 (ceilf): Define using libm_alias_float.
22100 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22101 <libm-alias-float.h>.
22102 (floorf): Define using libm_alias_float.
22103 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22104 <libm-alias-float.h>.
22105 (fmaf): Define using libm_alias_float.
22106 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22107 <libm-alias-float.h>.
22108 (nearbyintf): Define using libm_alias_float.
22109 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22110 <libm-alias-float.h>.
22111 (rintf): Define using libm_alias_float.
22112 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22113 <libm-alias-float.h>.
22114 (truncf): Define using libm_alias_float.
22115 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22116 (copysignf): Define using libm_alias_float.
22117 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22118 (cosf): Define using libm_alias_float.
22119 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22120 (fabsf): Define using libm_alias_float.
22121 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22122 (fmaxf): Define using libm_alias_float.
22123 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22124 (fminf): Define using libm_alias_float.
22125 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22126 (llrintf): Define using libm_alias_float.
22127 [!__ILP32__] (lrintf): Likewise.
22128 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22129 (sincosf): Define using libm_alias_float.
22130 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22131 (sinf): Define using libm_alias_float.
22132 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22133 (lrintf): Define using libm_alias_float.
22135 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22136 <libm-alias-double.h>.
22137 (atan): Define using libm_alias_double.
22138 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22139 <libm-alias-double.h>.
22140 (ceil): Define using libm_alias_double.
22141 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22142 <libm-alias-double.h>.
22143 (floor): Define using libm_alias_double.
22144 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22145 <libm-alias-double.h>.
22146 (fma): Define using libm_alias_double.
22147 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22148 <libm-alias-double.h>.
22149 (nearbyint): Define using libm_alias_double.
22150 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22151 <libm-alias-double.h>.
22152 (rint): Define using libm_alias_double.
22153 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22154 <libm-alias-double.h>.
22155 (sin): Define using libm_alias_double.
22157 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22158 <libm-alias-double.h>.
22159 (tan): Define using libm_alias_double.
22160 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22161 <libm-alias-double.h>.
22162 (trunc): Define using libm_alias_double.
22163 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22164 (copysign): Define using libm_alias_double.
22165 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22166 (fabs): Define using libm_alias_double.
22167 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22168 (fmax): Define using libm_alias_double.
22169 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22170 (fmin): Define using libm_alias_double.
22171 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22172 (llrint): Define using libm_alias_double.
22173 [!__ILP32__] (lrint): Likewise.
22174 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22175 (lrint): Define using libm_alias_double.
22177 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22179 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22180 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22182 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22183 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22184 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22185 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22186 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22187 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22189 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22190 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22192 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22193 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22194 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22195 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22196 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22197 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22199 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22200 (libm-sysdep_routines): Add s_nearbyint-generic and
22201 s_nearbyintf-generic objects.
22202 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22203 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22204 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22205 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22206 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22207 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22209 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22210 Add s_finitef-generic and s_finite-generic objects.
22211 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22212 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22213 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22214 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22215 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22216 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22218 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22219 Add s_isinff-generic and s_isinf-generic objects.
22220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22227 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22228 Add s_isnanf-generic and s_isnan-generic objects.
22229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22234 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22236 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22238 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22240 (sysdep_routines): Use sysdep_calls as base.
22241 (libm-sysdep_routines): Add generic rule for symbols shared with
22242 libc. Add s_signbit-generic and s_signbitf-generic objects.
22243 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22244 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22245 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22246 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22247 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22248 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22250 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22252 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22253 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22254 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22255 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22256 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22257 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22258 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22259 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22260 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22261 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22262 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22263 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22264 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22265 libm_alias_float_r.
22266 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22267 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
22269 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
22270 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
22271 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
22272 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
22273 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
22274 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
22275 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
22276 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
22277 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
22278 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
22280 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
22282 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
22283 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
22284 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
22285 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
22286 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
22287 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
22288 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
22289 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
22290 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
22291 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
22292 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
22293 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
22294 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
22295 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
22296 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
22297 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
22298 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
22299 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
22300 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
22302 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
22303 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
22304 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
22305 * sysdeps/ia64/fpu/w_lgammaf_main.c
22306 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
22307 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
22309 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22310 Alexandre Oliva <aoliva@redhat.com>
22313 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
22314 * localedata/fr_CA.UTF-8.in: New file with test data for backward
22316 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
22318 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
22319 * localedata/locales/de_DE (LC_COLLATE): Likewise.
22320 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
22321 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
22322 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
22323 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
22324 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
22325 instead of “ifdef DIACRIT_BACKWARD”.
22327 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22329 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
22330 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
22331 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
22332 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
22333 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
22334 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
22335 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
22336 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
22337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
22338 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
22339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
22340 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
22341 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
22342 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
22343 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
22344 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22345 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
22346 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
22347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22348 ($(have-as-vis3) == yes): Remove conditional.
22349 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
22351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
22353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
22355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
22357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
22359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
22360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
22361 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
22362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
22363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
22364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
22365 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
22366 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
22368 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22370 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
22371 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
22372 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
22373 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
22374 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
22375 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
22376 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
22377 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
22378 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
22379 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
22380 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
22381 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
22382 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
22383 libm_alias_double_r.
22384 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22386 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22387 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22388 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22389 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22390 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22391 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22392 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22393 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22394 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22395 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22396 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22398 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22400 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22401 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22402 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22403 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22404 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22405 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22406 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22407 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22408 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22409 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22410 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22411 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22412 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22413 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22414 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22415 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22416 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22417 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22419 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22420 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22421 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22422 * sysdeps/ia64/fpu/w_lgamma_main.c
22423 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22424 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22426 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
22428 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22429 address of $global$ into %dp register earlier. Use pc-relative
22430 instruction sequence for PIC case.
22432 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22434 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22435 (asinhf): Define using libm_alias_float.
22436 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22437 (atanf): Define using libm_alias_float.
22438 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22439 (cbrtf): Define using libm_alias_float.
22440 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22441 (ceilf): Define using libm_alias_float.
22442 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22443 (copysignf): Define using libm_alias_float.
22444 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22445 (expm1f): Define using libm_alias_float.
22446 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22447 (fabsf): Define using libm_alias_float.
22448 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22449 (floorf): Define using libm_alias_float.
22450 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22451 (fmaxf): Define using libm_alias_float.
22452 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22453 (fminf): Define using libm_alias_float.
22454 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22455 (frexpf): Define using libm_alias_float.
22456 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22457 (llrintf): Define using libm_alias_float.
22458 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22459 (logbf): Define using libm_alias_float.
22460 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22461 (lrintf): Define using libm_alias_float.
22462 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
22463 (nearbyintf): Define using libm_alias_float.
22464 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
22465 (remquof): Define using libm_alias_float.
22466 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
22467 (rintf): Define using libm_alias_float.
22468 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
22469 (truncf): Define using libm_alias_float.
22470 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
22471 <libm-alias-float.h>.
22472 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22474 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
22475 <libm-alias-float.h>.
22476 (expf): Define using libm_alias_float, or libm_alias_float_other
22478 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
22479 <libm-alias-float.h>.
22480 (log2f): Define using libm_alias_float, or libm_alias_float_other
22482 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
22483 <libm-alias-float.h>.
22484 (logf): Define using libm_alias_float, or libm_alias_float_other
22486 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
22487 <libm-alias-float.h>.
22488 (powf): Define using libm_alias_float, or libm_alias_float_other
22490 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
22491 <libm-alias-float.h>.
22492 (cosf): Define using libm_alias_float.
22493 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
22494 <libm-alias-float.h>.
22495 (sincosf): Define using libm_alias_float.
22496 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
22497 <libm-alias-float.h>.
22498 (sinf): Define using libm_alias_float.
22499 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22500 (fmaxf): Define using libm_alias_float.
22501 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
22502 (fminf): Define using libm_alias_float.
22503 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22504 <libm-alias-float.h>.
22505 (fmaf): Define using libm_alias_float.
22507 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
22508 (asinh): Define using libm_alias_double.
22509 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
22510 (atan): Define using libm_alias_double.
22511 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
22512 (cbrt): Define using libm_alias_double.
22513 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
22514 (ceil): Define using libm_alias_double.
22515 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
22516 (copysign): Define using libm_alias_double.
22517 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
22518 (expm1): Define using libm_alias_double.
22519 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
22520 (fabs): Define using libm_alias_double.
22521 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
22522 (fdim): Define using libm_alias_double.
22523 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
22524 (floor): Define using libm_alias_double.
22525 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
22526 (fmax): Define using libm_alias_double.
22527 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
22528 (fmin): Define using libm_alias_double.
22529 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
22530 (frexp): Define using libm_alias_double.
22531 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
22532 (llrint): Define using libm_alias_double.
22533 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
22534 (logb): Define using libm_alias_double.
22535 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
22536 (lrint): Define using libm_alias_double.
22537 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
22538 (nearbyint): Define using libm_alias_double.
22539 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
22540 (remquo): Define using libm_alias_double.
22541 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
22542 (rint): Define using libm_alias_double.
22543 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
22544 (trunc): Define using libm_alias_double.
22545 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
22546 (fmax): Define using libm_alias_double.
22547 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
22548 (fmin): Define using libm_alias_double.
22549 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
22550 (fma): Define using libm_alias_double.
22552 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
22555 * elf/dl-hwcaps.c (ROUND): Removed.
22556 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
22557 and ELF_NOTE_NEXT_OFFSET.
22558 * elf/dl-load.c (ROUND): Removed.
22559 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22560 * elf/readelflib.c (ROUND): Removed.
22561 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22562 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
22563 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
22564 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
22566 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22568 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22569 [!__fmaf] (fmaf): Define using libm_alias_float.
22571 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
22572 [!__fma] (fma): Define using libm_alias_double.
22573 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
22575 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22578 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
22579 and implement the collation rules for cs from CLDR on top of that.
22580 * Makefile: Add cs_CZ.UTF-8 to test-input.
22581 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
22583 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
22585 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
22587 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22588 Icarus Sparry <icarus.w.sparry@intel.com>
22590 * benchtests/Makefile:Add BENCHSET to allow subsets of
22591 benchmarks to be run.
22592 * benchtests/README: Add documentation for: Running subsets of
22595 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22597 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
22598 range of tests names.
22600 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
22601 result from property and remove "max", min" and "mean" from
22602 required properties based on benchtests/bench-skeleton.c.
22604 2017-11-28 Florian Weimer <fweimer@redhat.com>
22607 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
22608 due to Internet requirement.
22609 * posix/Makefile (tests): Remove tst-getaddrinfo4,
22611 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
22613 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22615 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22616 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
22617 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22618 (sysdep_routines): Add memset-ultra1.
22619 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
22621 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
22622 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
22623 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
22624 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
22625 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
22626 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
22627 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
22628 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22630 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
22632 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
22633 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
22634 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
22635 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
22636 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
22637 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
22638 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
22640 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22641 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
22642 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22643 (sysdep_routines): Add memcpy-ultra1.
22644 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
22645 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
22647 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22649 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
22650 (cfloat_versions): Take function argument without trailing 'f'.
22651 Call libm_alias_float_other.
22652 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
22653 * sysdeps/alpha/fpu/cargf.c: Likewise.
22654 * sysdeps/alpha/fpu/cimagf.c: Likewise.
22655 * sysdeps/alpha/fpu/conjf.c: Likewise.
22656 * sysdeps/alpha/fpu/crealf.c: Likewise.
22657 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
22658 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
22659 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
22660 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
22661 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
22662 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
22663 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
22664 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
22665 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
22666 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
22667 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
22668 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
22669 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
22670 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
22671 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
22672 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
22673 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
22674 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
22675 (clog10f): Use libm_alias_float_other.
22676 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22677 (ceilf): Define using libm_alias_float.
22678 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
22679 (copysignf): Define using libm_alias_float.
22680 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22681 (fabsf): Define using libm_alias_float.
22682 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
22683 (floorf): Define using libm_alias_float.
22684 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
22685 (fmaxf): Define using libm_alias_float.
22686 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
22687 (fminf): Define using libm_alias_float.
22688 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22689 (lrintf): Define using libm_alias_float.
22690 (llrintf): Likewise.
22691 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22692 (lroundf): Define using libm_alias_float.
22693 (llroundf): Likewise.
22694 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
22695 (rintf): Define using libm_alias_float.
22696 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
22697 (truncf): Define using libm_alias_float.
22699 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22700 (ceilf): Define using libm_alias_float.
22701 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
22702 (floorf): Define using libm_alias_float.
22703 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22704 (fmaf): Define using libm_alias_float.
22705 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
22706 (fmaxf): Define using libm_alias_float.
22707 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
22708 (fminf): Define using libm_alias_float.
22709 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
22710 (llrintf): Define using libm_alias_float.
22711 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
22712 (llroundf): Define using libm_alias_float.
22713 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22714 (lrintf): Define using libm_alias_float.
22715 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22716 (lroundf): Define using libm_alias_float.
22717 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
22718 <libm-alias-float.h>.
22719 (nearbyintf): Define using libm_alias_float.
22720 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
22721 (rintf): Define using libm_alias_float.
22722 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
22723 (roundf): Define using libm_alias_float.
22724 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
22725 (truncf): Define using libm_alias_float.
22727 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
22728 (ceil): Define using libm_alias_double.
22729 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
22730 (copysign): Define using libm_alias_double.
22731 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
22732 (fabs): Define using libm_alias_double.
22733 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
22734 (floor): Define using libm_alias_double.
22735 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
22736 (fmax): Define using libm_alias_double.
22737 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
22738 (fmin): Define using libm_alias_double.
22739 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
22740 (lrint): Define using libm_alias_double.
22741 (llrint): Likewise.
22742 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
22743 (lround): Define using libm_alias_double.
22744 (llround): Likewise.
22745 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
22746 (rint): Define using libm_alias_double.
22747 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
22748 (trunc): Define using libm_alias_double.
22750 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
22751 (libm_alias_double_r): Add semicolon after weak_alias call.
22753 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22755 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
22756 (ceil): Define using libm_alias_double.
22757 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
22758 (floor): Define using libm_alias_double.
22759 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
22760 (fma): Define using libm_alias_double.
22761 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
22762 (fmax): Define using libm_alias_double.
22763 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
22764 (fmin): Define using libm_alias_double.
22765 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
22766 (llrint): Define using libm_alias_double.
22767 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
22768 (llround): Define using libm_alias_double.
22769 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
22770 (lrint): Define using libm_alias_double.
22771 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
22772 (lround): Define using libm_alias_double.
22773 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
22774 (nearbyint): Define using libm_alias_double.
22775 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
22776 (rint): Define using libm_alias_double.
22777 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
22778 (round): Define using libm_alias_double.
22779 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
22780 (trunc): Define using libm_alias_double.
22782 2017-11-27 Florian Weimer <fweimer@redhat.com>
22784 * sysdeps/unix/sysv/linux/mlock2.c: New file.
22785 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
22786 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
22787 (tests): Add tst-mlock2.
22788 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
22789 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
22790 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
22791 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
22792 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
22793 for mlock. Document mlock2.
22795 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22797 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
22798 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
22800 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
22802 * sysdeps/x86/Makeconfig: New file.
22803 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
22804 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22805 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
22806 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22807 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22808 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22809 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
22811 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22812 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22813 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22814 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22815 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22816 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22817 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22818 * manual/math.texi (Mathematics): Document support for _Float64x.
22819 * math/Versions (GLIBC_2.27): Add _Float64x functions.
22820 * stdlib/Versions (GLIBC_2.27): Likewise.
22821 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22822 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22823 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22824 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22825 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22826 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22827 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22828 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22829 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22830 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22831 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22832 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22837 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22838 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22839 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22840 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22841 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22842 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22843 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22844 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22845 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22846 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22847 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22848 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22849 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22850 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22852 2017-11-27 Andreas Schwab <schwab@suse.de>
22854 * elf/Makefile (dl-routines): Add dl-sort-maps.
22855 * elf/dl-sort-maps.c: New file.
22856 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22857 (_dl_sort_maps): Declare.
22858 * elf/dl-fini.c (_dl_sort_fini): Remove.
22859 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22860 * elf/dl-close.c (_dl_close_worker): Likewise.
22861 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22863 * elf/dl-open.c (dl_open_worker): Likewise.
22865 2017-11-24 Joseph Myers <joseph@codesourcery.com>
22867 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22868 using libm_alias_float128.
22869 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22871 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22873 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22874 (setpayloadsigf128): Likewise.
22875 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22877 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22880 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22881 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22882 -mfloat128 to CFLAGS.
22884 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22886 (CFLAGS-libm-test-support-float64x.c): New variable.
22887 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22888 $(f128-loader-link) to gnulib-tests.
22890 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22891 (libm_alias_float128_other_r): If
22892 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22894 (libm_alias_float128_r): Add semicolon after weak_alias call.
22895 * sysdeps/generic/libm-alias-ldouble.h
22896 (libm_alias_ldouble_other_r_f128): New macro.
22897 (libm_alias_ldouble_other_r_f64x): Likewise.
22898 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22899 and libm_alias_ldouble_other_r_f64x.
22900 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22901 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22902 (libm_alias_ldouble_other_r_f128): New macro.
22903 (libm_alias_ldouble_other_r_f64x): Likewise.
22904 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22905 and libm_alias_ldouble_other_r_f64x.
22907 * stdlib/strfroml.c: Always include <stdlib.h>.
22908 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22909 undefine as macro and define as weak alias.
22910 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22911 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22913 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22914 Define and later undefine as macro and define as weak alias.
22916 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22917 Define and later undefine as macro. Define as weak alias if
22919 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22920 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22921 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22922 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22923 Define and later undefine as macro. Define as weak alias if
22925 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22926 Define and later undefine as macro. Define as weak alias if
22928 * sysdeps/ieee754/float128/strtof128_l.c
22929 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22930 Define and later undefine as macro. Define as weak alias if
22932 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22933 Define and later undefine as macro. Define as weak alias if
22935 * sysdeps/ieee754/ldbl-128/strtold_l.c
22936 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22937 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22938 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22939 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22940 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22941 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22942 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22943 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22944 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22945 * sysdeps/ieee754/ldbl-96/strtold_l.c
22946 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22947 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22948 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22949 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22951 * math/test-float64x.h: New file.
22952 * math/Makefile (type-float64x-yes): New variable.
22953 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22955 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22956 function-like macro.
22957 (min_of_type_): Likewise.
22958 (min_of_type_l): Likewise.
22959 (min_of_type_f128): Likewise.
22960 (min_of_type): Pass () as last argument of __MATH_TG.
22962 * stdlib/tst-strtod-round-skeleton.c
22963 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22966 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22967 for combinations of long double with _Float64 and _Float64x.
22969 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22970 (__DECL_SIMD_cosf32): Likewise.
22971 (__DECL_SIMD_cosf64): Likewise.
22972 (__DECL_SIMD_cosf32x): Likewise.
22973 (__DECL_SIMD_cosf64x): Likewise.
22974 (__DECL_SIMD_cosf128x): Likewise.
22975 (__DECL_SIMD_sinf16): Likewise.
22976 (__DECL_SIMD_sinf32): Likewise.
22977 (__DECL_SIMD_sinf64): Likewise.
22978 (__DECL_SIMD_sinf32x): Likewise.
22979 (__DECL_SIMD_sinf64x): Likewise.
22980 (__DECL_SIMD_sinf128x): Likewise.
22981 (__DECL_SIMD_sincosf16): Likewise.
22982 (__DECL_SIMD_sincosf32): Likewise.
22983 (__DECL_SIMD_sincosf64): Likewise.
22984 (__DECL_SIMD_sincosf32x): Likewise.
22985 (__DECL_SIMD_sincosf64x): Likewise.
22986 (__DECL_SIMD_sincosf128x): Likewise.
22987 (__DECL_SIMD_logf16): Likewise.
22988 (__DECL_SIMD_logf32): Likewise.
22989 (__DECL_SIMD_logf64): Likewise.
22990 (__DECL_SIMD_logf32x): Likewise.
22991 (__DECL_SIMD_logf64x): Likewise.
22992 (__DECL_SIMD_logf128x): Likewise.
22993 (__DECL_SIMD_expf16): Likewise.
22994 (__DECL_SIMD_expf32): Likewise.
22995 (__DECL_SIMD_expf64): Likewise.
22996 (__DECL_SIMD_expf32x): Likewise.
22997 (__DECL_SIMD_expf64x): Likewise.
22998 (__DECL_SIMD_expf128x): Likewise.
22999 (__DECL_SIMD_powf16): Likewise.
23000 (__DECL_SIMD_powf32): Likewise.
23001 (__DECL_SIMD_powf64): Likewise.
23002 (__DECL_SIMD_powf32x): Likewise.
23003 (__DECL_SIMD_powf64x): Likewise.
23004 (__DECL_SIMD_powf128x): Likewise.
23006 * stdlib/Versions (libc): Move entries for wcstof128 and
23007 wcstof128_l to ....
23008 * wcsmbs/Versions (libc): ... here.
23009 Include <float128-abi.h>.
23011 2017-11-24 Florian Weimer <fweimer@redhat.com>
23013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23014 bits/mman-shared.h.
23015 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23016 <bits/mman-shared.h>.
23017 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23019 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23020 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23021 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23022 <bits/mman-shared.h>.
23024 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23027 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23028 posix_memalign/free.
23029 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23031 2017-11-22 Mike FABIAN <mfabian@redhat.com>
23034 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23035 and implement the collation rules for pl from CLDR on top of that.
23036 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23037 of locales to be built for testing.
23038 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23040 2017-11-23 Joseph Myers <joseph@codesourcery.com>
23042 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23043 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23044 libm_alias_ldouble_other.
23045 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23046 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23047 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23048 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23049 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23050 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23051 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23052 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23053 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23054 libm_alias_ldouble_r.
23055 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23056 libm_alias_ldouble_other.
23057 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23058 (log10l): Likewise.
23059 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23060 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23061 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23062 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23063 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23064 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23065 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23066 (atan2l): Likewise.
23067 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23068 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23069 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23070 libm_alias_ldouble.
23071 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23073 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23074 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23075 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23077 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23078 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23079 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23080 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23081 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23082 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23083 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23084 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23085 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23086 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23087 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23088 libm_alias_ldouble.
23089 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23090 libm_alias_ldouble_other.
23091 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23092 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23093 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23094 libm_alias_ldouble.
23095 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23096 libm_alias_ldouble_other.
23097 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23098 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23099 * sysdeps/ia64/fpu/w_lgammal_main.c
23100 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23101 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23103 2017-11-23 Florian Weimer <fweimer@redhat.com>
23105 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23106 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23107 alike. Remove freeres marker.
23108 * malloc/arena.c (arena_thread_freeres): Call
23109 tcache_thread_shutdown.
23111 2017-11-23 Florian Weimer <fweimer@redhat.com>
23114 Export nscd hash function as __nss_hash.
23115 * include/nss.h (__nss_hash): Declare.
23116 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23118 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23119 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23121 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23122 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23123 * nss/Makefiles (routines): Add nss_hash.
23124 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23125 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23126 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23127 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23129 2017-11-23 Florian Weimer <fweimer@redhat.com>
23132 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23133 Return error code, not -1.
23134 * signal/tst-sigwait-eintr.c: New file.
23135 * signal/Makefile (tests): Add tst-sigwait-eintr.
23137 2017-11-23 Florian Weimer <fweimer@redhat.com>
23139 Linux: Add memfd_create system call wrapper
23140 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23142 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23143 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23144 [__USE_GNU] (memfd_create): Declare.
23145 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23146 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23147 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23148 * sysdeps/unix/sysv/linux/**.abilist: Update.
23149 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23151 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23153 * localedata/gen-locale.sh: Fix typo in variable name.
23155 * resolv/res_debug.c (p_secstodate): Condition definition on
23156 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23157 directly as __p_secstodate, and as a compat symbol. Do not use
23158 libresolv_hidden_def.
23159 * resolv/resolv.h (p_secstodate): Remove macro and function
23161 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23162 using p_secstodate.
23163 * include/resolv.h (__p_secstodate): Do not use
23164 libresolv_hidden_proto.
23165 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23166 (tests-internal): ... here.
23167 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23168 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23169 and declare and use __p_secstodate and use compat_symbol_reference
23171 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23172 implementation returning 77.
23175 * resolv/res_debug.c: Include <libc-diag.h>.
23176 (p_secstodate): Assert time_t at least as wide as u_long. On
23177 overflow, use integer seconds since the epoch as output, or use
23178 "<overflow>" as output and set errno to EOVERFLOW if integer
23179 seconds since the epoch would be 14 or more characters.
23180 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23182 * resolv/tst-p_secstodate.c: New file.
23183 * resolv/Makefile (tests): Add tst-p_secstodate.
23184 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23186 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23187 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23188 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23190 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23192 * posix/regcomp.c (init_word_char): Add comments.
23194 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23197 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23198 strlen to compute length of ut_user and set trailing NUL byte of
23201 2017-11-21 Mike FABIAN <mfabian@redhat.com>
23204 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23205 using “copy "iso14651_t1"” and then implementing the
23206 collation rules for lv from CLDR on top of that.
23207 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23208 of locales to be built for testing.
23209 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23212 2017-11-21 Joseph Myers <joseph@codesourcery.com>
23214 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23215 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23216 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23217 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23218 [__USE_MISC] (MADV_HWPOISON): New macro.
23219 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23221 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23223 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23224 -Wmissing-braces on GCC 4.9.
23226 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23228 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23229 * sysdeps/s390/s390-32/start.S (_start): Likewise
23230 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23231 (thread_start): Likewise.
23232 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23233 (thread_start): Likewise.
23234 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23235 (__makecontext_ret): Likewise.
23236 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23237 (__makecontext_ret): Likewise.
23239 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23241 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23242 __wcschrnul): Remove attribute_hidden.
23244 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23246 regex: don't assume uint64_t or uint32_t
23247 This avoids -Werror=overflow errors for 32-bit systems in
23248 the 64-bit case. Problem reported by Joseph Myers in:
23249 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23250 Also, when this code is used in Gnulib it ports to platforms
23251 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23252 them, and on some 32-bit compilers there is no uint64_t.
23253 Problem reported by Gianluigi Tiesi in:
23254 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23255 * posix/regcomp.c (init_word_char): Don't assume that the types
23256 uint64_t and uint32_t exist. Adapted from Gnulib patch
23257 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23258 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23260 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23262 * sysdeps/aarch64/memset-reg.h: New file.
23263 * sysdeps/aarch64/memset.S: Use it.
23264 (__memset): Rename to MEMSET macro.
23265 [ZVA_MACRO]: Use zva_macro.
23266 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23267 Add memset_generic and memset_falkor.
23268 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23269 (__libc_ifunc_impl_list): Add memset ifuncs.
23270 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
23271 local variable zva_size.
23272 * sysdeps/aarch64/multiarch/memset.c: New file.
23273 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
23274 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
23275 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
23276 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
23277 (DCZID_DZP_MASK): New macro.
23278 (DCZID_BS_MASK): Likewise.
23279 (init_cpu_features): Read and set zva_size.
23280 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
23281 (struct cpu_features): New member zva_size.
23283 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
23284 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
23285 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
23287 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
23288 backwards. Fix timing computation.
23289 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
23290 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
23291 on memset by N at a time. Fix timing computation.
23293 2017-11-20 Florian Weimer <fweimer@redhat.com>
23295 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
23296 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
23298 2017-11-19 Florian Weimer <fweimer@redhat.com>
23300 manual: Document mprotect
23301 * manual/memory.texi (Memory Protection): New section.
23302 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
23303 documentation of PROT_* flags and reference the Memory Protection
23306 2017-11-19 Florian Weimer <fweimer@redhat.com>
23308 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
23309 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
23310 (Scatter-Gather): ... to here. Remove misleading comment.
23312 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
23314 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
23317 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
23318 when /proc/<pid>/setgroups does not exist.
23320 2017-11-18 Florian Weimer <fweimer@redhat.com>
23322 * sysdeps/unix/sysv/linux/tst-ttyname.c
23323 (become_root_in_mount_ns): Remove.
23324 (do_in_chroot_1): Call support_enter_mount_namespace.
23325 (do_in_chroot_2): Likewise.
23326 (do_test): Call support_become_root early.
23328 2017-11-18 Florian Weimer <fweimer@redhat.com>
23330 * support/namespace.h (support_enter_mount_namespace): Declare.
23331 * support/support_enter_mount_namespace.c: New file.
23332 * support/Makefile (libsupport-routines): Add
23333 support_enter_mount_namespace.
23335 2017-11-18 Florian Weimer <fweimer@redhat.com>
23337 * support/temp_file.c (support_create_temp_directory): Use
23338 test_dir and do not rely on the presence of the XXXXXX suffix.
23339 * support/temp_file.h (support_create_temp_directory): Update
23341 * support/tst-xreadlink.c (do_test): Adjust.
23342 * support/support_chroot.c (support_chroot_create): Likewise.
23344 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23346 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
23348 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
23351 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23353 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23354 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23355 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23356 (ceill): Define using libm_alias_ldouble.
23357 * sysdeps/x86_64/fpu/s_copysignl.S: Include
23358 <libm-alias-ldouble.h>.
23359 (copysignl): Define using libm_alias_ldouble.
23360 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23361 (fabsl): Define using libm_alias_ldouble.
23362 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23363 (floorl): Define using libm_alias_ldouble.
23364 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23365 (fmaxl): Define using libm_alias_ldouble.
23366 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23367 (fminl): Define using libm_alias_ldouble.
23368 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23369 (llrintl): Define using libm_alias_ldouble.
23370 (lrintl): Likewise.
23371 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
23372 <libm-alias-ldouble.h>.
23373 (nearbyintl): Define using libm_alias_ldouble.
23374 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23375 (truncl): Define using libm_alias_ldouble.
23376 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
23377 <libm-alias-ldouble.h>.
23378 (lrintl): Define using libm_alias_ldouble.
23380 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23381 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23382 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
23383 (asinhl): Define using libm_alias_ldouble.
23384 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23385 (atanl): Define using libm_alias_ldouble.
23386 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23387 (cbrtl): Define using libm_alias_ldouble.
23388 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23389 (ceill): Define using libm_alias_ldouble.
23390 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23391 (copysignl): Define using libm_alias_ldouble.
23392 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23393 (fabsl): Define using libm_alias_ldouble.
23394 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23395 (floorl): Define using libm_alias_ldouble.
23396 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23397 (fmaxl): Define using libm_alias_ldouble.
23398 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23399 (fminl): Define using libm_alias_ldouble.
23400 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23401 (frexpl): Define using libm_alias_ldouble.
23402 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23403 (llrintl): Define using libm_alias_ldouble.
23404 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23405 (logbl): Define using libm_alias_ldouble.
23406 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23407 (lrintl): Define using libm_alias_ldouble.
23408 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23409 (nearbyintl): Define using libm_alias_ldouble.
23410 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23411 (nextafterl): Define using libm_alias_ldouble.
23412 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23413 (remquol): Define using libm_alias_ldouble.
23414 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23415 (rintl): Define using libm_alias_ldouble.
23416 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23417 (truncl): Define using libm_alias_ldouble.
23418 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23419 (fmaxl): Define using libm_alias_ldouble.
23420 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23421 (fminl): Define using libm_alias_ldouble.
23423 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23424 to C syntax instead of availability and properties of types.
23425 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23426 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23427 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23428 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23429 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23430 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23432 2017-11-17 Florian Weimer <fweimer@redhat.com>
23434 support_become_root: Enable file creation in namespaces.
23435 * support/support_become_root.c (setup_mapping): New function.
23436 (support_become_root): Call it.
23438 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23440 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23443 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23445 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23446 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23448 2017-11-16 Joseph Myers <joseph@codesourcery.com>
23450 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23452 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23455 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23457 * INSTALL: Fix botched up regeneration.
23459 * NEWS: Update sourceare link to https.
23460 * configure.ac: Likewise.
23461 * crypt/md5test-giant.c: Likewise.
23462 * dlfcn/bug-atexit1.c: Likewise.
23463 * dlfcn/bug-atexit2.c: Likewise.
23464 * localedata/README: Likewise.
23465 * malloc/tst-mallocfork.c: Likewise.
23466 * manual/install.texi: Likewise.
23467 * nptl/tst-pthread-getattr.c: Likewise.
23468 * stdio-common/tst-fgets.c: Likewise.
23469 * stdio-common/tst-fwrite.c: Likewise.
23470 * sunrpc/Makefile: Likewise.
23471 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
23472 * wcsmbs/tst-mbrtowc2.c: Likewise.
23473 * configure: Regenerate.
23474 * INSTALL: Regenerate.
23476 2017-11-15 Martin Sebor <msebor@redhat.com>
23478 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
23479 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
23480 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
23482 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23485 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
23486 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
23489 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
23490 Defer is_pty check until end of the function.
23491 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23494 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
23495 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
23496 (ttyname): Likewise.
23497 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
23498 (__ttyname_r): Likewise.
23500 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
23503 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
23505 * manual/terminal.texi (Is It a Terminal):
23506 Mention ENODEV for ttyname and ttyname_r.
23508 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23510 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
23511 constant and macro.
23513 * sysdeps/unix/sysv/linux/bits/mman-linux.h
23514 [__USE_MISC] (MADV_WIPEONFORK): New macro.
23515 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23516 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23517 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
23518 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23520 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23522 * signal/sigrelse.c (sigrelse): Optimize implementation.
23524 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
23525 (__sigpause): Rely on __sigsuspend to implement single thread
23526 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
23528 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23530 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23531 kernel version to 4.14.
23533 2017-11-15 Steve Ellcey <sellcey@cavium.com>
23536 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
23537 Check if ifname is too long.
23539 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23541 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
23543 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23545 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
23546 was accidentally lost.
23548 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23550 * localedata/locales/az_IR: Add standard copyright header.
23552 2017-11-15 Florian Weimer <fweimer@redhat.com>
23555 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
23556 not just the top one. Output a new "subheaps" statistic.
23558 2017-11-15 Florian Weimer <fweimer@redhat.com>
23561 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
23562 under the per-arena lock.
23563 * malloc/Makefile (tests): Add tst-malloc_info.
23564 (tst-malloc_info): Link with libpthread.
23565 * malloc/tst-malloc_info.c: New file.
23567 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23570 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
23571 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
23572 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
23573 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
23574 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
23575 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
23576 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
23577 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
23578 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
23579 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
23580 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
23581 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
23582 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
23583 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
23584 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
23585 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
23586 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
23587 (__floating_type): Likewise.
23588 (__real_integer_type): Likewise.
23589 (__complex_integer_type): Likewise.
23590 (__expr_is_real): Likewise.
23591 (__tgmath_real_type_sub): Likewise.
23592 (__tgmath_real_type): Likewise.
23593 (__tgmath_complex_type_sub): Likewise.
23594 (__tgmath_complex_type): Likewise.
23595 (__TGMATH_F128): Likewise.
23596 (__TGMATH_CF128): Likewise.
23597 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
23599 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
23600 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
23602 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
23604 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
23605 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23606 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23607 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
23609 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23610 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
23612 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
23613 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
23614 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
23616 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
23617 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
23618 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
23622 2017-11-14 Joseph Myers <joseph@codesourcery.com>
23624 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
23625 for stpncpy calls for GCC 8.
23626 (test_strncat): Disable -Wstringop-truncation warning for strncat
23627 calls for GCC 8. Disable -Wstringop-overflow= warning for one
23628 strncat call for GCC 7.
23629 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
23631 (test_memcmp): Use memcpy instead of strncpy for calls not copying
23634 * string/bug-strncat1.c: Include <libc-diag.h>.
23635 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
23637 2017-11-13 Claude Paroz <claude@2xlibre.net>
23640 * localedata/locales/aa_DJ: Improved readibility by replacing
23641 <Uxxxx> sequences in the ASCII printable range by their ASCII
23642 character equivalents.
23643 * localedata/locales/aa_ER: Likewise.
23644 * localedata/locales/aa_ER@saaho: Likewise.
23645 * localedata/locales/aa_ET: Likewise.
23646 * localedata/locales/af_ZA: Likewise.
23647 * localedata/locales/agr_PE: Likewise.
23648 * localedata/locales/ak_GH: Likewise.
23649 * localedata/locales/am_ET: Likewise.
23650 * localedata/locales/anp_IN: Likewise.
23651 * localedata/locales/ar_AE: Likewise.
23652 * localedata/locales/ar_BH: Likewise.
23653 * localedata/locales/ar_DZ: Likewise.
23654 * localedata/locales/ar_EG: Likewise.
23655 * localedata/locales/ar_IN: Likewise.
23656 * localedata/locales/ar_IQ: Likewise.
23657 * localedata/locales/ar_JO: Likewise.
23658 * localedata/locales/ar_KW: Likewise.
23659 * localedata/locales/ar_LB: Likewise.
23660 * localedata/locales/ar_LY: Likewise.
23661 * localedata/locales/ar_MA: Likewise.
23662 * localedata/locales/ar_OM: Likewise.
23663 * localedata/locales/ar_QA: Likewise.
23664 * localedata/locales/ar_SA: Likewise.
23665 * localedata/locales/ar_SD: Likewise.
23666 * localedata/locales/ar_SS: Likewise.
23667 * localedata/locales/ar_SY: Likewise.
23668 * localedata/locales/ar_TN: Likewise.
23669 * localedata/locales/ar_YE: Likewise.
23670 * localedata/locales/as_IN: Likewise.
23671 * localedata/locales/ast_ES: Likewise.
23672 * localedata/locales/ayc_PE: Likewise.
23673 * localedata/locales/az_AZ: Likewise.
23674 * localedata/locales/az_IR: Likewise.
23675 * localedata/locales/be_BY: Likewise.
23676 * localedata/locales/be_BY@latin: Likewise.
23677 * localedata/locales/bem_ZM: Likewise.
23678 * localedata/locales/ber_DZ: Likewise.
23679 * localedata/locales/ber_MA: Likewise.
23680 * localedata/locales/bg_BG: Likewise.
23681 * localedata/locales/bhb_IN: Likewise.
23682 * localedata/locales/bho_IN: Likewise.
23683 * localedata/locales/bi_VU: Likewise.
23684 * localedata/locales/bn_BD: Likewise.
23685 * localedata/locales/bn_IN: Likewise.
23686 * localedata/locales/bo_CN: Likewise.
23687 * localedata/locales/bo_IN: Likewise.
23688 * localedata/locales/br_FR: Likewise.
23689 * localedata/locales/brx_IN: Likewise.
23690 * localedata/locales/bs_BA: Likewise.
23691 * localedata/locales/byn_ER: Likewise.
23692 * localedata/locales/ca_AD: Likewise.
23693 * localedata/locales/ca_ES: Likewise.
23694 * localedata/locales/ca_FR: Likewise.
23695 * localedata/locales/ca_IT: Likewise.
23696 * localedata/locales/ce_RU: Likewise.
23697 * localedata/locales/chr_US: Likewise.
23698 * localedata/locales/cmn_TW: Likewise.
23699 * localedata/locales/crh_UA: Likewise.
23700 * localedata/locales/cs_CZ: Likewise.
23701 * localedata/locales/csb_PL: Likewise.
23702 * localedata/locales/cv_RU: Likewise.
23703 * localedata/locales/cy_GB: Likewise.
23704 * localedata/locales/da_DK: Likewise.
23705 * localedata/locales/de_AT: Likewise.
23706 * localedata/locales/de_BE: Likewise.
23707 * localedata/locales/de_CH: Likewise.
23708 * localedata/locales/de_DE: Likewise.
23709 * localedata/locales/de_IT: Likewise.
23710 * localedata/locales/de_LI: Likewise.
23711 * localedata/locales/de_LU: Likewise.
23712 * localedata/locales/doi_IN: Likewise.
23713 * localedata/locales/dv_MV: Likewise.
23714 * localedata/locales/dz_BT: Likewise.
23715 * localedata/locales/el_CY: Likewise.
23716 * localedata/locales/el_GR: Likewise.
23717 * localedata/locales/en_AG: Likewise.
23718 * localedata/locales/en_AU: Likewise.
23719 * localedata/locales/en_BW: Likewise.
23720 * localedata/locales/en_CA: Likewise.
23721 * localedata/locales/en_DK: Likewise.
23722 * localedata/locales/en_GB: Likewise.
23723 * localedata/locales/en_HK: Likewise.
23724 * localedata/locales/en_IE: Likewise.
23725 * localedata/locales/en_IL: Likewise.
23726 * localedata/locales/en_IN: Likewise.
23727 * localedata/locales/en_NG: Likewise.
23728 * localedata/locales/en_NZ: Likewise.
23729 * localedata/locales/en_PH: Likewise.
23730 * localedata/locales/en_SG: Likewise.
23731 * localedata/locales/en_US: Likewise.
23732 * localedata/locales/en_ZA: Likewise.
23733 * localedata/locales/en_ZM: Likewise.
23734 * localedata/locales/en_ZW: Likewise.
23735 * localedata/locales/eo: Likewise.
23736 * localedata/locales/es_AR: Likewise.
23737 * localedata/locales/es_BO: Likewise.
23738 * localedata/locales/es_CL: Likewise.
23739 * localedata/locales/es_CO: Likewise.
23740 * localedata/locales/es_CR: Likewise.
23741 * localedata/locales/es_CU: Likewise.
23742 * localedata/locales/es_DO: Likewise.
23743 * localedata/locales/es_EC: Likewise.
23744 * localedata/locales/es_ES: Likewise.
23745 * localedata/locales/es_GT: Likewise.
23746 * localedata/locales/es_HN: Likewise.
23747 * localedata/locales/es_MX: Likewise.
23748 * localedata/locales/es_NI: Likewise.
23749 * localedata/locales/es_PA: Likewise.
23750 * localedata/locales/es_PE: Likewise.
23751 * localedata/locales/es_PR: Likewise.
23752 * localedata/locales/es_PY: Likewise.
23753 * localedata/locales/es_SV: Likewise.
23754 * localedata/locales/es_US: Likewise.
23755 * localedata/locales/es_UY: Likewise.
23756 * localedata/locales/es_VE: Likewise.
23757 * localedata/locales/et_EE: Likewise.
23758 * localedata/locales/eu_ES: Likewise.
23759 * localedata/locales/eu_ES@euro: Likewise.
23760 * localedata/locales/fa_IR: Likewise.
23761 * localedata/locales/ff_SN: Likewise.
23762 * localedata/locales/fi_FI: Likewise.
23763 * localedata/locales/fil_PH: Likewise.
23764 * localedata/locales/fo_FO: Likewise.
23765 * localedata/locales/fr_BE: Likewise.
23766 * localedata/locales/fr_CA: Likewise.
23767 * localedata/locales/fr_CH: Likewise.
23768 * localedata/locales/fr_FR: Likewise.
23769 * localedata/locales/fr_LU: Likewise.
23770 * localedata/locales/fur_IT: Likewise.
23771 * localedata/locales/fy_DE: Likewise.
23772 * localedata/locales/fy_NL: Likewise.
23773 * localedata/locales/ga_IE: Likewise.
23774 * localedata/locales/gd_GB: Likewise.
23775 * localedata/locales/gez_ER: Likewise.
23776 * localedata/locales/gez_ET: Likewise.
23777 * localedata/locales/gl_ES: Likewise.
23778 * localedata/locales/gu_IN: Likewise.
23779 * localedata/locales/gv_GB: Likewise.
23780 * localedata/locales/ha_NG: Likewise.
23781 * localedata/locales/hak_TW: Likewise.
23782 * localedata/locales/he_IL: Likewise.
23783 * localedata/locales/hi_IN: Likewise.
23784 * localedata/locales/hif_FJ: Likewise.
23785 * localedata/locales/hne_IN: Likewise.
23786 * localedata/locales/hr_HR: Likewise.
23787 * localedata/locales/hsb_DE: Likewise.
23788 * localedata/locales/ht_HT: Likewise.
23789 * localedata/locales/hu_HU: Likewise.
23790 * localedata/locales/hy_AM: Likewise.
23791 * localedata/locales/i18n: Likewise.
23792 * localedata/locales/ia_FR: Likewise.
23793 * localedata/locales/id_ID: Likewise.
23794 * localedata/locales/ig_NG: Likewise.
23795 * localedata/locales/ik_CA: Likewise.
23796 * localedata/locales/is_IS: Likewise.
23797 * localedata/locales/it_CH: Likewise.
23798 * localedata/locales/it_IT: Likewise.
23799 * localedata/locales/iu_CA: Likewise.
23800 * localedata/locales/ja_JP: Likewise.
23801 * localedata/locales/ka_GE: Likewise.
23802 * localedata/locales/kk_KZ: Likewise.
23803 * localedata/locales/kl_GL: Likewise.
23804 * localedata/locales/kn_IN: Likewise.
23805 * localedata/locales/ko_KR: Likewise.
23806 * localedata/locales/kok_IN: Likewise.
23807 * localedata/locales/ks_IN: Likewise.
23808 * localedata/locales/ks_IN@devanagari: Likewise.
23809 * localedata/locales/ku_TR: Likewise.
23810 * localedata/locales/kw_GB: Likewise.
23811 * localedata/locales/ky_KG: Likewise.
23812 * localedata/locales/lb_LU: Likewise.
23813 * localedata/locales/lg_UG: Likewise.
23814 * localedata/locales/li_BE: Likewise.
23815 * localedata/locales/li_NL: Likewise.
23816 * localedata/locales/lij_IT: Likewise.
23817 * localedata/locales/ln_CD: Likewise.
23818 * localedata/locales/lo_LA: Likewise.
23819 * localedata/locales/lt_LT: Likewise.
23820 * localedata/locales/lv_LV: Likewise.
23821 * localedata/locales/lzh_TW: Likewise.
23822 * localedata/locales/mag_IN: Likewise.
23823 * localedata/locales/mai_IN: Likewise.
23824 * localedata/locales/mg_MG: Likewise.
23825 * localedata/locales/mhr_RU: Likewise.
23826 * localedata/locales/mi_NZ: Likewise.
23827 * localedata/locales/mk_MK: Likewise.
23828 * localedata/locales/ml_IN: Likewise.
23829 * localedata/locales/mn_MN: Likewise.
23830 * localedata/locales/mni_IN: Likewise.
23831 * localedata/locales/mr_IN: Likewise.
23832 * localedata/locales/ms_MY: Likewise.
23833 * localedata/locales/mt_MT: Likewise.
23834 * localedata/locales/my_MM: Likewise.
23835 * localedata/locales/nan_TW: Likewise.
23836 * localedata/locales/nan_TW@latin: Likewise.
23837 * localedata/locales/nb_NO: Likewise.
23838 * localedata/locales/nds_DE: Likewise.
23839 * localedata/locales/nds_NL: Likewise.
23840 * localedata/locales/ne_NP: Likewise.
23841 * localedata/locales/nhn_MX: Likewise.
23842 * localedata/locales/niu_NU: Likewise.
23843 * localedata/locales/niu_NZ: Likewise.
23844 * localedata/locales/nl_AW: Likewise.
23845 * localedata/locales/nl_BE: Likewise.
23846 * localedata/locales/nl_NL: Likewise.
23847 * localedata/locales/nn_NO: Likewise.
23848 * localedata/locales/nr_ZA: Likewise.
23849 * localedata/locales/nso_ZA: Likewise.
23850 * localedata/locales/oc_FR: Likewise.
23851 * localedata/locales/om_ET: Likewise.
23852 * localedata/locales/om_KE: Likewise.
23853 * localedata/locales/or_IN: Likewise.
23854 * localedata/locales/os_RU: Likewise.
23855 * localedata/locales/pa_IN: Likewise.
23856 * localedata/locales/pa_PK: Likewise.
23857 * localedata/locales/pap_AW: Likewise.
23858 * localedata/locales/pap_CW: Likewise.
23859 * localedata/locales/pl_PL: Likewise.
23860 * localedata/locales/ps_AF: Likewise.
23861 * localedata/locales/pt_BR: Likewise.
23862 * localedata/locales/pt_PT: Likewise.
23863 * localedata/locales/quz_PE: Likewise.
23864 * localedata/locales/raj_IN: Likewise.
23865 * localedata/locales/ro_RO: Likewise.
23866 * localedata/locales/ru_RU: Likewise.
23867 * localedata/locales/ru_UA: Likewise.
23868 * localedata/locales/rw_RW: Likewise.
23869 * localedata/locales/sa_IN: Likewise.
23870 * localedata/locales/sat_IN: Likewise.
23871 * localedata/locales/sc_IT: Likewise.
23872 * localedata/locales/sd_IN: Likewise.
23873 * localedata/locales/sd_IN@devanagari: Likewise.
23874 * localedata/locales/se_NO: Likewise.
23875 * localedata/locales/sgs_LT: Likewise.
23876 * localedata/locales/shs_CA: Likewise.
23877 * localedata/locales/si_LK: Likewise.
23878 * localedata/locales/sid_ET: Likewise.
23879 * localedata/locales/sk_SK: Likewise.
23880 * localedata/locales/sl_SI: Likewise.
23881 * localedata/locales/sm_WS: Likewise.
23882 * localedata/locales/so_DJ: Likewise.
23883 * localedata/locales/so_ET: Likewise.
23884 * localedata/locales/so_KE: Likewise.
23885 * localedata/locales/so_SO: Likewise.
23886 * localedata/locales/sq_AL: Likewise.
23887 * localedata/locales/sq_MK: Likewise.
23888 * localedata/locales/sr_ME: Likewise.
23889 * localedata/locales/sr_RS: Likewise.
23890 * localedata/locales/sr_RS@latin: Likewise.
23891 * localedata/locales/ss_ZA: Likewise.
23892 * localedata/locales/st_ZA: Likewise.
23893 * localedata/locales/sv_FI: Likewise.
23894 * localedata/locales/sv_SE: Likewise.
23895 * localedata/locales/sw_KE: Likewise.
23896 * localedata/locales/sw_TZ: Likewise.
23897 * localedata/locales/szl_PL: Likewise.
23898 * localedata/locales/ta_IN: Likewise.
23899 * localedata/locales/ta_LK: Likewise.
23900 * localedata/locales/tcy_IN: Likewise.
23901 * localedata/locales/te_IN: Likewise.
23902 * localedata/locales/tg_TJ: Likewise.
23903 * localedata/locales/th_TH: Likewise.
23904 * localedata/locales/the_NP: Likewise.
23905 * localedata/locales/ti_ER: Likewise.
23906 * localedata/locales/ti_ET: Likewise.
23907 * localedata/locales/tig_ER: Likewise.
23908 * localedata/locales/tk_TM: Likewise.
23909 * localedata/locales/tl_PH: Likewise.
23910 * localedata/locales/tn_ZA: Likewise.
23911 * localedata/locales/to_TO: Likewise.
23912 * localedata/locales/tpi_PG: Likewise.
23913 * localedata/locales/tr_CY: Likewise.
23914 * localedata/locales/tr_TR: Likewise.
23915 * localedata/locales/ts_ZA: Likewise.
23916 * localedata/locales/tt_RU: Likewise.
23917 * localedata/locales/tt_RU@iqtelif: Likewise.
23918 * localedata/locales/ug_CN: Likewise.
23919 * localedata/locales/uk_UA: Likewise.
23920 * localedata/locales/unm_US: Likewise.
23921 * localedata/locales/ur_IN: Likewise.
23922 * localedata/locales/ur_PK: Likewise.
23923 * localedata/locales/uz_UZ: Likewise.
23924 * localedata/locales/uz_UZ@cyrillic: Likewise.
23925 * localedata/locales/ve_ZA: Likewise.
23926 * localedata/locales/vi_VN: Likewise.
23927 * localedata/locales/wa_BE: Likewise.
23928 * localedata/locales/wae_CH: Likewise.
23929 * localedata/locales/wal_ET: Likewise.
23930 * localedata/locales/wo_SN: Likewise.
23931 * localedata/locales/xh_ZA: Likewise.
23932 * localedata/locales/yi_US: Likewise.
23933 * localedata/locales/yo_NG: Likewise.
23934 * localedata/locales/yue_HK: Likewise.
23935 * localedata/locales/yuw_PG: Likewise.
23936 * localedata/locales/zh_CN: Likewise.
23937 * localedata/locales/zh_HK: Likewise.
23938 * localedata/locales/zh_SG: Likewise.
23939 * localedata/locales/zh_TW: Likewise.
23940 * localedata/locales/zu_ZA: Likewise.
23942 2017-11-13 Florian Weimer <fweimer@redhat.com>
23944 * support/next_to_fault.h, support/next_to_fault.c: New files.
23945 * support/Makefile (libsupport-routines): Add next_to_fault.
23946 * resolv/tst-inet_pton.c (struct next_to_fault)
23947 (next_to_fault_allocate, next_to_fault_free): Remove.
23948 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23950 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23952 * elf/dl-support.c: Include <dl-procruntime.c>.
23953 * include/link.h: Include <link_map.h>.
23954 * sysdeps/generic/dl-procruntime.c: New file.
23955 * sysdeps/generic/link_map.h: Likewise.
23956 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23957 the writable ld.so namespace.
23959 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23961 timezone: pacify GCC -Wstringop-truncation
23962 Problem reported by Martin Sebor in:
23963 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23964 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23966 2017-11-12 Florian Weimer <fweimer@redhat.com>
23968 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23970 (tests): Add tst-xreadlink.
23971 * support/support.h (xstrndup): Declare.
23972 * support/xunistd.h (xunlink, xreadlink): Declare.
23973 * support/temp_file.h (support_create_temp_directory): Declare.
23974 * support/temp_file.c (support_create_temp_directory): New function.
23975 * support/support_chroot.c (support_chroot_create): Use it.
23976 * support/xreadlink.c: New file.
23977 * support/xstrndup.c: Likewise.
23978 * support/xunlink.c: Likewise.
23979 * support/tst-xreadlink.c: Likewise.
23981 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
23983 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23985 2017-11-11 Florian Weimer <fweimer@redhat.com>
23989 * resolv/res_comp.c (printable_string, binary_hnok)
23990 (binary_leading_dash): New functions.
23991 (res_hnok): Reimplement using these functions and ns_name_pton.
23992 (res_ownok): Likewise.
23993 (res_mailok): Reimplement using printable_string, ns_name_pton and
23995 (res_dnok): Reimplement using printable_string and ns_name_pton.
23996 * resolv/tst-res_hnok.c (tests): Add additional tests.
23997 (LETTERDIGITS, PRINTABLE): Define.
23998 (do_test): Adjust one_char results.
24000 2017-11-11 Florian Weimer <fweimer@redhat.com>
24003 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24004 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24006 2017-11-11 Florian Weimer <fweimer@redhat.com>
24008 * resolv/tst-ns_name_pton.c: New file.
24009 * resolv/Makefile (tests): Add tst-ns_name_pton.
24010 (tst-ns_name_pton): Link against libresolv.
24012 2017-11-11 Florian Weimer <fweimer@redhat.com>
24014 * resolv/tst-res_hnok.c: New file.
24015 * resolv/Makefile (tests): Add tst-res_hnok.
24016 (tst-res_hnok): Link against libresolv.
24018 2017-11-11 Florian Weimer <fweimer@redhat.com>
24020 * resolv/tst-resolv-network.c: Use test framework instead explicit
24023 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24025 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24026 <jmp_buf-macros.h>.
24027 [!_ISOMAC] (STR_HELPER): New.
24028 [!_ISOMAC] (STR): Likewise.
24029 [!_ISOMAC] (TEST_SIZE): Likewise.
24030 [!_ISOMAC] (TEST_ALIGN): Likewise.
24031 [!_ISOMAC] (TEST_OFFSET): Likewise.
24032 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24033 field offsets of jmp_buf as well as sigjmp_buf.
24034 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24035 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24036 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24037 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24038 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24039 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24040 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24041 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24042 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24043 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24045 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24047 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24052 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24053 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24054 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24055 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24056 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24061 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24062 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24063 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24065 2017-11-07 Joseph Myers <joseph@codesourcery.com>
24068 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24069 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24070 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24071 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24072 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24073 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24074 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24075 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24076 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24077 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24078 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24079 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24080 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24081 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24082 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24083 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24084 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24085 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24086 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24087 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24088 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24089 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24090 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24091 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24092 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24093 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24094 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24095 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24096 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24097 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24098 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24099 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24100 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24101 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24102 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24103 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24104 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24105 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24106 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24107 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24108 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24109 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24110 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24111 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24112 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24113 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24114 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24115 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24116 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24117 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24118 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24119 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24120 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24121 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24122 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24123 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24124 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24125 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24126 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24127 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24128 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24129 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24130 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24131 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24132 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24133 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24134 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24135 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24136 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24137 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24138 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24139 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24140 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24141 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24142 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24143 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24144 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24145 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24146 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24147 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24148 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24149 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24150 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24151 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24152 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24153 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24154 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24155 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24157 * stdlib/tst-strtod.h (F16): New macro.
24163 (IF_FLOAT16): Likewise.
24164 (IF_FLOAT32): Likewise.
24165 (IF_FLOAT64): Likewise.
24166 (IF_FLOAT32X): Likewise.
24167 (IF_FLOAT64X): Likewise.
24168 (IF_FLOAT128X): Likewise.
24169 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24170 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24171 (STRTOD_TEST_FOREACH): Likewise.
24172 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24173 (CHOOSE_f64): Likewise.
24174 (CHOOSE_f32x): Likewise.
24175 (CHOOSE_f64x): Likewise.
24177 2017-11-07 Andreas Schwab <schwab@suse.de>
24179 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24181 2017-11-07 Mike FABIAN <mfabian@redhat.com>
24184 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24186 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24189 2017-11-07 Claude Paroz <claude@2xlibre.net>
24192 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24194 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24196 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24199 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24202 * nptl/allocatestack.c (allocate_stack): Check if
24203 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24204 __PTHREAD_MUTEX_HAVE_PREV is defined.
24205 * nptl/descr.h (pthread): Likewise.
24206 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24208 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24209 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24210 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24211 * sysdeps/nptl/bits/thread-shared-types.h
24212 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24214 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24215 of __WORDSIZE for internal layout.
24216 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24217 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24218 instead of __WORDSIZE whether to use an union for __spins and __list
24220 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24222 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24223 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24225 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24226 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24228 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24229 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24231 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24232 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24234 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24235 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24237 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24238 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24240 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24241 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24243 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24244 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24246 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24247 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24249 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24250 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24252 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24253 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24255 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24256 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24258 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24259 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24261 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24262 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24264 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24265 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24268 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
24270 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
24271 checks for expected input type size.
24272 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24273 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24275 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24276 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
24277 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24278 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
24279 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24280 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
24281 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
24282 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
24283 superflous runtime assert check.
24284 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
24286 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
24288 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24290 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
24292 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
24294 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
24296 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
24297 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
24298 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24300 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24302 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24304 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
24306 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24308 * nptl/pthread_attr_setinheritsched.c
24309 (__pthread_attr_setinheritsched): Likewise.
24310 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
24312 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
24314 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
24315 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
24316 __old_pthread_attr_setstack): Likewise.
24317 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24319 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24321 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
24323 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24324 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24326 * nptl/tst-typesizes.c: Remove file.
24328 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
24329 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
24330 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
24331 checks for internal pthread_mutex_t offsets.
24332 * sysdeps/aarch64/nptl/pthread-offsets.h
24333 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
24334 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
24335 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
24336 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
24337 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
24338 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
24339 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
24340 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
24341 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
24342 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
24343 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
24344 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
24345 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
24346 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
24347 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
24348 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
24349 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
24350 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
24352 2017-11-07 Florian Weimer <fweimer@redhat.com>
24354 * bits/mman-linux.h: Move ...
24355 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
24357 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
24360 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24362 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
24363 Redefine STRNLEN as __strnlen_power8.
24365 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24367 * signal/sighold.c (sighold): Optimize implementation.
24369 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
24370 __NR_rt_sigqueueinfo.
24372 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
24374 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
24375 assume __NR_rt_sigtimedwait.
24376 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
24377 and add LIBC_CANCEL_HANDLED for cancellation marking.
24378 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24380 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24381 (sysdeps_routines): Add memchr_noneon.
24382 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
24383 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
24384 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24385 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24386 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24387 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24388 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24390 * sysdeps/arm/arm-ifunc.h: New file.
24391 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24392 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24393 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24394 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24395 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24396 (__memcpy_neon): Avoid create hidden alias.
24397 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24398 (__memcpy_vfp): Likewise.
24399 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24400 (sysdep_routines): Add memcpy_arm.
24401 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24403 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24406 * Makerules (make-link-multidir): New.
24407 * config.make.in (multidir): New.
24408 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24409 * configure: Regenerated.
24410 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24411 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24412 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24415 2017-11-06 Joseph Myers <joseph@codesourcery.com>
24418 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24419 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24421 2017-11-04 Mike FABIAN <mfabian@redhat.com>
24423 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24426 2017-11-04 Florian Weimer <fweimer@redhat.com>
24428 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24430 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24432 * math/math.h [__HAVE_DISTINCT_FLOAT16
24433 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24434 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24435 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24436 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24437 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24438 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24439 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24440 (__MATH_TG_F32): New macro.
24441 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24442 (__MATH_TG_F64X): Likewise.
24443 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24444 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24446 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24448 * po/de.po: Update translations.
24449 * po/ru.po: Likewise.
24451 2017-11-03 Florian Weimer <fweimer@redhat.com>
24453 * manual/filesys.texi (Hard Links): Document linkat.
24455 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24457 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24458 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24459 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24460 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24461 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24462 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24463 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
24464 the same as _Float128.
24465 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24466 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24467 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
24470 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
24472 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
24474 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
24476 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24477 (strtof32x): Likewise.
24478 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24479 (strtof64x): Likewise.
24480 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24481 (strtof128x): Likewise.
24482 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24483 (strfromf16): Likewise.
24484 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24485 (strfromf32): Likewise.
24486 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24487 (strfromf64): Likewise.
24488 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24489 (strfromf32x): Likewise.
24490 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24491 (strfromf64x): Likewise.
24492 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24493 (strfromf128x): Likewise.
24494 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
24495 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
24496 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
24497 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
24498 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
24499 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
24501 2017-11-03 Richard Henderson <rth@twiddle.net>
24503 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
24505 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24507 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
24509 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24511 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
24512 DT_TLSDESC_GOT initialization.
24513 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
24514 (_dl_tlsdesc_resolve_hold): Likewise.
24515 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
24516 (_dl_tlsdesc_resolve_hold): Likewise.
24517 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
24518 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24520 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24522 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
24524 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24527 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
24528 non-lazily for R_ARM_TLS_DESC.
24530 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24533 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
24534 R_ARM_TLS_DESC case.
24535 (elf_machine_lazy_rel): Remove the prelink check.
24537 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24539 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
24540 DT_TLSDESC_GOT initialization.
24541 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
24542 (_dl_tlsdesc_resolve_rela): Likewise.
24543 (_dl_tlsdesc_resolve_hold): Likewise.
24544 (_dl_tlsdesc_undefweak): Remove ldar.
24545 (_dl_tlsdesc_dynamic): Likewise.
24546 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
24547 (_dl_tlsdesc_resolve_rela): Likewise.
24548 (_dl_tlsdesc_resolve_hold): Likewise.
24549 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
24550 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24551 (_dl_tlsdesc_resolve_rela): Likewise.
24552 (_dl_tlsdesc_resolve_hold): Likewise.
24554 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24556 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
24557 binding and initialization non-lazily for R_AARCH64_TLSDESC.
24559 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24561 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
24562 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24564 2017-11-02 Joseph Myers <joseph@codesourcery.com>
24566 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
24568 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
24569 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
24570 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
24571 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
24572 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
24573 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
24574 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
24575 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
24576 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
24577 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
24578 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
24580 2017-11-02 Mike FABIAN <mfabian@redhat.com>
24583 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
24584 * localedata/locales/tpi_PG: Add standard header.
24586 2017-11-02 Florian Weimer <fweimer@redhat.com>
24588 test-errno-linux: quotactl can fail with EPERM in containers.
24589 * sysdeps/unix/sysv/linux/test-errno-linux.c
24590 (LIST, LIST_FORWARD): New macros.
24591 (check_error_in_list): New function.
24592 (test_wrp_rv): Accept list of permitted error codes.
24593 (test_wrp_rv2): Remove.
24594 (test_wrp): Call test_wrp_rv with list of error codes.
24595 (test_wrp2): Accept list of error codes.
24596 (do_test): Adjust. Allow EPERM for quotactl.
24598 2017-11-02 Florian Weimer <fweimer@redhat.com>
24600 * stdio-common/bug16.c (do_test): Use array_length.
24601 * stdio-common/errlist.c (_sys_nerr): Likewise.
24602 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
24603 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
24604 * stdio-common/psiginfo.c (psiginfo): Use array_length.
24605 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
24606 (do_test): Use array_length.
24607 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
24608 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
24609 * stdio-common/tst-printf-round.c (do_test): Likewise.
24610 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
24611 (CHECK): Use array_length.
24612 * stdio-common/tstdiomisc.c (t3, F): Likewise.
24613 * stdio-common/tstscanf.c (main): Likewise.
24614 * stdio-common/vfprintf.c (process_string_arg): Likewise.
24616 2017-11-02 Florian Weimer <fweimer@redhat.com>
24618 Add array_length and array_end macros.
24619 * include/array_length.h: New file.
24621 2017-11-02 Florian Weimer <fweimer@redhat.com>
24624 * posix/tst-glob-tilde.c (do_noescape): New variable.
24625 (one_test): Process it.
24626 (do_test): Set do_noescape. Add unescaping test case.
24628 2017-11-01 Joseph Myers <joseph@codesourcery.com>
24631 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
24632 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
24633 with appropriate macros defined and undefined.
24634 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
24635 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24636 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
24637 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24638 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
24639 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24640 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
24641 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24642 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
24643 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24646 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
24647 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
24648 that for long double. Do not condition define and undefine of
24649 _Mdouble_complex_ on [__CFLOAT128].
24651 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
24653 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24654 of <sysdeps/generic/sysdep.h>.
24655 (ALIGNARG): Removed.
24656 (ASM_SIZE_DIRECTIVE): Likewise.
24659 (ENTRY_CHK): Likewise.
24660 (END_CHK): Likewise.
24661 (syscall_error): Likewise.
24662 (mcount): Likewise.
24663 (PSEUDO_END): Likewise.
24665 (atom_text_section): Likewise.
24666 * sysdeps/x86/sysdep.h: New file.
24667 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24668 of <sysdeps/generic/sysdep.h>.
24669 (ALIGNARG): Removed.
24670 (ASM_SIZE_DIRECTIVE): Likewise.
24673 (ENTRY_CHK): Likewise.
24674 (END_CHK): Likewise.
24675 (syscall_error): Likewise.
24676 (mcount): Likewise.
24677 (PSEUDO_END): Likewise.
24679 (atom_text_section): Likewise.
24681 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
24683 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
24684 category of LC_CTYPE set to "i18n:2012".
24685 * localedata/locales/i18n_ctype: Regenerate.
24687 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
24689 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
24690 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
24691 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24692 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24694 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
24695 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
24696 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
24697 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
24699 2017-10-31 Joseph Myers <joseph@codesourcery.com>
24702 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
24704 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
24706 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
24708 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24709 (CMPLXF32X): Likewise.
24710 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24711 (CMPLXF64X): Likewise.
24712 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24713 (CMPLXF128X): Likewise.
24716 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
24717 (__MATH_EVAL_FMT2): Define to add 0.0f.
24719 2017-10-31 Alan Modra <amodra@gmail.com>
24721 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
24723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
24724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
24725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
24726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
24727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
24728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
24729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
24730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
24731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
24732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
24733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
24734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
24735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
24736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
24737 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
24738 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
24739 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
24740 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
24741 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
24742 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
24743 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
24744 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
24745 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
24746 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
24747 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24748 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
24749 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
24750 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
24751 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
24752 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
24753 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24754 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24755 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
24756 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
24757 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
24758 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
24759 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
24760 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
24761 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
24762 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24763 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
24764 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
24765 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
24766 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
24767 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
24768 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
24769 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
24770 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
24771 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24772 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24773 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
24774 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
24775 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
24776 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
24777 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24778 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
24779 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
24780 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
24781 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24782 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24783 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24784 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
24785 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
24786 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24787 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
24788 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
24789 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
24790 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
24791 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
24793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
24794 include sysdep.h and math_ldbl_opt.h.
24796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
24797 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
24798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
24799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
24800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
24801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
24802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
24803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
24804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
24805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
24806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
24807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
24808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
24809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
24810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
24811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
24812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
24813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
24814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
24815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
24816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
24817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
24818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
24819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
24820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
24821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
24823 2017-10-31 Alan Modra <amodra@gmail.com>
24825 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24826 string/strncase_l.c, not string/strncase.c.
24827 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24828 (libc_hidden_def): Redefine.
24830 2017-10-31 Alan Modra <amodra@gmail.com>
24832 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24833 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24834 (__strcasecmp): Don't define.
24836 2017-10-31 Alan Modra <amodra@gmail.com>
24838 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24840 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24841 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24842 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24844 2017-10-31 Alan Modra <amodra@gmail.com>
24846 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24849 2017-10-31 Alan Modra <amodra@gmail.com>
24851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24852 Redefine only when SHARED.
24854 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24856 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24857 Include <bits/math-finite.h> with appropriate macros defined and
24859 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24860 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24861 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24862 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24863 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24865 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24866 [!_Mlong_double_] (_Mlong_double_): Likewise.
24867 [!_Mfloat16_] (_Mfloat16_): Likewise.
24868 [!_Mfloat32_] (_Mfloat32_): Likewise.
24869 [!_Mfloat64_] (_Mfloat64_): Likewise.
24870 [!_Mfloat128_] (_Mfloat128_): Likewise.
24871 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24872 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24873 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24874 (_Mdouble_): Define without indirection through those macros.
24875 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24876 [!_Mfloat128_] (_Mfloat128_): Likewise.
24877 [_Mlong_double_] (_Mlong_double_): Likewise.
24878 (_Mdouble_): Define without indirection through those macros.
24879 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24880 not add -D_Mlong_double_=double.
24881 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24882 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24884 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24886 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24888 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24890 * sysdeps/x86/libc-start.c: Reformat.
24892 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24895 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24896 (1): Renamed to ...
24899 (L(Src2)): Likewise.
24900 (L(1)): Renamed to ...
24903 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24905 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24906 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24907 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24908 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24909 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24910 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24911 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24912 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24913 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24914 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24915 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24916 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24917 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24918 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24919 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24920 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24921 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24922 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24923 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24924 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24925 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24926 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24927 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24928 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24929 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24930 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24931 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24932 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24933 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24934 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24935 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24936 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24937 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24938 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24939 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24940 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24941 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24942 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24943 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24944 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24945 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24946 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24947 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24948 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24949 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24950 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24951 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24952 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24953 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24954 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24955 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24956 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24957 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24958 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24959 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24960 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24961 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24962 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24963 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24964 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24965 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24966 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24967 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24968 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24969 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24970 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24972 2017-10-30 Florian Weimer <fweimer@redhat.com>
24974 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24976 * io/tst-mkdirat.c (do_test): Likewise.
24977 * io/tst-mkfifoat.c (do_test): Likewise.
24978 * io/tst-mknodat.c (do_test): Likewise.
24979 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24980 * locale/programs/locale.c (select_dirs): Likewise.
24981 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24982 * posix/bug-glob2.c (my_readdir): Likewise.
24983 * posix/tst-dir.c (main): Likewise.
24984 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24985 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24987 2017-10-30 Florian Weimer <fweimer@redhat.com>
24989 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24992 2017-10-30 Florian Weimer <fweimer@redhat.com>
24994 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24995 Convert to support/test-driver.c.
24996 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24997 New macro parameters.
24998 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24999 * posix/tst-gnuglob.c: New file.
25000 * posix/tst-gnuglob64.c: Likewise.
25001 * posix/Makefile (tests): Add tst-gnuglob64.
25003 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
25006 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25007 and use a better translation for March in “mon”.
25008 * localedata/locales/csb_PL: Use more ASCII to improve the
25009 readability of the source.
25011 2017-10-30 Mike FABIAN <mfabian@redhat.com>
25014 * localedata/locales/km_KH: Use ASCII as much
25015 as possible for better readability of the source and
25016 remove useless comments.
25017 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25018 was commented out and apparently wrong anyway because it was
25019 using Lao characters. If Buddhist era should be used
25020 for km_KH, a native speaker should write the correct formaat
25022 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25023 (According to CLDR, the first weekday for Cambodia is Sunday).
25024 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25025 (These were using Lao characters which must be wrong. If we get
25026 the correct data from a native speaker, we could add it back, until
25027 then it is better not to have name_mr and name_mrs at all than
25030 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25032 * locale/loadlocale.c: Correct size of
25033 _nl_value_type_LC_<category> arrays.
25035 2017-10-27 Joseph Myers <joseph@codesourcery.com>
25037 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25038 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25039 with appropriate macros defined and undefined.
25040 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25041 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25042 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25043 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25044 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25046 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25048 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25051 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25053 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25054 with lowercase letters to make it agree with CLDR.
25056 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25059 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25060 first letters of yesstr and nostr in yesexpr and noexpr,
25061 not for the full words.
25062 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25063 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25064 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25065 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25066 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25067 first letters of yesstr and nostr in yesexpr and noexpr,
25068 until now only English was matched in yesexpr and noexpr.
25069 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25070 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25071 fil but not for tl. As tl and fil are very similar, using fil
25072 is probably better than using English.
25074 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
25077 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25078 in yesstr and nostr.
25080 2017-10-26 Joseph Myers <joseph@codesourcery.com>
25082 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25083 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25084 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25086 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25088 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25090 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25092 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25093 (SNANF128X): Likewise.
25095 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25096 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25097 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25098 (HUGE_VAL_F32): Likewise.
25099 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25100 (HUGE_VAL_F64): Likewise.
25101 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25102 (HUGE_VAL_F32X): Likewise.
25103 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25104 (HUGE_VAL_F64X): Likewise.
25105 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25106 (HUGE_VAL_F128X): Likewise.
25108 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25110 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25111 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25112 for the br_FR locale.
25114 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25117 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25119 2017-10-25 Carlos O'Donell <carlos@redhat.com>
25121 * locale/programs/record-status.h: Define globals, and function
25122 prototypes. Move function bodies...
25123 * locale/programs/record-status.c: ... to here. New file.
25124 * iconv/Makefile (iconv_prog-modules): Add record-status.
25125 * locale/Makefile (lib-modules): Likewise.
25126 * iconv/iconv_prog.c: Remove verbose.
25127 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25128 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25129 record a warning about ASCII compatibility.
25130 * locale/programs/ld-monetary.c (monetary_finish): If
25131 warn_int_curr_symbol is true then record a warning about the symbol
25132 not being in our ISO 4217 list.
25133 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25134 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25135 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25136 (OPT_NO_WARN): Define.
25137 (OPT_WARN): Define.
25138 (options): Add entry for --no-warnings, and --warnings.
25139 (set_warnings): New function to enable/disable warnings.
25140 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25141 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25142 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25143 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25144 Pass flags to generate_locale.
25145 (generate_locale): Accept new flag argument and pass it to localedef
25147 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25148 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25150 * localedata/Makefile (test-input-data): Use full file name.
25151 * localedata/da_DK.in: Rename to...
25152 * localedata/da_DK.ISO-8859-1.in: ...this.
25153 * localedata/de_DE.in: Rename to...
25154 * localedata/de_DE.ISO-8859-1.in: ...this.
25155 * localedata/en_US.in: Rename to...
25156 * localedata/en_US.ISO-8859-1.in: ...this.
25157 * localedata/fr_FR.in: Rename to...
25158 * localedata/fr_FR.UTF-8.in: ... this.
25159 * localedata/hr_HR.in: Rename to...
25160 * localedata/hr_HR.ISO-8859-2.in: ...this.
25161 * localedata/hu_HU.in: Rename to...
25162 * localedata/hu_HU.UTF-8.in: ...this.
25163 * localedata/si_LK.in: Rename to...
25164 * localedata/si_LK.UTF-8.in: ...this.
25165 * localedata/sv_SE.in: Rename to...
25166 * localedata/sv_SE.ISO-8859-1.in: ...this.
25167 * localedata/tr_TR.in: Rename to...
25168 * localedata/tr_TR.UTF-8.in: ...this.
25169 * localedata/uk_UA.in: Rename to...
25170 * localedata/uk_UA.UTF-8.in: ...this.
25171 * localedata/sort-test.sh: Test file is locale name with the
25174 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25175 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25177 * localedata/locales/i18n_ctype: Regenerate.
25178 * localedata/locales/tr_TR: Likewise.
25179 * localedata/locales/translit_circle: Likewise.
25180 * localedata/locales/translit_cjk_compat: Likewise.
25181 * localedata/locales/translit_combining: Likewise.
25182 * localedata/locales/translit_compat: Likewise.
25183 * localedata/locales/translit_font: Likewise.
25184 * localedata/locales/translit_fraction: Likewise.
25186 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25188 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25189 lxvd2x/stxvd2x with lvx/stvx.
25190 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25192 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25194 * include/alloc_buffer.h: Replace "if if " with "if " in
25196 * sysdeps/mips/memcpy.S: Likkewise.
25197 * sysdeps/mips/memset.S: Likewise.
25198 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25200 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25202 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25205 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25208 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25209 yesexpr and noexpr.
25210 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25211 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25212 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25213 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25214 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25215 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25216 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25218 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25220 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25221 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25222 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25223 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25224 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25225 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25226 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25227 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25228 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25229 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25230 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25231 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25233 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25235 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25236 as possible for better readability of the source.
25237 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25238 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25239 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25240 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25241 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25242 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25243 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25244 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25245 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25246 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25247 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25248 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25249 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25250 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25251 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25252 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25253 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25254 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25255 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25256 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25257 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25258 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25259 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25260 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25261 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25262 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25263 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25264 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25265 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25266 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25267 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
25268 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25269 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
25270 * localedata/locales/en_US (LC_MESSAGES): Likewise.
25271 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
25272 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
25273 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
25274 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
25275 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
25276 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
25277 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
25278 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
25279 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
25280 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
25281 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
25282 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
25283 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
25284 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
25285 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
25286 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
25287 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
25288 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
25289 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
25290 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25291 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25292 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
25293 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
25294 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25295 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
25296 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
25297 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
25298 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
25299 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
25300 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
25301 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
25302 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
25303 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
25304 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
25305 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
25306 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
25307 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
25308 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
25309 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
25310 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
25311 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25312 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
25313 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
25314 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
25315 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
25316 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
25317 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
25318 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
25319 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
25320 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25321 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
25322 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
25323 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
25324 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25325 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
25326 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
25327 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
25328 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
25329 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25330 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
25331 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
25332 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25333 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
25334 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25335 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
25336 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
25337 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
25338 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
25339 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
25340 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
25341 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
25342 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
25343 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
25344 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
25345 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
25346 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
25347 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
25348 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
25349 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25350 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
25351 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
25352 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
25353 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
25354 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
25355 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
25356 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
25357 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
25358 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
25359 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
25360 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
25361 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
25362 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
25363 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
25364 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
25365 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
25366 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
25367 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
25368 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
25369 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
25370 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
25371 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
25372 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
25373 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
25374 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
25375 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
25376 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
25377 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
25378 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
25379 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
25380 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
25381 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
25382 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25383 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
25384 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25385 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25386 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25387 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25388 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25389 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25390 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25391 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25392 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25393 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25394 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25395 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25396 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25397 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25398 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25399 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25400 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25401 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25402 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25403 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25404 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25405 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25406 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25407 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25408 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25409 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25410 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25412 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25414 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25415 (Use first letters of yesstr and nostr correctly instead of using
25418 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25420 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25421 (Use first letters of yesstr and nostr correctly).
25423 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25425 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25426 also check for the first characters of yesstr and nostr.
25427 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25428 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25430 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25432 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25433 also check for Chinese characters.
25435 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25437 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25438 match also for the contents of yesstr and nostr. As the first letter
25439 of yesstr and nostr is equal, checking only for the first letter
25442 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25444 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25445 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25447 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25449 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25450 of main contributor.
25452 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25454 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25455 instead of using English.
25457 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25459 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25460 by including the first letters of nostr and yesexpr in the regexp.
25461 Also make it more readable by using ASCII where possible.
25463 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25465 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
25466 the first letter of nostr in the regexp. It agrees with CLDR now.
25467 Also make it more readable by using ASCII where possible.
25469 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25471 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
25472 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
25473 these strings contain a U+17D6 (which somewhat looks like a colon)
25474 instead of a real colon to separate the full words for “yes”
25475 and “no” from the single letter responses.
25477 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25479 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
25480 it agree with CLDR (include the first letter of yesstr).
25481 Also make it more readable by using ASCII where possible.
25483 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25485 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
25486 and improve yesexpr and noexpr. The yesstr and nostr apparently
25487 came from CLDR. And CLDR has a bug there: these strings contain
25488 a U+0903 (which looks like a colon) instead of a real colon
25489 to separate the full words for “yes” and “no” from the single
25492 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25494 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
25495 letters of the full yesstr and nostr in yesexpr and noexpr.
25497 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25499 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
25500 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
25501 * localedata/locales/an_ES: Make source more readable by using ASCII
25504 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25507 * localedata/locales/yuw_PG: New file.
25508 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
25509 * locale/iso-639.def: Add Yau (Uruwa).
25511 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25513 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
25515 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25517 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
25518 (__libc_realloc): Likewise.
25519 (_mid_memalign): Likewise.
25520 (__libc_calloc): Likewise.
25522 2017-10-23 Mike FABIAN <mfabian@redhat.com>
25524 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
25525 by adding the generic +1 and -0 as in all other locales.
25526 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
25527 day names and make it more readable by using ASCII where possible.
25529 2017-10-24 Joseph Myers <joseph@codesourcery.com>
25531 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
25532 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
25534 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25536 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
25537 WNOHANG in waitpid call.
25539 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
25541 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
25542 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
25544 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
25545 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
25546 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
25547 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
25548 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
25549 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
25550 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
25551 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
25554 2017-10-23 Michael Collison <michael.collison@arm.com>
25556 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
25557 with __builtin_sqrt.
25558 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
25559 with __builtin_sqrtf.
25560 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
25561 with __builtin_ceil.
25562 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
25563 with __builtin_ceilf.
25564 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
25565 with __builtin_floor.
25566 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
25567 with __builtin_floorf.
25568 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
25569 with __builtin_fma.
25570 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
25571 with __builtin_fmaf.
25572 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
25573 with __builtin_fmax.
25574 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
25575 with __builtin_fmaxf.
25576 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
25577 with __builtin_fmin.
25578 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
25579 with __builtin_fminf.
25580 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
25581 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
25582 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
25583 with builtin_rint and conversion to int.
25584 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
25585 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
25586 with builtin_llround.
25587 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
25588 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
25589 with builtin_rint and conversion to long int.
25590 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
25591 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
25592 with builtin_lround.
25593 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
25594 with builtin_lroundf.
25595 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
25596 statements with __builtin_nearbyint.
25597 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
25598 statements with __builtin_nearbyintf.
25599 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
25600 with __builtin_rint.
25601 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
25602 with __builtin_rintf.
25603 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
25604 with __builtin_round.
25605 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
25606 with __builtin_roundf.
25607 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
25608 with __builtin_trunc.
25609 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
25610 with __builtin_truncf.
25611 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
25612 and s_l[l]round[f].c too.
25614 2017-10-23 Alan Modra <amodra@gmail.com>
25616 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
25617 Adjust stack after restoring regs. Add missing LR cfi_restore.
25619 2017-10-23 Alan Modra <amodra@gmail.com>
25621 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
25622 Move LR save and frame setup/teardown and LR restore to
25623 immediately around memset call. Provide cfi.
25625 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25627 * sysdeps/i386/fpu/e_powf.S: Removed.
25628 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
25629 * sysdeps/i386/fpu/w_powf.c: Likewise.
25630 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
25631 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25632 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25634 (CFLAGS-e_powf-sse2.c): New.
25635 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
25636 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
25638 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25640 * sysdeps/i386/fpu/e_log2f.S: Removed.
25641 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
25642 * sysdeps/i386/fpu/w_log2f.c: Likewise.
25643 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
25644 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25645 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25647 (CFLAGS-e_log2f-sse2.c): New.
25648 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
25649 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
25651 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25653 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25655 (CFLAGS-e_powf-fma.c): New.
25656 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
25657 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
25659 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25661 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25663 (CFLAGS-e_log2f-fma.c): New.
25664 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
25665 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
25667 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25669 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25671 (CFLAGS-e_logf-fma.c): New.
25672 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
25673 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
25675 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25677 * sysdeps/i386/fpu/e_logf.S: Removed.
25678 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
25679 * sysdeps/i386/fpu/w_logf.c: Likewise.
25680 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
25681 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
25682 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25683 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25685 (CFLAGS-e_logf-sse2.c): New.
25686 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
25687 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
25689 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25691 * sysdeps/i386/fpu/e_exp2f.S: Removed.
25692 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
25693 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
25694 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25695 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25697 (CFLAGS-e_exp2f-sse2.c): New.
25698 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
25699 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
25701 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25703 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25705 (CFLAGS-e_exp2f-fma.c): New.
25706 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
25707 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
25709 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25711 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
25712 * sysdeps/i386/fpu/e_expf.S: Likewise.
25713 * sysdeps/i386/fpu/math_errf.c: Likewise.
25714 * sysdeps/i386/fpu/w_expf.c: Likewise.
25715 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
25716 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25717 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
25718 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
25719 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25720 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25721 Remove e_expf-ia32.
25722 (CFLAGS-e_expf-sse2.c): New.
25723 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
25724 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
25726 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25728 * sysdeps/x86_64/fpu/e_expf.S: Removed.
25729 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
25730 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
25731 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
25733 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
25735 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
25736 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
25738 (__redirect_expf): This.
25739 (SYMBOL_NAME): Changed to expf.
25740 (__ieee754_expf): Renamed to ...
25742 (__GI___expf): This.
25743 (__ieee754_expf): Add strong_alias.
25744 (__expf_finite): Likewise.
25746 Include <sysdeps/ieee754/flt-32/e_expf.c>.
25748 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
25751 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
25754 2017-10-21 Florian Weimer <fweimer@redhat.com>
25756 * posix/Makefile (tests): Add tst-glob-tilde.
25757 (tests-special): Add tst-glob-tilde-mem.out
25758 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
25759 (tst-glob-tilde-mem.out): Add mtrace check.
25760 * posix/tst-glob-tilde.c: New file.
25762 2017-10-20 Joseph Myers <joseph@codesourcery.com>
25764 * bits/floatn-common.h: New file.
25765 * math/Makefile (headers): Add bits/floatn-common.h.
25766 * bits/floatn.h: Include <bits/floatn-common.h>.
25767 * sysdeps/ia64/bits/floatn.h: Likewise.
25768 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25769 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
25770 * sysdeps/powerpc/bits/floatn.h: Likewise.
25771 * sysdeps/x86/bits/floatn.h: Likewise.
25773 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25775 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
25776 indicates whether compiler emits an warning for alias for
25777 functions with incompatible types.
25780 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
25781 the auxiliary process is terminated by a signal before calling _exit
25784 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25787 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
25789 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
25790 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
25791 and bit_arch_XSAVEC_Usable if needed.
25792 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
25793 and bit_arch_Use_dl_runtime_resolve_opt.
25794 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
25796 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
25797 (bit_arch_Prefer_No_AVX512): Updated.
25798 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
25799 (bit_arch_XSAVEC_Usable): New.
25800 (STATE_SAVE_OFFSET): Likewise.
25801 (STATE_SAVE_MASK): Likewise.
25802 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
25803 (cpu_features): Add xsave_state_size and xsave_state_full_size.
25804 (index_arch_Use_dl_runtime_resolve_opt): Removed.
25805 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
25806 (index_arch_XSAVEC_Usable): New.
25807 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25808 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
25809 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
25811 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
25812 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
25813 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
25814 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
25815 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
25816 _dl_runtime_resolve_xsavec.
25817 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
25819 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
25820 instead of VEC_SIZE.
25821 (REGISTER_SAVE_BND0): Removed.
25822 (REGISTER_SAVE_BND1): Likewise.
25823 (REGISTER_SAVE_BND3): Likewise.
25824 (REGISTER_SAVE_RAX): Always defined to 0.
25826 (_dl_runtime_resolve_avx): Likewise.
25827 (_dl_runtime_resolve_avx_slow): Likewise.
25828 (_dl_runtime_resolve_avx_opt): Likewise.
25829 (_dl_runtime_resolve_avx512): Likewise.
25830 (_dl_runtime_resolve_avx512_opt): Likewise.
25831 (_dl_runtime_resolve_sse): Likewise.
25832 (_dl_runtime_resolve_sse_vex): Likewise.
25834 (_dl_runtime_resolve_fxsave): Likewise.
25835 (USE_XSAVE): Likewise.
25836 (_dl_runtime_resolve_xsave): Likewise.
25837 (USE_XSAVEC): Likewise.
25838 (_dl_runtime_resolve_xsavec): Likewise.
25839 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25841 (_dl_runtime_resolve_avx512_opt): Likewise.
25842 (_dl_runtime_resolve_avx): Likewise.
25843 (_dl_runtime_resolve_avx_opt): Likewise.
25844 (_dl_runtime_resolve_sse): Likewise.
25845 (_dl_runtime_resolve_sse_vex): Likewise.
25846 (_dl_runtime_resolve_fxsave): New.
25847 (_dl_runtime_resolve_xsave): Likewise.
25848 (_dl_runtime_resolve_xsavec): Likewise.
25850 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
25854 * posix/glob.c (__glob): Fix one-byte overflow.
25856 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25858 * malloc/malloc.c (sysdep-cancel.h): Add include.
25860 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25862 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25864 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25866 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25867 (tests): Remove $(objpfx)ga_test depdendency.
25868 * resolv/ga_test.c: Remove file.
25870 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25873 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25874 * localedata/locales/kab_DZ: New file.
25876 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25878 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25879 _dl_relocate_static_pie instead of _dl_start to compute load
25880 address in static PIE.
25882 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25884 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25886 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25889 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25890 * localedata/locales/shn_MM: New file.
25892 2017-10-20 Florian Weimer <fweimer@redhat.com>
25895 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25896 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25897 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25898 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25899 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25900 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25902 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25904 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25906 2017-10-19 Joseph Myers <joseph@codesourcery.com>
25908 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25911 * sysdeps/mips/bits/long-double.h: Move to ....
25912 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25914 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25916 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25918 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
25919 H.J. Lu <hongjiu.lu@intel.com>
25922 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25923 GLRO(dl_platform) to NULL.
25924 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25925 (modules-names): Add tst-platformmod-1 and
25926 x86_64/tst-platformmod-2.
25927 (CFLAGS-tst-platform-1.c): New.
25928 (CFLAGS-tst-platformmod-1.c): Likewise.
25929 (CFLAGS-tst-platformmod-2.c): Likewise.
25930 (LDFLAGS-tst-platformmod-2.so): Likewise.
25931 ($(objpfx)tst-platform-1): Likewise.
25932 ($(objpfx)tst-platform-1.out): Likewise.
25933 (tst-platform-1-ENV): Likewise.
25934 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25935 * sysdeps/x86_64/tst-platform-1.c: New file.
25936 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25937 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25939 2017-10-19 Mike FABIAN <mfabian@redhat.com>
25942 * locale/iso-639.def: Add Karbi.
25943 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25944 * localedata/locales/mjw_IN: New file.
25946 2017-10-18 Joseph Myers <joseph@codesourcery.com>
25948 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25949 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25950 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25951 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25952 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25953 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25954 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25956 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25957 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25958 * manual/math.texi (Mathematics): Document additional architecture
25959 support for _Float128.
25960 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25961 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25962 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25963 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25964 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25965 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25966 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25967 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25968 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25969 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25970 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25971 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25972 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25973 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25974 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25976 2017-10-18 Renlin Li <renlin.li@arm.com>
25978 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25979 _DYNAMIC symbol to calculate load address.
25981 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
25983 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25984 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25986 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25987 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25989 2017-10-18 Mike FABIAN <mfabian@redhat.com>
25992 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25993 and improve readability by using more ASCII.
25994 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25995 and improve readability by using more ASCII.
25997 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25999 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26000 not all targets support atomics on bool.
26002 2017-10-17 Joseph Myers <joseph@codesourcery.com>
26004 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26005 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26007 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26008 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26009 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26010 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26011 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26012 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26014 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26016 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26019 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26022 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26023 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26024 (do_check_remalloced_chunk): Fix build bug.
26025 (do_check_malloc_state): Add assert that checks arena->top.
26026 (malloc_consolidate): Remove initialization.
26027 (int_mallinfo): Remove call to malloc_consolidate.
26028 (__libc_mallopt): Clarify why malloc_consolidate is needed.
26030 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26032 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26033 (have_fastchunks): Remove.
26034 (clear_fastchunks): Remove.
26035 (set_fastchunks): Remove.
26036 (malloc_state): Add have_fastchunks.
26037 (malloc_init_state): Use have_fastchunks.
26038 (do_check_malloc_state): Remove incorrect invariant checks.
26039 (_int_malloc): Use have_fastchunks.
26040 (_int_free): Likewise.
26041 (malloc_consolidate): Likewise.
26043 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26045 * malloc/malloc.c (tcache_put): Inline.
26046 (tcache_get): Inline.
26048 2017-10-17 Jordi Mallach <jordi@gnu.org>
26050 Aurelien Jarno <aurelien@aurel32.net>
26052 * localedata/locales/ca_ES@valencia: New file.
26053 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26055 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26058 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26061 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26063 * scripts/build-many-glibcs.py (Context.add_all_configs):
26064 Add arm-linux-gnueabihf multiarch extra_glibcs.
26066 * sysdeps/generic/ifunc-init.h: New file.
26067 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26069 2017-10-17 Mike FABIAN <mfabian@redhat.com>
26072 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26073 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26074 * stdlib/tst-strfmon_l.c: adapt test case.
26076 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26078 * sysdeps/generic/float128-abi.h: New file.
26079 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26080 non-__prefixed symbols to ....
26081 * math/Versions: ... here. Include <float128-abi.h>.
26082 * stdlib/Versions ... and here. Include <float128-abi.h>
26084 2017-10-16 Florian Weimer <fweimer@redhat.com>
26086 * version.h (VERSION): Switch to ".9000" as the development
26089 2017-10-16 Florian Weimer <fweimer@redhat.com>
26092 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26093 compat_symbol_reference to access non-default version.
26095 2017-10-16 Florian Weimer <fweimer@redhat.com>
26097 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26099 2017-10-16 Carlos O'Donell <carlos@redhat.com>
26101 * include/shlib-compat.h (compat_symbol_reference): Update
26104 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26106 * math/Makefile (test-types): Add
26107 $(type-float128-$(float128-alias-fcts)).
26108 * math/test-float128.h (TYPE_STR): Define conditional on
26109 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26110 (ULP_IDX): Likewise.
26111 (ULP_I_IDX): Likewise.
26113 * stdlib/strtold.c: Include <bits/floatn.h>
26114 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26115 and later undefine as macro. Define as weak alias if
26117 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26118 and later undefine as macro. Define as weak alias if
26120 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26121 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26122 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26123 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26124 Define and later undefine as macro. Define as weak alias if
26126 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26128 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26129 Define and later undefine as macro. Define as weak alias if
26131 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26132 Define and later undefine as macro. Define as weak alias if
26135 2017-10-15 Carlos O'Donell <carlos@redhat.com>
26137 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26138 record_verbose messages.
26140 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26143 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26144 to silence -O3 -Wall warning with GCC 7.
26146 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26148 * Makeconfig (+link-static-before-libc): Use the first of
26149 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26150 * gmon/Makefile (tests): Add tst-gmon-static.
26151 (tests-static): Likewise.
26152 (CFLAGS-tst-gmon-static.c): New.
26153 (CRT-tst-gmon-static): Likewise.
26154 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26155 (tst-gmon-static-ENV): Likewise.
26156 (tests-special): Likewise.
26157 ($(objpfx)tst-gmon-static.out): Likewise.
26158 (clean-tst-gmon-static-data): Likewise.
26159 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26160 * gmon/tst-gmon-static-gprof.sh: New file.
26161 * gmon/tst-gmon-static.c: Likewise.
26163 2017-10-13 Carlos O'Donell <carlos@redhat.com>
26166 * locale/programs/linereader.c (get_string): Don't warn on
26167 non-symbolic character.
26170 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26174 * locale/programs/record-status.h: New file
26175 * locale/programs/locale.c: Add comment.
26176 * locale/programs/charmap-dir.c: Don't include error.h.
26177 (charmap_opendir): Use record_error.
26178 * locale/programs/charmap.c: Don't include error.h.
26179 (charmap_read): Use record_error, and record_warning.
26180 (parse_charmap): Likewise.
26181 * locale/programs/ld-address.c: Don't include error.h.
26182 (address_finish): Use record_error, and record_warning.
26183 * locale/programs/ld-collate.c: Don't include error.h.
26184 (collate_finish): Use record_error, and record_error_at_line.
26185 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26186 (ctype_class_new): Likewise.
26187 (ctype_map_new): Likewise.
26188 (set_one_default): Likewise.
26189 (set_class_defaults): Likewise.
26190 (translit_flatten): Likewise.
26191 (allocate_arrays): Use record_error, and record_verbose.
26192 * locale/programs/ld-identification.c: Don't include error.h.
26193 (indentation_finish): Use record_error and record_warning.
26194 * locale/programs/ld-measurement.c: Don't include error.h.
26195 (measurement_finish): Use record_error.
26196 * locale/programs/ld-messages.c
26197 (message_finish): Likewise.
26198 * locale/programs/ld-monetary.c
26199 (monetary_finish): Likewise.
26200 * locale/programs/ld-name.c (name_finish): Use record_error
26201 and record_warning.
26202 * locale/programs/ld-numeric.c
26203 (numeric_finish): Use record_error.
26204 * locale/programs/ld-paper.c: Don't include error.h.
26205 (paper_finish): Use record_error.
26206 * locale/programs/ld-telephone.c: Don't include error.h.
26207 (telephone_finish): Use record_error.
26208 * locale/programs/ld-time.c (time_finish): Likewise.
26209 * locale/programs/linereader.h (lr_error): Make inline func.
26210 * locale/programs/localedef.c: Define recorded_warning_count,
26211 and recorded_error_count.
26212 (main): Use record_error. Use recorded_error_count and
26213 recorded_warning_count to issue correct error returns.
26214 (add_to_readlist): Use record_error.
26215 (find_locale): Likewise.
26216 (load_locale): Likewise.
26217 * locale/programs/localedef.h: Remove be_quiet
26218 and WITH_CUR_LOCALE.
26219 * locale/programs/locarchive.c (compare_from_file): Use
26221 * locale/programs/locfile.c (write_locale_data): Use
26223 * locale/programs/repertoire.c: Dont include error.h.
26224 (repertoire_complain): Use record_error.
26225 * localedata/tst-fmon.sh: Expect failures from localedef.
26226 * localedata/tst-locale.sh: Likewise.
26227 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26229 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26230 (REPORTS): Likewise.
26232 (i18n): Rename to...
26233 (i18n_ctype): ...this.
26234 (i18n-report): Rename to...
26235 (i18n_ctype-report): ...this.
26236 * localedata/locales/i18n_ctype: Regenerate.
26237 * localedata/locales/i18n: copy i18n_ctype.
26239 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26241 * stdlib/strfroml.c: Include <bits/floatn.h>.
26242 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26243 Define before include of <stdlib.h> and undefine afterwards, then
26244 define as weak alias.
26246 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26247 Undefine and restore default definition. Use
26248 libm_alias_ldouble_other.
26250 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26253 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26256 2017-10-13 James Clarke <jrtc27@jrtc27.com>
26258 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26259 Assign sym_map to be map for local symbols, as TLS relocations
26260 use sym_map to determine whether the symbol is defined and to
26261 extract the TLS information.
26262 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26263 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26265 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26268 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
26269 (math_force_eval): Add powerpc version.
26272 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
26274 (do_test): Likewise.
26275 * stdio-common/tst-printf.sh: Likewise.
26276 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
26277 ifdef clause in order to set the carry bit right. Replace r0 by
26278 0 without changing the behavior.
26280 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26282 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
26283 <libm-alias-ldouble.h>.
26284 (fabsl): Define using libm_alias_ldouble.
26285 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
26286 <libm-alias-ldouble.h>.
26287 (fabsl): Define using libm_alias_ldouble.
26289 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
26290 Remove conditional code.
26292 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
26293 Rename to __clog10_internal_l.
26294 (__clog10_internal_l): Define aliases using
26295 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
26298 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26300 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
26301 * benchtests/sincosf-inputs: New file.
26302 * benchtests/cosf-inputs: New file.
26303 * benchtests/sinf-inputs: New file.
26305 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
26307 * posix/tst-spawn.c (do_test): Wait for both children.
26309 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
26312 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
26313 tests-pie): Add tst-gmon-pie.
26314 (CFLAGS-tst-gmon-pie.c): New.
26315 (CRT-tst-gmon-pie): Likewise.
26316 (tst-gmon-pie-ENV): Likewise.
26317 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
26318 ($(objpfx)tst-gmon-pie.out): Likewise.
26319 (clean-tst-gmon-pie-data): Likewise.
26320 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
26321 * gmon/gmon.c [PIC]: Include <link.h>.
26322 [PIC] (callback): New function.
26323 (write_hist): Add an argument for load address. Subtract load
26325 (write_call_graph): Likewise.
26326 (write_gmon): Call __dl_iterate_phdr to get load address, pass
26327 it to write_hist and write_call_graph.
26328 * gmon/tst-gmon-pie.c: New file.
26330 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26332 * math/Makefile (test-types-basic): New variable.
26333 (test-types): Likewise.
26334 (libm-test-support): Use $(test-types) instead of $(types).
26335 (libm-tests-base-normal): Likewise.
26336 (libm-tests-base-finite): Likewise.
26337 (libm-tests-base-inline): Likewise.
26338 (generated): Likewise.
26339 ($(objpfx)libm-test-support-$(t).c): Likewise.
26340 (libm-tests-for-type iterator): Likewise.
26341 (libm-test-support iterator): Likewise.
26342 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
26343 (ulp_idx): Use ULP_IDX.
26344 * math/test-ldouble.h: Include <float.h>.
26345 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
26346 (ULP_IDX): New macro.
26347 (ULP_I_IDX): Likewise.
26348 * math/test-double.h (ULP_IDX): Likewise.
26349 (ULP_I_IDX): Likewise.
26350 * math/test-float.h (ULP_IDX): Likewise.
26351 (ULP_I_IDX): Likewise.
26352 * math/test-float128.h (ULP_IDX): Likewise.
26353 (ULP_I_IDX): Likewise.
26355 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26357 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
26358 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26359 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26360 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
26361 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26362 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
26363 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
26364 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26365 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26366 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26367 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
26368 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26369 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26370 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26371 (SINGLE_THREAD_BY_GLOBAL): Define.
26372 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26374 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26376 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26378 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26380 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
26381 (SINGLE_THREAD_BY_GLOBAL): Likewise.
26382 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26385 2017-10-11 Andreas Schwab <schwab@suse.de>
26387 * nis/Makefile (aux): Remove.
26388 * nscd/Makefile (aux): Add nscd_hash.
26389 (nscd-modules): Likewise.
26390 ($(objpfx)nscd): Don't depend on libnsl.
26391 * nscd/nscd_hash.c: New file.
26392 * nscd/nscd_hash.h: Likewise.
26393 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26394 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26395 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26396 instead of <nis/rpcsvc/nis.h>.
26397 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26399 2017-10-11 Florian Weimer <fweimer@redhat.com>
26402 Avoid large NSS buffers with many addresses, aliases.
26403 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26404 using dynarrays and struct alloc_buffer.
26405 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26406 (tst-nss-files-hosts-multi): Link with -ldl.
26407 * nss/tst-nss-files-hosts-multi.c: New file.
26409 2017-10-11 Florian Weimer <fweimer@redhat.com>
26412 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26413 scratch_buffer. Eliminate gotos.
26415 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26417 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26418 libm_alias_ldouble_other.
26419 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26420 undefine and redefine.
26421 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26422 (exp10l): Do not define here.
26423 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26424 (weak_alias): Undefine and redefine.
26425 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26426 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26427 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26428 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26430 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26431 [!__fma] (fma): Define using libm_alias_double.
26432 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26433 [!__fmaf] (fmaf): Define using libm_alias_float.
26434 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26435 (fmal): Define using libm_alias_ldouble.
26437 2017-10-10 Joseph Myers <joseph@codesourcery.com>
26439 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26441 (libm_alias_double_other): Likewise.
26442 (libm_alias_double_r): Use libm_alias_double_other_r.
26443 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26445 (libm_alias_float_other): Likewise.
26446 (libm_alias_float_r): Use libm_alias_float_other_r.
26447 * sysdeps/generic/libm-alias-float128.h
26448 (libm_alias_float128_other_r): New macro.
26449 (libm_alias_float128_other): Likewise.
26450 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26451 * sysdeps/generic/libm-alias-ldouble.h
26452 (libm_alias_ldouble_other_r): New macro.
26453 (libm_alias_ldouble_other): Likewise.
26454 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26455 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26456 (libm_alias_double_other_r): New macro.
26457 (libm_alias_double_other): Likewise.
26458 (libm_alias_double_r): Use libm_alias_double_other_r.
26459 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26460 (libm_alias_ldouble_other_r): New macro.
26461 (libm_alias_ldouble_other): Likewise.
26462 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26463 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
26464 [!USE_AS_COMPAT]: Use libm_alias_double_other.
26465 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
26466 [!USE_AS_COMPAT]: Use libm_alias_float_other.
26467 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
26468 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
26469 * math/w_exp2f.c: Use libm_alias_float_other.
26470 * math/w_expf.c: Likewise.
26471 * math/w_log2f.c: Likewise.
26472 * math/w_logf.c: Likewise.
26473 * math/w_powf.c: Likewise.
26474 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
26475 [!__exp2f]: Use libm_alias_float_other.
26476 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
26477 [!__expf]: Use libm_alias_float_other.
26478 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
26479 [!__log2f]: Use libm_alias_float_other.
26480 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
26481 [!__logf]: Use libm_alias_float_other.
26482 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
26483 [!__powf]: Use libm_alias_float_other.
26485 2017-10-10 Florian Weimer <fweimer@redhat.com>
26487 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
26489 (_nss_files_gethostbyname3_r): Call it.
26491 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26493 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
26494 error. Remove default definition of declare_mgen_alias.
26495 [!declare_mgen_alias_r]: Likewise.
26496 * sysdeps/generic/math-type-macros-double.h
26497 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
26498 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
26499 (declare_mgen_alias_r): Likewise.
26500 * sysdeps/generic/math-type-macros-float128.h
26501 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26502 * sysdeps/generic/math-type-macros-ldouble.h
26503 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26504 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
26506 (declare_mgen_alias_r_s): Likewise.
26507 (declare_mgen_alias_r): Likewise.
26508 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
26509 (lgamma_r): Define using libm_alias_double_r.
26510 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
26511 (lgammaf_r): Define using libm_alias_float_r.
26512 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
26513 (lgammal_r): Define using libm_alias_ldouble_r.
26514 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
26515 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26517 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26519 * lib/glob.c (__glob_pattern_type): Remove now-spurious
26520 extern declaration.
26522 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26524 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
26526 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
26529 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
26530 [__cplusplus >= 201103] (__USE_ISOC99): Define.
26531 * math/Makefile (test-math-cxx11): New test.
26532 * math/test-math-cxx11.cc: New file.
26534 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
26536 * login/openpty.c (openpty): Close slave pty file descriptor on error.
26538 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
26539 call to allocate the slave pty file descriptor.
26541 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26543 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
26544 [!__fma] (fma): Define using libm_alias_double.
26545 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
26546 [!__fma] (fma): Define using libm_alias_double.
26548 * sysdeps/ieee754/float128/float128_private.h: Include
26549 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
26550 (libm_alias_ldouble_r): Undefine and redefine.
26551 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
26552 <libm-alias-ldouble.h>.
26553 (asinhl): Define using libm_alias_ldouble.
26554 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
26555 <libm-alias-ldouble.h>.
26556 (atanl): Define using libm_alias_ldouble.
26557 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
26558 <libm-alias-ldouble.h>.
26559 (cbrtl): Define using libm_alias_ldouble.
26560 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
26561 <libm-alias-ldouble.h>.
26562 (ceill): Define using libm_alias_ldouble.
26563 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
26564 <libm-alias-ldouble.h>.
26565 (copysignl): Define using libm_alias_ldouble.
26566 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
26567 <libm-alias-ldouble.h>.
26568 (cosl): Define using libm_alias_ldouble.
26569 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
26570 <libm-alias-ldouble.h>.
26571 (erfl): Define using libm_alias_ldouble.
26573 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
26574 <libm-alias-ldouble.h>.
26575 (expm1l): Define using libm_alias_ldouble.
26576 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
26577 <libm-alias-ldouble.h>.
26578 (fabsl): Define using libm_alias_ldouble.
26579 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
26580 <libm-alias-ldouble.h>.
26581 (floorl): Define using libm_alias_ldouble.
26582 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
26583 <libm-alias-ldouble.h>.
26584 (fmal): Define using libm_alias_ldouble.
26585 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
26586 <libm-alias-ldouble.h>.
26587 (frexpl): Define using libm_alias_ldouble.
26588 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
26589 libm_alias_ldouble.
26590 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
26591 <libm-alias-ldouble.h>.
26592 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
26593 libm_alias_ldouble.
26594 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
26595 <libm-alias-ldouble.h>.
26596 (getpayloadl): Define using libm_alias_ldouble.
26597 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
26598 <libm-alias-ldouble.h>.
26599 (llrintl): Define using libm_alias_ldouble.
26600 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
26601 <libm-alias-ldouble.h>.
26602 (llroundl): Define using libm_alias_ldouble.
26603 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
26604 <libm-alias-ldouble.h>.
26605 (logbl): Define using libm_alias_ldouble.
26606 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
26607 <libm-alias-ldouble.h>.
26608 (lrintl): Define using libm_alias_ldouble.
26609 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
26610 <libm-alias-ldouble.h>.
26611 (lroundl): Define using libm_alias_ldouble.
26612 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
26613 <libm-alias-ldouble.h>.
26614 (modfl): Define using libm_alias_ldouble.
26615 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
26616 <libm-alias-ldouble.h>.
26617 (nearbyintl): Define using libm_alias_ldouble.
26618 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
26619 <libm-alias-ldouble.h>.
26620 (nextafterl): Define using libm_alias_ldouble.
26621 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
26622 <libm-alias-ldouble.h>.
26623 (nextupl): Define using libm_alias_ldouble.
26624 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
26625 <libm-alias-ldouble.h>.
26626 (remquol): Define using libm_alias_ldouble.
26627 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
26628 <libm-alias-ldouble.h>.
26629 (rintl): Define using libm_alias_ldouble.
26630 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
26631 <libm-alias-ldouble.h>.
26632 (roundevenl): Define using libm_alias_ldouble.
26633 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
26634 <libm-alias-ldouble.h>.
26635 (roundl): Define using libm_alias_ldouble.
26636 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
26637 using libm_alias_ldouble.
26638 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
26639 <libm-alias-ldouble.h>.
26640 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
26641 Define using libm_alias_ldouble.
26642 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
26643 <libm-alias-ldouble.h>.
26644 (sincosl): Define using libm_alias_ldouble.
26645 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
26646 <libm-alias-ldouble.h>.
26647 (sinl): Define using libm_alias_ldouble.
26648 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
26649 <libm-alias-ldouble.h>.
26650 (tanhl): Define using libm_alias_ldouble.
26651 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
26652 <libm-alias-ldouble.h>.
26653 (tanl): Define using libm_alias_ldouble.
26654 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
26655 <libm-alias-ldouble.h>.
26656 (totalorderl): Define using libm_alias_ldouble.
26657 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
26658 <libm-alias-ldouble.h>.
26659 (totalordermagl): Define using libm_alias_ldouble.
26660 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
26661 <libm-alias-ldouble.h>.
26662 (truncl): Define using libm_alias_ldouble.
26663 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
26664 libm_alias_ldouble.
26665 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
26666 libm_alias_ldouble.
26667 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
26668 <libm-alias-ldouble.h>.
26669 (weak_alias): Do not undefine and redefine.
26670 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26671 (copysignl): Define with long_double_symbol only if [IS_IN
26673 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
26674 <libm-alias-ldouble.h>.
26675 (weak_alias): Do not undefine and redefine.
26676 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26677 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
26678 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
26679 <libm-alias-ldouble.h>.
26680 (weak_alias): Do not undefine and redefine.
26681 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26682 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
26683 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
26684 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
26685 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
26686 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
26687 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
26688 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
26689 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
26690 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
26691 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
26692 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
26693 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
26694 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
26695 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
26696 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
26697 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
26698 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
26699 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
26700 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
26701 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
26702 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
26703 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
26704 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
26705 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
26706 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
26708 2017-10-06 Carlos O'Donell <carlos@redhat.com>
26711 * malloc/malloc.c (tcache_shutting_down): Use bool type.
26712 (tcache_thread_freeres): Set tcache_shutting_down before
26713 freeing the tcache.
26714 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
26715 * malloc/tst-malloc-tcache-leak.c: New file.
26717 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26719 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
26720 back to powerpc32 file.
26721 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26722 (memrchr): Add __memrchr_power8 to ifunc list.
26723 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
26724 extra bytes for unaligned inputs.
26726 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26728 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
26729 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
26730 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
26731 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26732 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26734 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26736 * sysdeps/arm/libm-test-ulps: Update.
26738 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
26739 <libm-alias-ldouble.h>.
26740 (asinhl): Define using libm_alias_ldouble.
26741 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
26742 <libm-alias-ldouble.h>.
26743 (cbrtl): Define using libm_alias_ldouble.
26744 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
26745 <libm-alias-ldouble.h>.
26746 (copysignl): Define using libm_alias_ldouble.
26747 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
26748 <libm-alias-ldouble.h>.
26749 (cosl): Define using libm_alias_ldouble.
26750 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
26751 <libm-alias-ldouble.h>.
26752 (erfl): Define using libm_alias_ldouble.
26754 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
26755 <libm-alias-ldouble.h>.
26756 (fmal): Define using libm_alias_ldouble.
26757 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
26758 <libm-alias-ldouble.h>.
26759 (frexpl): Define using libm_alias_ldouble.
26760 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
26761 libm_alias_ldouble.
26762 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
26763 <libm-alias-ldouble.h>.
26764 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
26765 libm_alias_ldouble.
26766 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
26767 <libm-alias-ldouble.h>.
26768 (getpayloadl): Define using libm_alias_ldouble.
26769 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
26770 <libm-alias-ldouble.h>.
26771 (llrintl): Define using libm_alias_ldouble.
26772 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
26773 <libm-alias-ldouble.h>.
26774 (llroundl): Define using libm_alias_ldouble.
26775 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
26776 <libm-alias-ldouble.h>.
26777 (lrintl): Define using libm_alias_ldouble.
26778 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
26779 <libm-alias-ldouble.h>.
26780 (lroundl): Define using libm_alias_ldouble.
26781 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
26782 <libm-alias-ldouble.h>.
26783 (modfl): Define using libm_alias_ldouble.
26784 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
26785 <libm-alias-ldouble.h>.
26786 (nextupl): Define using libm_alias_ldouble.
26787 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
26788 <libm-alias-ldouble.h>.
26789 (remquol): Define using libm_alias_ldouble.
26790 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
26791 <libm-alias-ldouble.h>.
26792 (roundevenl): Define using libm_alias_ldouble.
26793 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
26794 <libm-alias-ldouble.h>.
26795 (roundl): Define using libm_alias_ldouble.
26796 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
26797 using libm_alias_ldouble.
26798 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
26799 <libm-alias-ldouble.h>.
26800 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
26801 <libm-alias-ldouble.h>.
26802 (setpayloadsigl): Define using libm_alias_ldouble.
26803 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
26804 <libm-alias-ldouble.h>.
26805 (sincosl): Define using libm_alias_ldouble.
26806 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
26807 <libm-alias-ldouble.h>.
26808 (sinl): Define using libm_alias_ldouble.
26809 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
26810 <libm-alias-ldouble.h>.
26811 (tanhl): Define using libm_alias_ldouble.
26812 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
26813 <libm-alias-ldouble.h>.
26814 (tanl): Define using libm_alias_ldouble.
26815 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
26816 <libm-alias-ldouble.h>.
26817 (totalorderl): Define using libm_alias_ldouble.
26818 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
26819 <libm-alias-ldouble.h>.
26820 (totalordermagl): Define using libm_alias_ldouble.
26821 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
26822 libm_alias_ldouble.
26823 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26824 libm_alias_ldouble.
26826 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26828 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26830 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26831 (__libc_ifunc_impl_list): Likewise.
26832 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26833 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26835 * benchtests/bench-memmove-walk.c: New file.
26836 * benchtests/Makefile (string-benchset): Add it.
26838 * benchtests/bench-memset-walk.c: New file.
26839 * benchtests/Makefile (string-benchset): Add it.
26841 * benchtests/bench-memcpy-walk.c: New file.
26842 * benchtests/Makefile (string-benchset): Add it.
26844 2017-10-05 Florian Weimer <fweimer@redhat.com>
26846 nscd: Eliminate compilation time dependency in the build output.
26847 * nscd/nscd_stat.c (STATDATA_VERSION)
26848 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26849 (STATDATA_VERSION_FULL): New macro definitions.
26850 (compilation): Remove.
26851 (struct statdata): Adjust version member.
26852 (send_stats): Set version from STATDATA_VERSION_FULL.
26853 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26855 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26857 * configure.ac (--enable-add-ons): Remove option.
26858 (machine): Do not mention add-ons in comment.
26859 (LIBC_PRECONFIGURE): Likewise.
26860 (add_ons): Remove variable and sanity checks and logic to locate
26862 (add_ons_automatic): Remove variable.
26863 (configured_add_ons): Likewise.
26864 (add_ons_sfx): Likewise.
26865 (add_ons_pfx): Likewise.
26866 (add_on_subdirs): Likewise.
26867 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26868 consideration of add-ons in Implies handling.
26869 (sysdeps_add_ons): Likewise.
26870 * configure: Regenerated.
26871 * libidn/configure.ac: Remove.
26872 * libidn/configure: Likewise.
26873 * sysdeps/unix/inet/configure.ac: New file.
26874 * sysdeps/unix/inet/configure: New generated file.
26875 * sysdeps/unix/inet/Subdirs: Add libidn.
26876 * Makeconfig (sysdeps-srcdirs): Remove variable.
26877 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26878 ($(common-objpfx)config.status): Do not depend on add-on files.
26879 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26881 (all-subdirs): Do not include $(add-on-subdirs).
26882 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26883 * config.make.in (add-ons): Remove variable.
26884 (add-on-subdirs): Likewise.
26885 (sysdeps-add-ons): Likewise.
26886 * manual/Makefile (add-chapters): Remove.
26887 ($(objpfx)texis): Do not depend on $(add-chapters).
26888 (nonexamples): Do not handle $(add-chapters).
26889 (examples): Do not handle $(add-ons).
26890 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26892 * manual/install.texi (Installation): Do not mention add-ons.
26893 (--enable-add-ons): Do not document configure option.
26894 * INSTALL: Regenerated.
26895 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26896 * manual/maint.texi (Hierarchy Conventions): Do not mention
26898 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26900 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26902 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26903 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26905 2017-10-05 Andreas Schwab <schwab@suse.de>
26908 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26909 (_IO_flush_all_lockp): Always lock list_all_lock.
26910 (_IO_flush_all_linebuffered): Likewise.
26911 (_IO_unbuffer_all): Likewise.
26913 2017-10-05 Florian Weimer <fweimer@redhat.com>
26916 Do not flush stdio streams on abort.
26917 * stdlib/abort.c (fflush): Remove macro definition.
26918 (abort): Remove stages related to stdio flushing.
26920 2017-10-05 Florian Weimer <fweimer@redhat.com>
26922 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26924 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26926 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26928 2017-10-05 Florian Weimer <fweimer@redhat.com>
26930 * support/support_format_hostent.c (support_format_hostent): Add
26931 more error information for NETDB_INTERNAL.
26933 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26935 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26936 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26937 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26938 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26939 AC_DEFINE if multi-arch is enabled.
26940 * sysdeps/i386/configure: Regenerated.
26942 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26944 * Makeconfig (+link-static-before-libc): Use
26945 $(DEFAULT-LDFLAGS-$(@F)).
26946 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26947 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26948 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26950 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26952 * elf/Makefile (tests): Add tst-main1.
26953 (modules-names): Add tst-main1mod.
26954 ($(objpfx)tst-main1): New.
26955 (CRT-tst-main1): Likewise.
26956 (LDFLAGS-tst-main1): Likewise.
26957 (LDLIBS-tst-main1): Likewise.
26958 (tst-main1mod.so-no-z-defs): Likewise.
26959 * elf/tst-main1.c: New file.
26960 * elf/tst-main1mod.c: Likewise.
26962 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26964 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26966 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26968 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26969 (fma): Define using libm_alias_double.
26970 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26971 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26973 (fmal): Do not define as compat symbol here.
26974 * sysdeps/alpha/fpu/s_fma.c: New file.
26976 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26978 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26980 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26983 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26985 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26987 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26988 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26989 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26990 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26992 Include <math_ldbl_opt.h>
26993 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26995 (compat_symbol): Undefine and redefine.
26996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26998 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26999 (compat_symbol): Undefine and redefine.
27000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27001 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27002 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27003 GLIBC_2_1 for libm.
27004 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27005 GLIBC_2.0 copysignl symbol.
27006 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27007 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27009 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27011 2017-10-04 Florian Weimer <fweimer@redhat.com>
27013 * scripts/check-local-headers.sh: Ignore nspr4 header file
27014 directory in addition to nspr.
27016 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
27019 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27020 * configure: Regenerate.
27021 * crypt/Makefile (nss-cpp-flags): New variable.
27022 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27023 (CPPFLAGS-md5-crypt.c): Use it.
27024 * scripts/check-local-headers.sh: Ignore nspr header file
27027 2017-10-04 Andreas Schwab <schwab@suse.de>
27029 * nis/Makefile (services): Remove compat.
27030 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27031 ($(objpfx)libnss_compat.so): Remove rule.
27032 * nis/Versions (libnss_compat): Remove.
27033 * nss/Makefile (services): Add compat.
27034 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27035 * nss/Versions (libnss_compat): Define.
27036 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27037 Don't include <rpc/types.h>. Replace bool_t by bool.
27038 * nss/nss_compat/compat-initgroups.c: Likewise.
27039 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27040 instead of <rpcsrv/ypclnt.h>.
27041 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27042 yp_get_default_domain.
27043 * nss/nss_compat/compat-pwd.c: Likewise.
27044 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27045 yp_get_default_domain.
27046 * nss/nss_compat/nisdomain.c: New file.
27047 * nss/nss_compat/nisdomain.h: Likewise.
27049 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27052 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27053 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27055 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27058 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27059 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27061 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27063 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27064 "movl main@GOTOFF(%ebx), %eax".
27066 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27068 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27069 allow undefined _DYNAMIC in PIE libc.a.
27070 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27073 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27075 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27078 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27080 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27083 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27085 * math/test-math-iscanonical.cc (error): Replace bool with int.
27087 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27089 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27090 (modf): Define using libm_alias_double, only if [!__modf].
27091 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27092 <libm-alias-double.h>.
27093 (modf): Define using libm_alias_double, only if [!__modf].
27094 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27095 compat symbol here.
27096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27097 (weak_alias): Do not undefine and redefine.
27098 (strong_alias): Likewise.
27099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27100 (weak_alias): Likewise.
27101 (strong_alias): Likewise.
27103 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27104 (logb): Define using libm_alias_double, only if [!__logb].
27105 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27106 <libm-alias-double.h>.
27107 (logb): Define using libm_alias_double, only if [!__logb].
27108 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27110 (weak_alias): Do not undefine and redefine.
27111 (strong_alias): Likewise.
27112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27113 (weak_alias): Likewise.
27114 (strong_alias): Likewise.
27116 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27118 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27119 Check SHARED instead PIC.
27121 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27123 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27124 [!__fmaf] (fmaf): Define using libm_alias_float.
27126 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27127 (frexp): Define using libm_alias_double.
27128 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27129 <libm-alias-double.h>.
27130 (frexp): Define using libm_alias_double.
27131 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27132 compat symbol here.
27134 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27137 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27138 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27139 (CFLAGS-test-math-iscanonical.cc): New variable.
27140 * math/test-math-iscanonical.cc: New file.
27141 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27142 Provide a C++ implementation based on function overloading,
27143 rather than using __MATH_TG, which uses C-only builtins.
27144 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27146 * sysdeps/powerpc/powerpc64le/Makefile
27147 (CFLAGS-test-math-iscanonical.cc): New variable.
27149 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27151 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27152 (ceil): Define using libm_alias_double.
27153 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27154 (floor): Define using libm_alias_double.
27155 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27156 <libm-alias-double.h>.
27157 (llround): Define using libm_alias_double.
27158 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27159 <libm-alias-double.h>.
27160 (lround): Define using libm_alias_double.
27161 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27162 <libm-alias-double.h>.
27163 (nearbyint): Define using libm_alias_double.
27164 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27165 <libm-alias-double.h>.
27166 (remquo): Define using libm_alias_double.
27167 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27168 (rint): Define using libm_alias_double.
27169 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27170 (round): Define using libm_alias_double.
27171 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27172 (trunc): Define using libm_alias_double.
27173 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27174 <libm-alias-double.h>.
27175 (ceil): Define using libm_alias_double.
27176 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27177 <libm-alias-double.h>.
27178 (floor): Define using libm_alias_double.
27179 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27180 <libm-alias-double.h>.
27181 (llround): Define using libm_alias_double.
27182 [_LP64] (lround): Likewise.
27183 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27184 <libm-alias-double.h>.
27185 [!_LP64] (lround): Define using libm_alias_double.
27186 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27187 <libm-alias-double.h>.
27188 (nearbyint): Define using libm_alias_double.
27189 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27190 <libm-alias-double.h>.
27191 (remquo): Define using libm_alias_double.
27192 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27193 <libm-alias-double.h>.
27194 (rint): Define using libm_alias_double.
27195 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27196 <libm-alias-double.h>.
27197 (round): Define using libm_alias_double.
27198 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27199 <libm-alias-double.h>.
27200 (trunc): Define using libm_alias_double.
27201 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27202 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27203 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27204 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27205 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27206 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27207 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27208 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27209 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27211 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27213 * math/w_remainder.c: New file.
27214 * math/w_remainderf.c: New file.
27215 * math/w_remainderl.c: New file.
27217 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27219 * elf/rtld.c (BOOTSTRAP_MAP): New.
27220 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27221 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27223 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27225 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27228 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27230 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27231 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27232 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27233 rtld_hidden_data_ver): Define to empty.
27234 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27235 __assert_perror_fail): Likewise.
27236 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27237 (__rewinddir): Likewise.
27238 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27239 (__profile_frequency): Likewise.
27240 * include/setjmp.h (__sigsetjmp): Likewise.
27241 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27242 __libc_sigaction): Likewise.
27243 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27244 not set hidden attribute.
27245 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27246 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27247 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27248 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27249 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27250 __fxstatat64): Likewise.
27251 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27252 (__uname): Likewise.
27253 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27254 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27255 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27256 (NO_RTLD_HIDDEN): Set.
27257 * sysdeps/mach/hurd/configure: Refresh.
27258 * config.h.in: Refresh.
27260 2017-10-02 Joseph Myers <joseph@codesourcery.com>
27262 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27263 (atan): Define using libm_alias_double.
27264 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27265 (tan): Define using libm_alias_double.
27266 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27267 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
27269 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
27270 define as weak alias of __atan. Do not define any aliases if
27272 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
27273 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
27274 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
27275 as weak alias of __tan. Do not define any aliases if [__tan].
27276 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
27277 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
27278 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
27280 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
27281 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
27282 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
27283 and define as weak alias of __atan.
27284 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
27286 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
27287 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
27288 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
27289 define as weak alias of __tan.
27291 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27293 * math/w_lgamma.c: New file.
27294 * math/w_lgammaf.c: New file.
27295 * math/w_lgammal.c: New file.
27297 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27299 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
27300 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
27301 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
27302 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
27303 * sysdeps/ieee754/flt-32/w_logf.c: New file.
27304 * sysdeps/ieee754/flt-32/w_powf.c: New file.
27305 * sysdeps/i386/fpu/w_log2f.c: New file.
27306 * sysdeps/i386/fpu/w_logf.c: New file.
27307 * sysdeps/i386/fpu/w_powf.c: New file.
27308 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
27309 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
27310 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
27312 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27313 H.J. Lu <hongjiu.lu@intel.com>
27315 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
27316 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
27317 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
27318 * sysdeps/ieee754/flt-32/w_expf.c: New file.
27319 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
27321 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
27322 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
27323 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
27324 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
27325 * sysdeps/i386/fpu/w_exp2f.c: New file.
27326 * sysdeps/i386/fpu/w_expf.c: New file.
27327 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
27328 * sysdeps/x86_64/fpu/w_expf.c: New file.
27330 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27332 * math/Versions (logf): New libm symbol at GLIBC_2.27.
27335 * math/w_log2f.c: New file.
27336 * math/w_logf.c: New file.
27337 * math/w_powf.c: New file.
27338 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
27339 * math/w_logf_compat.c (__logf_compat): Likewise.
27340 * math/w_powf_compat.c (__powf_compat): Likewise.
27341 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
27342 * sysdeps/ia64/fpu/e_logf.S: Likewise.
27343 * sysdeps/ia64/fpu/e_powf.S: Likewise.
27344 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27345 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27346 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27347 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27348 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27349 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27350 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27351 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27352 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27353 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27354 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27355 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27364 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27365 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27366 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27367 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27368 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27373 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27374 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27375 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27377 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27379 * sysdeps/powerpc/powerpc64/multiarch/Makefile
27380 (sysdep_routines): Add memrchr_power8.
27381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27382 (memrchr): Add __memrchr_power8 to list of memrchr functions.
27383 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
27385 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27386 (memrchr): Add __memrchr_power8 to ifunc list.
27387 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27389 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27392 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27393 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27395 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27396 (__posix_fallocate64_l64): Likewise.
27398 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27401 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27402 (__sched_setaffinity_new): Add libc_hidden_proto and
27405 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27408 * include/glob.h (__glob64): Add libc_hidden_proto.
27409 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27412 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27415 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27418 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27421 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27423 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27426 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27429 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27432 * csu/version.c (__libc_print_version): Add attribute_hidden.
27434 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27437 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27439 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27442 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27444 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27447 * nscd/nscd_helper.c (__nis_hash): New prototype.
27449 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27452 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27453 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27455 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27456 * termios/tcgetattr.c (__tcgetattr): Likewise.
27458 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27461 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
27462 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
27463 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
27464 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
27465 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
27467 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27470 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
27472 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27475 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
27476 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
27478 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27481 * intl/hash-string.h (__hash_string): Add attribute_hidden.
27483 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27486 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
27487 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
27489 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27492 * include/ifreq.h: New file.
27493 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
27494 (__ifreq): Likewise.
27495 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
27496 (__ifreq): Likewise.
27498 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27501 * include/idna.h: New file.
27502 * inet/getnameinfo.c: Include <idna.h> instead of
27504 (__idna_to_unicode_lzlz): Removed.
27505 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
27507 (__idna_to_ascii_lz): Removed.
27508 (__idna_to_unicode_lzlz): Likewise.
27510 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27513 * include/plural-exp.h: New file.
27514 * intl/plural-exp.c: Include <plural-exp.h> instead of
27517 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27520 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
27521 "getsourcefilter.h".
27522 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
27523 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
27524 "getsourcefilter.h".
27525 (__get_sol): Removed.
27527 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27530 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
27532 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
27534 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27537 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
27540 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27543 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
27545 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27548 * include/search.h (__tdestroy): Add libc_hidden_proto.
27549 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
27551 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27554 * include/assert.h (__assert_fail_base): Add attribute_hidden.
27556 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27559 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
27562 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27565 * include/signal.h (__kill): Add libc_hidden_proto.
27566 (__sigblock): Likewise.
27567 (__sigprocmask): Likewise.
27568 (__sigaltstack): Likewise.
27569 * signal/kill.c (__kill): Add libc_hidden_def.
27570 * signal/sigblock.c (__sigblock): Likewise.
27571 * signal/sigprocmask.c (__sigprocmask): Likewise.
27572 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
27573 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27574 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27575 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27576 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
27578 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27580 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27581 (__sigprocmask): Likewise.
27582 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
27584 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27585 (__sigprocmask): Likewise.
27586 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27589 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27592 * include/string.h (__strsep): Add libc_hidden_proto.
27593 * string/strsep.c (__strsep): Add libc_hidden_def.
27595 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27598 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
27600 (__spawni): Likewise.
27602 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27605 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
27606 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
27609 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27612 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
27614 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27617 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
27618 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
27619 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
27620 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
27621 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
27623 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
27624 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
27626 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27629 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
27630 (__dcigettext): Likewise.
27632 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27635 * include/sys/sysinfo.h (__get_nprocs_conf): Add
27637 (__get_nprocs): Likewise.
27638 (__get_phys_pages): Likewise.
27639 (__get_avphys_pages): Likewise.
27640 (__get_child_max): Add attribute_hidden.
27641 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
27642 (__get_nprocs): Likewise.
27643 (__get_phys_pages): Likewise.
27644 (__get_avphys_pages): Likewise.
27645 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
27647 (__get_nprocs): Likewise.
27648 (__get_phys_pages): Likewise.
27649 (__get_avphys_pages): Likewise.
27650 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
27652 (__get_nprocs_conf): Likewise.
27653 (__get_phys_pages): Likewise.
27654 (__get_avphys_pages): Likewise.
27656 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27659 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
27661 (__netlink_close): Likewise.
27662 (__netlink_free_handle): Likewise.
27663 (__netlink_request): Likewise.
27665 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27668 * include/rpc/rpc.h (__rpc_thread_variables): Add
27670 (__rpc_thread_svc_cleanup): Likewise.
27671 (__rpc_thread_clnt_cleanup): Likewise.
27672 (__rpc_thread_key_cleanup): Likewise.
27674 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27677 * include/sys/uio.h (__readv): Add libc_hidden_proto.
27678 (__writev): Likewise.
27679 * misc/readv.c (__readv): Add libc_hidden_def.
27680 * misc/writev.c (__writev): Likewise.
27681 * sysdeps/posix/readv.c (__readv): Likewise.
27682 * sysdeps/posix/writev.c (__writev): Likewise.
27683 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
27684 (__readv): Likewise.
27685 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
27686 (__writev): Likewise.
27688 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27691 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
27692 (__regcomp): Add libc_hidden_proto.
27693 (__regexec): Likewise.
27694 (__regfree): Likewise.
27695 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
27696 (__regfree): Likewise.
27697 * posix/regexec.c (__regexec): Likewise.
27699 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27702 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
27703 (__getutent): Likewise.
27704 (__getutid): Likewise.
27705 (__getutline): Likewise.
27706 (__pututline): Likewise.
27707 (__getutent_r): Likewise.
27708 (__getutid_r): Likewise.
27709 (__getutline_r): Likewise.
27710 (__utmpname): Add attribute_hidden.
27711 (__setutent): Likewise.
27712 (__endutent): Likewise.
27713 * login/getutent.c (__getutent): Add libc_hidden_def.
27714 * login/getutent_r.c (__getutent_r): Likewise.
27715 (__pututline): Likewise.
27716 * login/getutid.c (__getutid): Likewise.
27717 * login/getutid_r.c (__getutid_r): Likewise.
27718 * login/getutline.c (__getutline): Likewise.
27719 * login/getutline_r.c (__getutline_r): Likewise.
27720 * login/updwtmp.c (__updwtmp): Likewise.
27722 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27725 * include/dirent.h (__opendir): Always add attribute_hidden.
27726 (__fdopendir): Likewise.
27727 (__closedir): Likewise.
27728 (__readdir): Likewise.
27729 (__readdir64): Add libc_hidden_proto.
27730 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
27731 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
27732 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
27733 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
27736 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27739 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
27740 * include/netdb.h (__gethostbyaddr_r): Likewise.
27741 (__gethostbyname_r): Likewise.
27742 (__gethostbyname2_r): Likewise.
27743 (__getnetbyaddr_r): Likewise.
27744 (__getnetbyname_r): Likewise.
27745 (__getservbyname_r): Likewise.
27746 (__getservbyport_r): Likewise.
27747 (__getprotobyname_r): Likewise.
27748 (__getprotobynumber_r): Likewise.
27749 (__getnetgrent_r): Likewise.
27750 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
27751 (__getrpcbynumber_r): Likewise.
27752 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
27754 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27757 * include/stdio.h (__fcloseall): Add attribute_hidden.
27758 (__getline): Likewise.
27759 (__path_search): Likewise.
27760 (__gen_tempname): Likewise.
27761 (__libc_message): Likewise.
27762 (__flockfile): Likewise.
27763 (__funlockfile): Likewise.
27764 (__fxprintf): Likewise.
27765 (__fxprintf_nocancel): Likewise.
27767 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27770 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
27771 (__sgetsgent_r): Likewise.
27773 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27776 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
27777 (__statfs64): Likewise.
27778 (__fstatfs64): Likewise.
27779 * include/sys/statvfs.h (__statvfs64): Likewise.
27780 (__fstatvfs64): Likewise.
27781 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
27782 (__statfs_filesize_max): Likewise.
27783 (__statfs_symlinks): Likewise.
27784 (__statfs_chown_restricted): Likewise.
27786 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27789 * include/time.h (__tzstring): Add attribute_hidden.
27790 (__tzfile_read): Likewise.
27791 (__tzfile_compute): Likewise.
27792 (__tzfile_default): Likewise.
27793 (__tzset_parse_tz): Likewise.
27794 (__offtime): Likewise.
27795 (__asctime_r): Likewise.
27796 (__tzset): Likewise.
27797 (__tz_convert): Likewise.
27798 (__getdate_r): Likewise.
27799 (__getclktck): Likewise.
27801 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27804 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
27805 (__nscd_unmap): Likewise.
27806 (__nscd_cache_search): Likewise.
27807 (__nscd_get_nl_timestamp): Likewise.
27808 (__nscd_getpwnam_r): Likewise.
27809 (__nscd_getpwuid_r): Likewise.
27810 (__nscd_getgrnam_r): Likewise.
27811 (__nscd_getgrgid_r): Likewise.
27812 (__nscd_gethostbyname_r): Likewise.
27813 (__nscd_gethostbyname2_r): Likewise.
27814 (__nscd_gethostbyaddr_r): Likewise.
27815 (__nscd_getai): Likewise.
27816 (__nscd_getgrouplist): Likewise.
27817 (__nscd_getservbyname_r): Likewise.
27818 (__nscd_getservbyport_r): Likewise.
27819 (__nscd_innetgr): Likewise.
27820 (__nscd_setnetgrent): Likewise.
27822 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27825 * include/gmp.h: Declare internal functions only if _ISOMAC is
27827 (__mpn_extract_double): Add attribute_hidden.
27828 (__mpn_extract_long_double): Likewise.
27829 (__mpn_extract_float128): Likewise.
27830 (__mpn_construct_float): Likewise.
27831 (__mpn_construct_double): Likewise.
27832 (__mpn_construct_long_double): Likewise.
27833 (__mpn_construct_float128): Likewise.
27834 (mpn_add_1): Likewise.
27835 (mpn_addmul_1): Likewise.
27836 (mpn_add_n): Likewise.
27837 (mpn_cmp): Likewise.
27838 (mpn_divrem): Likewise.
27839 (mpn_lshift): Likewise.
27840 (mpn_mul): Likewise.
27841 (mpn_mul_1): Likewise.
27842 (mpn_rshift): Likewise.
27843 (mpn_sub_1): Likewise.
27844 (mpn_submul_1): Likewise.
27845 (mpn_sub_n): Likewise.
27847 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27850 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27851 (__wcscat): Likewise.
27852 (__btowc): Likewise.
27853 (__wcrtomb): Likewise.
27854 (__mbsrtowcs): Likewise.
27855 (__wcsrtombs): Likewise.
27856 (__mbsnrtowcs): Likewise.
27857 (__wcsnrtombs): Likewise.
27858 (__wcsncpy): Likewise.
27859 (__wcpncpy): Likewise.
27860 (__wmemcpy): Likewise.
27861 (__wmempcpy): Likewise.
27862 (__wmemmove): Likewise.
27863 (__wcschrnul): Likewise.
27864 (__vfwscanf): Likewise.
27865 (__vswprintf): Likewise.
27866 (__fwprintf): Likewise.
27867 (__vfwprintf): Likewise.
27869 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27872 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27873 (__getgrgid_r): Likewise.
27874 (__getgrnam_r): Likewise.
27875 * include/pwd.h (__getpwuid_r): Likewise.
27876 (__getpwnam_r): Likewise.
27877 (__fgetpwent_r): Likewise.
27878 * include/shadow.h (__getspnam_r): Likewise.
27879 (__sgetspent_r): Likewise.
27880 (__fgetspent_r): Likewise.
27882 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27885 * include/unistd.h (__access): Add attribute_hidden.
27886 (__lseek64): Likewise.
27887 (__libc_pread64): Likewise.
27888 (__pipe2): Likewise.
27889 (__sleep): Likewise.
27890 (__chdir): Likewise.
27891 (__fchdir): Likewise.
27892 (__getcwd): Likewise.
27893 (__rmdir): Likewise.
27894 (__execvpe): Likewise.
27895 (__execve): Likewise.
27896 (__setsid): Likewise.
27897 (__getuid): Likewise.
27898 (__geteuid): Likewise.
27899 (__getgid): Likewise.
27900 (__getegid): Likewise.
27901 (__getgroups): Likewise.
27902 (__group_member): Likewise.
27903 (__ttyname_r): Likewise.
27904 (__isatty): Likewise.
27905 (__readlink): Likewise.
27906 (__unlink): Likewise.
27907 (__gethostname): Likewise.
27908 (__profil): Likewise.
27909 (__getdtablesize): Likewise.
27911 (__ftruncate): Likewise.
27912 (__ftruncate64): Likewise.
27914 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27917 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27918 * argp/argp-fs-xinl.c: Likewise.
27919 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27920 * argp/argp-parse.c: Include <argp.h>.
27921 * argp/argp-xinl.c: Likewise.
27922 * include/argp-fmtstream.h: New file.
27923 * include/argp.h (__argp_error): Add attribute_hidden.
27924 (__argp_failure): Likewise.
27925 (__argp_input): Likewise.
27926 (__argp_state_help): Likewise.
27928 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27931 * include/wchar.h (____wcstof_l_internal): New prototype.
27932 (____wcstod_l_internal): Likewise.
27933 (____wcstold_l_internal): Likewise.
27934 (____wcstol_l_internal): Likewise.
27935 (____wcstoul_l_internal): Likewise.
27936 (____wcstoll_l_internal): Likewise.
27937 (____wcstoull_l_internal): Likewise.
27938 (____wcstof128_l_internal): Likewise.
27939 * sysdeps/ieee754/float128/wcstof128.c
27940 (____wcstof128_l_internal): Removed.
27941 * sysdeps/ieee754/float128/wcstof128_l.c
27942 (____wcstof128_l_internal): Likewise.
27943 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27944 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27945 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27946 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27947 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27948 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27949 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27950 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27951 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27952 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27954 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27957 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27958 instead of <sys/statvfs.h>.
27959 (__internal_statvfs): Removed.
27960 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27961 instead of <sys/statvfs.h>.
27962 (__internal_statvfs64): Removed.
27963 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27964 "internal_statvfs.h" instead of <sys/statvfs.h>.
27965 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27966 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27967 instead of <sys/statvfs.h>.
27968 (__internal_statvfs): Removed.
27969 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27970 instead of <sys/statvfs.h>.
27971 (__internal_statvfs64): Removed.
27973 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27976 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27977 (__gconv_close): Likewise.
27978 (__gconv): Likewise.
27979 (__gconv_find_transform): Likewise.
27980 (__gconv_lookup_cache): Likewise.
27981 (__gconv_compare_alias_cache): Likewise.
27982 (__gconv_load_cache): Likewise.
27983 (__gconv_get_path): Likewise.
27984 (__gconv_close_transform): Likewise.
27985 (__gconv_release_cache): Likewise.
27986 (__gconv_find_shlib): Likewise.
27987 (__gconv_release_shlib): Likewise.
27988 (__gconv_get_builtin_trans): Likewise.
27989 (__gconv_compare_alias): Likewise.
27990 * include/dlfcn.h (_dlerror_run): Likewise.
27991 * include/stdio.h (__fortify_fail_abort): Likewise.
27992 * include/time.h (__tz_compute): Likewise.
27993 (__strptime_internal): Likewise.
27994 * intl/gettextP.h (_nl_find_domain): Likewise.
27995 (_nl_load_domain): Likewise.
27996 (_nl_find_msg): Likewise.
27997 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27998 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27999 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28000 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28001 (__gai_find_request): Likewise.
28002 (__gai_remove_request): Likewise.
28003 (__gai_notify): Likewise.
28004 (__gai_notify_only): Likewise.
28005 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28006 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28007 (_dl_non_dynamic_init): Likewise.
28008 (_dl_aux_init): Likewise.
28009 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28010 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28012 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28013 (__wcsmbs_clone_conv): Likewise.
28014 (__wcsmbs_named_conv): Likewise.
28016 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28019 * include/stdlib.h (__random): Add attribute_hidden.
28020 (__random_r): Likewise.
28021 (__srandom_r): Likewise.
28022 (__initstate_r): Likewise.
28023 (__setstate_r): Likewise.
28024 (__erand48_r): Likewise.
28025 (__nrand48_r): Likewise.
28026 (__jrand48_r): Likewise.
28027 (__srand48_r): Likewise.
28028 (__seed48_r): Likewise.
28029 (__lcong48_r): Likewise.
28030 (__drand48_iterate): Likewise.
28031 (__setenv): Likewise.
28032 (__unsetenv): Likewise.
28033 (__clearenv): Likewise.
28034 (__ptsname_r): Likewise.
28035 (__posix_openpt): Likewise.
28036 (__add_to_environ): Likewise.
28037 (__realpath): Add libc_hidden_proto.
28038 (__ecvt_r): Likewise.
28039 (__fcvt_r): Likewise.
28040 (__qecvt_r): Likewise.
28041 (__qfcvt_r): Likewise.
28042 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28043 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28045 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28048 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28049 * include/time.h (__mktime_internal): Likewise.
28050 * libio/iolibio.h (__fopen_internal): Likewise.
28052 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
28054 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28056 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28057 Correct offset used to restore PIC register.
28059 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
28062 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28063 code to load address of __getcontext_ret when generating PIC code.
28065 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28067 * elf/Makefile (tests-static-internal): Add
28068 tst-tls1-static-non-pie.
28069 (LDFLAGS-tst-tls1-static-non-pie): New.
28070 * elf/tst-tls1-static-non-pie.c: New file.
28072 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28074 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28075 (asinh): Define using libm_alias_double.
28076 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28077 (cbrt): Define using libm_alias_double.
28078 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28079 <libm-alias-double.h>.
28080 (copysign): Define using libm_alias_double.
28081 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28082 (erf): Define using libm_alias_double.
28084 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28085 (expm1): Define using libm_alias_double.
28086 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28087 (fabs): Define using libm_alias_double.
28088 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28090 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28091 <libm-alias-double.h>.
28092 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28094 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28095 <libm-alias-double.h>.
28096 (getpayload): Define using libm_alias_double.
28097 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28098 <libm-alias-double.h>.
28099 (llrint): Define using libm_alias_double.
28100 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28101 (lrint): Define using libm_alias_double.
28102 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28103 <libm-alias-double.h>.
28104 (nextup): Define using libm_alias_double.
28105 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28106 <libm-alias-double.h>.
28107 (roundeven): Define using libm_alias_double.
28108 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28110 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28111 <libm-alias-double.h>.
28112 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28113 using libm_alias_double.
28114 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28115 (cos): Define using libm_alias_double.
28117 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28118 <libm-alias-double.h>.
28119 (sincos): Define using libm_alias_double.
28120 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28121 (tanh): Define using libm_alias_double.
28122 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28123 <libm-alias-double.h>.
28124 (totalorder): Define using libm_alias_double.
28125 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28126 <libm-alias-double.h>.
28127 (totalordermag): Define using libm_alias_double.
28128 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28130 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28132 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28133 <libm-alias-double.h>.
28134 (getpayload): Define using libm_alias_double.
28135 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28136 <libm-alias-double.h>.
28137 (roundeven): Define using libm_alias_double.
28138 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28139 <libm-alias-double.h>.
28140 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28141 <libm-alias-double.h>.
28142 (totalorder): Define using libm_alias_double.
28143 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28144 <libm-alias-double.h>.
28145 (totalordermag): Define using libm_alias_double.
28146 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28147 libc compat symbol here.
28148 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28149 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28150 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28151 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28152 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28153 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28154 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28155 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28156 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28157 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28159 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28161 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28162 _dl_relocate_static_pie instead of _dl_start to compute load
28163 address in static PIE. Return 0 if _DYNAMIC is undefined for
28166 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28168 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28169 _DYNAMIC is undefined for static executable.
28171 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28173 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28175 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28177 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28179 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28181 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28182 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28183 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28184 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28185 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28186 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28187 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28188 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28189 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28190 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28191 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28192 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28193 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28194 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28195 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28196 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28197 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28199 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28201 * math/bits/cmathcalls.h (cimag): Remove inline.
28202 (creal): Remove inline.
28203 (conj): Remove inline.
28205 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28207 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28208 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28209 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28210 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28211 (issignalingf_inline): Likewise.
28212 (POWF_LOG2_TABLE_BITS): Likewise.
28213 (POWF_LOG2_POLY_ORDER): Likewise.
28214 (POWF_SCALE_BITS): Likewise.
28215 (POWF_SCALE): Likewise.
28216 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28217 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28218 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28220 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28222 * math/Makefile (type-float-routines): Add e_log2f_data.
28223 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28224 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28225 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28226 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28227 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28228 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28229 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28231 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28233 * math/Makefile (type-float-routines): Add e_logf_data.
28234 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28235 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28236 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28237 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28238 * sysdeps/i386/fpu/e_logf_data.c: New file.
28239 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28240 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28242 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28244 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28245 undefined _DYNAMIC in PIE libc.a.
28246 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28249 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28251 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28252 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28253 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28254 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28255 (__signbit): Remove.
28256 (__signbitl): Remove.
28257 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28258 (__signbit): Remove.
28259 (__signbitl): Remove.
28260 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28261 (__signbit): Remove.
28262 (__signbitl): Remove.
28263 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28264 (__signbit): Remove.
28265 (__signbitl): Remove.
28266 * sysdeps/tile/bits/mathinline.h: Delete file.
28267 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
28268 (__signbit): Remove.
28269 (__signbitl): Remove.
28271 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28273 * math/math.h: Improve handling of C99 isgreater macros.
28274 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
28275 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28276 * sysdeps/powerpc/bits/mathinline.h: Likewise.
28277 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28278 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
28280 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
28282 * sysdeps/aarch64/libm-test-ulps: Update.
28284 2017-09-28 Joseph Myers <joseph@codesourcery.com>
28287 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28288 math_opt_barrier on argument when doing arithmetic on it.
28289 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28290 Likewise. Use math_force_eval not math_opt_barrier after
28292 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
28293 math_opt_barrier on argument when doing arithmetic on it.
28294 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28297 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
28299 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
28301 (__freeifaddrs): Likewise.
28303 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28305 * include/dirent.h (__dirfd): New declaration.
28306 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
28308 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
28309 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
28310 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
28311 * include/unistd.h (__revoke): New declaration.
28312 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
28314 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28315 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
28317 * include/dirent.h (__seekdir): New declaration.
28318 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
28319 redefine as weak alias.
28320 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
28322 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
28323 and use libc_hidden_def on them.
28324 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
28326 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
28327 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
28328 instead of getifaddrs and freeifaddrs.
28330 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28333 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
28334 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
28335 (__dso_handle): Remove declaration.
28336 * dlfcn/tstatexit.c (__dso_handle): Removed.
28337 (main): Don't check __dso_handle.
28338 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
28339 (main): Don't check __dso_handle.
28340 * include/dso_handle.h: New file.
28341 * malloc/mtrace.c: Include <dso_handle.h>.
28342 (mtrace): Pass __dso_handle directly.
28343 * nptl/pthread_atfork.c: Include <dso_handle.h>.
28344 (__dso_handle): Remove declaration.
28345 (__pthread_atfork): Pass __dso_handle directly.
28346 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
28347 (__dso_handle): Removed.
28348 * posix/wordexp-test.c: Include <dso_handle.h>.
28349 (__dso_handle): Remove declaration.
28350 (__app_register_atfork): Pass __dso_handle directly.
28351 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
28352 (__dso_handle): Remove declaration.
28353 (at_quick_exit): Pass __dso_handle directly.
28354 * stdlib/atexit.c: Include <dso_handle.h>.
28355 (__dso_handle): Remove declaration.
28356 (atexit): Pass __dso_handle directly.
28357 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
28358 (__dso_handle): Removed.
28360 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28362 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
28365 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
28367 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
28368 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
28369 values to correct default value for given type.
28371 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28374 * elf/Makefile (tests): Add tst-debug1.
28375 ($(objpfx)tst-debug1): New.
28376 ($(objpfx)tst-debug1.out): Likewise.
28377 ($(objpfx)tst-debug1mod1.so): Likewise.
28378 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
28379 with p_filesz == 0.
28380 * elf/tst-debug1.c: New file.
28382 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28384 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28385 Define using __ifunc.
28387 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28389 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28392 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28395 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28397 2017-09-26 Florian Weimer <fweimer@redhat.com>
28399 * resolv/Makefile (tests-internal): Fix typo in comment.
28401 2017-09-26 Florian Weimer <fweimer@redhat.com>
28403 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28405 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28407 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28408 Use an union instead of a max_align_t array for __space,
28409 so that __space is the same size on all platforms.
28410 * malloc/scratch_buffer_grow_preserve.c
28411 (__libc_scratch_buffer_grow_preserve): Likewise.
28414 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28416 * posix/Makefile (routines): Add glob-lstat-compat and
28417 glob64-lstat-compat.
28418 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28419 * posix/glob-lstat-compat.c: New file.
28420 * posix/glob64-lstat-compat.c: Likewise.
28421 * posix/tst-glob_lstat_compat.c: Likewise.
28422 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28423 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28424 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28425 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28427 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28428 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28429 * posix/glob.c (glob_lstat): New function.
28430 (glob): Rename to __glob and add versioned symbol to 2.27.
28431 (glob_in_dir): Use glob_lstat.
28432 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28433 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28434 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28436 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28437 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28438 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28439 gl_lstat on glob call.
28440 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28441 and glob64 symbols.
28442 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28443 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28444 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28445 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28446 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28447 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28448 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28449 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28450 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28451 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28452 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28453 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28456 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28458 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28459 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28460 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
28461 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28462 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
28464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
28465 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28466 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
28467 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
28469 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
28471 * configure.ac (AS): Require binutils 2.25 or later.
28472 * configure: Regenerated.
28474 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28477 * stdlib/test-atexit-race-common.c (do_test): Minimize required
28480 2017-09-25 DJ Delorie <dj@redhat.com>
28483 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
28486 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
28488 * sysdeps/ieee754/dbl-64/sincos32.h
28489 [SINCCOS32_H]: Remove define.
28490 [SINCOS32_H]: Define.
28492 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28494 * math/Versions (expf): New libm symbol at GLIBC_2.27.
28496 * math/w_exp2f.c: New file.
28497 * math/w_expf.c: New file.
28498 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
28499 * math/w_expf_compat.c (__expf_compat): Likewise.
28500 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
28501 * sysdeps/ia64/fpu/e_expf.S: Likewise.
28502 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28503 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28504 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28505 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28506 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28507 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28508 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28509 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28510 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28511 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28512 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28513 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28522 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28523 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28524 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28525 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28526 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28531 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28532 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28533 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28535 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28537 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
28538 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
28539 (roundtoint, converttoint): Likewise.
28540 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
28541 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
28542 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
28543 * sysdeps/ieee754/flt-32/math_config.h: New file.
28544 * sysdeps/ieee754/flt-32/math_errf.c: New file.
28545 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
28546 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
28547 * sysdeps/i386/fpu/math_errf.c: New file.
28548 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
28549 * sysdeps/ia64/fpu/math_errf.c: New file.
28550 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
28551 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
28553 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
28555 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
28556 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
28557 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
28558 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
28559 to make sure that these symbols are defined.
28560 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
28562 (__need_NULL): Do not define.
28563 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
28565 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
28566 CMGROUP_MAX, cmsgcred): Do not define.
28567 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
28569 * bits/socket.h: Likewise.
28570 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
28571 __gettimeofday instead of gettimeofday.
28572 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
28573 instead of settimeofday.
28575 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28577 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
28578 (asinhf): Define using libm_alias_float.
28579 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
28580 (atanf): Define using libm_alias_float.
28581 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
28582 (cbrtf): Define using libm_alias_float.
28583 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
28584 (ceilf): Define using libm_alias_float.
28585 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
28586 <libm-alias-float.h>.
28587 (copysignf): Define using libm_alias_float.
28588 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
28589 (cosf): Define using libm_alias_float.
28590 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
28591 (erff): Define using libm_alias_float.
28593 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
28594 (expm1f): Define using libm_alias_float.
28595 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
28596 (fabsf): Define using libm_alias_float.
28597 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
28598 (floorf): Define using libm_alias_float.
28599 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
28600 (frexpf): Define using libm_alias_float.
28601 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
28603 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
28604 <libm-alias-float.h>.
28605 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
28607 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
28608 <libm-alias-float.h>.
28609 (getpayloadf): Define using libm_alias_float.
28610 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
28611 <libm-alias-float.h>.
28612 (llrintf): Define using libm_alias_float.
28613 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
28614 <libm-alias-float.h>.
28615 (llroundf): Define using libm_alias_float.
28616 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
28617 (logbf): Define using libm_alias_float.
28618 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
28619 (lrintf): Define using libm_alias_float.
28620 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
28621 (lroundf): Define using libm_alias_float.
28622 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
28623 (modff): Define using libm_alias_float.
28624 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
28625 <libm-alias-float.h>.
28626 (nearbyintf): Define using libm_alias_float.
28627 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
28628 <libm-alias-float.h>.
28629 (nextafterf): Define using libm_alias_float.
28630 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
28631 <libm-alias-float.h>.
28632 (nextupf): Define using libm_alias_float.
28633 * sysdeps/ieee754/flt-32/s_remquof.c: Include
28634 <libm-alias-float.h>.
28635 (remquof): Define using libm_alias_float.
28636 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
28637 (rintf): Define using libm_alias_float.
28638 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
28639 <libm-alias-float.h>.
28640 (roundevenf): Define using libm_alias_float.
28641 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
28642 (roundf): Define using libm_alias_float.
28643 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
28644 using libm_alias_float.
28645 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
28646 <libm-alias-float.h>.
28647 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
28648 Define using libm_alias_float.
28649 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
28650 <libm-alias-float.h>.
28651 (sincosf): Define using libm_alias_float.
28652 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
28653 (sinf): Define using libm_alias_float.
28654 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
28655 (tanf): Define using libm_alias_float.
28656 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
28657 (tanhf): Define using libm_alias_float.
28658 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
28659 <libm-alias-float.h>.
28660 (totalorderf): Define using libm_alias_float.
28661 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
28662 <libm-alias-float.h>.
28663 (totalordermagf): Define using libm_alias_float.
28664 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
28665 (truncf): Define using libm_alias_float.
28666 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
28668 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
28671 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28674 math/math.h: Let fpclassify use the builtin in C++ mode, even
28675 when optimazing for size.
28677 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28679 * csu/Makefile (generated): Do not add version-info.h.
28680 (before-compile): Likewise.
28681 (all-Banner-files): Remove variable.
28682 ($(objpfx)version-info.h): Remove rule.
28683 * csu/version.c (banner): Do not include "version-info.h".
28684 * libidn/Banner: Remove.
28685 * manual/contrib.texi (Simon Josefsson): New entry.
28687 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28689 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28690 Remove conditionals on LDBL_MANT_DIG.
28691 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28692 (__ieee754_lgammal_r): Likewise.
28694 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28696 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
28698 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
28699 _Float128 and L(). Replace _Float128 with long double and L(x)
28700 with xL, throughout the file.
28701 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28702 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28703 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28704 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28706 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28708 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
28709 sysdeps/ieee754/ldbl-128ibm.
28710 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
28711 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
28712 of including it. Keep _Float128 and L() intact. These will be
28713 reviewed by a separate patch.
28714 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28715 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28716 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28717 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28719 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
28722 (__finitef128): Define to __redirect___finitef128.
28723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
28724 (__isinff128): Define to __redirect___isinff128.
28725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
28726 (__isnanf128): Define to __redirect___isnanf128.
28728 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28730 * sysdeps/powerpc/powerpc64le/Makefile
28731 (CFLAGS-tst-strtod-nan-locale.c): New variable.
28732 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
28734 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
28735 Carlos O'Donell <carlos@redhat.com>
28738 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
28739 * stdlib/test-dlclose-exit-race.c: New file.
28740 * stdlib/test-dlclose-exit-race-helper.c: New file.
28741 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
28743 2017-09-21 Joseph Myers <joseph@codesourcery.com>
28745 * crypt/Banner: Remove file.
28746 * nptl/Banner: Likewise.
28747 * resolv/Banner: Likewise.
28748 * soft-fp/Banner: Likewise.
28749 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
28750 ($(objpfx)version.d): Remove dependency on banner.h.
28751 ($(objpfx)version.os): Likewise.
28752 * nptl/version.c (banner): Do not include banner.h.
28753 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
28754 Jelinek and BIND code.
28756 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28757 Carlos O'Donell <carlos@redhat.com>
28759 * support/xdlfcn.h: New file.
28760 * support/xdlfcn.c: New file.
28761 * support/Makefile (libsupport-routines): Add xdlfcn.
28762 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
28764 2017-09-20 Joseph Myers <joseph@codesourcery.com>
28767 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28768 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
28769 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
28770 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
28771 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
28772 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
28773 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
28774 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
28776 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28777 Ricky Zhou <rickyz@google.com>
28778 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
28781 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
28783 (__new_exitfn): Fail registration when we finished at_exit processing.
28784 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28785 * stdlib/on_exit.c (__on_exit): Likewise.
28786 * stdlib/exit.c (__exit_funcs_done): New variable.
28787 (__run_exit_handlers): Use __exit_funcs_lock.
28788 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
28790 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
28791 (test-cxa_atexit-race, test-on_exit-race): New tests.
28792 * stdlib/test-atexit-race-common.c: New file.
28793 * stdlib/test-atexit-race.c: New file.
28794 * stdlib/test-at_quick_exit-race.c: New file.
28795 * stdlib/test-cxa_atexit-race.c: New file.
28796 * stdlib/test-on_exit-race.c: New file.
28798 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
28800 * benchtests/Makefile: Add exp2f and log2f benchmarks.
28801 * benchtests/exp2f-inputs: Copy of expf-inputs.
28802 * benchtests/log2f-inputs: Copy of logf-inputs.
28804 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28806 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
28807 Explicitly take address of first element of array arguments in
28808 call to INLINE_SYSCALL.
28810 2017-09-19 Andreas Schwab <schwab@suse.de>
28813 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
28815 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
28817 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
28818 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
28819 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28820 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
28821 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28822 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28823 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28824 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28825 * posix/Makefile (tests): Add tst-fexecve.
28826 * posix/tst-fexecve.c: New file.
28828 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28830 * benchtests/Makefile: Add logf benchmark.
28831 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28833 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28835 * benchtests/Makefile: Add expf benchmark.
28836 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28838 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28840 * csu/Makefile: Add -funwind-tables to libc-start.c.
28841 * debug/Makefile: Add -funwind-tables to backtrace.c.
28842 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28843 * sysdeps/arm/Makefile: Likewise.
28844 * sysdeps/i386/Makefile: Likewise.
28845 * sysdeps/m68k/Makefile: Likewise.
28846 * sysdeps/mips/Makefile: Likewise.
28847 * sysdeps/nios2/Makefile: Likewise.
28848 * sysdeps/sh/Makefile: Likewise.
28849 * sysdeps/sparc/Makefile: Likewise.
28851 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28853 * benchtests/Makefile (bench-math): Add trunc and truncf.
28854 (CFLAGS-bench-trunc.c): New variable.
28855 (CFLAGS-bench-truncf.c): Likewise.
28856 * benchtests/trunc-inputs: New file.
28857 * benchtests/truncf-inputs: Likewise.
28859 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28861 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28863 2017-09-18 Joseph Myers <joseph@codesourcery.com>
28865 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28866 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28868 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28869 (exp10l): Define as weak alias.
28870 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28871 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28873 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28874 (remainderl): Define as weak alias.
28876 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28877 (fmal): Define using libm_alias_ldouble.
28878 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28879 (acoshl): Define using libm_alias_ldouble.
28880 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28881 (acosl): Define using libm_alias_ldouble.
28882 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28883 (asinl): Define using libm_alias_ldouble.
28884 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28885 (atan2l): Define using libm_alias_ldouble.
28886 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28887 (atanhl): Define using libm_alias_ldouble.
28888 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28889 (coshl): Define using libm_alias_ldouble.
28890 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28891 (exp10l): Define using libm_alias_ldouble.
28892 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28893 (exp2l): Define using libm_alias_ldouble.
28894 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28895 (expl): Define using libm_alias_ldouble.
28896 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28897 (fmodl): Define using libm_alias_ldouble.
28898 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28899 (hypotl): Define using libm_alias_ldouble.
28900 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28901 (j0l): Define using libm_alias_ldouble.
28903 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28904 (j1l): Define using libm_alias_ldouble.
28906 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28907 (jnl): Define using libm_alias_ldouble.
28909 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28910 (log10l): Define using libm_alias_ldouble.
28911 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28912 (log2l): Define using libm_alias_ldouble.
28913 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28914 (logl): Define using libm_alias_ldouble.
28915 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28916 (powl): Define using libm_alias_ldouble.
28917 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28918 (remainderl): Define using libm_alias_ldouble.
28919 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28920 (sinhl): Define using libm_alias_ldouble.
28921 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28922 (sqrtl): Define using libm_alias_ldouble.
28923 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28924 (tgammal): Define using libm_alias_ldouble.
28925 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28926 (exp10l): Do not use long_double_symbol here.
28927 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28928 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28929 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28930 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28931 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28932 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28933 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28934 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28935 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28936 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28937 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28938 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28939 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28940 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28941 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28942 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28943 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28944 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28945 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28946 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28947 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28948 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28950 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28952 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28953 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28955 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28957 * io/read.c (read): Add libc_hidden_weak.
28958 * sysdeps/mach/hurd/read.c (read): Likewise.
28959 * io/write.c (write): Likewise.
28960 * sysdeps/mach/hurd/write.c (write): Likewise.
28961 * io/pread64.c (__pread64): Likewise.
28962 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28963 * posix/pread64.c (__pread64): Add libc_hidden_def.
28965 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28967 * benchtests/scripts/compare_strings.py: New option -g.
28968 (draw_graph): Print a message that a graph is being generated.
28969 (process_results): Generate graph only if -g is passed.
28970 (main): Process option -g.
28972 * benchtests/scripts/compare_strings.py (process_results):
28973 Better spacing for output.
28975 * benchtests/scripts/compare_strings.py: Use argparse.
28976 * benchtests/README: Document existence of compare_strings.py.
28978 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28980 * math/s_fma.c: Include <libm-alias-double.h>.
28981 (fma): Define using libm_alias_double.
28982 * math/s_nextafter.c: Include <libm-alias-double.h>.
28983 (nextafter): Define using libm_alias_double.
28984 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28985 (acos): Define using libm_alias_double.
28986 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28987 (aocsh): Define using libm_alias_double.
28988 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28989 (asin): Define using libm_alias_double.
28990 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28991 (atan2): Define using libm_alias_double.
28992 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28993 (atanh): Define using libm_alias_double.
28994 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28995 (cosh): Define using libm_alias_double.
28996 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28997 (exp10): Define using libm_alias_double.
28998 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28999 (exp2): Define using libm_alias_double.
29000 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29001 (exp): Define using libm_alias_double.
29002 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29003 (fmod): Define using libm_alias_double.
29004 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29005 (hypot): Define using libm_alias_double.
29006 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29007 (j0): Define using libm_alias_double.
29009 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29010 (j1): Define using libm_alias_double.
29012 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29013 (jn): Define using libm_alias_double.
29015 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29016 (log10): Define using libm_alias_double.
29017 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29018 (log2): Define using libm_alias_double.
29019 * math/w_log_compat.c: Include <libm-alias-double.h>.
29020 (log): Define using libm_alias_double.
29021 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29022 (pow): Define using libm_alias_double.
29023 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29024 (remainder): Define using libm_alias_double.
29025 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29026 (sinh): Define using libm_alias_double.
29027 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29028 (sqrt): Define using libm_alias_double.
29029 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29030 (tgamma): Define using libm_alias_double.
29031 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29032 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29033 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29034 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29035 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29036 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29037 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29038 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29039 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29040 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29041 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29042 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29043 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29044 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29045 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29046 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29047 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29048 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29049 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29050 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29051 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29052 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29053 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29054 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29055 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29057 * math/e_acoshl.c: Remove.
29058 * math/e_acosl.c: Likewise.
29059 * math/e_asinl.c: Likewise.
29060 * math/e_atan2l.c: Likewise.
29061 * math/e_atanhl.c: Likewise.
29062 * math/e_coshl.c: Likewise.
29063 * math/e_expl.c: Likewise.
29064 * math/e_fmodl.c: Likewise.
29065 * math/e_gammal_r.c: Likewise.
29066 * math/e_hypotl.c: Likewise.
29067 * math/e_j0l.c: Likewise.
29068 * math/e_j1l.c: Likewise.
29069 * math/e_jnl.c: Likewise.
29070 * math/e_lgammal_r.c: Likewise.
29071 * math/e_log10l.c: Likewise.
29072 * math/e_log2l.c: Likewise.
29073 * math/e_logl.c: Likewise.
29074 * math/e_powl.c: Likewise.
29075 * math/e_rem_pio2l.c: Likewise.
29076 * math/e_sinhl.c: Likewise.
29077 * math/e_sqrtf128.c: Likewise.
29078 * math/e_sqrtl.c: Likewise.
29079 * math/k_cosl.c: Likewise.
29080 * math/k_sinl.c: Likewise.
29081 * math/k_tanl.c: Likewise.
29082 * math/s_asinhl.c: Likewise.
29083 * math/s_atanl.c: Likewise.
29084 * math/s_cbrtl.c: Likewise.
29085 * math/s_erfl.c: Likewise.
29086 * math/s_expm1l.c: Likewise.
29087 * math/s_log1pl.c: Likewise.
29088 * math/s_tanhl.c: Likewise.
29090 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29093 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29094 [$(subdir) = math] (sysdep_calls): New variable. Has the
29095 previous contents of sysdep_routines, but re-sorted..
29096 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29098 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29099 defined in sysdep_calls and replace by the respective m_* names.
29100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29101 (compat_symbol): Undefine to avoid duplicated compat symbols in
29104 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29106 * math/s_fmaf.c: Include <libm-alias-float.h>.
29107 (fmaf): Define using libm_alias_float.
29108 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29109 (acosf): Define using libm_alias_float.
29110 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29111 (acoshf): Define using libm_alias_float.
29112 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29113 (asinf): Define using libm_alias_float.
29114 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29115 (atan2f): Define using libm_alias_float.
29116 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29117 (atanhf): Define using libm_alias_float.
29118 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29119 (coshf): Define using libm_alias_float.
29120 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29121 (exp10f): Define using libm_alias_float.
29122 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29123 (fmodf): Define using libm_alias_float.
29124 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29125 (hypotf): Define using libm_alias_float.
29126 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29127 (j0f): Define using libm_alias_float.
29129 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29130 (j1f): Define using libm_alias_float.
29132 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29133 (jnf): Define using libm_alias_float.
29135 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29136 (log10f): Define using libm_alias_float.
29137 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29138 (log2f): Define using libm_alias_float.
29139 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29140 (logf): Define using libm_alias_float.
29141 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29142 (powf): Define using libm_alias_float.
29143 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29144 (remainderf): Define using libm_alias_float.
29145 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29146 (sinhf): Define using libm_alias_float.
29147 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29148 (sqrtf): Define using libm_alias_float.
29149 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29150 (tgammaf): Define using libm_alias_float.
29152 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29154 * include/math.h (roundeven): Change hidden_proto call to
29156 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29158 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29159 (y0): Rename to __y0 and define as weak alias.
29160 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29161 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29163 (y0f): Rename to __y0f and define as weak alias.
29164 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29166 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29167 (y1): Rename to __y1 and define as weak alias.
29168 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29169 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29171 (y1f): Rename to __y1f and define as weak alias.
29172 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29174 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29175 (yn): Rename to __yn and define as weak alias.
29176 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29177 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29179 (ynf): Rename to __ynf and define as weak alias.
29180 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29181 (fromfp): Define as weak alias.
29182 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29183 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29184 (fromfpx): Define as weak alias.
29185 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29186 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29187 __getpayload and define as weak alias.
29188 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29189 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29190 __roundeven and define as weak alias.
29191 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29192 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29194 (setpayload): Define as weak alias.
29195 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29196 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29198 (setpayloadsig): Define as weak alias.
29199 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29200 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29201 __totalorder and define as weak alias.
29202 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29203 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29204 to __totalordermag and define as weak alias.
29205 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29206 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29207 (ufromfp): Define as weak alias.
29208 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29209 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29211 (ufromfpx): Define as weak alias.
29212 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29213 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29214 Rename to __getpayload and define as weak alias.
29215 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29216 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29217 Rename to __roundeven and define as weak alias.
29218 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29219 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29220 Rename to __totalorder and define as weak alias.
29221 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29222 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29223 (totalordermag): Rename to __totalordermag and define as weak
29225 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29226 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29228 (__roundevenl): Likewise.
29229 (__totalorderl): Likewise.
29230 (__totalordermagl): Likewise
29231 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29233 (fromfpf128): Define as weak alias.
29234 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29236 (fromfpxf128): Define as weak alias.
29237 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29239 (setpayloadf128): Define as weak alias.
29240 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29241 __setpayloadsigf128.
29242 (setpayloadsigf128): Define as weak alias.
29243 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29245 (ufromfpf128): Define as weak alias.
29246 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29248 (ufromfpxf128): Define as weak alias.
29249 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29250 (fromfpf): Define as weak alias.
29251 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29253 (fromfpxf): Define as weak alias.
29254 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29255 __getpayloadf and define as weak alias.
29256 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29257 __roundevenf and define as weak alias.
29258 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29260 (setpayloadf): Define as weak alias.
29261 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29263 (setpayloadsigf): Define as weak alias.
29264 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29265 __totalorderf and define as weak alias.
29266 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29267 Rename to __totalordermagf and define as weak alias.
29268 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
29270 (ufromfpf): Define as weak alias.
29271 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
29273 (ufromfpxf): Define as weak alias.
29274 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
29276 (fromfpl): Define as weak alias.
29277 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
29279 (fromfpxl): Define as weak alias.
29280 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
29281 to __getpayloadl and define as weak alias.
29282 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
29283 __roundevenl and define as weak alias.
29284 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
29286 (setpayloadl): Define as weak alias.
29287 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
29289 (setpayloadsigl): Define as weak alias.
29290 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
29291 to __totalorderl and define as weak alias.
29292 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
29293 Rename to __totalordermagl and define as weak alias.
29294 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
29296 (ufromfpl): Define as weak alias.
29297 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
29299 (ufromfpxl): Define as weak alias.
29300 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
29302 (fromfpl): Define as weak alias.
29303 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
29305 (fromfpxl): Define as weak alias.
29306 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
29307 Rename to __getpayloadl and define as weak alias.
29308 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
29309 to __roundevenl and define as weak alias. Call __roundeven
29310 instead of roundeven.
29311 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
29313 (setpayloadl): Define as weak alias.
29314 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
29316 (setpayloadsigl): Define as weak alias.
29317 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
29318 Rename to __totalorderl and define as weak alias.
29319 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
29320 Rename to __totalordermagl and define as weak alias.
29321 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
29323 (ufromfpl): Define as weak alias.
29324 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
29326 (ufromfpxl): Define as weak alias.
29327 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
29329 (fromfpl): Define as weak alias.
29330 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
29332 (fromfpxl): Define as weak alias.
29333 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
29334 __getpayloadl and define as weak alias.
29335 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
29336 __roundevenl and define as weak alias.
29337 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
29339 (setpayloadl): Define as weak alias.
29340 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
29342 (setpayloadsigl): Define as weak alias.
29343 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
29344 __totalorderl and define as weak alias.
29345 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
29346 Rename to __totalordermagl and define as weak alias.
29347 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
29349 (ufromfpl): Define as weak alias.
29350 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
29352 (ufromfpxl): Define as weak alias.
29354 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
29356 * benchtests/bench-string.h (realloc_bufs): New function.
29357 (test_init): Call it.
29358 * benchtests/bench-memset-large.c (do_test): Likewise.
29359 * benchtests/bench-memset.c (do_test): Likewise.
29361 * benchtests/bench-memset-large.c: Print output in JSON
29363 * benchtests/bench-memset.c: Likewise.
29365 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29368 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
29369 * iconvdata/Makefile: Add IBM858.
29370 * iconvdata/gconv-modules: Likewise.
29371 * iconvdata/tst-tables.sh: Likewise.
29372 * iconvdata/ibm858.c: New file.
29373 * localedata/charmaps/IBM858: Likewise.
29375 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
29378 * locales/niu_NZ (LC_TIME): copy "niu_NU".
29379 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
29381 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29384 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29385 and add tel_int_fmt.
29387 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29389 * sysdeps/generic/libm-alias-float128.h: New file.
29390 * sysdeps/generic/math-type-macros-float128.h: Include
29391 <libm-alias-float128.h>.
29392 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29394 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29396 * sysdeps/generic/libm-alias-ldouble.h: New file.
29397 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29398 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29399 * sysdeps/generic/math-type-macros-ldouble.h: Include
29400 <libm-alias-ldouble.h>.
29401 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29402 libm_alias_ldouble.
29404 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29406 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29407 * math/w_exp_compat.c: ... here.
29408 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29409 * math/w_expf_compat.c: ... here.
29410 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29411 * math/w_expl_compat.c: ... here.
29412 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29413 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29414 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29415 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29417 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29419 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29421 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29423 (ldexpl): Only define as compat symbol for libc, not libm.
29424 (scalbnl): Define as compat symbol for libc here.
29425 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29426 define for [IS_IN (libc)].
29427 (__ldexpl_2): Remove alias.
29428 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29429 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29430 name in long_double_symbol call.
29431 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29432 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29433 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29434 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29435 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29437 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29438 Define as compat symbol.
29440 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29442 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29443 * sysdeps/unix/sysv/linux/alpha/Makefile
29444 [$(subdir) = csu] (sysdep_routines): Remove rule.
29446 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29448 * sysdeps/generic/libm-alias-double.h: New file.
29449 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29450 * sysdeps/generic/math-type-macros-double.h: Include
29451 <libm-alias-double.h>.
29452 [declare_mgen_alias] (declare_mgen_alias): Define to use
29454 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29455 (M_LIBM_NEED_COMPAT): Remove macro.
29456 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29457 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29458 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29460 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29461 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29462 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29463 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29464 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29465 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29466 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29467 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29468 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29469 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29470 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29471 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29472 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29473 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29474 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29475 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29476 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29477 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29478 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29479 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29480 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29481 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29482 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29483 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29484 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29485 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29486 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29487 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
29488 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
29490 (declare_mgen_alias): New macro.
29491 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
29492 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
29493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
29494 (M_LIBM_NEED_COMPAT): Remove macro.
29495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
29496 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
29497 <first-versions.h>.
29498 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
29499 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
29501 2017-09-12 Joseph Myers <joseph@codesourcery.com>
29503 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
29504 (declare_mgen_alias_2): Remove.
29505 * sysdeps/generic/math-type-macros-double.h
29506 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
29508 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
29510 (ldexp): Define with declare_mgen_alias.
29511 (scalbn): Likewise.
29513 2017-09-12 Steve Ellcey <sellcey@cavium.com>
29515 * grp/initgroups.c: Include config.h.
29516 (DEFAULT_CONFIG): New macro.
29517 (internal_getgrouplist): Use DEFAULT_CONFIG.
29518 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29519 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
29520 (DEFAULT_DEFCONFIG): New macro.
29521 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
29522 * nss/grp-lookup.c: Include config.h
29523 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
29524 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
29525 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
29526 * manual/nss.texi: Update default values section.
29528 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
29531 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
29533 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
29534 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29535 Handle MathVec_Prefer_No_AVX512.
29536 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
29537 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
29540 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
29542 * posix/sched_primax.c (__sched_get_priority_max): Add
29544 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
29545 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29546 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29547 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
29548 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
29549 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
29550 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
29551 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
29554 2017-09-11 Joseph Myers <joseph@codesourcery.com>
29556 * sysdeps/generic/libm-alias-float.h: New file.
29557 * sysdeps/generic/math-type-macros-float.h: Include
29558 <libm-alias-float.h>.
29559 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29561 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
29564 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
29565 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
29566 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
29567 (HWCAP_IMPORTANT): Likewise.
29568 (HWCAP_X86_64): New enum.
29569 (HWCAP_X86_AVX512_1): Updated.
29570 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
29571 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
29572 (modules-names): Add x86_64/tst-x86_64mod-1.
29573 (LDFLAGS-tst-x86_64mod-1.so): New.
29574 ($(objpfx)tst-x86_64-1): Likewise.
29575 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
29576 (tst-x86_64-1-clean): Likewise.
29577 * sysdeps/x86_64/tst-x86_64-1.c: New file.
29578 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
29580 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29582 * po/sv.po: Update translations.
29583 * po/fr.po: Likewise.
29585 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29587 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
29589 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
29591 * elf/rtld-Rules: Fix $(error) use.
29593 2017-09-09 Mike FABIAN <mfabian@redhat.com>
29596 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
29597 * locale/iso-639.def: Change “Bengali” to “Bangla”.
29598 * localedata/locales/bn_BD: “Bengali” was still used in some
29599 comments. Change it to “Bangla”.
29601 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
29603 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
29605 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29607 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
29608 thunderx2t99p1 to list of cpu names.
29609 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29610 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
29612 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29614 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
29615 Use strcmp instead of tunable_is_name.
29617 2017-09-08 Joseph Myers <joseph@codesourcery.com>
29619 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29620 (F_GET_RW_HINT): New macro.
29621 [__USE_GNU] (F_SET_RW_HINT): Likewise.
29622 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
29623 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
29624 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
29625 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
29626 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
29627 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
29628 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
29629 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
29631 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29632 (F_ADD_SEALS): New macro.
29633 [__USE_GNU] (F_GET_SEALS): Likewise.
29634 [__USE_GNU] (F_SEAL_SEAL): Likewise.
29635 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
29636 [__USE_GNU] (F_SEAL_GROW): Likewise.
29637 [__USE_GNU] (F_SEAL_WRITE): Likewise.
29639 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29641 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
29642 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
29643 * posix/glob_internal.h (__glob_pattern_type):
29644 * posix/glob.c (glob):
29645 * posix/glob_pattern_p.c (__glob_pattern_p):
29648 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
29649 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29650 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
29651 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
29652 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
29654 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
29655 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
29656 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29657 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29658 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29659 * sysdeps/wordsize-64/glob.c: Likewise.
29660 * sysdeps/wordsize-64/glob64.c: Likewise.
29661 * sysdeps/wordsize-64/globfree.c: Likewise.
29662 * sysdeps/wordsize-64/globfree64.c: Likewise.
29663 * sysdeps/unix/sysv/linux/glob.c: New file.
29664 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
29665 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
29666 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
29667 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29668 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
29669 adds !GLOB_NO_OLD_VERSION as an extra condition.
29670 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
29671 using relative path instead of absolute one.
29672 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
29673 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29674 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29675 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
29676 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
29677 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
29680 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
29681 (glob): Use the same scratch buffer for both getlogin_r and
29682 getpwnam_r. Don’t require preallocation of the login name. This
29683 simplifies storage allocation, and corrects the handling of
29687 * posix/glob.c (glob): Port recent patches to platforms
29688 lacking getpwnam_r.
29689 (glob): Fix longstanding misuse of errno after getpwnam_r, which
29690 returns an error number rather than setting errno.
29692 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
29693 instead of GCC extension.
29694 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
29695 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
29696 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
29700 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
29701 * posix/bug-glob1.c: Remove file.
29702 * posix/tst-glob_symlinks.c: New file.
29703 * posix/glob.c (__lstat64): New macro.
29704 (is_dir): New function.
29705 (glob, glob_in_dir): Match symlinks even if they are dangling.
29706 (link_stat, link_exists_p): Remove. All uses removed.
29710 * posix/glob.c (struct readdir_result): Remove skip_entry member.
29711 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
29716 * posix/Makefile (routines): Add globfree, globfree64, and
29718 * posix/flexmember.h: New file.
29719 * posix/glob_internal.h: Likewise.
29720 * posix/glob_pattern_p.c: Likewise.
29721 * posix/globfree.c: Likewise.
29722 * posix/globfree64.c: Likewise.
29723 * sysdeps/gnu/globfree64.c: Likewise.
29724 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
29725 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29726 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
29727 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29728 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29729 * sysdeps/wordsize-64/globfree.c: Likewise.
29730 * sysdeps/wordsize-64/globfree64.c: Likewise.
29731 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
29732 [NDEBUG): Remove comments.
29733 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
29734 (dirent_type): New type. Use uint_fast8_t not
29735 uint8_t, as C99 does not require uint8_t.
29736 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
29737 (struct readdir_result): Use dirent_type. Do not define skip_entry
29738 unless it is needed; this saves a byte on platforms lacking d_ino.
29739 (readdir_result_type, readdir_result_skip_entry):
29740 New functions, replacing ...
29741 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
29742 these functions, which were removed. This makes the callers
29743 easier to read. All callers changed.
29744 (D_INO_TO_RESULT): Now empty if there is no d_ino.
29745 (size_add_wrapv, glob_use_alloca): New static functions.
29746 (glob, glob_in_dir): Check for size_t overflow in several places,
29747 and fix some size_t checks that were not quite right.
29748 Remove old code using SHELL since Bash no longer
29750 (glob, prefix_array): Separate MS code better.
29751 (glob_in_dir): Remove old Amiga and VMS code.
29752 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
29754 (glob_in_dir): Do not rely on undefined behavior in accessing
29755 struct members beyond their bounds. Use a flexible array member
29757 (link_stat): Rename from link_exists2_p and return -1/0 instead of
29758 0/1. Caller changed.
29759 (glob): Fix memory leaks.
29760 * posix/glob64 (globfree64): Move to separate file.
29761 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
29762 (globfree64): Remove hidden alias.
29763 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
29765 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
29767 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
29769 Move compat code to separate file.
29770 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
29773 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
29775 * resolv/tst-resolv-qtypes.c (domain): Changed to
29776 "const char domain[] =".
29778 2017-09-07 Joseph Myers <joseph@codesourcery.com>
29780 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
29783 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
29784 (TCP_MD5SIG_EXT): Likewise.
29785 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
29786 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
29787 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
29789 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
29791 2017-09-07 Mike FABIAN <mfabian@redhat.com>
29793 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
29795 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
29798 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
29800 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29802 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
29803 before assuming that the file is empty. Avoid testing buffer content
29806 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29809 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29811 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
29813 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
29815 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
29817 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29819 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
29821 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29824 2017-09-06 Florian Weimer <fweimer@redhat.com>
29826 * malloc/dynarray_emplace_enlarge.c
29827 (__libc_dynarray_emplace_enlarge): Add missing else.
29829 2017-09-06 Florian Weimer <fweimer@redhat.com>
29832 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29833 case of failure to obtain the global conf object.
29835 2017-09-06 Florian Weimer <fweimer@redhat.com>
29838 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29839 dynarray allocation failure.
29841 2017-09-06 Florian Weimer <fweimer@redhat.com>
29843 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29844 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29845 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29847 (response): Call them. Add 'p', '6' flag processing.
29848 (test_reverse): New function.
29849 (test_get2_any): Call it.
29850 (test_no_inet6): Add 'p' test.
29851 (test_inet6): Likewise.
29853 2017-09-06 Florian Weimer <fweimer@redhat.com>
29855 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29856 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29858 (test_gai): Adjust query names. Add additional tests.
29859 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29860 test_get2. Adjust query names. Add additional tests.
29861 (test_no_inet6): New function, extracted from threadfunc.
29862 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29863 Add additional tests.
29865 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29868 * localedata/unicode-gen/utf8_gen.py: Set the width for
29869 characters with Prepended_Concatenation_Mark property to 1
29870 * localedata/charmaps/UTF-8: Updated using the improved script.
29872 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29875 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29876 use the range notation for all ranges of neighbouring characters
29877 with the same width.
29879 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29881 * sysdeps/generic/math-type-macros-double.h: Include
29882 <math-svid-compat.h>.
29883 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29884 * sysdeps/generic/math-type-macros-float.h: Include
29885 <math-svid-compat.h>.
29886 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29887 * sysdeps/generic/math-type-macros-ldouble.h: Include
29888 <math-svid-compat.h>.
29889 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29890 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29892 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29893 * math/w_acosf_compat.c: Likewise.
29894 * math/w_acosh_compat.c: Likewise.
29895 * math/w_acoshf_compat.c: Likewise.
29896 * math/w_acoshl_compat.c: Likewise.
29897 * math/w_acosl_compat.c: Likewise.
29898 * math/w_asin_compat.c: Likewise.
29899 * math/w_asinf_compat.c: Likewise.
29900 * math/w_asinl_compat.c: Likewise.
29901 * math/w_atan2_compat.c: Likewise.
29902 * math/w_atan2f_compat.c: Likewise.
29903 * math/w_atan2l_compat.c: Likewise.
29904 * math/w_atanh_compat.c: Likewise.
29905 * math/w_atanhf_compat.c: Likewise.
29906 * math/w_atanhl_compat.c: Likewise.
29907 * math/w_cosh_compat.c: Likewise.
29908 * math/w_coshf_compat.c: Likewise.
29909 * math/w_coshl_compat.c: Likewise.
29910 * math/w_exp10_compat.c: Likewise.
29911 * math/w_exp10f_compat.c: Likewise.
29912 * math/w_exp10l_compat.c: Likewise.
29913 * math/w_exp2_compat.c: Likewise.
29914 * math/w_exp2f_compat.c: Likewise.
29915 * math/w_exp2l_compat.c: Likewise.
29916 * math/w_fmod_compat.c: Likewise.
29917 * math/w_fmodf_compat.c: Likewise.
29918 * math/w_fmodl_compat.c: Likewise.
29919 * math/w_hypot_compat.c: Likewise.
29920 * math/w_hypotf_compat.c: Likewise.
29921 * math/w_hypotl_compat.c: Likewise.
29922 * math/w_j0_compat.c: Likewise.
29923 * math/w_j0f_compat.c: Likewise.
29924 * math/w_j0l_compat.c: Likewise.
29925 * math/w_j1_compat.c: Likewise.
29926 * math/w_j1f_compat.c: Likewise.
29927 * math/w_j1l_compat.c: Likewise.
29928 * math/w_jn_compat.c: Likewise.
29929 * math/w_jnf_compat.c: Likewise.
29930 * math/w_jnl_compat.c: Likewise.
29931 * math/w_lgamma_r_compat.c: Likewise.
29932 * math/w_lgammaf_r_compat.c: Likewise.
29933 * math/w_lgammal_r_compat.c: Likewise.
29934 * math/w_log10_compat.c: Likewise.
29935 * math/w_log10f_compat.c: Likewise.
29936 * math/w_log10l_compat.c: Likewise.
29937 * math/w_log2_compat.c: Likewise.
29938 * math/w_log2f_compat.c: Likewise.
29939 * math/w_log2l_compat.c: Likewise.
29940 * math/w_log_compat.c: Likewise.
29941 * math/w_logf_compat.c: Likewise.
29942 * math/w_logl_compat.c: Likewise.
29943 * math/w_pow_compat.c: Likewise.
29944 * math/w_powf_compat.c: Likewise.
29945 * math/w_powl_compat.c: Likewise.
29946 * math/w_remainder_compat.c: Likewise.
29947 * math/w_remainderf_compat.c: Likewise.
29948 * math/w_remainderl_compat.c: Likewise.
29949 * math/w_sinh_compat.c: Likewise.
29950 * math/w_sinhf_compat.c: Likewise.
29951 * math/w_sinhl_compat.c: Likewise.
29952 * math/w_sqrt_compat.c: Likewise.
29953 * math/w_sqrtf_compat.c: Likewise.
29954 * math/w_sqrtl_compat.c: Likewise.
29955 * math/w_tgamma_compat.c: Likewise.
29956 * math/w_tgammaf_compat.c: Likewise.
29957 * math/w_tgammal_compat.c: Likewise.
29958 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29959 [LIBM_SVID_COMPAT].
29960 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29961 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29962 [LIBM_SVID_COMPAT].
29963 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29964 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29965 [LIBM_SVID_COMPAT].
29966 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29967 * sysdeps/i386/fpu/w_sqrt.c: New file.
29968 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29969 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29970 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29971 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29972 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29973 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29974 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29975 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29976 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29977 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29978 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29979 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29980 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29981 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29982 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29983 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29984 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29985 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29986 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29987 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29988 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29989 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29990 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29991 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29992 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29993 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29994 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29995 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29996 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29997 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29998 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29999 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30000 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30001 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30002 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30003 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30004 * sysdeps/ia64/fpu/w_log.c: Likewise.
30005 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30006 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30007 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30008 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30009 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30010 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30011 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30012 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30013 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30014 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30015 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30016 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30017 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30018 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30019 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30020 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30021 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30022 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30023 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30024 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30025 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30026 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30027 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30028 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30029 [LIBM_SVID_COMPAT].
30030 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30031 * sysdeps/ieee754/k_standard.c: Likewise.
30032 * sysdeps/ieee754/k_standardf.c: Likewise.
30033 * sysdeps/ieee754/k_standardl.c: Likewise.
30034 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30035 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30036 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30037 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30038 long_double_symbol call on [LIBM_SVID_COMPAT].
30039 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30040 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30041 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30042 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30043 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30044 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30045 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30046 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30047 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30048 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30049 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30050 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30051 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30052 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30053 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30054 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30055 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30056 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30057 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30058 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30059 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30060 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30062 2017-09-05 Steve Ellcey <sellcey@cavium.com>
30064 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30065 * malloc/tst-mallocstate.c: Convert from test-skeleton
30066 to test-driver. Ifdef code using TEST_COMPAT macro.
30067 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30068 * math/test-matherr.c: Likewise.
30070 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30073 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30074 comparing word with byte-swapped constant.
30076 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
30079 * locale/iso-639.def: add Miskito.
30080 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30081 * localedata/locales/miq_NI: New file.
30083 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30086 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30087 (__mkdir): Likewise.
30088 * io/chmod.c (__chmod): Add libc_hidden_def.
30089 * io/mkdir.c (__mkdir): Likewise.
30090 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30091 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30092 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30093 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30095 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30097 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30101 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30102 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30104 2017-09-04 Florian Weimer <fweimer@redhat.com>
30106 * math/math.h: Issue warning if log is defined.
30108 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30110 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30111 kernel version to 4.13.
30113 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30115 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
30116 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30118 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30119 just <bits/types.h>.
30120 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
30121 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
30122 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
30123 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
30124 * misc/preadv2.c: Include <errno.h>.
30125 * misc/preadv64v2.c: Include <errno.h>.
30126 * misc/pwritev2.c: Include <errno.h>.
30127 * misc/pwritev64v2.c: Include <errno.h>.
30128 * sysdeps/posix/preadv2.c: Include <errno.h>.
30129 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30130 Fix <unistd.h> inclusion.
30131 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30132 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
30133 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30134 __strtoul_internal): New functions.
30135 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30136 * sysdeps/posix/system.c: Include <sigsetops.h>.
30137 * sysdeps/mach/hurd/i386/Makefile
30138 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30139 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30140 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
30141 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30142 __feraiseexcept_renamed to feraiseexcept instead of
30143 __GI_feraiseexcept.
30144 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
30145 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
30146 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30147 RWF_NOWAIT): Define to 0 if undefined already.
30148 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30150 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30151 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
30153 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30155 * manual/math.texi (pow10): Do not document.
30156 (pow10f): Likewise.
30157 (pow10l): Likewise.
30158 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30159 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30160 * math/libm-test-exp10.inc (pow10_test): Remove.
30161 (do_test): Do not call pow10.
30162 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30163 [NO_LONG_DOUBLE] (pow10l): Likewise.
30164 * math/w_exp10f_compat.c (pow10f): Likewise.
30165 * math/w_exp10l_compat.c (pow10l): Likewise.
30166 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30167 (pow10): Make into compat symbol.
30168 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30169 (pow10f): Make into compat symbol.
30170 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30171 (pow10l): Make into compat symbol.
30172 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30174 (CFLAGS-nldbl-pow10.c): Remove variable..
30175 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30176 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30177 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30178 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30179 Undefine and redefine.
30180 (pow10l): Make into compat symbol.
30181 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30182 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30183 * sysdeps/arm/libm-test-ulps: Likewise.
30184 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30185 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30186 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30187 * sysdeps/microblaze/libm-test-ulps: Likewise.
30188 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30189 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30190 * sysdeps/nios2/libm-test-ulps: Likewise.
30191 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30192 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30193 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30194 * sysdeps/sh/libm-test-ulps: Likewise.
30195 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30196 * sysdeps/tile/libm-test-ulps: Likewise.
30197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30199 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30201 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30203 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30205 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30206 "../ChangeLog.old/ChangeLog.8".
30207 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30208 "../ChangeLog.old/ChangeLog.14".
30210 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30212 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30215 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30217 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30219 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30221 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30222 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30224 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30226 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30227 32 atexit handlers.
30229 2017-09-01 Zack Weinberg <zackw@panix.com>
30231 * math/math.h (HUGE_VAL): Improve commentary.
30233 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30234 Andreas Schwab <schwab@suse.de>
30237 * include/stdio.h (__gen_tempfd): New function.
30238 * stdio-common/Makefile (routines): Add gentempfd.
30239 * stdio-common/gentempfd.c: New file.
30240 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30241 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30242 unnamed file first.
30244 2017-09-01 Florian Weimer <fweimer@redhat.com>
30248 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30249 result to determine success or failure, not the errno value.
30250 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30251 (tst-nss-files-hosts-erange): Link with -ldl.
30252 * nss/tst-nss-files-hosts-erange.c: New file.
30253 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30254 (do_test): Add NO_DATA tests.
30255 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30256 (do_test): Call it.
30258 2017-09-01 Florian Weimer <fweimer@redhat.com>
30261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30262 coming from gethostbyname2_r.
30264 2017-09-01 Florian Weimer <fweimer@redhat.com>
30266 * support/namespace.h (struct support_chroot_configuration): Add
30268 (struct support_chroot): Add path_hosts, path_host_conf.
30269 * support/support_chroot.c (write_file): New function.
30270 (support_chroot_create): Call it to process /etc/resolv.conf,
30271 /etc/hosts, /etc/host.conf.
30272 (support_chroot_free): Update.
30274 2017-09-01 Florian Weimer <fweimer@redhat.com>
30276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
30277 status indicates it is set.
30279 2017-09-01 Florian Weimer <fweimer@redhat.com>
30282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
30283 function lookup failures more reliable.
30285 2017-09-01 Florian Weimer <fweimer@redhat.com>
30287 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
30288 (getcanonname): Likewise.
30289 (gaih_inet): Likewise.
30291 2017-09-01 Florian Weimer <fweimer@redhat.com>
30293 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
30294 (getcanonname): Likewise.
30295 (gaih_inet): Likewise.
30297 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30298 Richard Henderson <rth@twiddle.net>
30300 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
30301 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
30302 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
30303 (IREG_SIZE, OREG_SIZE): New macros.
30304 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
30305 (IREG_SIZE, OREG_SIZE): New macros.
30306 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
30307 (IREG_SIZE): New macro.
30308 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
30309 (IREG_SIZE): New macro.
30310 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
30312 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
30313 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30314 (__CONCATX): Handle exceptions correctly on large values that may
30316 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
30317 Initialize if not already set.
30318 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30320 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30322 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
30323 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
30325 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
30327 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
30329 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
30331 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
30333 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
30335 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
30337 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
30338 (NO_CANCELLATION): Likewise.
30339 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
30341 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
30343 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
30345 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
30346 (NO_CANCELLATION): Likewise.
30347 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
30348 (NO_CANCELLATION): Likewise.
30349 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
30351 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
30353 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
30355 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
30357 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
30359 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
30360 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
30362 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30364 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
30367 2017-08-31 Florian Weimer <fweimer@redhat.com>
30369 * include/libc-symbols.h (internal_function): Remove.
30371 2017-08-31 Florian Weimer <fweimer@redhat.com>
30373 * stdlib/fmtmsg.c (internal_addseverity): Remove
30376 2017-08-31 Florian Weimer <fweimer@redhat.com>
30378 * stdio-common/printf_fp.c (group_number): Remove
30380 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
30382 2017-08-31 Florian Weimer <fweimer@redhat.com>
30384 * posix/fnmatch.c (internal_function): Remove definition.
30385 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30386 * posix/regcomp.c (peek_token, init_word_char)
30387 (duplicate_node_closure, fetch_token, peek_token)
30388 (peek_token_bracket, build_range_exp, build_collating_symbol):
30390 * posix/regex_internal.c (re_string_construct_common)
30391 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30392 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30393 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30394 (re_string_translate_buffer, re_string_reconstruct)
30395 (re_string_peek_byte_case, re_string_fetch_byte_case)
30396 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30397 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30398 (re_node_set_add_intersect, re_node_set_init_union)
30399 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30400 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30401 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30402 (re_acquire_state_context): Likewise.
30403 * posix/regex_internal.h (internal_function): Remove definition.
30404 (re_string_realloc_buffers, build_wcs_buffer)
30405 (build_wcs_upper_buffer, build_upper_buffer)
30406 (re_string_translate_buffer, re_string_context_at)
30407 (re_string_char_size_at, re_string_wchar_at)
30408 (re_string_elem_size_at): Likewise.
30409 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30410 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30411 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30412 (re_search_internal, re_search_2_stub, re_search_stub)
30413 (re_copy_regs, prune_impossible_nodes, check_matching)
30414 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30415 (free_fail_stack_return, sift_states_iter_mb)
30416 (sift_states_backward, build_sifted_states)
30417 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30418 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30419 (check_subexp_limits, sift_states_bkref, merge_state_array)
30420 (find_recover_state, transit_state, merge_state_with_log)
30421 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30422 (transit_state_mb, transit_state_bkref, get_subexp)
30423 (get_subexp_sub, find_subexp_node, check_arrival)
30424 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30425 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30426 (check_node_accept_bytes, find_collation_sequence_value)
30427 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30428 (acquire_init_state_context, check_halt_node_context)
30429 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30430 (sub_epsilon_src_nodes): Likewise.
30431 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30432 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30433 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30434 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30435 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30436 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30437 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30438 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30439 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30440 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30441 (PREADV): Likewise.
30442 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30443 (PREADV): Likewise.
30444 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30445 (PWRITEV): Likewise.
30446 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30447 (PWRITEV): Likewise.
30448 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30449 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30451 2017-08-31 Florian Weimer <fweimer@redhat.com>
30453 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30454 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30455 Remove internal_function.
30456 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30457 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30458 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30459 (__deallocate_stack, __libc_pthread_init)
30460 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
30461 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
30462 (__libc_disable_asynccancel, __librt_disable_asynccancel):
30464 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
30465 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
30466 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
30468 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
30469 (__pthread_mutex_unlock_usercnt): Likewise.
30471 2017-08-31 Florian Weimer <fweimer@redhat.com>
30473 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
30474 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
30475 (fts_safe_changedir): Remove internal_function.
30476 * io/ftw.c (internal_function): Remove definition.
30477 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
30479 2017-08-31 Florian Weimer <fweimer@redhat.com>
30481 * inet/deadline.c (__deadline_current_time)
30482 (__deadline_from_timeval, __deadline_to_ms): Remove
30484 * inet/getnameinfo.c (nrl_domainname): Likewise.
30485 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
30486 * inet/inet6_option.c (add_pad): Likewise.
30487 * inet/net-internal.h (__deadline_current_time)
30488 (__deadline_from_timeval, __deadline_to_ms): Likewise.
30489 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
30490 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
30491 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
30493 2017-08-31 Joseph Myers <joseph@codesourcery.com>
30495 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
30496 include <bits/nan.h>.
30497 * math/Makefile (headers): Remove bits/nan.h.
30498 * bits/nan.h: Remove.
30499 * sysdeps/ieee754/bits/nan.h: Likewise.
30500 * sysdeps/mips/bits/nan.h: Likewise.
30502 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
30503 not include <bits/inf.h>.
30504 * math/Makefile (headers): Remove bits/inf.h.
30505 * bits/inf.h: Remove.
30506 * sysdeps/ieee754/bits/inf.h: Likewise.
30508 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
30509 bits/huge_vall.h or bits/huge_val_flt128.h.
30510 (HUGE_VAL): Define directly here.
30511 [__USE_ISOC99] (HUGE_VALF): Likewise.
30512 [__USE_ISOC99] (HUGE_VALL): Likewise.
30513 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30514 (HUGE_VAL_F128): Likewise.
30515 * math/Makefile (headers): Remove bits/huge_val.h,
30516 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
30517 * bits/huge_val.h: Remove.
30518 * bits/huge_val_flt128.h: Likewise.
30519 * bits/huge_valf.h: Likewise.
30520 * bits/huge_vall.h: Likewise.
30521 * sysdeps/ia64/bits/huge_vall.h: Likewise.
30522 * sysdeps/ieee754/bits/huge_val.h: Likewise.
30523 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
30524 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
30525 * sysdeps/sh/bits/huge_val.h: Likewise.
30526 * sysdeps/sparc/bits/huge_vall.h: Likewise.
30527 * sysdeps/x86/bits/huge_vall.h: Likewise.
30529 2017-08-31 Florian Weimer <fweimer@redhat.com>
30531 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
30533 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
30535 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
30536 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30537 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
30538 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
30539 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30540 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30541 * elf/dl-libc.c (dlerror_run): Likewise.
30542 * elf/dl-load.c (add_name_to_object, decompose_rpath)
30543 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
30544 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
30545 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
30547 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
30548 (_dl_higher_prime_number, _dl_strtoul): Likewise.
30549 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
30550 * elf/dl-profile.c (_dl_start_profile): Likewise.
30551 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
30552 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
30554 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
30555 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
30556 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
30557 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
30558 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
30559 (_dl_allocate_tls_storage): Likewise.
30560 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
30561 (_dl_check_all_versions): Likewise.
30562 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
30563 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
30564 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
30565 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30566 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
30567 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
30568 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
30569 internal_function from __dl_start.
30570 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
30571 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
30572 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
30573 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
30574 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
30575 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
30576 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
30577 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
30578 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
30579 (_dl_next_ld_env_entry, _dl_important_hwcaps)
30580 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
30581 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
30582 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
30583 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
30584 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
30586 (struct rtld_global_ro): Remove internal_function from the
30587 _dl_lookup_symbol_x member.
30588 (_dl_symbol_value): Remove. No longer defined anywhere.
30589 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
30591 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30592 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30593 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
30594 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
30595 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
30596 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
30597 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
30598 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
30599 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
30600 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
30601 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30602 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30604 2017-08-31 Florian Weimer <fweimer@redhat.com>
30606 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
30607 Remove internal_function.
30608 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30610 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30613 2017-08-31 Florian Weimer <fweimer@redhat.com>
30615 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
30616 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
30617 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
30619 2017-08-31 Florian Weimer <fweimer@redhat.com>
30621 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
30622 (__gai_enqueue_request): Remove internal_function.
30623 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
30624 (__gai_remove_request, __gai_notify, __gai_notify_only)
30625 (__gai_sigqueue): Likewise.
30626 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
30627 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
30628 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
30629 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30632 2017-08-31 Florian Weimer <fweimer@redhat.com>
30634 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
30635 * include/dirent.h (__opendirat, __getdents, __getdents64)
30636 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
30637 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
30638 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30639 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30641 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
30643 2017-08-31 Florian Weimer <fweimer@redhat.com>
30645 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
30647 (GETCWD_RETURN_TYPE): Likewise.
30649 2017-08-31 Florian Weimer <fweimer@redhat.com>
30651 * include/time.h (__tz_compute, __strptime_internal): Remove
30653 * time/strptime_l.c (__strptime_internal): Likewise.
30654 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
30656 2017-08-31 Florian Weimer <fweimer@redhat.com>
30658 * iconv/gconv.c (__gconv): Remove internal_function.
30659 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
30660 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
30661 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
30662 (__gconv_release_cache): Likewise.
30663 * iconv/gconv_close.c (__gconv_close): Likewise.
30664 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
30665 (read_conf_file, __gconv_get_path): Likewise.
30666 * iconv/gconv_db.c (derivation_lookup, add_derivation)
30667 (__gconv_release_step, gen_steps, increment_counter)
30668 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
30669 (__gconv_close_transform, free_modules_db): Likewise.
30670 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
30672 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
30673 (__gconv_find_transform, __gconv_lookup_cache)
30674 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
30675 (__gconv_close_transform, __gconv_release_cache)
30676 (__gconv_loaded_object, __gconv_release_shlib)
30677 (__gconv_compare_alias): Likewise.
30678 * iconv/gconv_open.c (__gconv_open): Likewise.
30679 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
30680 * iconv/iconvconfig.c (add_module): Likewise.
30681 * intl/dcigettext.c (plural_lookup, guess_category_value)
30682 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
30683 * intl/eval-plural.h (plural_eval): Likewise.
30684 * intl/finddomain.c (_nl_find_domain): Likewise.
30685 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
30686 (_nl_load_domain, _nl_find_msg): Likewise.
30687 (internal_function): Remove definition.
30688 * intl/loadinfo.h (internal_function): Likewise.
30689 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
30691 * intl/localealias.c (internal_function): Remove definition.
30692 (read_alias_file): Remove internal_function.
30693 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
30694 * intl/plural-exp.h (internal_function): Remove definition.
30695 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
30697 * intl/plural.c: Regenerate.
30698 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
30699 * locale/coll-lookup.c (__collidx_table_lookup)
30700 (__collseq_table_lookup): Likewise.
30701 * locale/coll-lookup.h (__collidx_table_lookup)
30702 (__collseq_table_lookup): Likewise.
30703 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
30704 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30705 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
30706 (_nl_unload_locale): Likewise.
30707 * locale/localeinfo.h (struct __locale_data): Remove
30708 internal_function from cleanup member.
30709 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
30710 (_nl_remove_locale, _nl_load_locale_from_archive)
30711 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
30712 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
30713 (_nl_cleanup_time): Remove internal_function.
30714 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
30715 (_nl_parse_alt_digit): Likewise.
30716 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
30717 (_nl_select_era_entry): Likewise.
30718 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
30719 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30720 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30721 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30722 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30724 2017-08-31 Florian Weimer <fweimer@redhat.com>
30726 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
30727 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30728 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
30729 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
30731 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
30732 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
30733 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
30734 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30736 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
30738 2017-08-31 Florian Weimer <fweimer@redhat.com>
30740 * misc/getttyent.c (skip, value): Remove internal_function.
30741 * misc/syslog.c (openlog_internal): Likewise.
30742 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
30744 2017-08-31 Florian Weimer <fweimer@redhat.com>
30746 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
30747 (__nss_rewrite_field): Remove internal_function.
30748 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30749 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30750 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30751 * nss/nsswitch.c (nss_parse_file, nss_getline)
30752 (nss_parse_service_list, nss_new_service): Likewise.
30753 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
30754 * nss/valid_field.c (__nss_valid_field): Likewise.
30755 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30757 2017-08-31 Florian Weimer <fweimer@redhat.com>
30759 * malloc/arena.c (__malloc_fork_lock_parent)
30760 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
30761 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
30762 internal_function from defintions.
30763 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
30764 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
30765 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
30766 internal_function from declarations.
30767 * malloc/malloc.c (internal_function): Do not define.
30768 (mem2mem_check): Remove internal_function from declaration.
30769 (munmap_chunk, mremap_chunk): Remove internal_function.
30770 * malloc/mtrace.c (tr_where): Likewise.
30772 2017-08-31 Florian Weimer <fweimer@redhat.com>
30774 * include/rpc/pmap_clnt.h (__get_socket): Remove
30776 * sunrpc/auth_des.c (synchronize): Likewise.
30777 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
30778 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
30779 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
30780 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
30781 (key_call): Likewise.
30782 * sunrpc/pm_getport.c (__get_socket): Likewise.
30783 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
30784 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
30785 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
30786 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
30787 (invalidate): Likewise.
30788 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
30789 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
30790 (set_input_fragment, get_input_bytes): Likewise.
30792 2017-08-31 Florian Weimer <fweimer@redhat.com>
30794 * malloc/malloc.c (_int_free): Remove locked variable and related
30797 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
30800 * Makerules (build-module-helper-objlist): Filter out
30801 $(elf-objpfx)sofini.os.
30802 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
30805 2017-08-31 Florian Weimer <fweimer@redhat.com>
30807 * libio/fcloseall.c: Assume weak_alias is defined.
30808 * libio/feof.c: Likewise.
30809 * libio/fileno.c: Likewise.
30810 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
30811 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30813 (_IO_file_open): Call __open directly.
30814 (_IO_new_file_sync): Assume ESPIPE is defined.
30815 (_IO_file_seekoff_maybe_mmap): Call __read directly.
30816 (_IO_new_file_write): Call __write directly.
30817 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
30818 * libio/ftello64.c (__ftello64): Assume EIO is defined.
30819 * libio/genops.c: Assume _LIBC is defined.
30820 (save_for_backup): Remove internal_function.
30821 * libio/getc.c: Assume weak_alias is defined.
30822 * libio/getwc.c: Likewise.
30823 * libio/iofclose.c: Assume _LIBC is defined.
30824 * libio/iofdopen.c: Likewise.
30825 (_IO_fcntl): Remove macro definition.
30826 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30827 Call __fcntl directly.
30828 * libio/iofflush.c: Assume weak_alias is defined.
30829 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30831 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30832 * libio/iofgets.c: Likewise.
30833 * libio/iofopen.c: Assume _LIBC is defined.
30834 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30835 * libio/iofputs.c: Assume weak_alias is defined.
30836 * libio/iofread.c: Likewise.
30837 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30838 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30839 * libio/ioftell.c: Assume weak_alias is defined.
30840 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30841 * libio/iofwide.c: Assume _LIBC is defined.
30842 (_IO_fwide): Drop SHARED conditional because it is implied by
30844 * libio/iofwrite.c: Assume weak_alias is defined.
30845 * libio/iogetdelim.c: Likewise.
30846 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30847 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30848 (_IO_getwline): Call __wmemcpy directly.
30849 * libio/iopopen.c: Assume _LIBC is defined.
30850 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30851 (_IO_close): Remove macro definitions.
30852 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30854 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30856 * libio/ioputs.c: Assume weak_alias is defined.
30857 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30858 * libio/iosetbuffer.c: Assume weak_alias is defined.
30859 * libio/iosetvbuf.c: Likewise.
30860 * libio/ioungetc.c: Likewise.
30861 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30862 libc_hidden_def, libc_hidden_weak, NULL are defined.
30863 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30864 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30866 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30868 (_IO_old_file_init_internal): Drop SHARED conditional because it
30869 is implied by SHLIB_COMPAT.
30870 (_IO_old_file_fopen): Call __open directly.
30871 (_IO_old_file_sync): Assume ESPIPE is defined.
30872 (_IO_old_file_write): Call __write directly.
30873 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30874 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30875 Call __fcntl directly.
30876 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30877 (_IO_old_fgetpos): Assume EIO is defined.
30878 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30879 (_IO_old_fgetpos64): Assume EIO is defined.
30880 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30881 (_IO_old_fsetpos): Assume EIO is defined.
30882 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30883 (_IO_old_fsetpos64): Assume EIO is defined.
30884 * libio/oldiopopen.c: Assume _LIBC is defined.
30885 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30886 (_IO_close): Remove macro definitions.
30887 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30889 (_IO_old_proc_close): Call __close, __waitpid directly.
30890 * libio/put.c: Assume weak_alias is defined.
30891 * libio/stdfiles.c: Assume _LIBC is defined.
30892 * libio/stdio.c: Likewise.
30893 * libio/wfileops.c: Likewise.
30894 (_IO_wfile_sync): Assume ESPIPE is defined.
30895 * libio/wgenops.c: Assume _LIBC is defined.
30896 (save_for_wbackup): Remove internal_function.
30898 2017-08-31 Florian Weimer <fweimer@redhat.com>
30900 * malloc/malloc.c (top_check): Change return type to void. Remove
30902 * malloc/hooks.c (top_check): Likewise.
30903 (malloc_check, realloc_check, memalign_check): Adjust.
30905 2017-08-30 Joseph Myers <joseph@codesourcery.com>
30908 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30909 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30910 sigcontext and namespace requirements.
30911 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30912 * sysdeps/m68k/sys/ucontext.h: Likewise.
30913 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30914 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30915 <bits/sigcontext.h>.
30916 (__ctx): Define earlier.
30917 (mcontext_t): Define structure contents rather than using struct
30919 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30920 __glibc_reserved1 instead of __reserved.
30921 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30922 <bits/sigcontext.h>.
30923 (__ctx): Define earlier.
30924 (mcontext_t): Define structure contents rather than using struct
30926 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30927 mcontext_t instead of struct sigcontext.
30928 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30929 <bits/sigcontext.h>.
30930 (__ctx): Define earlier.
30931 (mcontext_t): Define structure contents rather than using struct
30933 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30934 <bits/sigcontext.h>.
30935 (__ctx): Define earlier.
30936 (mcontext_t): Define structure contents rather than using struct
30938 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30939 mcontext_t instead of struct sigcontext.
30940 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30941 mcontext_t instead of struct sigcontext.
30942 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30943 <bits/sigcontext.h>.
30944 (__ctx): New macro.
30945 (struct __ia64_fpreg_mcontext): New type.
30946 (mcontext_t): Define structure contents rather than using struct
30948 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30949 (uc_sigmask): Define using __ctx.
30950 (uc_stack): Likewise.
30951 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30952 <bits/sigcontext.h>.
30953 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30954 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30955 <bits/sigcontext.h>.
30956 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30957 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30958 <bits/sigcontext.h>.
30959 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30960 <bits/sigcontext.h>.
30961 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30962 <bits/sigcontext.h>.
30963 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30964 <bits/sigcontext.h>.
30965 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30966 <bits/sigcontext.h>.
30967 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30968 <bits/sigcontext.h>.
30969 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30970 <bits/sigcontext.h>.
30971 (__ctx): Define earlier.
30972 (mcontext_t): Define structure contents rather than using struct
30974 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30975 <bits/sigcontext.h>. Include <bits/types.h>.
30976 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30977 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30978 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30979 (test-xfail-UNIX98/signal.h/conform): Likewise.
30980 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30981 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30982 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30983 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30984 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30985 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30986 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30987 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30988 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30990 2017-08-30 Florian Weimer <fweimer@redhat.com>
30992 * malloc/dynarray_emplace_enlarge.c
30993 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30994 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30995 * malloc/tst-dynarray.c (test_long_overflow): New function.
30996 (do_test): Call it.
30998 2017-08-30 Florian Weimer <fweimer@redhat.com>
31000 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31001 (set_arena_corrupt): Remove definitions.
31002 (mtrim): Do not check for corrupt arena.
31003 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31006 2017-08-30 Florian Weimer <fweimer@redhat.com>
31009 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31011 (ptmalloc_init): Do not set or use check_action.
31012 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31013 call to malloc_printerr. Remove return statement.
31014 (free_check): Likewise. Remove arena unlock.
31015 (top_check): Update comment. Adjust call to malloc_printerr.
31016 Remove heap repair code.
31017 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31018 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31019 (sysmalloc): Adjust call to malloc_printerr.
31020 (munmap_chunk, __libc_realloc): Likewise. Remove return
31022 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31023 Remove errout label and corresponding gotos.
31024 (_int_free): Likewise. Remove arena unlock.
31025 (do_set_mallopt_check): Do not set check_action.
31026 (malloc_printerr): Adjust parameter list. Do not mark arena as
31028 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31030 * manual/probes.texi (Memory Allocation Probes): Remove
31031 memory_mallopt_check_action.
31033 2017-08-30 Steve Ellcey <sellcey@cavium.com>
31035 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31036 Use pointer to uint64_t instead of long int for sp.
31038 2017-08-30 Florian Weimer <fweimer@redhat.com>
31041 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31042 without printing a backtrace. Do not leak any information in the
31044 * manual/memory.texi (Heap Consistency Checking): Update.
31045 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31047 2017-08-30 Florian Weimer <fweimer@redhat.com>
31049 Do not scale NPTL tests with available number of CPUs.
31050 * nptl/tst-cond16.c (count): Set to constant value of 8.
31051 * nptl/tst-cond18.c (count): Likewise.
31053 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31056 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31057 Define to take a second argument that is a macro that
31058 concatentates a suffix, not the suffix itself.
31059 (__CONCAT_d): New macro.
31060 (__CONCAT_f): Likewise.
31061 (__CONCAT_l): Likewise.
31063 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31065 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31068 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31069 Aurelien Jarno <aurelien@aurel32.net>
31070 Maciej W. Rozycki <macro@imgtec.com>
31073 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31074 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31075 `mips16-syscall6' and `mips16-syscall7'.
31076 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31077 (CFLAGS-mips16-syscall7.c): Remove.
31078 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31079 Remove `__mips16_syscall5', `__mips16_syscall6' and
31080 `__mips16_syscall7'.
31081 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31082 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31083 `__mips_syscall_return'.
31084 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31085 (__mips16_syscall1): Likewise.
31086 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31087 (__mips16_syscall2): Likewise.
31088 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31089 (__mips16_syscall3): Likewise.
31090 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31091 (__mips16_syscall4): Likewise.
31092 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31094 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31096 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31098 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31099 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31100 `__mips16_syscall5'. Remove prototype.
31101 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31102 `__mips16_syscall6'. Remove prototype.
31103 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31104 `__mips16_syscall7'. Remove prototype.
31105 (__nomips16, __mips16_syscall_return): Move to...
31106 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31107 (__nomips16, __mips_syscall_return): ... here.
31108 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31109 `__mips16_syscall_return' to `__mips_syscall_return'.
31110 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31111 `internal_syscall##nr'.
31112 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31113 `internal_syscall##nr'.
31114 (FORCE_FRAME_POINTER): Remove.
31115 (__mips_syscall5): New prototype.
31116 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31117 (__mips_syscall6): New prototype.
31118 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31119 (__mips_syscall7): New prototype.
31120 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31121 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31122 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31123 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31124 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31125 (sysdep_routines): Add libc-do-syscall.
31126 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31127 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31129 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31132 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31133 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31134 (advise_stack_range): New function.
31135 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31136 stack non required to advise_stack_range at allocatestack.c
31138 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31140 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31142 2017-08-29 Florian Weimer <fweimer@redhat.com>
31145 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31146 __end_fct. Mangle __end_fct after setting it to NULL.
31147 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31148 (modules-names, modules-names-tests): Add
31149 tst-gconv-init-failure-mod.
31150 (gconv-modules): New target.
31151 (tst-gconv-init-failure-mod.so): Link against libsupport.
31152 (tst-gconv-init-failure): Depend on gconv-modules,
31153 tst-gconv-init-failure-mod.so.
31154 * iconv/tst-gconv-init-failure-mod.c: New file.
31155 * iconv/tst-gconv-init-failure.c: Likewise.
31156 * iconv/test-gconv-modules: Likewise.
31158 2017-08-29 Florian Weimer <fweimer@redhat.com>
31161 * iconv/gconv_db.c (free_derivation): Remove redundant
31163 (gen_steps): Unconditionally mangle __btowc_fct after
31165 (increment_counter): Likewise. Do not call init_fct for internal
31168 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31171 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31172 (_MSUF_): Remove macro.
31173 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31175 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31176 (__REDIRFROM_X): New macro.
31177 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31179 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31180 (__REDIRTO_X): Likewise.
31181 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31183 (__MATH_REDIRCALL_2): Likewise.
31184 (__MATH_REDIRCALL_INTERNAL): Likewise.
31185 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31186 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31187 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31188 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31189 * math/test-finite-macros.c: New file.
31190 * math/Makefile (tests): Add test-finite-macros.
31191 (CFLAGS-test-finite-macros.c): New variable.
31193 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
31194 Jeff Law <law@redhat.com>
31197 Mangle NULL pointers in iconv/gconv.
31198 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31199 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31200 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31201 is non-NULL before demangling the end_fct. Check for NULL
31202 end_fct after demangling.
31203 (__gconv_release_step): Demangle the end_fct before checking
31204 it for NULL. Remove assert on __shlibc_handle != NULL.
31205 (gen_steps): Don't check btowc_fct for NULL before mangling.
31206 Demangle init_fct before checking for NULL.
31207 (increment_counter): Likewise.
31208 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31209 end_fct for NULL before mangling.
31210 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31213 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
31216 * locale/iso-639.def: add Morisyen.
31218 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31221 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31222 (iszero): New C++ implementation that does not use
31223 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31224 signaling nans are enabled, since __builtin_types_compatible_p
31225 is a C-only feature.
31226 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31227 defined, include ieee754_float128.h for access to the union and
31228 member ieee854_float128.ieee.
31229 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31230 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31231 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31232 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31233 options of test-math-zero on powerpc64le.
31235 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31237 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31238 Change double to float.
31240 2017-08-28 Joseph Myers <joseph@codesourcery.com>
31242 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31244 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31245 conditional code; define contents only for [LIBM_SVID_COMPAT].
31247 2017-08-28 Florian Weimer <fweimer@redhat.com>
31249 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31250 (abi-lp64_be-options): Remove.
31251 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31252 (abi-hard-options): Likewise.
31253 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31254 (abi-o32_hard-options, abi-o32_soft_2008-options)
31255 (abi-o32_hard_2008-options, abi-n32_soft-options)
31256 (abi-n32_hard-options, abi-n32_soft_2008-options)
31257 (abi-n32_hard_2008-options, abi-n64_soft-options)
31258 (abi-n64_hard-options, abi-n64_soft_2008-options)
31259 (abi-n64_hard_2008-options): Likewise.
31260 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31261 (abi-64-v1-options, abi-64-v2-options): Likewise.
31262 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31263 (abi-64-options): Likewise.
31264 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31265 (abi-64-options): Likewise.
31266 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31267 (abi-64-options): Likewise.
31268 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
31269 (abi-64-options, abi-x32-options): Likewise.
31271 2017-08-28 Florian Weimer <fweimer@redhat.com>
31273 Store supported list of SYS_* system calls in the source tree.
31274 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
31275 (bits/syscall.h): Generate from list file.
31276 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
31277 [$(subdir) = misc] (tests): Add tst-syscall-list.
31278 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
31279 [$(subdir) = misc] (tst-syscall-list-macros.list)
31280 [$(subdir) = misc] (tst-syscall-list-nr.list)
31281 (tst-syscall-list-sys.list): Helper targets for new
31282 tst-syscall-list test.
31283 [$(subdir) = misc] (tst-syscall-list.out): Run test script
31284 tst-syscall-list.sh.
31285 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
31286 target. Do not include bits/syscall.d.
31287 [$(subdir) = misc] (generated): Do not update.
31288 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
31289 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
31290 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
31291 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
31293 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
31295 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
31296 (tst-cxa_atexit, tst-on_exit): Likewise.
31297 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
31298 tst-cxa_atexit, and tst-on_exit.
31299 * stdlib/tst-atexit-common.c: New file.
31300 * stdlib/tst-atexit.c: New file.
31301 * stdlib/tst-at_quick_exit.c: New file.
31302 * stdlib/tst-cxa_atexit.c: New file.
31303 * stdlib/tst-on_exit.c: New file.
31305 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31307 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
31308 * mach/stack_chk_fail_local.c: New file.
31309 * hurd/stack_chk_fail_local.c: New file.
31310 * mach/Machrules ($(interface-library)-routines): Add
31311 stack_chk_fail_local.
31312 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
31313 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
31314 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
31315 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
31316 * hurd/Makefile (CFLAGS-hurdstartup.o,
31317 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
31319 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
31321 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31322 (index_cpu_*, index_arch_*): Removed.
31324 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31326 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
31327 Use uint64_t instead of unsigned long.
31329 2017-08-25 Joseph Myers <joseph@codesourcery.com>
31331 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
31332 [__HAVE_DISTINCT_FLOAT128].
31334 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
31335 of <bits/math-finite.h>.
31336 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
31337 inclusion of <bits/math-finite.h>.
31338 * math/bits/math-finite.h (__REDIRTO_X): Do not define
31339 conditionally on [__MATH_DECLARING_LDOUBLE && defined
31340 __NO_LONG_DOUBLE_MATH].
31341 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
31342 (__MATH_REDIRCALL_2): Likewise.
31343 (__MATH_REDIRCALL_INTERNAL): Likewise.
31344 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31345 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
31346 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
31350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
31352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
31354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
31356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
31358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
31360 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31361 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31362 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31363 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
31365 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
31366 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
31367 w_sqrtf_compat-ppc32.
31369 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31371 * math/math.h [defined __cplusplus] (issignaling): In the long
31372 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
31373 is not defined. Call __issignaling, otherwise.
31375 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31377 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
31378 syscall definitions and replace __builtin_expect with __glibc_likely.
31379 * sysdeps/unix/syscall-template.S: Update comment about cancellable
31381 (SYSCALL_CANCELLABLE): Removedefinition
31382 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
31384 (PSEUDO_END): Likewise.
31385 [IS_IN (libpthread)] (CENABLE): Likewise.
31386 [IS_IN (libpthread)] (CDISABLE): Likewise.
31387 [IS_IN (libc)] (CENABLE): Likewise.
31388 [IS_IN (libc)] (CENABLE): Likewise.
31389 [IS_IN (librt)] (CDISABLE): Likewise.
31390 [IS_IN (librt)] (CDISABLE): Likewise.
31391 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31392 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31394 (PSEUDO_END): Likewise.
31395 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31396 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31397 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31398 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31399 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31400 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31401 (CENABLE): Likewise.
31402 (CDISABLE): Likewise.
31403 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31404 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31406 (PSEUDO_END): Likewise.
31407 [IS_IN (libpthread)] (CENABLE): Likewise.
31408 [IS_IN (libpthread)] (CDISABLE): Likewise.
31409 [IS_IN (libc)] (CENABLE): Likewise.
31410 [IS_IN (libc)] (CENABLE): Likewise.
31411 [IS_IN (librt)] (CDISABLE): Likewise.
31412 [IS_IN (librt)] (CDISABLE): Likewise.
31413 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31414 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31416 (PSEUDO_END): Likewise.
31417 [IS_IN (libpthread)] (CENABLE): Likewise.
31418 [IS_IN (libpthread)] (CDISABLE): Likewise.
31419 [IS_IN (libc)] (CENABLE): Likewise.
31420 [IS_IN (libc)] (CENABLE): Likewise.
31421 [IS_IN (librt)] (CDISABLE): Likewise.
31422 [IS_IN (librt)] (CDISABLE): Likewise.
31423 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31424 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31426 (PSEUDO_END): Likewise.
31427 [IS_IN (libpthread)] (CENABLE): Likewise.
31428 [IS_IN (libpthread)] (CDISABLE): Likewise.
31429 [IS_IN (libc)] (CENABLE): Likewise.
31430 [IS_IN (libc)] (CENABLE): Likewise.
31431 [IS_IN (librt)] (CDISABLE): Likewise.
31432 [IS_IN (librt)] (CDISABLE): Likewise.
31433 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31434 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31436 (PSEUDO_END): Likewise.
31437 [IS_IN (libpthread)] (CENABLE): Likewise.
31438 [IS_IN (libpthread)] (CDISABLE): Likewise.
31439 [IS_IN (libc)] (CENABLE): Likewise.
31440 [IS_IN (libc)] (CENABLE): Likewise.
31441 [IS_IN (librt)] (CDISABLE): Likewise.
31442 [IS_IN (librt)] (CDISABLE): Likewise.
31443 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31444 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
31446 (PSEUDO_END): Likewise.
31447 [IS_IN (libpthread)] (CENABLE): Likewise.
31448 [IS_IN (libpthread)] (CDISABLE): Likewise.
31449 [IS_IN (libc)] (CENABLE): Likewise.
31450 [IS_IN (libc)] (CENABLE): Likewise.
31451 [IS_IN (librt)] (CDISABLE): Likewise.
31452 [IS_IN (librt)] (CDISABLE): Likewise.
31453 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31454 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
31456 (PSEUDO_END): Likewise.
31457 [IS_IN (libpthread)] (CENABLE): Likewise.
31458 [IS_IN (libpthread)] (CDISABLE): Likewise.
31459 [IS_IN (libc)] (CENABLE): Likewise.
31460 [IS_IN (libc)] (CENABLE): Likewise.
31461 [IS_IN (librt)] (CDISABLE): Likewise.
31462 [IS_IN (librt)] (CDISABLE): Likewise.
31463 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31464 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
31466 (PSEUDO_END): Likewise.
31467 [IS_IN (libpthread)] (CENABLE): Likewise.
31468 [IS_IN (libpthread)] (CDISABLE): Likewise.
31469 [IS_IN (libc)] (CENABLE): Likewise.
31470 [IS_IN (libc)] (CENABLE): Likewise.
31471 [IS_IN (librt)] (CDISABLE): Likewise.
31472 [IS_IN (librt)] (CDISABLE): Likewise.
31473 (SINGLE_THREAD_P): Likewise.
31474 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
31476 (PSEUDO_END): Likewise.
31477 [IS_IN (libpthread)] (CENABLE): Likewise.
31478 [IS_IN (libpthread)] (CDISABLE): Likewise.
31479 [IS_IN (libc)] (CENABLE): Likewise.
31480 [IS_IN (libc)] (CENABLE): Likewise.
31481 [IS_IN (librt)] (CDISABLE): Likewise.
31482 [IS_IN (librt)] (CDISABLE): Likewise.
31483 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31484 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
31486 (PSEUDO_END): Likewise.
31487 [IS_IN (libpthread)] (CENABLE): Likewise.
31488 [IS_IN (libpthread)] (CDISABLE): Likewise.
31489 [IS_IN (libc)] (CENABLE): Likewise.
31490 [IS_IN (libc)] (CENABLE): Likewise.
31491 [IS_IN (librt)] (CDISABLE): Likewise.
31492 [IS_IN (librt)] (CDISABLE): Likewise.
31493 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31494 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
31495 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31496 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
31497 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
31499 (PSEUDO_END): Likewise.
31500 [IS_IN (libpthread)] (CENABLE): Likewise.
31501 [IS_IN (libpthread)] (CDISABLE): Likewise.
31502 [IS_IN (libc)] (CENABLE): Likewise.
31503 [IS_IN (libc)] (CENABLE): Likewise.
31504 [IS_IN (librt)] (CDISABLE): Likewise.
31505 [IS_IN (librt)] (CDISABLE): Likewise.
31506 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31507 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
31509 (PSEUDO_END): Likewise.
31510 [IS_IN (libpthread)] (CENABLE): Likewise.
31511 [IS_IN (libpthread)] (CDISABLE): Likewise.
31512 [IS_IN (libc)] (CENABLE): Likewise.
31513 [IS_IN (libc)] (CENABLE): Likewise.
31514 [IS_IN (librt)] (CDISABLE): Likewise.
31515 [IS_IN (librt)] (CDISABLE): Likewise.
31516 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31517 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
31519 (PSEUDO_END): Likewise.
31520 [IS_IN (libpthread)] (CENABLE): Likewise.
31521 [IS_IN (libpthread)] (CDISABLE): Likewise.
31522 [IS_IN (libc)] (CENABLE): Likewise.
31523 [IS_IN (libc)] (CENABLE): Likewise.
31524 [IS_IN (librt)] (CDISABLE): Likewise.
31525 [IS_IN (librt)] (CDISABLE): Likewise.
31526 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31527 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
31528 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31529 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
31530 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
31532 (PSEUDO_END): Likewise.
31533 [IS_IN (libpthread)] (CENABLE): Likewise.
31534 [IS_IN (libpthread)] (CDISABLE): Likewise.
31535 [IS_IN (libc)] (CENABLE): Likewise.
31536 [IS_IN (libc)] (CENABLE): Likewise.
31537 [IS_IN (librt)] (CDISABLE): Likewise.
31538 [IS_IN (librt)] (CDISABLE): Likewise.
31539 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31540 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
31542 (PSEUDO_END): Likewise.
31543 [IS_IN (libpthread)] (CENABLE): Likewise.
31544 [IS_IN (libpthread)] (CDISABLE): Likewise.
31545 [IS_IN (libc)] (CENABLE): Likewise.
31546 [IS_IN (libc)] (CENABLE): Likewise.
31547 [IS_IN (librt)] (CDISABLE): Likewise.
31548 [IS_IN (librt)] (CDISABLE): Likewise.
31549 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31551 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
31553 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
31555 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31557 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31559 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31562 * string/stratcliff.c (do_test): Declare size, nchars, inner,
31563 middle and outer with size_t instead of int. Repleace %d and
31564 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
31565 "MAX (outer, nchars - 64)" to support unsigned outer and
31566 nchars. Also exit loop when outer == 0.
31568 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31570 * include/fcntl.h (__fcntl_nocancel): Remove definition.
31571 * include/signal.h (__sigsuspend_nocancel): Likewise.
31572 * include/time.h (__nanosleep_nocancel): Likewise.
31573 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
31574 * login/utmp_file.c: Include non cancellable syscall header.
31575 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
31578 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31580 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
31581 .byte sequences with AVX512F instructions.
31582 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
31583 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
31584 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31585 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
31587 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
31590 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
31591 Steve Ellcey <sellcey@cavium.com>
31593 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
31594 Use PTR_REG macro in cmp instruction.
31596 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31598 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
31599 Change the return type of the ifunc resolver to match the return
31600 type of the target function.
31602 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31604 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
31605 (preadv64): Likewise.
31606 (pwrite64(: Likewise.
31607 (pwritev64): Likewise.
31609 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31610 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
31611 (LOAD_ARGS_0): Likewise.
31612 (LOAD_ARGS_1): Likewise.
31613 (LOAD_ARGS_2): Likewise.
31614 (LOAD_ARGS_3): Likewise.
31615 (LOAD_ARGS_4): Likewise.
31616 (LOAD_ARGS_5): Likewise.
31617 (LOAD_ARGS_6): Likewise.
31618 (LOAD_REGS_0): Likewise.
31619 (LOAD_REGS_1): Likewise.
31620 (LOAD_REGS_2): Likewise.
31621 (LOAD_REGS_3): Likewise.
31622 (LOAD_REGS_4): Likewise.
31623 (LOAD_REGS_5): Likewise.
31624 (LOAD_REGS_6): Likewise.
31625 (ASM_ARGS_0): Likewise.
31626 (ASM_ARGS_1): Likewise.
31627 (ASM_ARGS_2): Likewise.
31628 (ASM_ARGS_3): Likewise.
31629 (ASM_ARGS_4): Likewise.
31630 (ASM_ARGS_5): Likewise.
31631 (ASM_ARGS_6): Likewise.
31632 (LOAD_ARGS_TYPES_1): Likewise.
31633 (LOAD_ARGS_TYPES_2): Likewise.
31634 (LOAD_ARGS_TYPES_3): Likewise.
31635 (LOAD_ARGS_TYPES_4): Likewise.
31636 (LOAD_ARGS_TYPES_5): Likewise.
31637 (LOAD_ARGS_TYPES_6): Likewise.
31638 (LOAD_REGS_TYPES_1): Likewise.
31639 (LOAD_REGS_TYPES_2): Likewise.
31640 (LOAD_REGS_TYPES_3): Likewise.
31641 (LOAD_REGS_TYPES_4): Likewise.
31642 (LOAD_REGS_TYPES_5): Likewise.
31643 (LOAD_REGS_TYPES_6): Likewise.
31644 (TYPEFY): New define.
31645 (ARGIFY): Likewise.
31646 (internal_syscall0): Likewise.
31647 (internal_syscall1): Likewise.
31648 (internal_syscall2): Likewise.
31649 (internal_syscall3): Likewise.
31650 (internal_syscall4): Likewise.
31651 (internal_syscall5): Likewise.
31652 (internal_syscall6): Likewise.
31653 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
31654 (INTERNAL_SYSCALL_NCS): Remove define.
31655 (internal_syscall1): Add define.
31657 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31659 * math/w_remainder_compat.c: Remove duplicate inclusion of
31660 math-svid-compat.h.
31661 * math/w_remainderf_compat.c: Likewise.
31662 * math/w_remainderl_compat.c: Likewise.
31664 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31668 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31671 * math/tgmath.h (__floating_type): Simplify definitions.
31672 (__real_integer_type): New macro.
31673 (__complex_integer_type): Likewise.
31674 (__expr_is_real): Likewise.
31675 (__tgmath_real_type_sub): Update comment to describe handling of
31677 (__tgmath_complex_type_sub): New macro.
31678 (__tgmath_complex_type): Likewise.
31679 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31680 (__TGMATH_CF128): Use __expr_is_real.
31681 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
31683 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31684 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
31685 * math/gen-tgmath-tests.py (Type.create_type): Create complex
31688 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31690 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
31692 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
31694 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
31697 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
31698 nanosleep_not_cancel with __nanosleep_nocancel.
31699 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
31700 (__nanosleep_nocancel): New macro.
31701 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
31703 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
31705 (__nanosleep_nocancel): New prototype.
31707 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
31708 pause_not_cancel with __pause_nocancel.
31709 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
31710 (__pause_nocancel): New macro.
31711 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
31713 (__pause_nocancel): New prototype.
31714 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
31716 2017-08-22 Martin Sebor <msebor@redhat.com>
31718 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
31719 to return a pointer to the same type as the target function.
31721 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31725 * include/printf.h (__printf_fphex): Add attribute_hidden.
31726 (__guess_grouping): New prototype.
31727 * stdio-common/printf_fp.c (__guess_grouping): Removed.
31728 * stdio-common/reg-printf.c (__register_printf_specifier): Add
31729 libc_hidden_proto and libc_hidden_def.
31730 * stdlib/strfmon_l.c (__guess_grouping): Removed.
31731 (__vstrfmon_l): Remove the third argument passed to
31734 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31736 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
31737 definition for issignaling that does not rely on __MATH_TG,
31738 since __MATH_TG uses __builtin_types_compatible_p, which is only
31739 available in C mode.
31740 (CFLAGS-test-math-issignaling.cc): New variable.
31741 * math/Makefile [CXX] (tests): Add test-math-issignaling.
31742 * math/test-math-issignaling.cc: New test for C++ implementation
31743 of type-generic issignaling.
31744 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31745 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
31746 options of test-math-issignaling on powerpc64le.
31748 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31750 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31752 (hidden_proto): Likewise.
31753 (hidden_tls_proto): Likewise.
31754 (__hidden_proto): Likewise.
31756 2017-08-22 Florian Weimer <fweimer@redhat.com>
31758 math: Statically link tests of internal functionality.
31759 * math/Makefile (tests): Remove atest-exp, atest-sincos,
31761 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
31762 (gmp-objs): Remove assignment.
31763 (atest-exp, atest-sincos, atest-exp2): Remove targets.
31765 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31768 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
31770 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
31772 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
31775 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
31776 variable definitions above inclusion of ../Rules.
31778 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31780 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
31781 case calling __builtin_unreachable.
31783 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31785 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
31786 __waitpid_nocancel.
31787 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
31788 (__waitpid_nocancel): New macro.
31789 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
31791 (__waitpid_nocancel): Replace macro with a function.
31792 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
31795 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
31797 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
31798 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
31800 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
31801 __writev_nocancel_nostatus.
31802 (write_call_graph): Likewise.
31803 (write_bb_counts): Likewise.
31804 * resolv/herror.c (herror): Likewise.
31805 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
31807 (__writev_nocancel_nostatus): New macro.
31808 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
31810 (__writev_nocancel_nostatus): New function.
31812 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31815 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31817 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31819 (hidden_proto): Likewise.
31820 (hidden_tls_proto): Likewise.
31821 (__hidden_proto): Likewise.
31824 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31825 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31834 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31835 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31836 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31837 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31838 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31839 GLIBC_2.0 sqrtl symbol.
31841 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31842 [__USE_MISC] (_LIB_VERSION): Likewise.
31843 [__USE_MISC] (struct exception): Likewise.
31844 [__USE_MISC] (matherr): Likewise.
31845 [__USE_MISC] (DOMAIN): Likewise.
31846 [__USE_MISC] (SING): Likewise.
31847 [__USE_MISC] (OVERFLOW): Likewise.
31848 [__USE_MISC] (UNDERFLOW): Likewise.
31849 [__USE_MISC] (TLOSS): Likewise.
31850 [__USE_MISC] (PLOSS): Likewise.
31851 [__USE_MISC] (HUGE): Likewise.
31852 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31853 * math/math-svid-compat.h: New file.
31854 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31856 * include/math.h [!_ISOMAC] (__matherr): Remove.
31857 * manual/arith.texi (FP Exceptions): Do not document matherr.
31858 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31859 (tests-internal): New variable.
31860 (install-lib): Do not add libieee.a.
31861 (non-lib.a): Likewise.
31862 (extra-objs): Do not add libieee.a and ieee-math.o.
31863 (CPPFLAGS-s_lib_version.c): Remove variable.
31864 ($(objpfx)libieee.a): Remove rule.
31865 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31866 * math/ieee-math.c: Remove.
31867 * math/libm-test-support.c (matherr): Remove.
31868 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31869 and license notices. Include <math-svid-compat.h> and
31871 (matherr): Undefine as macro. Use compat_symbol_reference.
31872 (_LIB_VERSION): Likewise.
31873 * math/test-matherr-2.c: New file.
31874 * math/test-matherr-3.c: Likewise.
31875 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31877 (__kernel_standard_f): Likewise.
31878 (__kernel_standard_l): Likewise.
31879 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31880 <math_private.h>. Include <math-svid-compat.h>.
31881 (_LIB_VERSION): Undefine as macro.
31882 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31883 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31884 [LIBM_SVID_COMPAT], use compat_symbol.
31885 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31886 <math_private.h>. Include <math-svid-compat.h>.
31887 (matherr): Undefine as macro.
31888 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31890 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31891 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31892 compat_symbol_reference.
31893 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31894 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31895 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31896 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31897 (MATHERR_D): Remove declaration.
31898 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31899 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31900 [LIBM_BUILD] (pmatherrf): Likewise.
31901 [LIBM_BUILD] (pmatherr): Likewise.
31902 [LIBM_BUILD] (pmatherrl): Likewise.
31903 (DOMAIN): Likewise.
31905 (OVERFLOW): Likewise.
31906 (UNDERFLOW): Likewise.
31909 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31910 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31912 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31913 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31915 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31916 * math/w_acos_compat.c: Likewise.
31917 * math/w_acosf_compat.c: Likewise.
31918 * math/w_acosh_compat.c: Likewise.
31919 * math/w_acoshf_compat.c: Likewise.
31920 * math/w_acoshl_compat.c: Likewise.
31921 * math/w_acosl_compat.c: Likewise.
31922 * math/w_asin_compat.c: Likewise.
31923 * math/w_asinf_compat.c: Likewise.
31924 * math/w_asinl_compat.c: Likewise.
31925 * math/w_atan2_compat.c: Likewise.
31926 * math/w_atan2f_compat.c: Likewise.
31927 * math/w_atan2l_compat.c: Likewise.
31928 * math/w_atanh_compat.c: Likewise.
31929 * math/w_atanhf_compat.c: Likewise.
31930 * math/w_atanhl_compat.c: Likewise.
31931 * math/w_cosh_compat.c: Likewise.
31932 * math/w_coshf_compat.c: Likewise.
31933 * math/w_coshl_compat.c: Likewise.
31934 * math/w_exp10_compat.c: Likewise.
31935 * math/w_exp10f_compat.c: Likewise.
31936 * math/w_exp10l_compat.c: Likewise.
31937 * math/w_exp2_compat.c: Likewise.
31938 * math/w_exp2f_compat.c: Likewise.
31939 * math/w_exp2l_compat.c: Likewise.
31940 * math/w_fmod_compat.c: Likewise.
31941 * math/w_fmodf_compat.c: Likewise.
31942 * math/w_fmodl_compat.c: Likewise.
31943 * math/w_hypot_compat.c: Likewise.
31944 * math/w_hypotf_compat.c: Likewise.
31945 * math/w_hypotl_compat.c: Likewise.
31946 * math/w_j0_compat.c: Likewise.
31947 * math/w_j0f_compat.c: Likewise.
31948 * math/w_j0l_compat.c: Likewise.
31949 * math/w_j1_compat.c: Likewise.
31950 * math/w_j1f_compat.c: Likewise.
31951 * math/w_j1l_compat.c: Likewise.
31952 * math/w_jn_compat.c: Likewise.
31953 * math/w_jnf_compat.c: Likewise.
31954 * math/w_jnl_compat.c: Likewise.
31955 * math/w_lgamma_main.c: Likewise.
31956 * math/w_lgamma_r_compat.c: Likewise.
31957 * math/w_lgammaf_main.c: Likewise.
31958 * math/w_lgammaf_r_compat.c: Likewise.
31959 * math/w_lgammal_main.c: Likewise.
31960 * math/w_lgammal_r_compat.c: Likewise.
31961 * math/w_log10_compat.c: Likewise.
31962 * math/w_log10f_compat.c: Likewise.
31963 * math/w_log10l_compat.c: Likewise.
31964 * math/w_log2_compat.c: Likewise.
31965 * math/w_log2f_compat.c: Likewise.
31966 * math/w_log2l_compat.c: Likewise.
31967 * math/w_log_compat.c: Likewise.
31968 * math/w_logf_compat.c: Likewise.
31969 * math/w_logl_compat.c: Likewise.
31970 * math/w_pow_compat.c: Likewise.
31971 * math/w_powf_compat.c: Likewise.
31972 * math/w_powl_compat.c: Likewise.
31973 * math/w_remainder_compat.c: Likewise.
31974 * math/w_remainderf_compat.c: Likewise.
31975 * math/w_remainderl_compat.c: Likewise.
31976 * math/w_scalb_compat.c: Likewise.
31977 * math/w_scalbf_compat.c: Likewise.
31978 * math/w_scalbl_compat.c: Likewise.
31979 * math/w_sinh_compat.c: Likewise.
31980 * math/w_sinhf_compat.c: Likewise.
31981 * math/w_sinhl_compat.c: Likewise.
31982 * math/w_sqrt_compat.c: Likewise.
31983 * math/w_sqrtf_compat.c: Likewise.
31984 * math/w_sqrtl_compat.c: Likewise.
31985 * math/w_tgamma_compat.c: Likewise.
31986 * math/w_tgammaf_compat.c: Likewise.
31987 * math/w_tgammal_compat.c: Likewise.
31988 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31989 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31990 * sysdeps/ieee754/k_standard.c: Likewise.
31991 * sysdeps/ieee754/k_standardf.c: Likewise.
31992 * sysdeps/ieee754/k_standardl.c: Likewise.
31993 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31994 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31995 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31996 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31997 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31998 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31999 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32000 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32001 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32006 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32007 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32008 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32009 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32011 2017-08-21 Florian Weimer <fweimer@redhat.com>
32014 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32015 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32016 Move before inclusion of ../Rules.
32018 2017-08-21 Florian Weimer <fweimer@redhat.com>
32021 * assert/assert.h (assert): Use static_cast (bool) for C++.
32022 Use the ternary operator in the warning branch for GNU C.
32023 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32024 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32025 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32026 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32027 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32029 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32032 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32033 (__syscall_clock_gettime): Add attribute_hidden.
32034 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32035 (__start_context): Likewise.
32037 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32039 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32041 (hidden_proto): Likewise.
32042 (hidden_tls_proto): Likewise.
32043 (__hidden_proto): Likewise.
32045 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32047 * include/libc-symbols.h (attribute_hidden): Enable hidden
32048 visibility in libc.a compiled with PIE.
32050 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32053 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32054 Add attribute_hidden.
32056 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32059 * Makerules (all-nonlib): Add $(others-extras).
32060 * catgets/Makefile (others-extras): New.
32061 * elf/Makefile (others-extras): Likewise.
32062 * nss/Makefile (others-extras): Likewise.
32064 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32067 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32068 * elf/dl-open.c: Include <libc-internal.h>.
32069 (__libc_multiple_libcs): Removed.
32070 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32072 * include/libc-internal.h (__libc_multiple_libcs): New.
32073 * misc/sbrk.c: Include <libc-internal.h>.
32074 (__libc_multiple_libcs): Removed.
32076 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32079 * grp/initgroups.c (__nss_group_database): Removed.
32080 (__nss_initgroups_database): Likewise.
32081 * nscd/gai.c (__nss_hosts_database): Likewise.
32082 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32083 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32084 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32085 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32086 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32087 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32089 * nss/nsswitch.c (__nss_database_custom): Define only if
32090 USE_NSCD is defined.
32091 (__nss_configure_lookup): Use __nss_database_custom only if
32092 USE_NSCD is defined.
32093 * nss/nsswitch.h (__nss_database_custom): Declare only if
32094 USE_NSCD is defined. Add attribute_hidden.
32095 (__nss_setent): Add attribute_hidden.
32096 (__nss_endent): Likewise.
32097 (__nss_getent_r): Likewise.
32098 (__nss_getent): Likewise.
32099 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32101 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32104 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32105 libc_hidden_proto and libc_hidden_def.
32107 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32110 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32111 Add libc_hidden_proto.
32112 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32113 Add libc_hidden_def.
32115 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32118 * gmon/Makefile (routines): Remove bb_init_func and
32120 (elide-routines.os): Removed.
32121 * gmon/bb_exit_func.c: Likewise.
32122 * gmon/bb_init_func.c: Likewise.
32123 * include/sys/gmon.h (__bb): Likewise.
32124 (__bb_init_func): Likewise.
32125 (__bb_exit_func): Likewise.
32126 * sysdeps/alpha/bb_init_func.S: Likewise.
32128 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32130 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32131 * include/setjmp.h (____longjmp_chk): Here. Add
32134 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32137 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32139 (__strspn_sse2): Likewise.
32141 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32143 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32144 (close_not_cancel_no_status): Likewise.
32145 (__close_nocancel): New macro.
32146 (__close_nocancel_nostatus): Likewise.
32147 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32149 (close_not_cancel): Likewise.
32150 (close_not_cancel_no_status): Likewise.
32151 (__close_nocancel): New prototype.
32152 (__close_nocancel_nostatus): New function.
32153 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32154 * catgets/open_catalog.c (__open_catalog): Replace
32155 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32156 * gmon/gmon.c (write_gmon): Likewise.
32157 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32158 * intl/loadmsgcat.c (close): Likewise.
32159 * io/ftw.c (open_dir_stream): Likewise.
32160 (ftw_startup): Likewise.
32161 * libio/fileops.c (_IO_file_open): Likewise.
32162 (_IO_file_close_mmap): Likewise.
32163 (_IO_file_close): Likewise.
32164 * libio/iopopen.c (_IO_dup2): Likewise.
32165 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32166 * locale/loadlocale.c (_nl_load_locale): Likewise.
32167 * login/utmp_file.c (pututline_file): Likewise.
32168 (endutent_file): Likewise.
32169 * misc/daemon.c (daemon): Likewise.
32170 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32171 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32172 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32173 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32174 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32175 * nscd/nscd_helper.c (open_socket): Likewise.
32176 (__nscd_open_socket): Likewise.
32177 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32178 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32179 (__nscd_innetgr): Likewise.
32180 * nss/nss_db/db-open.c (internal_setent): Likewise.
32181 * resolv/res-close.c (__res_iclose): Likewise.
32182 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32183 * sysdeps/posix/closedir.c (__closedir): Likewise.
32184 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32185 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32186 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32187 (opendir_tail): Likewise.
32188 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32189 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32190 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32191 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32192 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32193 (gethostid): Likewise.
32194 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32195 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32197 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32198 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32199 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32200 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32202 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32203 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32204 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32206 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32207 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32209 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32211 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32212 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32213 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32216 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32217 (openat_not_cancel_3): Likewise.
32218 (openat64_not_cancel_3): Likewise).
32219 (openat_not_cancel_3): Likewise).
32220 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32222 (openat_not_cancel_3): Likewise.
32223 (openat64_not_cancel): Likewise.
32224 (openat64_not_cancel_3): Likewise.
32225 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32226 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32227 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32228 __open{64}_nocancel.
32229 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32230 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32231 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32233 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32236 * include/argz.h (__argz_create_sep): New function prototype.
32237 (__argz_append): Likewise.
32238 (__argz_add): Likewise.
32239 (__argz_add_sep): Likewise.
32240 (__argz_delete): Likewise.
32241 (__argz_insert): Likewise.
32242 (__argz_replace): Likewise.
32243 * string/argz.h (__argz_create_sep): Removed.
32244 (__argz_append): Likewise.
32245 (__argz_add): Likewise.
32246 (__argz_add_sep): Likewise.
32247 (__argz_delete): Likewise.
32248 (__argz_insert): Likewise.
32249 (__argz_replace): Likewise.
32251 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32253 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32254 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32255 (GNU_PROPERTY_STACK_SIZE): Likewie.
32256 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32257 (GNU_PROPERTY_LOPROC): Likewise.
32258 (GNU_PROPERTY_HIPROC): Likewise.
32259 (GNU_PROPERTY_LOUSER): Likewise.
32260 (GNU_PROPERTY_HIUSER): Likewise.
32261 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32262 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32263 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32264 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32265 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32266 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32267 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
32268 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
32269 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
32270 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
32271 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
32272 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
32273 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
32274 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
32275 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
32276 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
32277 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
32278 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
32279 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
32280 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
32281 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
32282 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
32283 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
32285 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32287 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
32290 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32293 * math/math.h (isinf): Check if in C or C++ mode before using
32294 __builtin_types_compatible_p, since this is a C mode feature.
32296 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32298 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
32299 (__write_nocancel): New macro.
32300 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
32301 Rewrite as a function prototype.
32302 (write_not_cancel): Remove macro.
32303 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
32304 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
32305 (write_gmon): Likewise.
32306 * libio/fileops.c (_IO_new_file_write): Likewise.
32307 * login/utmp_file.c (pututline_file): Likewise.
32308 (updwtmp_file): Likewise.
32309 * stdio-common/psiginfo.c (psiginfo): Likewise.
32310 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32311 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32312 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32314 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32317 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
32318 (__read_nocancel): New macro.
32319 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32321 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
32323 (__read_nocancel): New prototype.
32324 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
32325 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
32326 with __read_nocancel.
32327 * intl/loadmsgcat.c (read): Likewise.
32328 * libio/fileops.c (_IO_file_read): Likewise.
32329 * locale/loadlocale.c (_nl_load_locale): Likewise.
32330 * login/utmp_file.c (getutent_r_file): Likewise.
32331 (internal_getut_r): Likewise.
32332 (getutline_r_file): Likewise.
32333 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32334 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32335 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32336 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32338 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
32339 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32340 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32342 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32344 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32346 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32348 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32350 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32353 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
32354 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
32357 2017-08-17 DJ Delorie <dj@redhat.com>
32359 * bug17079.c: Update to new test harness.
32360 * test-digits-dots.c: Likewise.
32361 * test-netdb.c: Likewise.
32362 * tst-field.c: Likewise.
32363 * tst-nss-getpwent.c: Likewise.
32364 * tst-nss-static.c: Likewise.
32365 * tst-nss-test1.c: Likewise.
32366 * tst-nss-test2.c: Likewise.
32367 * tst-nss-test3.c: Likewise.
32368 * tst-nss-test4.c: Likewise.
32369 * tst-nss-test5.c: Likewise.
32371 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32373 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
32374 (open_not_cancel_2): Likewise.
32375 (open_nocancel): New macro.
32376 (open64_nocancel): Likewise.
32377 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
32378 (open_not_cancel_2): Likewise.
32379 (__open_nocancel): New prototype.
32380 (__open64_nocancel): Likewise.
32381 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32383 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
32384 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32385 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32386 with __open_nocancel.
32387 * csu/check_fds.c (check_one_fd): Likewise.
32388 * gmon/gmon.c (write_gmon): Likewise.
32389 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32390 * intl/loadmsgcat.c (open): Likewise.
32391 * libio/fileops.c (_IO_file_open): Likewise.
32392 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32393 * locale/loadlocale.c (_nl_load_locale): Likewise.
32394 * login/utmp_file.c (setutent_file): Likewise.
32395 * misc/daemon.c (daemon): Likewise.
32396 * nss/nss_db/db-open.c (internal_setent): Likewise.
32397 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32398 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32399 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32400 (__opendir): Likewise.
32401 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32402 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32403 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32404 (gethostid): Likewise.
32405 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32406 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32408 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32409 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32410 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32411 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32413 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32415 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32417 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32419 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32421 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32423 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32424 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32426 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32428 * benchtests/bench-skeleton.c (main): Add support for
32429 latency benchmarking.
32430 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32432 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32434 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32435 the startup object.
32437 2017-08-17 Florian Weimer <fweimer@redhat.com>
32439 * include/sys/socket.h (__opensock): Remove internal_function.
32440 * socket/opensock.c (__opensock): Likewise.
32441 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32443 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32446 * signal/bits/types/__sigval_t.h: New file.
32447 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32448 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32449 and define sigval_t using __sigval_t.
32450 * include/bits/types/__sigval_t.h: New file.
32451 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32452 instead of <bits/types/__sigval_t.h>.
32453 (struct sigevent): Use __sigval_t instead of sigval_t.
32454 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32455 instead of <bits/types/__sigval_t.h>.
32456 (siginfo_t): Use __sigval_t instead of sigval_t.
32457 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32458 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32459 (struct sigevent): Use __sigval_t instead of sigval_t.
32460 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
32461 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32462 (siginfo_t): Use __sigval_t instead of sigval_t.
32463 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
32465 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32467 * NEWS: Remove "[Add new features here]" for 2.27.
32469 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32471 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
32474 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32476 * NEWS: Mention x86-64 FMA optimization.
32478 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32481 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32483 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
32484 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
32485 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
32487 2017-08-16 Andreas Schwab <schwab@suse.de>
32491 * elf/ldd.bash.in: Never run file directly.
32493 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
32496 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
32497 (L(SP_INF_0)): Likewise.
32499 2017-08-15 Florian Weimer <fweimer@redhat.com>
32501 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
32504 2017-08-15 Florian Weimer <fweimer@redhat.com>
32506 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
32507 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
32508 BROKEN_THREAD_SIGNALS code.
32509 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
32510 request_list): Remove caller_pid member used for
32511 BROKEN_THREAD_SIGNALS.
32512 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
32513 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32514 Remove BROKEN_THREAD_SIGNALS support.
32515 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
32516 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
32518 2017-08-15 Florian Weimer <fweimer@redhat.com>
32520 * gmon/Makefile (tests): Add tst-gmon.
32521 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
32523 (tests-special): Add tst-gmon-prof.out.
32524 (tst-gmon.out): Depend on clean-tst-gmon-data.
32525 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
32526 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
32527 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
32529 * aclocal.m4 (GPROF): Set and substitute.
32530 * config.amke.in (GPROF): Set.
32531 * configure: Regenerate.
32533 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
32535 * elf/elf.h A (NT_PPC_TAR): New macro.
32536 (NT_PPC_PPR): Likewise.
32537 (NT_PPC_DSCR): Likewise.
32538 (NT_PPC_EBB): Likewise.
32539 (NT_PPC_PMU): Likewise.
32540 (NT_PPC_TM_CGPR): Likewise.
32541 (NT_PPC_TM_CFPR): Likewise.
32542 (NT_PPC_TM_CVMX): Likewise.
32543 (NT_PPC_TM_CVSX): Likewise.
32544 (NT_PPC_TM_SPR): Likewise.
32545 (NT_PPC_TM_CTAR): Likewise.
32546 (NT_PPC_TM_CPPR): Likewise.
32547 (NT_PPC_TM_CDSCR): Likewise.
32549 2017-08-15 Florian Weimer <fweimer@redhat.com>
32551 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
32552 regparm (2) instead of internal_function.
32553 (_MCOUNT_DECL): Adjust.
32555 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32557 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
32558 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32560 2017-08-14 Joseph Myers <joseph@codesourcery.com>
32562 * conform/data/sys/wait.h-data (si_value): Do not expect for
32565 2017-08-14 Florian Weimer <fweimer@redhat.com>
32568 NSS: Create stubs for accidentally exported lookup functions.
32569 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
32570 Remove declaration.
32571 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
32572 (ether_hostton): Call __nss_ethers_lookup2 instead.
32573 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
32574 (ether_ntohost): Call __nss_ethers_lookup2 instead.
32575 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
32576 (setup): Call __nss_netgroup_lookup2 instead.
32577 * nss/Makefile (routines): Add compat-lookup.
32578 * nss/Versions (GLIBC_2.27): Add symbol version.
32579 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
32580 (DB_COMPAT_FCT): Remove.
32581 * nss/compat-lookup.c: New file.
32582 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
32583 from databases.def.
32584 * nss/service-lookup.c (NO_COMPAT): Remove definition.
32585 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
32586 (netname2user): Call __nss_publickey_lookup2 instead.
32587 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
32588 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
32591 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32592 Sergei Trofimovich <slyfox@inbox.ru>
32595 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
32596 Rename to MMAP2_PAGE_UNIT.
32597 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
32598 __OFF_T_MATCHES_OFF64_T is not defined.
32599 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
32601 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
32602 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
32604 2017-08-14 Florian Weimer <fweimer@redhat.com>
32606 i386: Do not set internal_function.
32607 * config.h.in (USE_REGPARMS, internal_function): Remove.
32608 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
32609 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
32611 2017-08-14 Florian Weimer <fweimer@redhat.com>
32613 * elf/dl-init.c (_dl_init): Remove internal_function.
32614 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
32615 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
32617 2017-08-14 Florian Weimer <fweimer@redhat.com>
32619 * elf/rtld.c (_dl_start): Remove internal_function.
32620 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
32623 2017-08-14 Florian Weimer <fweimer@redhat.com>
32625 * elf/dl-fini.c (_dl_fini): Remove internal_function
32626 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32628 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
32630 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
32631 (bit_cpu_SHSTK): Likewise.
32632 (index_cpu_IBT): Likewise.
32633 (index_cpu_SHSTK): Likewise.
32634 (reg_IBT): Likewise.
32635 (reg_SHSTK): Likewise.
32636 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32637 Handle index_cpu_IBT and index_cpu_SHSTK.
32639 2017-08-14 Mike FABIAN <mfabian@redhat.com>
32642 * po/fr.po: Fix spelling mistake.
32644 2017-08-13 Florian Weimer <fweimer@redhat.com>
32646 * elf/dl-addr.c (_dl_addr): Remove internal_function.
32647 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
32648 (_dl_catch_error, _dl_receive_error): Likewise.
32649 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
32650 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
32651 (_dl_deallocate_tls): Likewise.
32652 * include/dlfcn.h (_dl_addr): Likewise.
32653 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
32654 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
32655 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
32658 2017-08-13 Florian Weimer <fweimer@redhat.com>
32660 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
32661 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
32663 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
32665 2017-08-13 Florian Weimer <fweimer@redhat.com>
32667 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
32669 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
32670 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
32671 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
32672 internal_function from _dl_make_stack_executable_hook member.
32673 (_dl_make_stack_executable): Remove internal_function.
32674 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
32676 * sysdeps/unix/sysv/linux/dl-execstack.c
32677 (_dl_make_stack_executable): Likewise.
32679 2017-08-13 Florian Weimer <fweimer@redhat.com>
32681 * sysdeps/unix/sysv/linux/netlinkaccess.h
32682 (__netlink_assert_response): Remove internal_function.
32683 * sysdeps/unix/sysv/linux/netlink_assert_response.c
32684 (__netlink_assert_response): Likewise.
32686 2017-08-13 Florian Weimer <fweimer@redhat.com>
32688 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
32690 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
32692 2017-08-13 Florian Weimer <fweimer@redhat.com>
32694 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
32696 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
32697 * inet/netgroup.h (__internal_setnetgrent)
32698 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32699 * inet/getnetgrent_r.c (__internal_setnetgrent)
32700 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32701 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
32702 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
32703 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
32704 * nss/nsswitch.h (db_lookup_function): Likewise.
32706 2017-08-13 Florian Weimer <fweimer@redhat.com>
32708 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
32709 Remove internal_function.
32710 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
32711 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
32712 message argument on the stack.
32713 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
32716 2017-08-12 Mike FABIAN <mfabian@redhat.com>
32718 Adapt test case data to the changes in the thousands
32722 * localedata/tst-langinfo.sh: Adapt test case data.
32723 * stdlib/tst-strfmon_l.c: Likewise.
32724 * stdlib/tst-strtod4.c: Likewise.
32725 * stdlib/tst-strtod5i.c: Likewise.
32727 2017-08-11 Florian Weimer <fweimer@redhat.com>
32730 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
32731 Suppress pedantic warning resulting from statement expression.
32732 (__ASSERT_FUNCTION): Add missing __extension__.
32734 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32736 * benchtests/bench-memmove-large.c: Print output in JSON
32738 * benchtests/bench-memmove.c: Likewise.
32740 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
32741 * benchtests/bench-memchr.c (do_one_test): Likewise.
32742 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
32743 * benchtests/bench-memcpy.c (do_one_test): Likewise.
32744 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
32745 * benchtests/bench-memmove.c (do_one_test): Likewise.
32746 * benchtests/bench-memset-large.c (do_one_test): Likewise.
32747 * benchtests/bench-memset.c (do_one_test): Likewise.
32748 * benchtests/bench-string.h (test_init): Remove memsets.
32750 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32753 (Computing the Width of an Integer Data Type): Rename section to
32754 "Width of an Integer Type". Remove inaccurate statement regarding
32755 lack of C language facilities for determining width of integer
32756 types, and reorder content to improve flow and context of
32759 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32761 * lang.texi (va_copy): Change standard from ISO to C99.
32762 (__va_copy): Add standard and header annotation.
32763 Update description for clarity of origins and current use.
32765 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32768 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
32769 xssqrtqp requires operands to be in Vector Registers
32770 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
32771 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
32772 (__ieee754_sqrtf128): Likewise.
32774 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
32776 * sysdeps/aarch64/memcmp.S (memcmp):
32777 Rewrite of optimized memcmp.
32779 2017-08-10 Florian Weimer <fweimer@redhat.com>
32781 Introduce ld.so exceptions.
32782 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
32783 (_dl_exception_create, _dl_exception_create_format)
32784 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
32785 (_dl_catch_exception): Declare.
32786 (_dl_catch_error): Update comment.
32787 * elf/dl-error-skeleton.c (struct catch): Replace objname,
32788 errstring, malloced members with exception member.
32789 (_dl_out_of_memory): Remove.
32790 (fatal_error): New function, extracted from _dl_signal_error.
32791 (_dl_signal_exception, _dl_signal_cexception): New functions.
32792 (_dl_signal_error): Call _dl_exception_create to allocate an
32794 (_dl_catch_exception): New function, based on _dl_catch_error.
32795 (_dl_catch_error): Implement using _dl_catch_exception.
32796 * elf/dl-exception.c: New file.
32797 * elf/Makefile (dl-routines): Add dl-exception.
32798 (elide-routines.os): Likewise.
32799 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
32800 _dl_exception_create_format, _dl_exception_free.
32801 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
32802 _dl_signal_exception.
32803 * elf/dl-lookup.c (make_string): Remove.
32804 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
32805 _dl_signal_cexception, _dl_exception_free.
32806 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
32807 _dl_signal_exception.
32808 * elf/dl-sym.c (do_sym): Likewise.
32809 * elf/dl-version.c (make_string): Remove.
32810 (match_symbol): Use _dl_exception_create_format,
32811 _dl_signal_cexception, _dl_exception_free.
32812 (_dl_check_map_versions): Likewise.
32813 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
32814 _dl_catch_exception.
32815 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
32816 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
32817 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
32818 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
32819 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
32820 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
32821 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
32822 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32824 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32831 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32832 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32833 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32835 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32837 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32839 2017-08-10 Florian Weimer <fweimer@redhat.com>
32841 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32842 attribute_hidden, internal_function.
32843 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32846 2017-08-10 Florian Weimer <fweimer@redhat.com>
32848 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32849 function which calls __builtin_unreachable.
32851 2017-08-10 Mike FABIAN <mfabian@redhat.com>
32853 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32854 Indian monetary formatting
32855 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32858 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32860 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32861 Fix typo in comment.
32864 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32865 PTRACE_SEIZE_DEVEL): Remove.
32866 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32867 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32868 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32869 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32870 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32872 2017-08-09 Joseph Myers <joseph@codesourcery.com>
32874 * posix/bits/types.h (__qaddr_t): Remove.
32877 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32878 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32880 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32881 (ucontext_t): Use __ctx with uc_flags.
32882 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32883 (__ctxt): Likewise.
32884 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32886 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32887 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32889 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32890 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32892 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32894 (ucontext_t): Use __ctx with uc_flags.
32895 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32896 (ucontext_t): Use __ctx with uc_flags.
32897 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32898 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32899 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32900 (ucontext_t): Use __ctx with uc_flags.
32901 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32902 undefine further down.
32903 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32905 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32906 undefine further down.
32907 (ucontext_t): Use __ctx with uc_flags.
32908 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32909 undefine further down.
32910 (ucontext_t): Use __ctx with uc_flags.
32911 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32912 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32913 Rename uc_pad to __glibc_reserved1.
32914 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32915 undefine further down.
32916 (ucontext_t): Use __ctx with uc_flags.
32917 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32919 (ucontext_t): Use __ctx with uc_flags.
32920 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32921 __ctx with uc_flags.
32922 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32923 (ucontext_t): Use __ctx with uc_flags.
32924 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32925 __ctx with uc_flags.
32927 2017-08-09 Florian Weimer <fweimer@redhat.com>
32930 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32931 before early return.
32933 2017-08-09 Andreas Schwab <schwab@suse.de>
32936 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32940 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32941 tst-compat-forwarder.
32942 (modules-names): Add tst-compat-forwarder-mod.
32943 ($(objpfx)tst-compat-forwarder): Depend on
32944 $(objpfx)tst-compat-forwarder-mod.so.
32945 * nptl/tst-compat-forwarder.c: New file.
32946 * nptl/tst-compat-forwarder-mod.c: New file.
32948 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32950 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32953 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32954 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32956 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32958 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32959 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32960 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32961 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32963 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32966 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32969 * manual/setjmp.texi (getcontex): Document uc_stack value
32970 compatibility differences.
32972 2017-08-08 Joseph Myers <joseph@codesourcery.com>
32974 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32975 (old_malloc_hook): Likewise.
32976 (old_memalign_hook): Likewise.
32977 (old_realloc_hook): Likewise.
32978 (struct hdr): Likewise.
32980 (freehook): Likewise.
32981 (mallochook): Likewise.
32982 (memalignhook): Likewise.
32983 (reallochook): Likewise.
32984 (mprobe): Likewise.
32985 * malloc/mtrace.c (mallwatch): Likewise.
32986 (tr_old_free_hook): Likewise.
32987 (tr_old_malloc_hook): Likewise.
32988 (tr_old_realloc_hook): Likewise.
32989 (tr_old_memalign_hook): Likewise.
32990 (tr_where): Likewise.
32991 (lock_and_info): Likewise.
32992 (tr_freehook): Likewise.
32993 (tr_mallochook): Likewise.
32994 (tr_reallochook): Likewise.
32995 (tr_memalignhook): Likewise.
32996 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32997 * misc/mmap.c (__mmap): Likewise.
32998 * misc/mmap64.c (__mmap64): Likewise.
32999 * misc/mprotect.c (__mprotect): Likewise.
33000 * misc/msync.c (msync): Likewise.
33001 * misc/munmap.c (__munmap): Likewise.
33002 * posix/posix_madvise.c (posix_madvise): Likewise.
33003 * socket/send.c (__send): Likewise.
33004 * socket/sendto.c (__sendto): Likewise.
33005 * socket/setsockopt.c (__setsockopt): Likewise.
33006 * string/memcmp.c (__ptr_t): Remove macro.
33007 (MEMCMP): Use void * instead of ptr_t.
33008 * string/memrchr.c (__ptr_t): Remove macro.
33009 (__memrchr): Use void * instead of ptr_t.
33010 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33011 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33012 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33013 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33014 * sysdeps/mach/msync.c (msync): Likewise.
33015 * sysdeps/mach/munmap.c (__munmap): Likewise.
33016 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33018 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33019 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33020 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33021 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33022 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33023 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33024 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33025 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33027 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33028 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33029 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33030 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33031 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33032 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33033 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33034 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33035 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33037 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33038 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33039 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33040 (MEMCMP): Use void * instead of ptr_t.
33041 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33042 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33044 2017-08-08 Florian Weimer <fweimer@redhat.com>
33046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33049 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33052 * csu/libc-tls.c: Include <startup.h> first.
33053 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33054 * elf/dl-tunables.c: Include <startup.h> first.
33055 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33056 * sysdeps/generic/startup.h: New file.
33057 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33058 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33059 (I386_USE_SYSENTER): New. Defined to 0.
33061 2017-08-08 Andreas Schwab <schwab@suse.de>
33064 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33065 * nptl/pt-system.c (system): Likewise.
33067 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33070 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33072 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33073 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33074 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33075 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33076 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33077 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33078 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33080 2017-08-07 Joseph Myers <joseph@codesourcery.com>
33083 * bits/sigaction.h (struct sigaction): Define sa_handler and
33084 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33085 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33086 [__USE_XOPEN_EXTENDED].
33087 (SA_RESTART): Likewise.
33088 (SA_NODEFER): Likewise.
33089 (SA_RESETHAND): Likewise.
33090 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33091 (struct sigaction): Define sa_handler and sa_sigaction using union
33092 also for [__USE_XOPEN_EXTENDED].
33093 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33094 [__USE_XOPEN_EXTENDED].
33095 (SA_RESTART): Likewise.
33096 (SA_NODEFER): Likewise.
33097 (SA_RESETHAND): Likewise.
33098 * sysdeps/unix/sysv/linux/bits/sigaction.h
33099 (struct sigaction): Define sa_handler and sa_sigaction using union
33100 also for [__USE_XOPEN_EXTENDED].
33101 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33102 [__USE_XOPEN_EXTENDED].
33103 (SA_RESTART): Likewise.
33104 (SA_NODEFER): Likewise.
33105 (SA_RESETHAND): Likewise.
33106 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33107 (struct sigaction): Define sa_handler and sa_sigaction using union
33108 also for [__USE_XOPEN_EXTENDED].
33109 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33110 [__USE_XOPEN_EXTENDED].
33111 (SA_RESTART): Likewise.
33112 (SA_NODEFER): Likewise.
33113 (SA_RESETHAND): Likewise.
33114 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33115 (struct sigaction): Define sa_handler and sa_sigaction using union
33116 also for [__USE_XOPEN_EXTENDED].
33117 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33118 [__USE_XOPEN_EXTENDED].
33119 (SA_RESTART): Likewise.
33120 (SA_NODEFER): Likewise.
33121 (SA_RESETHAND): Likewise.
33122 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33123 (struct sigaction): Define sa_handler and sa_sigaction using union
33124 also for [__USE_XOPEN_EXTENDED].
33125 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33126 [__USE_XOPEN_EXTENDED].
33127 (SA_RESTART): Likewise.
33128 (SA_NODEFER): Likewise.
33129 (SA_RESETHAND): Likewise.
33130 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33131 (struct sigaction): Define sa_handler and sa_sigaction using union
33132 also for [__USE_XOPEN_EXTENDED].
33133 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33134 [__USE_XOPEN_EXTENDED].
33135 (SA_RESTART): Likewise.
33136 (SA_NODEFER): Likewise.
33137 (SA_RESETHAND): Likewise.
33138 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33139 (struct sigaction): Define sa_handler and sa_sigaction using union
33140 also for [__USE_XOPEN_EXTENDED].
33141 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33142 [__USE_XOPEN_EXTENDED].
33143 (SA_RESTART): Likewise.
33144 (SA_NODEFER): Likewise. Define directly rather than as alias.
33145 (SA_RESETHAND): Likewise.
33146 (SA_INTERRUPT): Define only for [__USE_MISC].
33147 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33148 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33150 (SA_STACK): Define only for [__USE_MISC].
33151 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33152 (struct sigaction): Define sa_handler and sa_sigaction using union
33153 also for [__USE_XOPEN_EXTENDED].
33154 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33155 [__USE_XOPEN_EXTENDED].
33156 (SA_RESTART): Likewise.
33157 (SA_NODEFER): Likewise.
33158 (SA_RESETHAND): Likewise.
33159 (SA_NOPTRACE): Define only for [__USE_MISC].
33161 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33162 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33163 (struct catalog_info): Likewise.
33164 * inet/htontest.c (lo): Likewise.
33166 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33167 * inet/inet_net.c (inet_network): Likewise.
33168 * inet/inet_netof.c (inet_netof): Likewise.
33169 * inet/rcmd.c (__ivaliduser): Likewise.
33170 (iruserok): Likewise.
33171 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33172 * locale/programs/locale-spec.c (locale_special): Likewise.
33173 * nis/nis_findserv.c (struct findserv_req): Likewise.
33174 (__nis_findfastest_with_timeout): Likewise.
33175 * nss/test-netdb.c (test_network): Likewise.
33176 * resolv/inet_neta.c (inet_neta): Likewise.
33177 * resolv/ns_date.c (ns_datetosecs): Likewise.
33178 (SECS_PER_DAY): Likewise.
33179 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33181 * resolv/res_comp.c (__putlong): Likewise.
33182 (__putshort): Likewise.
33183 (_getlong): Likewise.
33184 (_getshort): Likewise.
33185 * resolv/res_debug.c (p_time): Likewise.
33186 (precsize_ntoa): Likewise.
33187 (precsize_aton): Likewise.
33188 (latlon2ul): Likewise.
33189 (loc_aton): Likewise.
33190 (loc_ntoa): Likewise.
33191 * resolv/res_hconf.c (struct netaddr): Likewise.
33192 (_res_hconf_reorder_addrs): Likewise.
33193 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33194 (clnttcp_control): Likewise.
33195 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33196 (clntudp_control): Likewise.
33197 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33198 (clntunix_control): Likewise.
33199 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33200 * sunrpc/rpc/auth.h (union des_block): Likewise.
33201 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33202 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33203 (xdrrec_create): Likewise.
33204 (xdrrec_endofrecord): Likewise.
33205 (flush_out): Likewise.
33206 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33207 (xdrstdio_putlong): Likewise.
33208 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33211 * misc/sys/cdefs.h (__long_double_t): Remove.
33212 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33213 instead of __long_double_t,
33214 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33216 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33218 * benchtests/scripts/compare_strings.py: Avoid display error when
33219 running on a text terminal.
33221 * benchtests/scripts/compare_strings.py (main): Add an
33222 optional -base option.
33223 (process_results): New argument base_func.
33225 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33227 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33228 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33230 2017-08-07 Andreas Schwab <schwab@suse.de>
33232 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33233 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33234 * intl/Makefile ($(objpfx)tst-gettext.out)
33235 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33236 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33237 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33238 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33239 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33240 * posix/Makefile ($(objpfx)globtest.out)
33241 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33242 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33243 ($(objpfx)tst-printf.out): Likewise.
33244 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33245 ($(objpfx)tst-setcontext3.out): Likewise.
33247 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33249 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33250 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33251 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33252 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33253 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33255 (CFLAGS-doasin-fma.c): New.
33256 (CFLAGS-dosincos-fma.c): Likewise.
33257 (CFLAGS-e_asin-fma.c): Likewise.
33258 (CFLAGS-e_atan2-fma.c): Likewise.
33259 (CFLAGS-e_exp-fma.c): Likewise.
33260 (CFLAGS-e_log-fma.c): Likewise.
33261 (CFLAGS-e_pow-fma.c): Likewise.
33262 (CFLAGS-halfulp-fma.c): Likewise.
33263 (CFLAGS-mpa-fma.c): Likewise.
33264 (CFLAGS-mpatan-fma.c): Likewise.
33265 (CFLAGS-mpatan2-fma.c): Likewise.
33266 (CFLAGS-mpexp-fma.c): Likewise.
33267 (CFLAGS-mplog-fma.c): Likewise.
33268 (CFLAGS-mpsqrt-fma.c): Likewise.
33269 (CFLAGS-mptan-fma.c): Likewise.
33270 (CFLAGS-s_atan-fma.c): Likewise.
33271 (CFLAGS-sincos32-fma.c): Likewise.
33272 (CFLAGS-slowexp-fma.c): Likewise.
33273 (CFLAGS-slowpow-fma.c): Likewise.
33274 (CFLAGS-s_sin-fma.c): Likewise.
33275 (CFLAGS-s_tan-fma.c): Likewise.
33276 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
33277 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
33278 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
33279 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
33280 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
33281 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
33282 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
33283 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
33284 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
33285 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
33286 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
33287 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
33288 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
33289 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
33290 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
33291 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
33292 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
33293 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
33294 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
33295 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
33296 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
33297 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
33298 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
33299 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
33300 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33301 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33302 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33303 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33304 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33305 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33306 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33308 2017-08-04 Joseph Myers <joseph@codesourcery.com>
33310 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
33311 (min_of_type_f): New macro.
33312 (min_of_type_): Likewise.
33313 (min_of_type_l): Likewise.
33314 (min_of_type_f128): Likewise.
33315 (min_of_type): Define using __MATH_TG and taking an expression
33317 (math_check_force_underflow): Pass expression instead of type to
33319 (math_check_force_underflow_nonneg): Likewise.
33321 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33323 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33324 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
33325 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
33327 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33329 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33330 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
33331 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
33332 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
33333 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
33334 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
33335 memcpy_chk-nonshared, mempcpy_chk-nonshared,
33336 memmove_chk-nonshared and memset_chk-nonshared
33337 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
33338 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
33339 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
33340 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
33341 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
33342 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
33343 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
33344 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
33345 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
33346 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
33347 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
33348 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
33349 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
33350 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
33351 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
33352 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
33353 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
33354 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
33355 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
33356 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
33357 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
33358 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
33359 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
33360 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
33361 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
33362 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
33363 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
33364 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
33365 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
33366 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
33367 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
33368 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
33369 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
33370 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33371 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33372 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
33373 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
33374 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
33375 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
33376 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
33377 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
33378 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
33379 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
33380 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
33381 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
33382 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
33383 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
33384 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33385 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33386 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33387 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33388 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33389 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33390 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33391 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33392 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33393 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33394 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33395 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33396 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33397 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33398 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33399 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33400 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33401 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33402 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33403 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33404 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33405 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33406 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33407 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33408 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33409 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33410 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33411 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33412 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33413 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33414 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33415 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33416 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33417 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33418 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33419 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33420 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33421 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33422 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33423 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33424 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33425 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33426 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33427 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33428 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33429 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33430 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33431 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33432 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33433 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33434 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33435 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33436 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33437 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33438 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33439 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33440 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33441 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33442 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33443 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33444 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33446 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33448 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33449 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33450 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33451 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33452 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33453 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33454 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33455 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33456 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33457 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33458 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33459 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33460 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
33461 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
33462 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
33463 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
33464 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
33465 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
33466 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
33467 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
33468 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
33469 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
33470 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
33471 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
33472 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
33473 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
33474 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
33475 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
33476 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
33477 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
33478 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
33479 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
33480 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
33481 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
33482 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
33483 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
33484 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
33485 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
33486 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
33487 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
33488 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
33489 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
33490 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
33491 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
33492 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
33493 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
33494 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
33495 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
33496 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
33497 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
33498 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
33499 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
33500 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
33501 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
33502 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
33503 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
33504 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
33505 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
33506 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
33508 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
33509 Don't include <sysdep.h> nor <init-arch.h>.
33510 (_ZGVbN2v_cos): Removed.
33511 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
33513 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
33514 Don't include <sysdep.h> nor <init-arch.h>.
33515 (_ZGVdN4v_cos): Removed.
33516 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
33518 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
33519 Don't include <sysdep.h> nor <init-arch.h>.
33520 (_ZGVeN8v_cos): Removed.
33521 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
33523 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
33524 Don't include <sysdep.h> nor <init-arch.h>.
33525 (_ZGVbN2v_exp): Removed.
33526 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
33528 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
33529 Don't include <sysdep.h> nor <init-arch.h>.
33530 (_ZGVdN4v_exp): Removed.
33531 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
33533 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
33534 Don't include <sysdep.h> nor <init-arch.h>.
33535 (_ZGVeN8v_exp): Removed.
33536 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
33538 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
33539 Don't include <sysdep.h> nor <init-arch.h>.
33540 (_ZGVbN2v_log): Removed.
33541 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
33543 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
33544 Don't include <sysdep.h> nor <init-arch.h>.
33545 (_ZGVdN4v_log): Removed.
33546 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
33548 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
33549 Don't include <sysdep.h> nor <init-arch.h>.
33550 (_ZGVeN8v_log): Removed.
33551 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
33553 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
33554 Don't include <sysdep.h> nor <init-arch.h>.
33555 (_ZGVbN2vv_pow): Removed.
33556 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
33558 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
33559 Don't include <sysdep.h> nor <init-arch.h>.
33560 (_ZGVdN4vv_pow): Removed.
33561 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
33563 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
33564 Don't include <sysdep.h> nor <init-arch.h>.
33565 (_ZGVeN8vv_pow): Removed.
33566 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
33568 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
33569 Don't include <sysdep.h> nor <init-arch.h>.
33570 (_ZGVbN2v_sin): Removed.
33571 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
33573 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
33574 Don't include <sysdep.h> nor <init-arch.h>.
33575 (_ZGVbN4v_sin): Removed.
33576 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
33578 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
33579 Don't include <sysdep.h> nor <init-arch.h>.
33580 (_ZGVbN8v_sin): Removed.
33581 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
33583 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
33584 Don't include <sysdep.h> nor <init-arch.h>.
33585 (_ZGVbN2vvv_sincos): Removed.
33586 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
33588 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
33589 Don't include <sysdep.h> nor <init-arch.h>.
33590 (_ZGVdN4vvv_sincos): Removed.
33591 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
33593 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
33594 Don't include <sysdep.h> nor <init-arch.h>.
33595 (_ZGVeN8vvv_sincos): Removed.
33596 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
33598 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
33599 Don't include <sysdep.h> nor <init-arch.h>.
33600 (_ZGVeN16v_cosf): Removed.
33601 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
33603 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
33604 Don't include <sysdep.h> nor <init-arch.h>.
33605 (_ZGVbN4v_cosf): Removed.
33606 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
33608 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
33609 Don't include <sysdep.h> nor <init-arch.h>.
33610 (_ZGVdN8v_cosf): Removed.
33611 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
33613 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
33614 Don't include <sysdep.h> nor <init-arch.h>.
33615 (_ZGVeN16v_expf): Removed.
33616 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
33618 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
33619 Don't include <sysdep.h> nor <init-arch.h>.
33620 (_ZGVbN4v_expf): Removed.
33621 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
33623 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
33624 Don't include <sysdep.h> nor <init-arch.h>.
33625 (_ZGVdN8v_expf): Removed.
33626 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
33628 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
33629 Don't include <sysdep.h> nor <init-arch.h>.
33630 (_ZGVeN16v_logf): Removed.
33631 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
33633 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
33634 Don't include <sysdep.h> nor <init-arch.h>.
33635 (_ZGVbN4v_logf): Removed.
33636 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
33638 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
33639 Don't include <sysdep.h> nor <init-arch.h>.
33640 (_ZGVdN8v_logf): Removed.
33641 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
33643 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
33644 Don't include <sysdep.h> nor <init-arch.h>.
33645 (_ZGVeN16vv_powf): Removed.
33646 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
33648 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
33649 Don't include <sysdep.h> nor <init-arch.h>.
33650 (_ZGVbN4vv_powf): Removed.
33651 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
33653 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
33654 Don't include <sysdep.h> nor <init-arch.h>.
33655 (_ZGVdN8vv_powf): Removed.
33656 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
33658 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
33659 Don't include <sysdep.h> nor <init-arch.h>.
33660 (_ZGVeN16vvv_sincosf): Removed.
33661 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
33663 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
33664 Don't include <sysdep.h> nor <init-arch.h>.
33665 (_ZGVbN4vvv_sincosf): Removed.
33666 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
33668 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
33669 Don't include <sysdep.h> nor <init-arch.h>.
33670 (_ZGVdN8vvv_sincosf): Removed.
33671 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
33673 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
33674 Don't include <sysdep.h> nor <init-arch.h>.
33675 (_ZGVeN16v_sinf): Removed.
33676 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
33678 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
33679 Don't include <sysdep.h> nor <init-arch.h>.
33680 (_ZGVbN4v_sinf): Removed.
33681 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
33683 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
33684 Don't include <sysdep.h> nor <init-arch.h>.
33685 (_ZGVdN8v_sinf): Removed.
33687 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33689 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33690 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
33691 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
33692 s_rint-sse4_1 and s_rintf-sse4_1.
33693 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
33694 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
33695 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
33696 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
33697 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
33698 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
33699 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
33700 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
33701 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
33702 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
33703 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
33704 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33706 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
33707 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
33708 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33709 (__ceilf): Removed.
33710 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
33711 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
33712 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33713 (__floor): Removed.
33714 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
33715 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
33716 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33717 (__floorf): Removed.
33718 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
33719 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
33720 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33721 (__nearbyint): Removed.
33722 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
33723 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
33724 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33725 (__nearbyintf): Removed.
33726 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
33727 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
33728 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33730 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
33731 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
33732 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33733 (__rintf): Removed.
33735 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33737 * sysdeps/i386/start.S (_start): Check Check PIC instead of
33738 SHARED. Avoid dynamic relocation against main in static PIE.
33740 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33743 * elf/Makefile (CFLAGS-tst-prelink.c): New.
33744 (LDFLAGS-tst-prelink): Likewise.
33746 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33748 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
33749 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
33750 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
33751 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
33752 (INTERNAL_SYSCALL_NCS): Likewise.
33753 (LOADARGS_1): Likewise.
33754 (LOADARGS_5): Likewise.
33755 (RESTOREARGS_1): Likewise.
33756 (RESTOREARGS_5): Likewise.
33758 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33760 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
33761 (MEMPCPY_SYMBOL): Likewise.
33762 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33763 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
33764 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
33766 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33767 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
33769 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
33770 (__hidden_ver1): Don't use in libc.a.
33771 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
33772 (__mempcpy): Don't create a weak alias in libc.a.
33773 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
33775 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
33776 (__hidden_ver1): Don't use in libc.a.
33778 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33780 * config.make.in (have-insert): New.
33781 * configure.ac (libc_cv_insert): New. Set to yes if linker
33782 supports INSERT in linker script.
33783 (AC_SUBST(libc_cv_insert): New.
33784 * configure: Regenerated.
33785 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
33786 if $(have-insert) == yes.
33788 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33790 * elf/Makefile (tests): Add vismain only if
33791 $(have-protected-data) == yes.
33792 (tests-pie): Likewise.
33794 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33797 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
33798 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
33800 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33803 * sysdeps/i386/i586/memset.S
33804 (__memset_zero_constant_len_parameter): Removed.
33805 * sysdeps/i386/i686/memset.S
33806 (__memset_zero_constant_len_parameter): Likewise.
33807 * sysdeps/i386/i686/multiarch/memset_chk.S
33808 (__memset_zero_constant_len_parameter): Likewise.
33809 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
33812 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33814 * stdlib/getentropy.c (getentropy): Change return type to int.
33816 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33818 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
33820 2017-08-03 Joseph Myers <joseph@codesourcery.com>
33822 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33824 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33825 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33827 (ieee_float_shape_type): Likewise.
33828 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33829 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33830 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33831 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33832 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33833 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33834 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33835 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33836 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33838 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33839 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33840 (__ieee754_yn): Likewise.
33841 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33842 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33843 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33845 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33846 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33847 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33848 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33849 (__erfc): Likewise.
33850 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33851 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33852 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33853 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33854 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33855 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33857 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33858 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33859 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33860 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33861 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33862 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33863 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33864 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33865 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33866 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33867 (__issignaling): Likewise.
33868 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33869 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33870 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33872 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33873 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33874 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33875 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33877 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33879 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33880 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33881 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33882 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33883 (__erfcf): Likewise.
33884 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33885 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33886 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33887 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33889 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33890 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33892 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33893 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33894 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33895 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33896 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33897 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33898 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33899 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33901 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33903 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33905 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33906 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33908 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33910 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33911 (__ieee754_ynl): Likewise.
33912 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33913 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33915 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33917 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33918 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33919 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33921 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33922 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33923 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33924 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33925 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33926 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33927 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33928 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33930 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33931 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33932 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33934 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33935 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33936 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33937 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33938 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33939 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33941 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33943 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33945 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33947 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33948 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33949 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33950 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33951 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33952 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33953 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33955 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33957 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33958 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33960 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33961 (__ieee754_remainderl): Likewise.
33962 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33963 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33964 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33965 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33967 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33968 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33970 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33971 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33972 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33973 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33974 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33975 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33977 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33978 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33979 (__ieee754_y0l): Likewise.
33982 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33983 (__ieee754_y1l): Likewise.
33986 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33987 (__ieee754_ynl): Likewise.
33988 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33989 (__ieee754_lgammal_r): Likewise.
33990 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33992 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33993 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33994 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33995 (__erfcl): Likewise.
33996 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33997 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33999 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34000 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34001 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34002 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34003 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34004 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34005 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34007 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34008 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34009 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34010 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34011 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34013 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34014 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34016 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34017 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34018 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34019 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34020 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34022 2017-08-03 Florian Weimer <fweimer@redhat.com>
34025 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34026 on memory allocation failure.
34028 2017-08-03 Alan Modra <amodra@gmail.com>
34030 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34031 tst-tlsopt-powerpc.c with function name change and no test harness.
34032 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34033 Call tls_get_addr_opt_test.
34034 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34035 (modules-names): Add mod-tlsopt-powerpc.
34036 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34037 (tst-tlsopt-powerpc): Depend on .so.
34038 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34039 define. Expand use in TLS_GD and TLS_LD.
34041 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34043 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34045 * sysdeps/posix/shm_open.c: Include <pthread.h>.
34047 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34050 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34051 comparing size with that of double.
34052 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34053 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34054 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34055 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34056 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34057 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34058 unsigned __int128 types.
34060 2017-08-02 Steve Ellcey <sellcey@cavium.com>
34062 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34063 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34064 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34065 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34066 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34068 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34070 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34072 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34074 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34076 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34077 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34078 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34079 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34080 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34081 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34082 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34084 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34087 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34088 bit-field expressions passed to sizeof or typeof.
34089 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34090 (__TGMATH_F128): Likewise.
34091 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34092 (__TGMATH_CF128): Likewise.
34093 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34094 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34095 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34096 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34097 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34098 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34099 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34100 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34101 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34102 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34103 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34104 (__TGMATH_UNARY_IMAG): Likewise.
34105 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34106 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34107 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34109 (define_vars_for_type): Handle bit_field type specially.
34110 (Tests.__init__): Declare structure with bit-field element.
34112 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34115 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34116 (MEMCPY_CHK): Define only if SHARED is defined.
34117 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34119 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34122 See ChangeLog.18 for earlier changes.