1 2019-05-03 Florian Weimer <fweimer@redhat.com>
3 malloc/tst-mallocfork2: Use process-shared barriers.
4 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
5 (signal_count, sigusr1_sender_pid): Remove.
6 (iterations): Define constant.
7 (shared): New variable.
8 (sigusr1_received): Update comment.
9 (sigusr1_handler): Do not send SIGSTOP to the sender process.
10 (signal_sender): Optional use barriers to avoid sending signals
11 during irrelevant times.
12 (do_it): Initialize variable shared. Use xfork for error
13 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
14 the iteration count, independent of signal delivery. Check for
15 deadlocks in fork. Introduce barriers for reducing signal
16 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
17 replaced by the barriers. Count signals during fork/free/malloc
19 * malloc/Makefile (tst-mallocfork): Link with libpthread.
21 2019-05-03 Florian Weimer <fweimer@redhat.com>
23 * misc/tst-tsearch.c (walk_tree): Add more error checking.
25 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28 * elf/tst-pldd.c (in_str_list): New function.
29 (do_test): Add default names for ld and libc as one option.
31 2019-05-02 Florian Weimer <fweimer@redhat.com>
33 misc: Add twalk_r function.
34 * include/search.h (__twalk_r): Declare.
35 * manual/examples/twalk.c: New file.
36 * manual/search.texi (Tree Search Function): Document twalk_r.
37 * misc/Versions (2.30): Export twalk_r.
38 (GLIBC_PRIVATE): Export __twalk_r.
39 * misc/search.h [__USE_GNU] (twalk_r): Declare.
40 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
41 (twalk_r): Add weak alias.
42 * misc/tst-tsearch.c (struct walk_trace_element): Define.
43 (walk_trace): New variable.
44 (struct twalk_with_twalk_r_closure): Define.
45 (twalk_with_twalk_r_action): New function.
46 (twalk_with_twalk_r): Likewise.
47 (walk_action): Call walk_trace_add.
48 (walk_tree_with): Rename from walk_tree. Add walk argument.
49 (walk_tree): New function.
50 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
51 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
53 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
55 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
56 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
57 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
58 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
59 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
60 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
62 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
64 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
66 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
67 (GLIBC_2.30): Likewise.
68 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
69 (GLIBC_2.30): Likewise.
70 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
71 (GLIBC_2.30): Likewise.
72 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
73 (GLIBC_2.30): Likewise.
74 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
76 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
77 (GLIBC_2.30): Likewise.
78 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
79 (GLIBC_2.30): Likewise.
80 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
81 (GLIBC_2.30): Likewise.
82 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
83 (GLIBC_2.30): Likewise.
84 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
86 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
88 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
90 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
91 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
93 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
95 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
97 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
100 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
102 Make mktime etc. compatible with __time64_t
103 Keep these functions compatible with Gnulib while adding
104 __time64_t support. The basic idea is to move private API
105 declarations from include/time.h to time/mktime-internal.h, since
106 the former file cannot easily be shared with Gnulib whereas the
108 Also, do some other minor cleanup while in the neighborhood.
109 * include/time.h: Include stdbool.h, time/mktime-internal.h.
110 (__mktime_internal): Move this prototype to time/mktime-internal.h,
111 since Gnulib needs it.
112 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
113 Move these macros to time/mktime-internal.h, since Gnulib needs them.
114 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
115 (in_time_t_range): New static function.
116 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
117 so that glibc users are not tempted to use __time64_t.
118 * time/mktime-internal.h: Rewrite so that it does both glibc
119 and Gnulib work. Include time.h if not _LIBC.
120 (mktime_offset_t) [!_LIBC]: Define for gnulib.
121 (__time64_t): New type or macro, moved here from
123 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
124 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
126 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
127 New macros, taken from GNulib.
128 (__mktime_internal): New prototype, moved here from include/time.h.
129 * time/mktime.c (mktime_min, mktime_max, convert_time)
130 (ranged_convert, __mktime_internal, __mktime64):
131 * time/timegm.c (__timegm64):
132 Use __time64_t, not time_t.
133 * time/mktime.c: Stop worrying about whether time_t is floating-point.
134 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
136 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
137 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
140 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
142 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
144 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
147 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
148 from `-Wmaybe-uninitialized'.
149 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
151 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
153 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
155 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
156 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
157 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
158 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
159 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
161 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
178 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
179 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
180 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
181 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
183 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
186 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
187 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
189 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
192 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
194 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
195 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
196 s_ceilf-power5+, and s_ceilf-ppc64.
197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
202 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
203 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
204 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
205 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
207 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
208 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
209 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
211 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
213 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
214 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
215 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
216 (sem_getvalue): Likewise.
218 2019-04-26 Florian Weimer <fweimer@redhat.com>
220 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
221 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
223 2019-04-26 Florian Weimer <fweimer@redhat.com>
225 Makeconfig: Move -Wl,-rpath-link options before library references.
226 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
227 (link-libc): Remove $(link-libc-rpath-link).
229 2019-04-25 Florian Weimer <fweimer@redhat.com>
231 * Makeconfig (+link-pie-before-libc): Remove $(CC).
232 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
233 (+link-static-before-libc): Remove $(CC).
234 (+link-static, +link-static-tests): Add $(CC).
235 (+link-before-libc): Remove $(CC).
236 (+link, +link-pie, +link-pie-printers): Add $(CC).
238 2019-04-26 Florian Weimer <fweimer@redhat.com>
240 * Makeconfig (+link-pie-before-libc): Remove $(CC).
241 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
242 (+link-static-before-libc): Remove $(CC).
243 (+link-static, +link-static-tests): Add $(CC).
244 (+link-before-libc): Remove $(CC).
245 (+link, +link-pie, +link-pie-printers): Add $(CC).
247 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
250 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
252 2019-04-25 Florian Weimer <fweimer@redhat.com>
254 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
255 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
256 (bench-link-targets): New variable.
257 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
259 2019-04-25 Florian Weimer <fweimer@redhat.com>
261 Also enable BIND_NOW for programs if --enable-bind-now.
262 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
263 (+link-pie): Use $(link-extra-flags).
264 (+link-static): Likewise.
265 [! $(build-pie-default)] (+link): Likewise.
266 * manual/install.texi (Configuring and compiling): Update
267 --enable-bind-now description.
268 * INSTALL: Regenerated.
270 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
272 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
273 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
275 2019-04-24 Mike Frysinger <vapier@gentoo.org>
278 * malloc/Makefile (others): Add memusagestat.
279 ($(objpfx)memusagestat): Delete rule.
280 (LDLIBS-memusagestat): New variable.
282 2019-04-24 Florian Weimer <fweimer@redhat.com>
284 * locale/Makefile (tests-special): Guard setting by
285 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
286 to run while cross-compiling.
288 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
291 * elf/Makefile (tests-container): Add tst-pldd.
292 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
293 (E(find_maps)): Avoid use alloca, use default read file operations
294 instead of explicit LFS names, and fix infinite loop.
295 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
296 (get_process_info): Use _Static_assert instead of assert, use default
297 directory operations instead of explicit LFS names, and free some
299 * elf/tst-pldd.c: New file.
301 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
303 * malloc/arena.c (do_set_mallopt_check): Removed.
305 2019-04-23 Florian Weimer <fweimer@redhat.com>
307 locale: Add LOCPATH diagnostics to the locale program.
308 * locale/programs/locale.c (setlocale_failed): New variable.
309 (try_setlocale): New function.
310 (quote_string): Likewise.
311 (setlocale_diagnostics): Likewise.
312 (main): Call try_setlocale instead of setlocale. Call
313 setlocale_diagnostics.
314 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
315 (tst-locale-locpath.out): New target.
316 * locale/tst-locale-locpath.sh: New file.
318 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
320 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
323 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
326 * malloc/hooks.c (malloc_check, realloc_check): Use
327 __builtin_add_overflow on overflow check and adapt to
328 checked_request2size change.
329 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
330 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
331 allocation size to PTRDIFF_MAX.
332 (REQUEST_OUT_OF_RANGE): Remove macro.
333 (checked_request2size): Change to inline function and limit maximum
334 requested size to PTRDIFF_MAX.
335 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
336 maximum allocation size to PTRDIFF_MAX.
337 (_mid_memalign): Use _int_memalign call for overflow check.
338 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
339 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
340 limit maximum requested size to PTRDIFF_MAX.
341 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
342 valloc, pvalloc): Add __attribute_alloc_size__.
343 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
344 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
345 larger than PTRDIFF_MAX.
346 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
347 around tests of malloc with negative sizes.
348 * malloc/tst-posix_memalign.c (do_test): Likewise.
349 * malloc/tst-pvalloc.c (do_test): Likewise.
350 * malloc/tst-valloc.c (do_test): Likewise.
351 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
352 with resulting size allocation larger than PTRDIFF_MAX with
354 (reallocarray_nowarn): New function.
355 * NEWS: Mention the malloc function semantic change.
357 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
359 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
360 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
362 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
363 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
364 * sysdeps/powerpc/fpu/s_fma.c: New file.
365 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
367 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
368 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
370 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
371 the magic flag store.
372 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
374 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
376 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
377 Remove rt_sigreturn call.
379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
380 Remove rt_sigreturn call.
381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
386 * support/Makefile (libsupport-routines): Add support_subprocess,
387 xposix_spawn, xposix_spawn_file_actions_addclose, and
388 xposix_spawn_file_actions_adddup2.
389 (tst-support_capture_subprocess-ARGS): New rule.
390 * support/capture_subprocess.h (support_capture_subprogram): New
392 * support/support_capture_subprocess.c (support_capture_subprocess):
393 Refactor to use support_subprocess and support_capture_poll.
394 (support_capture_subprogram): New function.
395 * support/tst-support_capture_subprocess.c (write_mode_to_str,
396 str_to_write_mode, test_common, parse_int, handle_restart,
397 do_subprocess, do_subprogram, do_multiple_tests): New functions.
398 (do_test): Add support_capture_subprogram tests.
399 * support/subprocess.h: New file.
400 * support/support_subprocess.c: Likewise.
401 * support/xposix_spawn.c: Likewise.
402 * support/xposix_spawn_file_actions_addclose.c: Likewise.
403 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
404 * support/xspawn.h: Likewise.
406 2019-04-17 Mike Gerow <gerow@google.com>
408 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
411 2019-04-11 Florian Weimer <fweimer@redhat.com>
413 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
414 domain with empty string.
415 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
417 2019-04-11 Florian Weimer <fweimer@redhat.com>
419 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
421 (alloc_buffer_next): Change return type to non-const. Update
424 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
426 * manual/time.texi (Formatting Calendar Time): Add missing percent
427 sign to conversion specifier.
429 2019-04-09 Carlos O'Donell <carlos@redhat.com>
430 Kwok Cheung Yeung <kcy@codesourcery.com>
433 * malloc/mtrace.c: Define prototypes for all hooks.
434 (set_default_hooks): New function.
435 (set_trace_hooks): Likewise.
436 (save_default_hooks): Likewise.
437 (tr_freehook): Use new s*_hooks functions.
438 (tr_mallochook): Likewise.
439 (tr_reallochook): Likewise.
440 (tr_memalignhook): Likewise.
442 (muntrace): Likewise.
444 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
446 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
447 (generic_stpcpy): New function.
448 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
449 (generic_stpncpy): New function.
450 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
451 (generic_strcat): New function.
452 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
453 (generic_strcpy): New function.
454 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
455 (STUPID_STRNCAT): Remove function.
456 (generic_strncat): New function.
457 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
458 (STUPID_STRNCPY): Remove function.
459 (generic_strncpy): New function.
460 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
461 (generic_strnlen): New function.
462 (memchr_strnlen): New function.
463 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
464 (memchr_strlen): Likewise.
466 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
468 * benchtests/bench-strstr.c (input): Add realistic input text.
469 (stupid_strstr): Remove function.
470 (basic_strstr): Add function.
471 (twoway_strstr): Add function.
472 (do_one_test): Add result checking.
473 (do_test): Use new input text. Remove accidental early matches.
474 (test_main): Improve range of tests, reduce unaligned cases.
476 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
478 * benchtests/bench-memmem.c (simple_memmem): Remove function.
479 (basic_memmem): Add function.
480 (twoway_memmem): Add function.
482 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
484 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
485 * benchtests/bench-malloc-thread.c: Likewise.
486 * benchtests/bench-skeleton.c: Likewise.
487 * benchtests/bench-strtod.c: Likewise.
488 * benchtests/bench-timing.h: Likewise.
490 2019-04-08 Florian Weimer <fweimer@redhat.com>
492 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
494 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
495 RES_INSECURE2 security checks.
496 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
497 RES_INSECURE2 handling.
499 2019-04-08 Florian Weimer <fweimer@redhat.com>
501 resolv: Remove support for RES_USE_INET6 and the inet6 option.
502 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
503 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
505 * resolv/Makefile (tests): Remove tst-res_use_inet6.
506 (tests-internal): Update justification for tst-resolv-res_init,
507 tst-resolv-res_init-thread.
508 (tst-res_use_inet6): Remove target.
509 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
510 * resolv/res_debug.c (p_option): Remove "inet6" support.
511 * resolv/res_init.c (res_setoptions): Likewise.
512 * resolv/res_use_inet6.h: Remove file.
513 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
515 (res_use_inet6): Always return false.
516 * resolv/resolv.h (RES_USE_INET6): Remove definition.
517 * resolv/resolv_context.h: Adjust file comment.
518 (struct resolv_context): Update comment on __next field.
519 (__resolv_context_put): Update comment.
520 * resolv/tst-res_use_inet6.c: Remove file.
521 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
523 (test_cases): Adjust test case.
524 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
525 (thread_byname2_af_inet6): Use old byname_inet6 code.
526 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
527 (gai): Remove do_inet6 argument.
528 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
529 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
530 (thread_gai_unspec_inet6): Remove functions.
531 (do_test): Adjust thread_funcs.
532 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
534 (gaih_inet): Do not disable RES_USE_INET6 flag.
536 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
538 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
539 and remove redundant code.
541 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
543 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
545 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
546 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
548 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
550 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
552 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
553 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
554 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
555 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
556 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
557 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
558 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
559 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
561 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
563 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
564 Remove wcsrchr optimizations.
565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
567 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
570 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
572 * sysdeps/powerpc/power6/wcschr.c: Remove file.
573 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
575 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
577 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
579 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
580 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
581 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
582 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
583 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
584 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
585 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
586 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
588 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
590 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
591 Remove wcschr optimizations.
592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
594 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
597 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
599 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
600 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
602 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
604 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
606 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
607 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
608 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
609 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
610 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
611 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
612 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
613 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
615 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
616 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
617 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
618 Remove wcscpy optimizations.
619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
621 * include/loop_unroll.h: New file.
622 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
623 besides generic implementation.
625 2019-04-03 DJ Delorie <dj@redhat.com>
627 * time/tst-strftime3.c (tm_to_printed): Disable warning about
628 snprintf truncating output.
630 2019-04-02 DJ Delorie <dj@redhat.com>
632 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
635 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
638 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
640 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
641 (mkreftable): Add rules for the new Japanese era and the new dates.
643 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
644 Rafal Luzynski <digitalfreak@lingonborough.com>
646 * time/tst-strftime2.c (date_t): Explicitly define the type.
647 (dates): Use natural month and year numbers to express a date.
648 (is_before): New function to compare dates.
649 (mkreftable): Minor improvements to simplify maintenance.
650 (do_test): Reflect the changes in dates array.
653 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
654 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
655 * time/tst-strftime2.c (locales): Likewise.
656 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
657 2010-04-01, and 2011-04-01.
658 (mkreftable): Add rules for the new locales and the new dates.
660 2019-04-01 Carlos O'Donell <carlos@redhat.com>
662 * localedata/locales/ja_JP: Add comments to era entries.
664 2019-04-01 DJ Delorie <dj@redhat.com>
667 * time/strptime_l.c (%Ey): Fix fencepost error.
668 * time/tst-strftime3.c: New.
669 * time/Makefile (tests): Add tst-strftime3.
671 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
673 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
674 conditional branch to DIVBYZERO. Fix unwind info.
675 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
676 excb after conditional branch to $powerof2. Add missing unop
677 instructions and .align directives and reorder instructions to
680 2019-04-01 Richard Henderson <rth@twiddle.net>
682 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
684 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
687 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
689 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
690 $libc_cv_riscv_float_abi in `test' invocation.
691 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
693 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
695 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
697 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
699 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
700 (_GET_SI_FPSCR): Likewise.
701 (_SET_SI_FPSCR): Likewise.
703 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
705 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
707 (signbit): Use builtin for clang 3.3.
708 (isinf): Use builtin for clang 3.7.
710 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
712 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
714 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
716 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
719 2019-03-25 Mike Crowe <mac@mcrowe.com>
721 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
722 pthread_rwlock_timedrdlock with calls to
723 pthread_rwlock_timedwrlock to ensure that the latter is tested
724 too. Use new function name in diagnostic messages too.
726 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
727 (do_test) Use libsupport test macros rather than hand-coded
728 conditionals and error messages. Ensure that sem_init returns zero
729 rather than not -1. Use <support/test-driver.c> rather than
732 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
733 test macros rather than hand-coded conditionals and error messages.
734 Use <support/test-driver.c> rather than test-skeleton.c.
736 2019-03-25 Joseph Myers <joseph@codesourcery.com>
738 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
740 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
741 (NT_MIPS_MSA): Likewise.
743 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
745 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
746 * benchtests/README: Update description.
747 * benchtests/bench-timing.h: Default to hp-timing.
748 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
749 HP_TIMING_PRINT): Remove.
750 (HP_TIMING_NOW): Add generic implementation.
751 (hp_timing_t): Change to uint64_t.
753 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
755 * nptl/descr.h: Likewise.
756 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
757 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
758 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
759 Abstract hp-timing usage with RTLD_* macros.
760 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
761 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
762 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
763 HP_TIMING_NONAVAIL): Likewise.
764 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
766 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
767 HP_SMALL_TIMING_AVAIL): Likewise.
768 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
769 HP_SMALL_TIMING_AVAIL): Likewise.
770 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
771 HP_SMALL_TIMING_AVAIL): Likewise.
772 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
773 HP_SMALL_TIMING_AVAIL): Likewise.
774 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
776 * sysdeps/generic/hp-timing-common.h: Update comment with
777 HP_TIMING_AVAIL removal.
779 * include/random-bits.h: New file.
780 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
781 (__res_context_mkquery): Remove usage hp-timing usage and replace with
783 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
784 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
787 * include/libc-internal.h (__get_clockfreq): Remove prototype.
788 * rt/Makefile (clock-routines): Remove get_clockfreq.
789 * rt/get_clockfreq.c: Remove file.
790 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
791 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
792 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
793 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
794 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
796 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
797 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
798 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
799 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
800 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
802 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
803 pthread_clock_settime.
804 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
805 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
806 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
807 * elf/rtld.c (_dl_start_final): Likewise.
808 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
809 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
811 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
812 (_dl_cpuclock_offset): Remove.
813 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
814 cpuclock_offset_ununsed.
815 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
817 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
818 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
819 * nptl/pthread_clock_gettime.c: Remove file.
820 * nptl/pthread_clock_settime.c: Likewise.
821 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
822 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
823 and CLOCK_PROCESS_CPUTIME_ID support.
824 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
825 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
826 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
827 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
828 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
830 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
832 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
834 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
835 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
836 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
838 * sysdeps/s390/memmem-arch13.S: New file.
839 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
840 if it is only used as fallback.
841 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
842 * sysdeps/s390/multiarch/ifunc-impl-list.c
843 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
845 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
847 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
848 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
849 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
851 * sysdeps/s390/multiarch/ifunc-impl-list.c
852 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
853 * sysdeps/s390/strstr-arch13.S: New file.
854 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
855 if it is only used as fallback.
856 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
858 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
860 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
861 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
862 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
863 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
865 * sysdeps/s390/multiarch/ifunc-impl-list.c
866 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
867 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
868 S390_IS_ARCH13_MIE3): New defines.
870 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
872 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
873 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
874 * sysdeps/s390/configure.ac: Add checks for arch13 support.
875 * sysdeps/s390/configure: Regenerated.
877 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
879 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
880 Add vxe2, vxp, dflt, sort flags.
881 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
882 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
884 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
885 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
886 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
887 HWCAP_S390_DFLT): Define.
889 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
892 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
894 * locale/programs/ld-collate.c (collate_output): Likewise.
896 2019-03-21 DJ Delorie <dj@redhat.com>
899 * iconv/iconvconfig.c (write_output): Replace floating point math
900 with integer math to avoid imprecise results.
901 * locale/programs/ld-collate.c (collate_output): Likewise.
903 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
905 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
906 Add HWCAP_S390_VX and HWCAP_S390_VXE.
908 2019-03-20 mansayk <6688000@gmail.com>
911 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
912 (abday): Likewise, but remove the trailing dots.
914 2019-03-19 Joseph Myers <joseph@codesourcery.com>
916 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
918 (HWCAP_PACA): Likewise.
919 (HWCAP_PACG): Likewise.
920 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
922 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
924 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
926 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
929 2019-03-15 Joseph Myers <joseph@codesourcery.com>
931 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
933 (old_getpagesize): New syscall.
935 2019-03-15 Felix Yan <felixonmars@archlinux.org>
938 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
939 * localedata/locales/cmn_TW (era): Likewise.
940 * localedata/locales/hak_TW (era): Likewise.
941 * localedata/locales/lzh_TW (era): Likewise.
942 * localedata/locales/nan_TW (era): Likewise.
944 2019-03-14 Florian Weimer <fweimer@redhat.com>
946 Remove obsolete, never-implemented XSI STREAMS declarations.
947 * manual/terminal.texi (Allocation): Remove portability note and
949 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
951 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
952 * sysdeps/unix/inet/Subdirs (streams): Remove.
953 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
954 (conformtest-headers-UNIX98): Likewise.
955 (conformtest-headers-XOPEN2K): Likewise.
956 (conformtest-headers-POSIX2008): Likewise.
957 * posix/compat-streams.c: New file.
958 * posix/Makefile (routines): Add it.
959 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
960 getpmsg, isastream, putmsg, putpmsg.
961 (GLIBC_2.30): New section.
962 * bits/stropts.h: Remove file.
963 * bits/xtitypes.h: Likewise.
964 * conform/data/stropts.h-data: Likewise.
965 * include/stropts.h: Likewise.
966 * include/sys/stropts.h: Likewise.
967 * include/xtitypes.h: Likewise.
968 * streams/Makefile: Likewise.
969 * streams/fattach.c: Likewise.
970 * streams/fdetach.c: Likewise.
971 * streams/getmsg.c: Likewise.
972 * streams/getpmsg.c: Likewise.
973 * streams/isastream.c: Likewise.
974 * streams/putmsg.c: Likewise.
975 * streams/putpmsg.c: Likewise.
976 * streams/stropts.h: Likewise.
977 * streams/sys/stropts.h: Likewise.
978 * sysdeps/ia64/bits/xtitypes.h: Likewise.
979 * sysdeps/s390/bits/xtitypes.h: Likewise.
980 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
981 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
982 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
983 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
984 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
985 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
986 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
987 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
988 * sysdeps/x86/bits/xtitypes.h: Likewise.
990 2019-03-14 Florian Weimer <fweimer@redhat.com>
992 * nss/tst-nss-files-alias-truncated.c (do_test): Load
994 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
995 but not with libnss_files.
996 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
998 2019-03-14 Zack Weinberg <zackw@panix.com>
1000 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1001 Specify encoding="utf-8" when opening headers to check.
1003 2019-03-13 Joseph Myers <joseph@codesourcery.com>
1005 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1007 (Context.checkout_tar): Handle variable major version for Linux
1010 2019-03-13 Florian Weimer <fweimer@redhat.com>
1013 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1015 2019-03-13 Zack Weinberg <zackw@panix.com>
1017 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1019 * include/inttypes.h: Adjust to match.
1020 * include/stdint.h: New wrapper.
1022 2019-03-13 Zack Weinberg <zackw@panix.com>
1024 * scripts/check-obsolete-constructs.py: New test script.
1025 * scripts/check-installed-headers.sh: Remove tests for
1026 obsolete typedefs, superseded by check-obsolete-constructs.py.
1027 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1028 as a special test. Update commentary.
1029 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1030 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1032 * posix/sys/types.h (__u_intN_t): Remove.
1033 (u_int8_t): Typedef using __uint8_t.
1034 (u_int16_t): Typedef using __uint16_t.
1035 (u_int32_t): Typedef using __uint32_t.
1036 (u_int64_t): Typedef using __uint64_t.
1038 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
1040 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1042 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1043 Ignore types other than AT_HWCAP.
1044 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1045 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1047 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1048 in the case of falling back to generic output mechanism.
1049 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1052 2019-03-12 Florian Weimer <fweimer@redhat.com>
1054 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1056 2019-03-12 Florian Weimer <fweimer@redhat.com>
1059 resolv: Enable full ICMP errors for UDP DNS sockets
1060 * resolv/res_enable_icmp.c: New file.
1061 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1062 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1063 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1066 2019-03-11 Mao Han <han_mao@c-sky.com>
1068 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1069 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1071 2019-03-11 Mao Han <han_mao@c-sky.com>
1073 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1074 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1075 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1077 2019-03-11 Mao Han <han_mao@c-sky.com>
1079 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1081 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1084 2019-03-11 Mao Han <han_mao@c-sky.com>
1086 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1087 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1090 2019-03-08 Mike FABIAN <mfabian@redhat.com>
1093 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1094 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1096 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1097 * localedata/unicode-gen/PropList.txt: Likewise.
1098 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1099 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1100 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1101 * localedata/charmaps/UTF-8: Regenerate.
1102 * localedata/locales/i18n_ctype: Likewise.
1103 * localedata/locales/tr_TR: Likewise.
1104 * localedata/locales/translit_circle: Likewise.
1105 * localedata/locales/translit_cjk_compat: Likewise.
1106 * localedata/locales/translit_combining: Likewise.
1107 * localedata/locales/translit_compat: Likewise.
1108 * localedata/locales/translit_font: Likewise.
1109 * localedata/locales/translit_fraction: Likewise.
1111 2019-03-07 Joseph Myers <joseph@codesourcery.com>
1113 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1114 than after operators.
1115 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1116 (setitimer_locked): Likewise.
1117 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1118 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1119 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1120 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1121 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1122 (PPC_CPU_SUPPORTED): Likewise.
1123 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1124 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1125 (stat_overflow): Likewise.
1126 (statfs_overflow): Likewise.
1127 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1128 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1129 (eq_ttyname_r): Likewise.
1130 (run_chroot_tests): Likewise.
1132 2019-03-07 Florian Weimer <fweimer@redhat.com>
1134 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1137 2019-03-07 Martin Liska <mliska@suse.cz>
1139 * math/Makefile: Change location where math-vector-fortran.h is
1141 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1142 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1143 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1144 * scripts/check-installed-headers.sh: Skip Fortran header files.
1145 * scripts/check-wrapper-headers.py: Likewise.
1147 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1149 * nptl/nptl-init.c (__have_futex_clock_realtime,
1150 __have_futex_clock_realtime): Remove definition.
1151 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1152 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1153 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1154 __ASSUME_FUTEX_CLOCK_REALTIME support.
1155 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1156 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1157 * sysdeps/unix/sysv/linux/kernel-features.h
1158 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1159 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1162 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1164 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1165 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1166 __GI___wcscpy and wcscpy.
1168 2019-03-04 Florian Weimer <fweimer@redhat.com>
1170 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1172 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1175 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
1177 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1178 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1180 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1183 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1184 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1186 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1188 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1190 (do_test): Likewise.
1191 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1192 (do_test_call_varg): Likewise.
1193 (do_test_call_rarg): Likewise.
1194 * sysdeps/ieee754/ldbl-opt/Makefile
1195 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1197 ($(objpfx)tst-nldbl-warn.c): New rule.
1198 ($(objpfx)tst-nldbl-error.c): Likewise.
1199 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1202 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1205 * include/bits/error-ldbl.h: New file.
1206 * include/error.h: Include stdarg.h. Declare internal functions
1207 __error_internal and __error_at_line_internal.
1208 * misc/Makefile (headers): Add bits/error-ldbl.h.
1209 * misc/bits/error-ldbl.h: New file.
1210 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1211 avoid the inclusion of bits/error.h.
1212 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1213 and __nldbl_error_at_line.
1214 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1215 (__nldbl_error, __ndlbl_error_at_line): New functions.
1216 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1217 Redirect error and error_at_line.
1218 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1227 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1228 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1229 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1231 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1234 * include/bits/err-ldbl.h: New file.
1235 * include/err.h: Add prototypes for the internal functions:
1236 __vwarnx_internal and __vwarn_internal.
1237 * misc/Makefile (headers): Add bits/err-ldbl.h.
1238 * misc/bits/err-ldbl.h: New file.
1239 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1240 defined, i.e.: when -mlong-double-64 is in use.
1241 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1242 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1243 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1244 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1245 (VA_CALL): New macro.
1246 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1247 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1249 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1250 declare prototypes for the new functions.
1251 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1260 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1261 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1262 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1264 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1266 * sysdeps/ieee754/ldbl-opt/Makefile
1267 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1268 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1269 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1271 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1274 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1275 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1276 * argp/bits/argp-ldbl.h: New file.
1277 * include/argp.h: Include stdarg.h. Add prototypes for internal
1278 functions: __argp_error_internal and __argp_failure_internal.
1279 * include/bits/argp-ldbl.h: New file.
1280 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1281 __nldbl_argp_error and __nldbl_argp_failure.
1282 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1283 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1284 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1285 Redirect argp_error and argp_failure calls.
1286 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1295 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1296 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1297 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1299 2019-03-01 Florian Weimer <fweimer@redhat.com>
1302 * elf/tst-big-note-lib.S: Create a syntactically valid note.
1303 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
1304 code, to avoid creating an ABI tag note.
1305 (modules-names-nobuild): Add tst-big-note-lib.
1307 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
1309 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
1310 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
1312 2019-03-01 Florian Weimer <fweimer@redhat.com>
1315 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1316 (__netlink_assert_response): Add additional missing newlines.
1318 2019-02-28 Joseph Myers <joseph@codesourcery.com>
1320 * sysdeps/powerpc/powerpc32/dl-machine.c
1321 (__elf_machine_fixup_plt): Use space before '('.
1322 (__process_machine_rela): Likewise.
1323 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
1325 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
1327 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
1329 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
1330 (pattern): Likewise.
1332 (check_result): Likewise.
1333 (check_excepts): Likewise.
1334 (check_op): Likewise.
1335 (fail_xr): Likewise.
1336 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
1337 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
1339 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
1342 (__makecontext): Likewise.
1343 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
1346 2019-02-28 Florian Weimer <fweimer@redhat.com>
1349 elf: Add test with a local IFUNC resolver.
1350 * elf/ifuncmain9.c: New file.
1351 * elf/ifuncmain9pic.c: Likewise.
1352 * elf/ifuncmain9picstatic.c: Likewise.
1353 * elf/ifuncmain9pie.c: Likewise.
1354 * elf/ifuncmain9static.c: Likewise.
1355 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
1356 ifuncmain9static, ifuncmain9picstatic.
1357 * elf/Makefile [multi-arch && build-shared] (tests-internal):
1358 Add ifuncmain9, ifuncmain9pic.
1359 * elf/Makefile [multi-arch && build-shared && have-fpie]
1360 (ifunc-pie-tests): Add ifuncmain9pie.
1361 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
1362 (CFLAGS-ifuncmain9picstatic.c): Likewise.
1363 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
1365 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1367 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
1368 * configure: Regenerated.
1369 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
1371 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1373 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
1374 symbol as __wcspcy instead of wcscpy.
1376 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1378 * include/stdio.h (__renameat2): New hidden prototype.
1379 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
1380 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
1381 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
1382 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
1384 2019-02-27 Joseph Myers <joseph@codesourcery.com>
1386 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
1389 * benchtests/bench-strcpy.c (do_test): Use space before '('.
1390 * benchtests/bench-string.h (cmdline_process_function): Likewise.
1391 * benchtests/bench-strlen.c (do_test): Likewise.
1392 (test_main): Likewise.
1393 * catgets/gencat.c (read_old): Likewise.
1394 * elf/cache.c (load_aux_cache): Likewise.
1395 * iconvdata/bug-iconv8.c (do_test): Likewise.
1396 * math/test-tgmath-ret.c (do_test): Likewise.
1397 * nis/nis_call.c (rec_dirsearch): Likewise.
1398 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1399 * nptl/tst-audit-threads.c (do_test): Likewise.
1400 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
1401 * nss/nss_test1.c (init): Likewise.
1402 * nss/test-netdb.c (test_hosts): Likewise.
1403 * posix/execvpe.c (maybe_script_execute): Likewise.
1404 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1405 * stdio-common/tst-printf.c (do_test): Likewise.
1406 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1407 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1408 * stdlib/qsort.c (STACK_SIZE): Likewise.
1409 * stdlib/test-canon.c (do_test): Likewise.
1410 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1411 * string/memcmp.c (OPSIZ): Likewise.
1412 * string/test-strcpy.c (do_test): Likewise.
1413 (do_random_tests): Likewise.
1414 * string/test-strlen.c (do_test): Likewise.
1415 (test_main): Likewise.
1416 * string/test-strrchr.c (do_test): Likewise.
1417 (do_random_tests): Likewise.
1418 * string/tester.c (test_memrchr): Likewise.
1419 (test_memchr): Likewise.
1420 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1421 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1422 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1423 (read_encoded_value_with_base): Likewise.
1424 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1425 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1426 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1427 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1428 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1429 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1431 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1433 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1434 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1435 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1437 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1439 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1441 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1443 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1444 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1445 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1446 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1447 * time/test_time.c (main): Likewise.
1449 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1451 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1453 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1456 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1459 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1461 * include/wchar.h (__wcscpy): New prototype.
1462 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1463 (__wcscpy): Route internal symbol to generic implementation.
1464 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1465 Add internal __wcscpy alias.
1466 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1467 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1468 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1469 * wcsmbs/wcscpy.c (wcscpy): Add
1470 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1471 use generic implementation.
1472 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1474 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1477 * sysdeps/m68k/wcpcpy.c: Remove file.
1478 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1480 2019-02-26 Joseph Myers <joseph@codesourcery.com>
1482 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
1483 than after operators.
1484 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1485 * sysdeps/mach/hurd/getcwd.c
1486 (__hurd_canonicalize_directory_name_internal): Likewise.
1487 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
1488 (pthread_mutex_consistent): Likewise.
1489 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
1491 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
1492 (__pthread_mutex_transfer_np): Likewise.
1493 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
1494 (__pthread_mutex_unlock): Likewise.
1495 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
1496 (mtx_owned_p): Likewise.
1497 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
1498 (pthread_mutexattr_getrobust): Likewise.
1499 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
1500 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1502 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1503 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1504 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1505 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
1506 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1507 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1508 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
1510 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
1512 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
1513 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
1514 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
1515 (____longjmp_chk): Likewise.
1516 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
1518 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1519 (INTERNAL_SYSCALL): Likewise.
1520 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1521 (INTERNAL_SYSCALL): Likewise.
1522 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1523 (__get_clockfreq_via_cpuinfo): Likewise.
1525 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
1527 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
1528 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
1529 (WORD_COPY_BWD): Likewise.
1530 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1531 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1533 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
1534 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
1536 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1538 2019-02-25 Joseph Myers <joseph@codesourcery.com>
1540 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
1541 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
1542 rather than after operators.
1543 * elf/cache.c (print_cache): Likewise.
1544 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
1545 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
1546 * hurd/hurdinit.c (_hurd_setproc): Likewise.
1547 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
1548 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
1549 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1550 (reauth_proc): Likewise.
1551 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
1552 (__file_name_split_at): Likewise.
1553 (__directory_name_split_at): Likewise.
1554 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1555 * hurd/port2fd.c (_hurd_port2fd): Likewise.
1556 * iconv/gconv_dl.c (do_print): Likewise.
1557 * inet/netinet/in.h (struct sockaddr_in): Likewise.
1558 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
1559 * locale/setlocale.c (new_composite_name): Likewise.
1560 * malloc/memusagestat.c (main): Likewise.
1561 * misc/fstab.c (fstab_convert): Likewise.
1562 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1564 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
1565 (getgrent_next_file): Likewise.
1566 (internal_getgrnam_r): Likewise.
1567 (internal_getgrgid_r): Likewise.
1568 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
1570 (internal_getgrent_r): Likewise.
1571 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1572 (getpwent_next_nss): Likewise.
1573 (getpwent_next_file): Likewise.
1574 (internal_getpwnam_r): Likewise.
1575 (internal_getpwuid_r): Likewise.
1576 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
1578 (getspent_next_nss): Likewise.
1579 (internal_getspnam_r): Likewise.
1580 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1581 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1582 * string/strchr.c (STRCHR): Likewise.
1583 * string/strchrnul.c (STRCHRNUL): Likewise.
1584 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
1585 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1586 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
1587 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
1588 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
1590 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
1591 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1592 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1593 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
1594 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
1595 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1596 (open_file): Likewise.
1597 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
1598 (pthread_mutexattr_setprotocol): Likewise.
1599 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1600 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1601 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1602 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1603 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1605 (elf_machine_rela): Likewise.
1606 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1607 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1608 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
1609 * sysdeps/posix/rename.c (rename): Likewise.
1610 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
1611 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
1612 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
1613 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
1614 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1615 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
1616 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
1618 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
1620 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
1621 * time/tzfile.c (__tzfile_compute): Likewise.
1623 2019-02-22 Joseph Myers <joseph@codesourcery.com>
1625 * benchtests/bench-memmem.c (simple_memmem): Break lines before
1626 rather than after operators.
1627 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
1628 * crypt/md5.c (md5_finish_ctx): Likewise.
1629 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
1630 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
1631 * elf/cache.c (load_aux_cache): Likewise.
1632 * elf/dl-load.c (open_verify): Likewise.
1633 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1634 * elf/readelflib.c (process_elf_file): Likewise.
1635 * elf/rtld.c (dl_main): Likewise.
1636 * elf/sprof.c (generate_call_graph): Likewise.
1637 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
1638 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1639 * hurd/dtable.c (reauth_dtable): Likewise.
1640 * hurd/getdport.c (__getdport): Likewise.
1641 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
1642 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
1643 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
1645 * hurd/hurdioctl.c (fioctl): Likewise.
1646 * hurd/hurdselect.c (_hurd_select): Likewise.
1647 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
1648 (STOPSIGS): Likewise.
1649 * hurd/hurdstartup.c (_hurd_startup): Likewise.
1650 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
1651 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1652 * hurd/msgportdemux.c (msgport_server): Likewise.
1653 * hurd/setauth.c (_hurd_setauth): Likewise.
1654 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
1655 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
1656 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1657 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
1658 * login/tst-utmp.c (do_check): Likewise.
1659 (simulate_login): Likewise.
1660 * mach/lowlevellock.h (lll_lock): Likewise.
1661 (lll_trylock): Likewise.
1662 * math/test-fenv.c (ALL_EXC): Likewise.
1663 * math/test-fenvinline.c (ALL_EXC): Likewise.
1664 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
1665 * nis/nis_call.c (__do_niscall3): Likewise.
1666 * nis/nis_callback.c (cb_prog_1): Likewise.
1667 * nis/nis_defaults.c (searchaccess): Likewise.
1668 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1669 * nis/nis_ismember.c (internal_ismember): Likewise.
1670 * nis/nis_local_names.c (nis_local_principal): Likewise.
1671 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
1672 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
1674 * nis/ypclnt.c (yp_match): Likewise.
1675 (yp_first): Likewise.
1676 (yp_next): Likewise.
1677 (yp_master): Likewise.
1678 (yp_order): Likewise.
1679 * nscd/hstcache.c (cache_addhst): Likewise.
1680 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1681 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
1682 (internal_getpwuid_r): Likewise.
1683 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
1684 * posix/glob.h (__GLOB_FLAGS): Likewise.
1685 * posix/regcomp.c (peek_token): Likewise.
1686 (peek_token_bracket): Likewise.
1687 (parse_expression): Likewise.
1688 * posix/regexec.c (sift_states_iter_mb): Likewise.
1689 (check_node_accept_bytes): Likewise.
1690 * posix/tst-spawn3.c (do_test): Likewise.
1691 * posix/wordexp-test.c (testit): Likewise.
1692 * posix/wordexp.c (parse_tilde): Likewise.
1693 (exec_comm): Likewise.
1694 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
1695 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
1696 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
1697 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
1698 * stdio-common/tst-fileno.c (do_test): Likewise.
1699 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
1700 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
1701 * stdlib/strtod_l.c (round_and_return): Likewise.
1702 (____STRTOF_INTERNAL): Likewise.
1703 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
1704 * string/strcspn.c (STRCSPN): Likewise.
1705 * string/test-memmem.c (simple_memmem): Likewise.
1706 * termios/tcsetattr.c (tcsetattr): Likewise.
1707 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
1708 * time/asctime.c (asctime_internal): Likewise.
1709 * time/strptime_l.c (__strptime_internal): Likewise.
1710 * time/sys/time.h (timercmp): Likewise.
1711 * time/tzfile.c (__tzfile_compute): Likewise.
1713 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
1716 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
1718 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1720 * argp/argp-help.c (__argp_error_internal): New function,
1721 renamed from __argp_error, but that takes a 'mode_flags'
1722 parameter to control the format of long double parameters.
1723 (__argp_error): Converted into a call __argp_error_internal.
1724 (__argp_failure_internal): New function, renamed from
1725 __argp_failure, but that takes a 'mode_flags' parameter.
1726 (__argp_failure): Converted into a call __argp_failure_internal.
1727 * misc/err.c (__vwarnx_internal): New function, renamed from
1728 vwarnx, but that takes a 'mode_flags' parameter.
1729 (vwarnx): Converted into a call to __vwarnx_internal.
1730 (__vwarn_internal): New function, renamed from vwarn, but that
1731 takes a 'mode_flags' parameter.
1732 (vwarn): Converted into a call to __vwarn_internal.
1733 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
1734 call to __vfxprintf with 'mode_flags'.
1735 (__error_internal): New function, renamed from error, but that
1736 takes a 'mode_flags' parameter.
1737 (error): Converted into a call to __error_internal.
1738 (__error_at_line_internal): New function, renamed from
1739 error_at_line, but that takes a 'mode_flags' parameter.
1740 (error_at_line): Converted into a call to
1741 __error_at_line_internal.
1742 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
1743 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
1746 2019-02-20 Martin Liska <mliska@suse.cz>
1748 * math/Makefile: Install math-vector-fortran.h.
1749 * bits/math-vector-fortran.h: New file.
1750 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
1752 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1754 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
1755 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
1757 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
1759 * nptl/pthread_mutex_trylock.c: Fix comment.
1761 2019-02-19 Carlos O'Donell <carlos@redhat.com>
1763 * nptl/pthread_tryjoin.c: Fix comment.
1765 2019-02-18 Joseph Myers <joseph@codesourcery.com>
1768 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
1769 after R_SPARC_H34 case.
1771 2019-02-18 Florian Weimer <fweimer@redhat.com>
1773 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
1774 (getanswer): Do not call Dprintf.
1775 (res_gethostbyname2_context): Likewise.
1776 (res_gethostbyaddr_context): Likewise.
1778 2019-02-18 Florian Weimer <fweimer@redhat.com>
1780 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
1782 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
1784 * libio/stdfiles.c: Update comment.
1785 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
1786 set _IO_stdin, _IO_stdout, _IO_stderr.
1787 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
1788 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
1790 (_IO_deallocate_file): New inline function.
1791 * libio/iolibio.h (_IO_vprintf): Remove definition.
1792 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
1793 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1794 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
1796 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
1797 __builtin_expect. Use _IO_legacy_file.
1799 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
1801 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
1802 Initialize ctid with a known value and remove update of ctid
1804 (wait_tid): Adjust arguments and call futex_wait with ctid_val
1805 as assumed current value of ctid_ptr.
1807 2019-02-16 Florian Weimer <fweimer@redhat.com>
1809 Check that non-sysdeps headers have wrapper headers.
1810 * scripts/check-wrapper-headers.py: New file.
1811 * Makefile (tests-special): Add check-wrapper-headers.out.
1812 (check-wrapper-headers.out): New target.
1813 * Rules (tests-special): Add check-wrapper-headers.out.
1814 (check-wrapper-headers.out): New target.
1816 2019-02-16 Florian Weimer <fweimer@redhat.com>
1818 Add missing header wrappers under include/.
1819 * include/ar.h: New file.
1820 * include/bits/mqueue2.h: Likewise.
1821 * include/bits/stdio.h: Likewise.
1822 * include/bits/stdio2.h: Likewise.
1823 * include/fstab.h: Likewise.
1824 * include/fts.h: Likewise.
1825 * include/lastlog.h: Likewise.
1826 * include/netinet/icmp6.h: Likewise.
1827 * include/netinet/igmp.h: Likewise.
1828 * include/netinet/ip6.h: Likewise.
1829 * include/re_comp.h: Likewise.
1830 * include/regexp.h: Likewise.
1831 * include/rpcsvc/bootparam.h: Likewise.
1832 * include/rpcsvc/yp_prot.h: Likewise.
1833 * include/sys/random.h: Likewise.
1834 * include/sys/stropts.h: Likewise.
1835 * include/sys/ttychars.h: Likewise.
1836 * include/sys/vfs.h: Likewise.
1837 * include/wait.h: Likewise.
1839 2019-02-16 Florian Weimer <fweimer@redhat.com>
1841 * nptl_db/proc_service.h: Move to ...
1842 * sysdeps/nptl/proc_service.h: ... here.
1843 * nptl_db/thread_db.h: Move to ...
1844 * sysdeps/nptl/thread_db.h: ... here.
1845 * nptl/descr.h: Include <thread_db.h>.
1847 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1849 * io/Makefile (tests): Add tst-lockf.
1850 * io/lockf.c (lockf): Use __fcntl and only define for
1851 !__OFF_T_MATCHES_OFF64_T.
1852 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1853 __OFF_T_MATCHES_OFF64_T case.
1854 * io/tst-lockf.c: New file.
1855 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1856 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1857 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1858 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1859 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1861 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1862 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1863 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1865 2019-02-15 Florian Weimer <fweimer@redhat.com>
1868 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1869 pd->result after the thread descriptor has been freed.
1871 2019-02-15 Joseph Myers <joseph@codesourcery.com>
1873 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1874 from function return type.
1876 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1878 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1880 * scripts/test_printers_common.py: Set TERM to a known harmless
1883 2019-02-14 Joseph Myers <joseph@codesourcery.com>
1885 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1886 (xdr_u_int): Likewise.
1887 (xdr_enum): Likewise.
1888 (xdr_bytes): Reword fall-through comment.
1889 (xdr_string): Likewise.
1891 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1894 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1895 (tests): Add tst-join8 tst-join9.
1896 * nptl/lll_timedwait_tid.c: Remove file.
1897 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1898 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1899 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1900 * nptl/pthread_join_common.c (timedwait_tid): New function.
1901 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1903 * nptl/tst-join5.c (thread_join): New function.
1904 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1906 * nptl/tst-join8.c: New file.
1907 * nptl/tst-join9.c: Likewise.
1908 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1909 lll_futex_timed_wait_cancel): Add generic macros.
1910 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1912 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1913 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1914 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1915 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1917 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1919 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1920 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1921 (lll_futex_timed_wait_cancel): New macro.
1923 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1925 * benchtests/Makefile: Add malloc-simple benchmark.
1926 * benchtests/bench-malloc-simple.c: New benchmark.
1928 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1930 * benchtests/bench-memmove.c (do_one_test): Remove unused
1933 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1937 2019-01-13 Jim Wilson <jimw@sifive.com>
1940 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1941 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1943 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1945 * nptl/Makefile (tests): Add tst-unwind-thread.
1946 (CFLAGS-tst-unwind-thread.c): Define.
1947 * nptl/tst-unwind-thread.c: New file.
1948 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1951 2019-02-13 Joseph Myers <joseph@codesourcery.com>
1953 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1955 * nis/nis_call.c (__do_niscall3): Likewise.
1957 * catgets/gencat.c (normalize_line): Use braces around empty
1959 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1960 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1961 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1962 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1963 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1964 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1965 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1968 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1971 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1973 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1974 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1975 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1976 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1977 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1978 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1979 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1980 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1981 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1982 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1983 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1984 * benchtests/bench-bcopy.c: Delete file.
1985 * benchtests/bench-bzero.c: Likewise.
1986 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1987 (simple_memccpy): Remove.
1988 (generic_memccpy): Add function.
1989 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1990 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1991 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1992 (generic_mempcpy): Add new function.
1993 * benchtests/bench-memset.c (simple_bzero): Remove.
1994 (builtin_bzero): Remove.
1995 (builtin_memset): Remove.
1996 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1997 (generic_rawmemchr): Add new function.
1999 2019-02-12 Florian Weimer <fweimer@redhat.com>
2001 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2003 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2006 * elf/Makefile (tests): Add tst-audit13.
2007 (modules-names): Add tst-audit13mod1.
2008 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2010 * elf/tst-audit13.c: New file.
2011 * elf/tst-audit13mod1.c: Likewise.
2013 2019-02-12 Florian Weimer <fweimer@redhat.com>
2016 * elf/rtld.c (unload_audit_module): New function.
2017 (report_audit_module_load_error): Likewise.
2018 (load_audit_module): Likewise. Extracted from dl_main. Call
2019 _dl_close if the laversion symbol cannot be found. Use early
2020 returns for error handling. Add malloc error check. Check for a
2021 zero return value from la_version. Remove spurious comment about
2022 static TLS initialization. Remove useless casts.
2023 (notify_audit_modules_of_loaded_object): New function. Extracted
2025 (load_audit_module): Likewise.
2026 (dl_main): Call load_audit_modules.
2028 2019-02-12 Joseph Myers <joseph@codesourcery.com>
2030 * elf/dl-exception.c (_dl_exception_create_format): Add
2031 fall-through comments.
2032 * elf/ldconfig.c (parse_conf_include): Likewise.
2033 * elf/rtld.c (print_statistics): Likewise.
2034 * locale/programs/charmap.c (parse_charmap): Likewise.
2035 * misc/mntent_r.c (__getmntent_r): Likewise.
2036 * posix/wordexp.c (parse_arith): Likewise.
2037 (parse_backtick): Likewise.
2038 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2039 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2040 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2042 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
2044 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2045 Use float instead of double.
2047 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2049 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2051 2019-02-08 Joseph Myers <joseph@codesourcery.com>
2053 * sysdeps/powerpc/bits/mathinline.h: Remove.
2055 2019-02-08 Florian Weimer <fweimer@redhat.com>
2057 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2058 * math/bits/math-finite.h: Move to ...
2059 * bits/math-finite.h: ... here.
2061 2019-02-08 Florian Weimer <fweimer@redhat.com>
2063 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2064 * bits/unistd_ext.h: here.
2066 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2069 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2070 * nss/tst-nss-files-hosts-long.c: New file.
2071 * nss/tst-nss-files-hosts-long.root: New directory.
2072 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2073 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2075 2019-02-08 Florian Weimer <fweimer@redhat.com>
2077 * include/bits/unistd_ext.h: Remove file.
2078 * posix/bits/unistd_ext.h: Move to ...
2079 * sysdeps/generic/bits/unistd_ext.h: ... here.
2081 2019-02-08 Florian Weimer <fweimer@redhat.com>
2083 * include/bits/unistd_ext.h: New file.
2085 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2087 * time/tst-strftime2.c: Use array_length macros instead of magic
2090 2019-02-08 Florian Weimer <fweimer@redhat.com>
2093 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2095 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2096 locking if the new do_locking argument is true.
2097 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2098 __run_fork_handlers.
2100 2019-02-08 Florian Weimer <fweimer@redhat.com>
2103 Linux: Add gettid system call wrapper.
2104 * posix/Makefile (headers): Add bits/unistd_ext.h.
2105 * posix/bits/unistd_ext.h: New file.
2106 * posix/unistd.h: Include it.
2107 * manual/process.texi (Process Identification): Document gettid.
2108 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2109 tst-gettid, tst-gettid-kill.
2110 (tst-gettid): Link with $(shared-thread-library).
2111 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2112 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2113 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2114 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2115 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2116 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2118 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2120 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2121 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2123 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2125 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2127 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2129 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2131 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2133 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2135 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2136 (GLIBC_2.30): Likewise.
2137 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2138 (GLIBC_2.30): Likewise.
2139 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2140 (GLIBC_2.30): Likewise.
2141 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2142 (GLIBC_2.30): Likewise.
2143 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2146 (GLIBC_2.30): Likewise.
2147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2148 (GLIBC_2.30): Likewise.
2149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2150 (GLIBC_2.30): Likewise.
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2152 (GLIBC_2.30): Likewise.
2153 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2155 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2157 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2159 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2160 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2162 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2164 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2166 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2168 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2170 2019-02-08 Florian Weimer <fweimer@redhat.com>
2172 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2173 compatibility symbols.
2175 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
2178 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2179 Add compiler barriers and comments.
2181 2019-02-07 Florian Weimer <fweimer@redhat.com>
2183 * include/array_length.h (array_length): Do not use a statement
2184 expression and _Static_assert, so that array_length can be used at
2185 file scope and as a constant expression.
2187 2019-02-07 Florian Weimer <fweimer@redhat.com>
2189 * support/xdlfcn.h (xdlmopen): Declare.
2190 * support/xdlmopen.c: New file.
2191 * support/Makefile (libsupport-routines): Add xdlmopen.
2193 2019-02-06 Joseph Myers <joseph@codesourcery.com>
2195 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2196 before return type, without separate inline.
2197 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2198 * elf/dl-tunables.h (tunable_is_name): Likewise.
2199 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2200 (do_set_top_pad): Likewise.
2201 (do_set_mmap_threshold): Likewise.
2202 (do_set_mmaps_max): Likewise.
2203 (do_set_mallopt_check): Likewise.
2204 (do_set_perturb_byte): Likewise.
2205 (do_set_arena_test): Likewise.
2206 (do_set_arena_max): Likewise.
2207 (do_set_tcache_max): Likewise.
2208 (do_set_tcache_count): Likewise.
2209 (do_set_tcache_unsorted_limit): Likewise.
2210 * nis/nis_subr.c (count_dots): Likewise.
2211 * nptl/allocatestack.c (advise_stack_range): Likewise.
2212 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2214 (reduce_sincos): Likewise.
2215 (do_sincos): Likewise.
2216 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2217 (do_set_elision_enable): Likewise.
2218 (TUNABLE_CALLBACK_FNDECL): Likewise.
2220 2019-02-06 Florian Weimer <fweimer@redhat.com>
2222 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2223 (xdlsym): Use dlerror to detect a NULL symbol.
2225 2019-02-06 Florian Weimer <fweimer@redhat.com>
2227 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2229 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2231 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2233 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2235 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2237 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2238 __wmemcmp and weak alias to wmemcmp.
2240 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2243 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2244 TLS_TCB_AT_TP tls variant.
2245 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2246 Add alignment checks.
2247 * support/Makefile (libsupport-routines): Add xposix_memalign and
2249 * support/support.h: Add xposix_memalign.
2250 * support/xthread.h: Add xpthread_attr_setstack.
2251 * support/xposix_memalign.c: New File.
2252 * support/xpthread_attr_setstack.c: Likewise.
2254 2019-02-05 Florian Weimer <fweimer@redhat.com>
2257 arm: Use "nr" constraint for Systemtap probes, to avoid the
2258 compiler using memory operands for constants, due to the "o"
2259 alternative in the default "nor" constraint.
2260 * include/stap-probe.h [USE_STAP_PROBE]: Include
2261 <stap-probe-machine.h>
2262 * sysdeps/generic/stap-probe-machine.h: New file.
2263 * sysdeps/arm/stap-probe-machine.h: Likewise.
2265 2019-02-04 Joseph Myers <joseph@codesourcery.com>
2267 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2268 with 0, not tcache->entries[tc_idx].
2270 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2273 2019-02-04 Andreas Schwab <schwab@suse.de>
2277 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2278 looking up collating elements match against (wide) character
2279 sequence instead of name. Correct alignment adjustment.
2280 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2281 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2282 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2283 (LOCALES): Add cs_CZ.ISO-8859-2.
2284 * posix/tst-fnmatch4.c: New file.
2285 * posix/tst-fnmatch5.c: New file.
2286 * include/wchar.h (__wmemcmp): Declare.
2287 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
2288 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2289 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2290 * sysdeps/s390/wmemcmp.c: Likewise.
2292 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
2296 * NEWS: Updated for CVE-2019-7309.
2297 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
2298 upper 32 bits of RDX register for x32. Use unsigned Jcc
2299 instructions, instead of signed.
2300 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
2301 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
2303 2019-02-04 Florian Weimer <fweimer@redhat.com>
2305 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
2306 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
2307 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
2309 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
2310 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
2311 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
2312 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
2314 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
2316 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
2318 (posix_spawn_file_actions_addopen): Likewise.
2319 (posix_spawn_file_actions_addclose): Likewise.
2320 (posix_spawn_file_actions_adddup2): Likewise.
2321 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
2323 (posix_spawn_file_actions_addfchdir_np): Likewise.
2325 2019-02-04 David Newall <glibc@davidnewall.com>
2327 elf: Implement --preload option for the dynamic linker.
2328 * elf/rtld.c (preloadarg): New variable.
2329 (handle_preload_list): Pass through “where” argument to
2331 (dl_main): Handle "--preload" and add second call to
2332 handle_preload_list.
2333 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
2334 (tst-rtld-preload-OBJS): Set variable.
2335 (tst-rtld-preload.out): New target.
2336 * elf/tst-rtld-preload.sh: New file.
2338 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
2340 * Makefile (testrun.sh): Exit in case of incorrect argument.
2342 2019-02-04 Florian Weimer <fweimer@redhat.com>
2344 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
2347 2019-02-03 Florian Weimer <fweimer@redhat.com>
2349 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
2350 implicit overflow checks.
2352 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
2354 * stdlib/isomac.c: Include <unistd.h>.
2356 2019-02-03 Florian Weimer <fweimer@redhat.com>
2358 * include/time.h (__tzfile_default): Use int, not long int, for
2360 * time/tzfile.c (struct ttinfo): Change type of the offset member
2362 (__tzfile_read): Remove useless cast.
2363 (__tzfile_default): Adjust prototype.
2364 * time/tzset.c (tz_rule): Change type of the offset member to int.
2365 (parse_offset): Change the type of the sign variable to int.
2367 2019-02-03 Florian Weimer <fweimer@redhat.com>
2370 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
2371 * libio/getchar.c (getchar): Likewise.
2372 * libio/getchar_u.c (getchar_unlocked): Likewise.
2373 * libio/getwchar.c (getwchar): Likewise.
2374 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2375 * libio/iogets.c (_IO_gets): Likewise.
2376 * libio/vscanf.c (_IO_vscanf): Likewise.
2377 * libio/vwscanf.c (__vwscanf): Likewise.
2378 * libio/tst-bz24153.c: New file.
2379 * libio/Makefile (tests): Add it.
2381 2019-02-02 Florian Weimer <fweimer@redhat.com>
2384 * manual/resource.texi (Basic Scheduling Functions): Add
2385 portability note. Change process to task throughout the section.
2386 Remove incorrect comment about sched_yield as it affects
2387 tasks/threads, not entire processes.
2388 * sysdeps/unix/sysv/linux/bits/posix_opt.h
2389 (_POSIX_PRIORITY_SCHEDULING): Update comment.
2391 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2393 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
2394 * configure: Regenerated.
2395 * manual/install.texi (Tools for Compilation): Update minimum GCC
2397 * INSTALL: Regenerated.
2399 2019-02-01 Florian Weimer <fweimer@redhat.com>
2401 * support/support_test_compare_string.c
2402 (support_test_compare_string): Use "string" in error message.
2403 * support/tst-test_compare_string.c (do_test): Adjust.
2405 2019-02-01 Florian Weimer <fweimer@redhat.com>
2407 * support/support_format_address_family.c
2408 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2410 2019-02-01 Florian Weimer <fweimer@redhat.com>
2412 * manual/socket.texi (Internet Address Formats): Clarify the byte
2413 order of struct sockaddr_in, struct sockaddr_in6. Document
2414 sin6_flowinfo and sin6_scope_id.
2416 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2418 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2419 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2420 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2421 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2422 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2423 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2425 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2427 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2428 [!MEMCHR](MEMCHR): Set to __memchr.
2429 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2430 Add memchr_generic and memchr_nosimd.
2431 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2432 (__libc_ifunc_impl_list): Add memchr ifuncs.
2433 * sysdeps/aarch64/multiarch/memchr.c: New file.
2434 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2435 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2437 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2439 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2441 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2442 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2443 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2444 Add IS_EMAG check for ifunc dispatch.
2445 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2446 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2448 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2450 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2451 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2453 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2456 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
2458 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2460 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
2462 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2463 syscall-template file.
2465 2019-01-31 Carlos O'Donell <carlos@redhat.com>
2466 Torvald Riegel <triegel@redhat.com>
2467 Rik Prohaska <prohaska7@gmail.com>
2470 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2471 tst-rwlock-trywrlock-stall.
2472 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2473 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2474 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2475 Set __wrphase_fute to 1 only if we started the write phase.
2476 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2477 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2478 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2479 * support/xpthread_rwlock_destroy.c: New file.
2480 * support/xthread.h: Declare xpthread_rwlock_destroy.
2482 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2484 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2487 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2490 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
2491 * libio/fileops.c (_IO_new_file_underflow): Likewise
2492 * libio/wfileops.c (_IO_wfile_underflow): Likewise
2493 * libio/putchar.c (putchar): Likewise.
2494 * libio/putchar_u.c (putchar_unlocked): Likewise.
2495 * libio/putwchar.c (putchar): Likewise.
2496 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2497 * libio/tst-bz24051.c: New test.
2498 * libio/Makefile (tests): Add tst-bz24051
2500 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
2503 regex: fix read overrun [BZ #24114]
2504 Problem found by AddressSanitizer, reported by Hongxu Chen in:
2505 https://debbugs.gnu.org/34140
2506 * posix/regexec.c (proceed_next_node):
2507 Do not read past end of input buffer.
2509 2019-01-31 Florian Weimer <fweimer@redhat.com>
2512 * nss/nss_files/files-alias.c (get_next_alias): Handle
2513 continuation line without newline at the end.
2514 * nss/tst-nss-files-alias-truncated.c: New file.
2515 * nss/Makefile [$(build-shared)] (tests): Add
2516 tst-nss-files-alias-truncated.
2517 (tst-nss-files-alias-truncated): Link with libnss_files.so.
2518 * support/namespace.h (struct support_chroot_configuration): Add
2520 (struct support_chroot): Add path_aliases member.
2521 * support/support_chroot.c (support_chroot_create): Handle
2523 (support_chroot_free): Free path_aliases.
2525 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2527 * version.h (RELEASE): Set to "development".
2528 (VERSION): Set to "2.29.9000".
2529 * NEWS: Add section for 2.30.
2531 * version.h (RELEASE): Set to "stable".
2532 (VERSION): Set to "2.29".
2533 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
2535 * NEWS: Add the list of bugs fixed in 2.29.
2536 * manual/contrib.texi: Update contributors list with some more
2538 * manual/install.texi: Update latest versions of packages
2540 * INSTALL: Regenerated.
2542 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2544 * po/be.po: Update translations.
2545 * po/bg.po: Likewise.
2546 * po/ca.po: Likewise.
2547 * po/cs.po: Likewise.
2548 * po/da.po: Likewise.
2549 * po/de.po: Likewise.
2550 * po/el.po: Likewise.
2551 * po/eo.po: Likewise.
2552 * po/es.po: Likewise.
2553 * po/fi.po: Likewise.
2554 * po/fr.po: Likewise.
2555 * po/gl.po: Likewise.
2556 * po/hr.po: Likewise.
2557 * po/hu.po: Likewise.
2558 * po/ia.po: Likewise.
2559 * po/id.po: Likewise.
2560 * po/it.po: Likewise.
2561 * po/ja.po: Likewise.
2562 * po/ko.po: Likewise.
2563 * po/lt.po: Likewise.
2564 * po/nb.po: Likewise.
2565 * po/nl.po: Likewise.
2566 * po/pl.po: Likewise.
2567 * po/pt_BR.po: Likewise.
2568 * po/ru.po: Likewise.
2569 * po/rw.po: Likewise.
2570 * po/sk.po: Likewise.
2571 * po/sl.po: Likewise.
2572 * po/sv.po: Likewise.
2573 * po/tr.po: Likewise.
2574 * po/uk.po: Likewise.
2575 * po/vi.po: Likewise.
2576 * po/zh_CN.po: Likewise.
2577 * po/zh_TW.po: Likewise.
2579 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
2582 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
2583 of $f3 register on $y_is_neg path.
2585 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2588 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
2589 sigaltstack.ss_flags.
2591 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
2594 * manual/time.texi (strftime): Document "%Ey".
2595 * time/strftime_l.c (__strftime_internal): Set the default width
2596 padding with zero of "%Ey" to 2.
2599 * manual/time.texi (strftime): Document "%EC" and "%EY".
2600 * time/Makefile (tests): Add tst-strftime2.
2601 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
2602 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
2603 override padding for "%Ey".
2604 If an optional flag ('_' or '-') is specified to "%EY", interpret the
2605 "%Ey" in the subformat as if decorated with that flag.
2606 * time/tst-strftime2.c: New file.
2608 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2610 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
2614 * elf/Makefile (tests): Add tst-audit13.
2615 (modules-names): Add tst-audit13mod1.
2616 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2618 * elf/rtld.c (dl_main): Handle invalid audit module version.
2619 * elf/tst-audit13.c: New file.
2620 * elf/tst-audit13mod1.c: Likewise.
2622 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2624 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
2625 returned by __hurd_at_flags.
2626 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
2627 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
2628 directly instead of __hurd_file_name_lookup.
2630 2019-01-21 Joseph Myers <joseph@codesourcery.com>
2632 * scripts/build-many-glibcs.py (Context.checkout): Default
2633 binutils version to 2.32 branch.
2635 2019-01-21 Florian Weimer <fweimer@redhat.com>
2639 resolv: Reject trailing characters in host names
2640 * include/arpa/inet.h (__inet_aton_exact): Declare.
2641 (inet_aton): Remove hidden prototype. No longer used internally.
2642 * nscd/gai.c (__inet_aton): Do not define.
2643 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
2644 * nss/digits_dots.c (__inet_aton): Likewise.
2645 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
2646 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
2647 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
2648 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
2649 (tst-resolv-trailing): Likewise.
2650 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
2652 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
2653 Make static. Add endp parameter.
2654 (__inet_aton_exact): New function.
2655 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
2656 (__inet_addr): Call inet_aton_end.
2657 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
2658 not just IPv6. Call __inet_aton_exact.
2659 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
2660 (tests): Make const. Add additional test cases with trailing
2662 (do_test): Use array_length.
2663 * resolv/tst-inet_aton_exact.c: New file.
2664 * resolv/tst-resolv-trailing.c: Likewise.
2665 * resolv/tst-resolv-nondecimal.c: Likewise.
2666 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
2668 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2672 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
2673 Clear the upper 32 bits of RSI register.
2674 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
2675 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
2676 and tst-size_t-wcsnlen.
2677 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
2678 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
2680 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2684 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
2685 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2686 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2687 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
2688 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
2690 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2694 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
2695 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2696 * sysdeps/x86_64/strcmp.S: Likewise.
2697 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
2698 tst-size_t-strncmp and tst-size_t-wcsncmp.
2699 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
2700 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
2701 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
2703 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2707 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
2708 RDX_LP for length. Clear the upper 32 bits of RDX register.
2709 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
2710 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
2711 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
2712 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
2714 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2718 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
2719 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
2720 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
2721 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
2723 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2727 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
2728 length. Clear the upper 32 bits of RDX register.
2729 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2730 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2732 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2734 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
2736 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
2738 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2742 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
2743 length. Clear the upper 32 bits of RDX register.
2744 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2745 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2746 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
2748 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
2749 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
2751 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2755 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
2756 upper 32 bits of RDX register.
2757 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2758 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
2760 * sysdeps/x86_64/x32/test-size_t.h: New file.
2761 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
2762 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
2764 2019-01-18 Florian Weimer <fweimer@redhat.com>
2767 resolv: Do not send queries for non-host-names in nss_dns.
2768 * resolv/nss_dns/dns-host.c (check_name): New function.
2769 (_nss_dns_gethostbyname2_r): Use it.
2770 (_nss_dns_gethostbyname_r): Likewise.
2771 (_nss_dns_gethostbyname4_r): Likewise.
2773 2019-01-21 Florian Weimer <fweimer@redhat.com>
2775 * resolv/inet_addr.c: Reformat to GNU style.
2776 (__inet_addr, __inet_aton): Update comment.
2778 2019-01-18 Florian Weimer <fweimer@redhat.com>
2780 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
2781 ("malloc: Use current (C11-style) atomics for fastbin access").
2782 This commit introduces a substantial performance regression on
2784 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
2785 (REMOVE_FB): Define.
2786 (_int_malloc): Use it and reindent.
2787 (_int_free): Use CAS loop with
2788 catomic_compare_and_exchange_val_rel.
2789 (malloc_consolidate): Use atomic_exchange_acq.
2792 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
2794 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
2796 (LDFLAGS-tst-minsigstksz-2): Likewise.
2797 (LDFLAGS-tst-minsigstksz-3): Likewise.
2798 (LDFLAGS-tst-minsigstksz-3a): Likewise.
2799 (LDFLAGS-tst-minsigstksz-4): Likewise.
2801 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
2803 * manual/time.texi (strftime): Fix the wording to "alternative" rather
2806 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
2808 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
2810 2019-01-16 Zack Weinberg <zackw@panix.com>
2812 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
2813 (xget_sigstack_location): New test support functions.
2814 * support/xsigstack.c: New file, implementing them.
2815 * support/tst-xsigstack.c: New test for them.
2816 * support/Makefile: Update.
2818 * signal/tst-minsigstksz-1.c
2819 * signal/tst-minsigstksz-2.c
2820 * signal/tst-minsigstksz-3.c
2821 * signal/tst-minsigstksz-3a.c
2822 * signal/tst-minsigstksz-4.c: New tests.
2823 * signal/Makefile: Run them.
2825 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2827 * po/libc.pot: Regenerate.
2829 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2831 * math/libm-test-fma.inc (fma_test_data): Set
2832 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
2834 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2836 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
2837 (do_test): Changed __vector __int128_t to __vector unsigned int.
2839 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2841 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2842 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
2843 stpcpy-avx2 and stpncpy-avx2.
2844 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2845 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2846 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2848 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2849 ifunc-strcpy.h}: rename header for a more generic name.
2850 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2851 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2852 AVX unaligned load is fast and vzeroupper is preferred.
2853 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2854 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2855 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2856 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2857 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2858 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2860 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2862 * argp/argp-help.c: Fix typo in comment.
2863 * misc/sys/cdefs.h: Likewise.
2864 * posix/regexec.c (sift_states_iter_mb): Likewise.
2865 * socket/sockatmark.c: Likewise.
2866 * socket/sys/socket.h: Likewise.
2867 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2868 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2869 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2870 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2871 * sysdeps/unix/sockatmark.c: Likewise.
2872 * time/strptime_l.c: Likewise.
2874 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2876 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2877 missing space after the cast of "_NL_CURRENT".
2879 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2881 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2882 ifdef to fix read of VSCR.
2883 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2884 tst-ucontext-ppc64-vscr.c to test list.
2885 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2887 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2889 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2892 2019-01-09 Jim Wilson <jimw@sifive.com>
2894 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2896 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2898 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2899 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2900 __memcpy_falkor for ares.
2901 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2903 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2906 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2909 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2910 4_FP_W_TYPEs are used for IEEE quad precision.
2911 * soft-fp/extendhftf2.c: Likewise.
2912 * soft-fp/extendsftf2.c: Likewise.
2913 * soft-fp/extendxftf2.c: Likewise.
2914 * soft-fp/trunctfdf2.c: Likewise.
2915 * soft-fp/trunctfhf2.c: Likewise.
2916 * soft-fp/trunctfsf2.c: Likewise.
2917 * soft-fp/trunctfxf2.c: Likewise.
2918 * sysdeps/alpha/ots_cvttx.c: Likewise.
2919 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2920 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2921 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2922 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2923 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2924 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2925 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2926 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2927 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2928 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2929 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2930 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2931 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2932 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2933 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2934 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2935 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2937 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2940 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2941 code with -fmath-errno.
2942 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2943 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2944 * string/test-strerror-errno.c: New file.
2946 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2949 * localedata/locales/en_US (date_fmt): Add, set to
2950 "%a %d %b %Y %r %Z".
2952 2019-01-07 Florian Weimer <fweimer@redhat.com>
2955 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2956 instead of @var{errno}.
2957 (Parsing of Integers): Likewise.
2958 (Parsing of Floats): Likewise.
2959 * manual/filesys.texi (Working with Directory Trees): Likewise.
2960 (Temporary Files): Likewise.
2961 * manual/job.texi (Terminal Access Functions): Likewise.
2962 * manual/llio.texi (Synchronizing I/O): Likewise.
2963 * manual/math.texi (SVID Random): Likewise.
2964 * manual/message.texi (The catgets Functions): Likewise.
2965 (Translation with gettext): Likewise.
2966 (Locating gettext catalog): Likewise.
2967 (Charset conversion in gettext): Likewise.
2968 * manual/nss.texi (NSS Module Function Internals): Likewise.
2969 * manual/search.texi (Hash Search Function): Likewise.
2970 * manual/setjmp.texi (System V contexts): Likewise.
2971 * manual/time.texi (Sleeping): Likewise.
2972 * manual/users.texi (Lookup User): Likewise.
2973 (Lookup Group): Likewise.
2975 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2977 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2980 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
2983 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2984 __builtin_unreachable for default case in switch.
2985 (__ieee754_yn): Likewise.
2986 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2987 (__ieee754_ynl): Likewise.
2988 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2989 (__ieee754_ynl): Likewise.
2990 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2991 (__ieee754_ynl): Likewise.
2993 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2995 * manual/maint.texi: Use @{ and @}.
2997 2019-01-04 Florian Weimer <fweimer@redhat.com>
2999 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3001 (do_in_chroot_1): Call it.
3003 Improve error reporting in case it is not possible to create a
3004 collision for the PTY name required by the test.
3006 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3008 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3009 lll_wait_tid with timeout.
3010 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3011 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3012 futex_reltimed_wait_cancelable for cancelabla mode.
3013 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3014 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3016 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3017 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3018 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3019 SYSCALL_CANCEL_NCS): New macro.
3020 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3021 (lll_timedwait_tid): Remove macro.
3022 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3024 (lll_timedwait_tid): Likewise.
3025 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3027 (lll_timedwait_tid): Likewise.
3028 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3030 (lll_timedwait_tid): Likewise.
3031 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3032 Use INTERNAL_SYSCALL_CANCEL.
3033 * sysdeps/unix/sysv/linux/futex-internal.h
3034 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3035 instead of __pthread_{enable,disable}_asynccancel.
3036 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3037 (lll_futex_wait_cancel): New macro.
3039 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3040 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3042 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3043 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3045 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3046 in backtrace analysis.
3047 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3049 (tf_send): Likewise.
3051 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3052 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3053 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3054 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3055 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3056 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3057 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3058 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3059 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3060 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3061 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3062 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3064 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3065 tst-cancel-wrappers.sh.
3066 (generated): Remove tst-cancel-wrappers.out.
3067 (tst-cancel-wrappers.out): Remove rule.
3068 * nptl/tst-cancel-wrappers.sh: Remove file.
3070 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3072 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3073 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3076 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3079 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3080 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3081 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3082 close-on-exec reset for adddup2 file action.
3083 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3085 2019-01-03 Zack Weinberg <zackw@panix.com>
3087 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3088 parameter. Only use deprecated scanf when __USE_GNU is defined
3089 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3090 than 201103L, whichever is relevant for the language being compiled.
3092 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3093 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3094 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3095 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3096 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3100 * libio/iovswscanf.c
3105 * stdio-common/fscanf.c
3106 * stdio-common/scanf.c
3107 * stdio-common/vfscanf.c
3108 * stdio-common/vfwscanf.c
3109 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3110 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3111 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3112 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3113 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3114 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3115 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3116 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3117 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3118 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3119 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3120 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3121 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3122 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3123 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3125 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3126 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3127 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3129 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3130 with a preprocessor macro.
3132 * stdio-common/bug21.c, stdio-common/scanf14.c:
3133 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3134 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3135 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3136 to xscanf, xfscanf, xsscanf.
3138 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3139 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3140 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3141 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3143 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3144 override feature selection macros or provide definitions of u_char etc.
3145 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3146 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3147 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3150 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3152 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3153 bits/termios-misc.h.
3154 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3155 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3156 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3157 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3158 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3159 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3161 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3162 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3163 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3164 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3165 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3166 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3168 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3169 (sysdep_headers): Add termios-misc.h.
3171 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3172 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3173 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3175 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3177 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3178 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3179 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3180 TCSAFLUSH): Move to termios-tcflow.h.
3181 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3182 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3183 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3184 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3186 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3188 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3189 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3190 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3191 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3192 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3193 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3194 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3195 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3197 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3198 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3199 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3200 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3204 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3205 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3206 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3207 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3208 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3210 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3211 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3212 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3213 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3216 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3218 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3219 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3220 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3221 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3222 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3223 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3224 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3225 __MAX_BAUD): Move to termios-baud.h.
3226 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3227 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3228 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3229 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3230 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3232 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3234 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3235 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3236 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3237 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3238 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3239 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3241 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3242 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3244 [USE_MISC] (XTABS): Likewise.
3245 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3246 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3247 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3248 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3250 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3252 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3253 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3254 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3255 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3256 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3257 IUTF8): Move to termios-c_iflag.h.
3258 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3259 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3260 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3261 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3263 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3265 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3266 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3267 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3268 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3269 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3270 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3271 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3272 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3273 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3274 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3275 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3276 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3278 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3279 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3280 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3281 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3282 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3284 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3286 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
3288 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
3290 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
3292 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
3294 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
3295 _HAVE_C_OSPEED): Define.
3296 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
3297 _HAVE_C_OSPEED): Likewise.
3298 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
3299 _HAVE_C_OSPEED): Likewise.
3300 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
3301 (cfsetospeed): Check for define value instead of existence.
3302 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
3303 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3304 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
3305 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3306 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
3309 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
3311 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3312 (TIOCSER_TEMT): Likewise.
3313 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
3314 (TEOCSER_TEMT): Likewise.
3316 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
3319 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
3321 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3323 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3325 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3327 * sysdeps/htl/pt-barrierattr-setpshared.c
3328 (pthread_barrierattr_setpshared): Add stub warning.
3329 * sysdeps/htl/pt-condattr-setpshared.c
3330 (pthread_condattr_setpshared): Likewise.
3331 * sysdeps/htl/pt-mutexattr-setpshared.c
3332 (pthread_mutexattr_setpshared): Likewise.
3333 * sysdeps/htl/pt-rwlockattr-setpshared.c
3334 (pthread_rwlockattr_setpshared): Likewise.
3335 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
3336 (pthread_mutexattr_setpshared): Likewise.
3338 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3340 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
3341 constants to match with Linux 4.20.
3343 * sysdeps/mips/mips32/libm-test-ulps: Update.
3344 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3346 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
3349 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
3350 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
3351 than __typeof (...) for the a_ptr variable.
3353 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3355 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
3356 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
3357 * libio/Makefile (tests): Add tst-sprintf-ub and
3359 (CFLAGS-tst-sprintf-ub.c): New variable.
3360 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
3361 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
3362 destination buffer and check for overflows in fortified mode.
3363 * libio/libioP.h (PRINTF_CHK): New macro.
3364 * libio/tst-sprintf-chk-ub.c: New file.
3365 * libio/tst-sprintf-ub.c: Likewise.
3367 2019-01-02 Florian Weimer <fweimer@redhat.com>
3370 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
3373 2019-01-02 Florian Weimer <fweimer@redhat.com>
3375 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
3377 2019-01-01 Joseph Myers <joseph@codesourcery.com>
3379 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
3382 * sysdeps/unix/sysv/linux/netpacket/packet.h
3383 (PACKET_IGNORE_OUTGOING): New macro.
3385 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
3388 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3390 (riscv_flush_icache): New syscall.
3392 * manual/texinfo.tex: Update to version 2018-12-28.17 with
3393 trailing whitespace removed.
3394 * scripts/config.guess: Update to version 2019-01-01.
3395 * scripts/config.sub: Update to version 2019-01-01.
3396 * scripts/move-if-change: Update from gnulib.
3398 * NEWS: Update copyright dates.
3399 * catgets/gencat.c (print_version): Likewise.
3400 * csu/version.c (banner): Likewise.
3401 * debug/catchsegv.sh: Likewise.
3402 * debug/pcprofiledump.c (print_version): Likewise.
3403 * debug/xtrace.sh (do_version): Likewise.
3404 * elf/ldconfig.c (print_version): Likewise.
3405 * elf/ldd.bash.in: Likewise.
3406 * elf/pldd.c (print_version): Likewise.
3407 * elf/sotruss.sh: Likewise.
3408 * elf/sprof.c (print_version): Likewise.
3409 * iconv/iconv_prog.c (print_version): Likewise.
3410 * iconv/iconvconfig.c (print_version): Likewise.
3411 * locale/programs/locale.c (print_version): Likewise.
3412 * locale/programs/localedef.c (print_version): Likewise.
3413 * login/programs/pt_chown.c (print_version): Likewise.
3414 * malloc/memusage.sh (do_version): Likewise.
3415 * malloc/memusagestat.c (print_version): Likewise.
3416 * malloc/mtrace.pl: Likewise.
3417 * manual/libc.texinfo: Likewise.
3418 * nptl/version.c (banner): Likewise.
3419 * nscd/nscd.c (print_version): Likewise.
3420 * nss/getent.c (print_version): Likewise.
3421 * nss/makedb.c (print_version): Likewise.
3422 * posix/getconf.c (main): Likewise.
3423 * scripts/test-installation.pl: Likewise.
3424 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3426 * All files with FSF copyright notices: Update copyright dates
3427 using scripts/update-copyrights.
3428 * locale/programs/charmap-kw.h: Regenerated.
3429 * locale/programs/locfile-kw.h: Likewise.
3431 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3433 * timezone/zdump.c: Update from tzcode 2018i.
3434 * timezone/zic.c: Likewise.
3436 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3438 regex: improve Gnulib port to AIX
3439 From the glibc point of view, this removes duplicate macro
3440 definitions and is obviously safe.
3441 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3442 * posix/regex_internal.h:
3443 (__attribute__, __attribute_warn_unused_result__):
3444 Remove; already defined elsewhere.
3446 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
3449 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3450 copying operation. (ncopies had the wrong type, resulting in an
3451 integer wraparound and too few elements being copied.)
3453 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3456 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3457 <asm/syscalls.h> exists with __has_include__ before including it.
3459 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3461 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3464 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
3466 * hurd/lookup-retry: Include <unistd.h>.
3467 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3468 Release it on return. Handle "pid" magical lookup retry.
3470 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3473 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3474 (t_fmt_ampm): Likewise.
3475 * localedata/locales/aa_ER (t_fmt): Likewise.
3476 (t_fmt_ampm): Likewise.
3477 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3478 (t_fmt_ampm): Likewise.
3479 * localedata/locales/aa_ET (t_fmt): Likewise.
3480 (t_fmt_ampm): Likewise.
3481 * localedata/locales/am_ET (t_fmt): Likewise.
3482 (t_fmt_ampm): Likewise.
3483 * localedata/locales/byn_ER (t_fmt): Likewise.
3484 (t_fmt_ampm): Likewise.
3485 * localedata/locales/om_ET (t_fmt): Likewise.
3486 (t_fmt_ampm): Likewise.
3487 * localedata/locales/sid_ET (t_fmt): Likewise.
3488 (t_fmt_ampm): Likewise.
3489 * localedata/locales/so_DJ (t_fmt): Likewise.
3490 (t_fmt_ampm): Likewise.
3491 * localedata/locales/so_ET (t_fmt): Likewise.
3492 (t_fmt_ampm): Likewise.
3493 * localedata/locales/so_SO (t_fmt): Likewise.
3494 (t_fmt_ampm): Likewise.
3495 * localedata/locales/ti_ER (t_fmt): Likewise.
3496 (t_fmt_ampm): Likewise.
3497 * localedata/locales/ti_ET (t_fmt): Likewise.
3498 (t_fmt_ampm): Likewise.
3499 * localedata/locales/tig_ER (t_fmt): Likewise.
3500 (t_fmt_ampm): Likewise.
3501 * localedata/locales/wal_ET (t_fmt): Likewise.
3502 (t_fmt_ampm): Likewise.
3504 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
3505 * localedata/locales/ar_IN (t_fmt): Likewise.
3506 * localedata/locales/bhb_IN (t_fmt): Likewise.
3507 * localedata/locales/bho_IN (t_fmt): Likewise.
3508 * localedata/locales/bi_VU (t_fmt): Likewise.
3509 * localedata/locales/bn_BD (t_fmt): Likewise.
3510 * localedata/locales/bn_IN (t_fmt): Likewise.
3511 * localedata/locales/brx_IN (t_fmt): Likewise.
3512 * localedata/locales/doi_IN (t_fmt): Likewise.
3513 * localedata/locales/en_HK (t_fmt): Likewise.
3514 (t_fmt_ampm): Likewise.
3515 * localedata/locales/en_IN (t_fmt): Likewise.
3516 * localedata/locales/en_PH (t_fmt): Likewise.
3517 * localedata/locales/gu_IN (t_fmt): Likewise.
3518 * localedata/locales/hi_IN (t_fmt): Likewise.
3519 * localedata/locales/hif_FJ (t_fmt): Likewise.
3520 * localedata/locales/hne_IN (t_fmt): Likewise.
3521 * localedata/locales/kn_IN (t_fmt): Likewise.
3522 * localedata/locales/kok_IN (t_fmt): Likewise.
3523 * localedata/locales/ks_IN (t_fmt): Likewise.
3524 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
3525 * localedata/locales/mag_IN (t_fmt): Likewise.
3526 * localedata/locales/mai_IN (t_fmt): Likewise.
3527 * localedata/locales/mjw_IN (t_fmt): Likewise.
3528 * localedata/locales/ml_IN (t_fmt): Likewise.
3529 * localedata/locales/mni_IN (t_fmt): Likewise.
3530 * localedata/locales/mr_IN (t_fmt): Likewise.
3531 * localedata/locales/ms_MY (t_fmt): Likewise.
3532 * localedata/locales/pa_IN (t_fmt): Likewise.
3533 * localedata/locales/raj_IN (t_fmt): Likewise.
3534 * localedata/locales/sa_IN (t_fmt): Likewise.
3535 * localedata/locales/sat_IN (t_fmt): Likewise.
3536 * localedata/locales/sd_IN (t_fmt): Likewise.
3537 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
3538 * localedata/locales/tcy_IN (t_fmt): Likewise.
3539 * localedata/locales/the_NP (t_fmt): Likewise.
3540 * localedata/locales/to_TO (t_fmt): Likewise.
3541 * localedata/locales/ur_IN (t_fmt): Likewise.
3543 * localedata/locales/hif_FJ (d_t_fmt): Set to
3544 "%A %d %b %Y %I:%M:%S %p".
3545 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
3547 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
3548 * localedata/locales/ar_BH (t_fmt): Likewise.
3549 * localedata/locales/ar_DZ (t_fmt): Likewise.
3550 * localedata/locales/ar_EG (t_fmt): Likewise.
3551 * localedata/locales/ar_IQ (t_fmt): Likewise.
3552 * localedata/locales/ar_JO (t_fmt): Likewise.
3553 * localedata/locales/ar_KW (t_fmt): Likewise.
3554 * localedata/locales/ar_LB (t_fmt): Likewise.
3555 * localedata/locales/ar_LY (t_fmt): Likewise.
3556 * localedata/locales/ar_OM (t_fmt): Likewise.
3557 * localedata/locales/ar_QA (t_fmt): Likewise.
3558 * localedata/locales/ar_SD (t_fmt): Likewise.
3559 * localedata/locales/ar_SS (t_fmt): Likewise.
3560 * localedata/locales/ar_SY (t_fmt): Likewise.
3561 * localedata/locales/ar_TN (t_fmt): Likewise.
3562 * localedata/locales/ar_YE (t_fmt): Likewise.
3564 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
3565 (t_fmt_ampm): Likewise.
3566 * localedata/locales/gez_ET (t_fmt): Likewise.
3567 (t_fmt_ampm): Likewise.
3569 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
3570 (t_fmt_ampm): Likewise.
3571 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
3573 * localedata/locales/zh_HK (t_fmt):
3574 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
3576 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
3577 because this locale does not use the 12-hour clock.
3578 (t_fmt): Set to "%Z %H:%M:%S".
3579 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
3581 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
3582 because this locale does not use the 12-hour clock.
3583 (t_fmt): Set to "%H:%M:%S %Z".
3584 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
3586 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
3587 because this locale does not use the 12-hour clock.
3588 (t_fmt): Set to "%T".
3589 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
3590 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
3592 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
3593 because this locale does not use the 12-hour clock.
3594 (t_fmt): Set to "%H:%M:%S %Z".
3595 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
3597 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
3598 because this locale does not use the 12-hour clock.
3599 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
3600 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
3602 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3606 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
3607 (t_fmt_ampm): Likewise.
3608 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
3609 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
3610 (d_fmt): Set to "%-d.%-m.%y".
3612 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3614 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
3615 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
3616 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
3618 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
3619 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
3620 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
3622 * support/blob_repeat.c (check_mul_overflow_size_t,
3623 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
3625 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
3627 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
3629 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
3631 regex: simplify Gnulib port
3632 This simplifies the code, by removing stuff intended for porting
3633 to Gnulib but no longer needed there.
3634 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
3635 uses of libc_hidden_def, weak_alias.
3636 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
3637 _Restrict_ except for public-facing headers.
3638 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
3639 Remove; already defined elsewhere.
3640 * posix/regex.c, posix/regex_internal.h:
3641 Use __GNUC_PREREQ instead of rolling our own.
3642 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
3644 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
3646 * benchtests/bench-strlen.c (generic_strlen): New function.
3647 (memchr_strlen): New function.
3649 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3651 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
3652 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3653 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
3655 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3657 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3659 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3661 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
3662 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
3663 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
3664 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
3665 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
3666 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
3667 <sysdeps/ieee754/flt-32/s_sincosf.c>.
3669 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3672 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
3673 PLT reference in libc.so.
3674 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
3675 _Q_lltoq and _Q_qtod PLT references in libc.so.
3677 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
3679 * benchtests/bench-memchr.c: Cleanup defines.
3680 * benchtests/bench-memcmp.c: Likewise.
3681 * benchtests/bench-memset.c: Likewise.
3682 * benchtests/bench-memset-large.c: Likewise.
3683 * benchtests/bench-memset-walk.c: Likewise.
3684 * benchtests/bench-stpcpy.c: Likewise.
3685 * benchtests/bench-stpncpy.c: Likewise.
3686 * benchtests/bench-strcat.c: Likewise.
3687 * benchtests/bench-strchr.c: Likewise.
3688 * benchtests/bench-strcmp.c: Likewise.
3689 * benchtests/bench-strcpy.c: Likewise.
3690 * benchtests/bench-strcspn.c: Likewise.
3691 * benchtests/bench-string.h: Likewise.
3692 * benchtests/bench-strlen.c: Likewise.
3693 * benchtests/bench-strncat.c: Likewise.
3694 * benchtests/bench-strncmp.c: Likewise.
3695 * benchtests/bench-strncpy.c: Likewise.
3696 * benchtests/bench-strnlen.c: Likewise.
3697 * benchtests/bench-strpbrk.c: Likewise.
3698 * benchtests/bench-strrchr.c: Likewise.
3699 * benchtests/bench-strspn.c: Likewise.
3701 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3703 * stdlib/longlong.h: Update from GCC.
3706 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
3707 * configure: Regenerated.
3708 * manual/install.texi (Tools for Compilation): Update minimum GCC
3710 * INSTALL: Regenerated.
3712 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
3714 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
3716 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
3718 * malloc/malloc.c (mremap_chunk): Additional checks.
3720 2018-12-21 Mao Han <han_mao@c-sky.com>
3722 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
3723 * scripts/build-many-glibcs.py: Add C-SKY targets.
3724 * sysdeps/csky/Implies: New file.
3725 * sysdeps/csky/Makefile: Likewise.
3726 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
3727 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
3728 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
3729 * sysdeps/csky/abiv2/memcmp.S: Likewise.
3730 * sysdeps/csky/abiv2/memcpy.S: Likewise.
3731 * sysdeps/csky/abiv2/memmove.S: Likewise.
3732 * sysdeps/csky/abiv2/memset.S: Likewise.
3733 * sysdeps/csky/abiv2/setjmp.S: Likewise.
3734 * sysdeps/csky/abiv2/start.S: Likewise.
3735 * sysdeps/csky/abiv2/strcmp.S: Likewise.
3736 * sysdeps/csky/abiv2/strcpy.S: Likewise.
3737 * sysdeps/csky/abiv2/strlen.S: Likewise.
3738 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
3739 * sysdeps/csky/abort-instr.h: Likewise.
3740 * sysdeps/csky/atomic-machine.h: Likewise.
3741 * sysdeps/csky/bits/endian.h: Likewise.
3742 * sysdeps/csky/bits/fenv.h: Likewise.
3743 * sysdeps/csky/bits/link.h: Likewise.
3744 * sysdeps/csky/bits/setjmp.h: Likewise.
3745 * sysdeps/csky/bsd-_setjmp.S: Likewise.
3746 * sysdeps/csky/bsd-setjmp.S: Likewise.
3747 * sysdeps/csky/configure: Likewise.
3748 * sysdeps/csky/configure.ac: Likewise.
3749 * sysdeps/csky/dl-machine.h: Likewise.
3750 * sysdeps/csky/dl-procinfo.c: Likewise.
3751 * sysdeps/csky/dl-procinfo.h: Likewise.
3752 * sysdeps/csky/dl-sysdep.h: Likewise.
3753 * sysdeps/csky/dl-tls.h: Likewise.
3754 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
3755 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
3756 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
3757 * sysdeps/csky/fpu/fegetenv.c: Likewise.
3758 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
3759 * sysdeps/csky/fpu/fegetmode.c: Likewise.
3760 * sysdeps/csky/fpu/fegetround.c: Likewise.
3761 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
3762 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
3763 * sysdeps/csky/fpu/fenv_private.h: Likewise.
3764 * sysdeps/csky/fpu/fesetenv.c: Likewise.
3765 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
3766 * sysdeps/csky/fpu/fesetmode.c: Likewise.
3767 * sysdeps/csky/fpu/fesetround.c: Likewise.
3768 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
3769 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
3770 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
3771 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
3772 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
3773 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
3774 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
3775 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
3776 * sysdeps/csky/fpu_control.h: Likewise.
3777 * sysdeps/csky/gccframe.h: Likewise.
3778 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
3779 * sysdeps/csky/ldsodefs.h: Likewise.
3780 * sysdeps/csky/libc-tls.c: Likewise.
3781 * sysdeps/csky/linkmap.h: Likewise.
3782 * sysdeps/csky/machine-gmon.h: Likewise.
3783 * sysdeps/csky/memusage.h: Likewise.
3784 * sysdeps/csky/nofpu/Implies: Likewise.
3785 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
3786 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
3787 * sysdeps/csky/nptl/Makefile: Likewise.
3788 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
3789 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
3790 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
3791 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
3792 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
3793 * sysdeps/csky/nptl/tls.h: Likewise.
3794 * sysdeps/csky/preconfigure: Likewise.
3795 * sysdeps/csky/sfp-machine.h: Likewise.
3796 * sysdeps/csky/sotruss-lib.c: Likewise.
3797 * sysdeps/csky/stackinfo.h: Likewise.
3798 * sysdeps/csky/sysdep.h: Likewise.
3799 * sysdeps/csky/tininess.h: Likewise.
3800 * sysdeps/csky/tst-audit.h: Likewise.
3801 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
3802 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
3803 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
3804 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
3805 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3806 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
3807 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3808 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
3809 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
3810 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
3811 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
3812 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
3813 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
3814 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
3815 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
3816 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
3817 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
3818 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
3819 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
3820 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
3821 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
3822 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
3823 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
3824 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3825 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
3826 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
3827 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
3828 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
3829 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
3830 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
3831 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
3832 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
3833 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
3834 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
3835 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
3836 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3837 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
3838 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
3839 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
3840 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
3841 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
3842 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
3843 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3844 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3846 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3848 * include/time.h (__difftime64): Add.
3849 * time/difftime.c (subtract): convert to 64-bit time.
3850 * time/difftime.c (__difftime64): Add.
3851 * time/difftime.c (__difftime): Wrap around __difftime64.
3853 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3855 * manual/examples/add.c: Remove redundant "if not".
3856 * manual/examples/argp-ex1.c: Likewise.
3857 * manual/examples/argp-ex2.c: Likewise.
3858 * manual/examples/argp-ex3.c: Likewise.
3859 * manual/examples/argp-ex4.c: Likewise.
3860 * manual/examples/atexit.c: Likewise.
3861 * manual/examples/db.c: Likewise.
3862 * manual/examples/dir.c: Likewise.
3863 * manual/examples/dir2.c: Likewise.
3864 * manual/examples/execinfo.c: Likewise.
3865 * manual/examples/filecli.c: Likewise.
3866 * manual/examples/filesrv.c: Likewise.
3867 * manual/examples/fmtmsgexpl.c: Likewise.
3868 * manual/examples/genpass.c: Likewise.
3869 * manual/examples/inetcli.c: Likewise.
3870 * manual/examples/inetsrv.c: Likewise.
3871 * manual/examples/isockad.c: Likewise.
3872 * manual/examples/longopt.c: Likewise.
3873 * manual/examples/memopen.c: Likewise.
3874 * manual/examples/memstrm.c: Likewise.
3875 * manual/examples/mkdirent.c: Likewise.
3876 * manual/examples/mkfsock.c: Likewise.
3877 * manual/examples/mkisock.c: Likewise.
3878 * manual/examples/mygetpass.c: Likewise.
3879 * manual/examples/pipe.c: Likewise.
3880 * manual/examples/popen.c: Likewise.
3881 * manual/examples/rprintf.c: Likewise.
3882 * manual/examples/search.c: Likewise.
3883 * manual/examples/select.c: Likewise.
3884 * manual/examples/setjmp.c: Likewise.
3885 * manual/examples/sigh1.c: Likewise.
3886 * manual/examples/sigusr.c: Likewise.
3887 * manual/examples/stpcpy.c: Likewise.
3888 * manual/examples/strdupa.c: Likewise.
3889 * manual/examples/strftim.c: Likewise.
3890 * manual/examples/subopt.c: Likewise.
3891 * manual/examples/swapcontext.c: Likewise.
3892 * manual/examples/termios.c: Likewise.
3893 * manual/examples/testopt.c: Likewise.
3894 * manual/examples/testpass.c: Likewise.
3895 * manual/examples/timeval_subtract.c: Likewise.
3897 2018-12-19 Joseph Myers <joseph@codesourcery.com>
3899 * sysdeps/x86/fpu/math_private.h: New file.
3900 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3902 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3907 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3909 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3910 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3911 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3912 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3914 (_dl_show_auxv): Give a special treatment to
3915 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3916 and AT_L3_CACHEGEOMETRY.
3917 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3918 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3919 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3920 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3922 2018-12-19 Andreas Schwab <schwab@suse.de>
3924 * nscd/connections.c (check_use): Don't abort on invalid len.
3926 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3928 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3929 values in the 64bit value cases.
3931 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3937 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3943 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3946 (__gmtime64_r): Add.
3948 (__gmtime64_r): Add.
3949 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3955 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3958 (__localtime64_r): Add.
3960 (__localtime64_r): Add.
3961 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3963 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3965 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3966 kernel_sigction definition.
3968 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3970 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3972 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3973 __syscall_rt_sigaction.
3974 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3975 (kernel_sigaction): Use Linux generic defintion.
3977 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3978 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3979 (__syscall_rt_sigaction): Remove implementation.
3980 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3982 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3983 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3984 INTERNAL_SYSCALL): Remove definitions.
3985 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3986 action and signal set size.
3987 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3988 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3990 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3991 James Clarke <jrtc27@jrtc27.com>
3994 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3995 Define if SA_RESTORER is defined.
3996 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3997 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3999 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4000 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4002 (HAS_SA_RESTORER): Define.
4003 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4004 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4005 (HAS_SA_RESTORER): Define.
4006 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4007 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4008 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4009 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4010 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4012 2018-12-18 Joseph Myers <joseph@codesourcery.com>
4014 * sysdeps/unix/sysv/linux/kernel-features.h
4015 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4016 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4017 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4018 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4019 (__ASSUME_ST_INO_64_BIT): Likewise.
4020 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4021 <kernel-features.h>.
4022 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4023 Remove conditional code.
4024 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4025 <kernel-features.h>.
4026 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4027 Remove conditional code.
4028 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4029 <kernel-features.h>.
4030 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4031 Remove conditional code.
4032 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4033 <kernel-features.h>.
4034 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4035 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4037 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4039 * sysdeps/s390/multiarch/ifunc-resolve.h
4040 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4041 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4042 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4043 Delete macro definition.
4044 (s390_libc_ifunc_init): Rename to
4045 s390_libc_ifunc_expr_stfle_init.
4046 * sysdeps/s390/bzero: Use
4047 s390_libc_ifunc_expr_stfle_init instead of
4048 s390_libc_ifunc_init.
4049 * sysdeps/s390/memcmp.c: Likewise.
4050 * sysdeps/s390/memcpy.c: Likewise.
4051 * sysdeps/s390/mempcpy.c: Likewise.
4052 * sysdeps/s390/memset.c: Likewise.
4054 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4056 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4057 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4059 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4061 * sysdeps/s390/multiarch/Makefile
4062 (sysdep_routines): Remove wmemcmp variants.
4063 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4064 * sysdeps/s390/multiarch/ifunc-impl-list.c
4065 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4066 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4067 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4068 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4069 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4070 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4071 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4072 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4074 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4076 * sysdeps/s390/multiarch/Makefile
4077 (sysdep_routines): Remove wmemset variants.
4078 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4079 * sysdeps/s390/multiarch/ifunc-impl-list.c
4080 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4081 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4082 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4083 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4084 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4085 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4086 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4087 * sysdeps/s390/ifunc-wmemset.h: New file.
4089 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4091 * sysdeps/s390/multiarch/Makefile
4092 (sysdep_routines): Remove wmemchr variants.
4093 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4094 * sysdeps/s390/multiarch/ifunc-impl-list.c
4095 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4096 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4097 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4098 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4099 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4100 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4101 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4102 * sysdeps/s390/ifunc-wmemchr.h: New file.
4104 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4106 * sysdeps/s390/multiarch/Makefile
4107 (sysdep_routines): Remove wcscspn variants.
4108 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4109 * sysdeps/s390/multiarch/ifunc-impl-list.c
4110 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4111 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4112 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4113 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4114 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4115 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4116 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4117 * sysdeps/s390/ifunc-wcscspn.h: New file.
4119 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4121 * sysdeps/s390/multiarch/Makefile
4122 (sysdep_routines): Remove wcspbrk variants.
4123 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4124 * sysdeps/s390/multiarch/ifunc-impl-list.c
4125 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4126 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4127 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4128 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4129 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4130 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4131 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4132 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4134 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4136 * sysdeps/s390/multiarch/Makefile
4137 (sysdep_routines): Remove wcsspn variants.
4138 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4139 * sysdeps/s390/multiarch/ifunc-impl-list.c
4140 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4141 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4142 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4143 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4144 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4145 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4146 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4147 * sysdeps/s390/ifunc-wcsspn.h: New file.
4149 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4151 * sysdeps/s390/multiarch/Makefile
4152 (sysdep_routines): Remove wcsrchr variants.
4153 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4154 * sysdeps/s390/multiarch/ifunc-impl-list.c
4155 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4156 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4157 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4158 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4159 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4160 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4161 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4162 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4164 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4166 * sysdeps/s390/multiarch/Makefile
4167 (sysdep_routines): Remove wcschrnul variants.
4168 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4169 * sysdeps/s390/multiarch/ifunc-impl-list.c
4170 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4171 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4172 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4173 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4174 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4175 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4176 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4177 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4179 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4181 * sysdeps/s390/multiarch/Makefile
4182 (sysdep_routines): Remove wcschr variants.
4183 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4184 * sysdeps/s390/multiarch/ifunc-impl-list.c
4185 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4186 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4187 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4188 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4189 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4190 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4191 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4192 * sysdeps/s390/ifunc-wcschr.h: New file.
4194 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4196 * sysdeps/s390/multiarch/Makefile
4197 (sysdep_routines): Remove wcsncmp variants.
4198 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4199 * sysdeps/s390/multiarch/ifunc-impl-list.c
4200 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4201 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4202 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4203 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4204 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4205 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4206 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4207 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4209 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4211 * sysdeps/s390/multiarch/Makefile
4212 (sysdep_routines): Remove wcscmp variants.
4213 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4214 * sysdeps/s390/multiarch/ifunc-impl-list.c
4215 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4216 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4217 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4218 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4219 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4220 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4221 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4222 * sysdeps/s390/ifunc-wcscmp.h: New file.
4224 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4226 * sysdeps/s390/multiarch/Makefile
4227 (sysdep_routines): Remove wcsncat variants.
4228 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4229 * sysdeps/s390/multiarch/ifunc-impl-list.c
4230 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4231 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4232 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4233 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4234 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4235 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4236 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4237 * sysdeps/s390/ifunc-wcsncat.h: New file.
4239 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4241 * sysdeps/s390/multiarch/Makefile
4242 (sysdep_routines): Remove wcscat variants.
4243 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4244 * sysdeps/s390/multiarch/ifunc-impl-list.c
4245 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4246 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4247 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4248 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4249 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4250 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4251 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4252 * sysdeps/s390/ifunc-wcscat.h: New file.
4254 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4256 * sysdeps/s390/multiarch/Makefile
4257 (sysdep_routines): Remove wcpncpy variants.
4258 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4259 * sysdeps/s390/multiarch/ifunc-impl-list.c
4260 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4261 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4262 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4263 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4264 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4265 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4266 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4267 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4269 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4271 * sysdeps/s390/multiarch/Makefile
4272 (sysdep_routines): Remove wcsncpy variants.
4273 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4274 * sysdeps/s390/multiarch/ifunc-impl-list.c
4275 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4276 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4277 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4278 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4279 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4280 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4281 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4282 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4284 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4286 * sysdeps/s390/multiarch/Makefile
4287 (sysdep_routines): Remove wcpcpy variants.
4288 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
4289 * sysdeps/s390/multiarch/ifunc-impl-list.c
4290 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
4291 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
4292 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
4293 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
4294 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
4295 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
4296 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
4297 * sysdeps/s390/ifunc-wcpcpy.h: New file.
4299 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4301 * sysdeps/s390/multiarch/Makefile
4302 (sysdep_routines): Remove wcscpy variants.
4303 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
4304 * sysdeps/s390/multiarch/ifunc-impl-list.c
4305 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
4306 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
4307 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
4308 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
4309 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
4310 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
4311 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
4312 * sysdeps/s390/ifunc-wcscpy.h: New file.
4314 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4316 * sysdeps/s390/multiarch/Makefile
4317 (sysdep_routines): Remove wcsnlen variants.
4318 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
4319 * sysdeps/s390/multiarch/ifunc-impl-list.c
4320 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
4321 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
4322 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
4323 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
4324 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
4325 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
4326 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
4327 * sysdeps/s390/ifunc-wcsnlen.h: New file.
4329 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4331 * sysdeps/s390/multiarch/Makefile
4332 (sysdep_routines): Remove wcslen variants.
4333 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
4334 * sysdeps/s390/multiarch/ifunc-impl-list.c
4335 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
4336 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
4337 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
4338 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
4339 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
4340 * sysdeps/s390/multiarch/wcslen.c: Move to ...
4341 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
4342 * sysdeps/s390/ifunc-wcslen.h: New file.
4344 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4346 * sysdeps/s390/multiarch/Makefile
4347 (sysdep_routines): Remove memrchr variants.
4348 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
4349 * sysdeps/s390/multiarch/ifunc-impl-list.c
4350 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
4351 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
4352 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
4353 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
4354 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
4355 * sysdeps/s390/multiarch/memrchr.c: Move to ...
4356 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
4357 * sysdeps/s390/ifunc-memrchr.h: New file.
4359 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4361 * sysdeps/s390/multiarch/Makefile
4362 (sysdep_routines): Remove memccpy variants.
4363 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
4364 * sysdeps/s390/multiarch/ifunc-impl-list.c
4365 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
4366 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
4367 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
4368 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
4369 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
4370 * sysdeps/s390/multiarch/memccpy.c: Move to ...
4371 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
4372 * sysdeps/s390/ifunc-memccpy.h: New file.
4374 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4376 * sysdeps/s390/multiarch/Makefile
4377 (sysdep_routines): Remove rawmemchr variants.
4378 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
4379 * sysdeps/s390/multiarch/ifunc-impl-list.c
4380 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
4381 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
4382 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
4383 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
4384 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
4385 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
4386 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
4387 * sysdeps/s390/ifunc-rawmemchr.h: New file.
4389 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4391 * sysdeps/s390/multiarch/Makefile
4392 (sysdep_routines): Remove memchr variants.
4393 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
4394 * sysdeps/s390/multiarch/ifunc-impl-list.c
4395 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
4396 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
4397 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
4398 * sysdeps/s390/multiarch/memchr.c: Move to ...
4399 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
4400 * sysdeps/s390/ifunc-memchr.h: New file.
4401 * sysdeps/s390/s390-64/memchr.S: Move to ...
4402 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
4403 for 31/64bit and ifunc handling.
4404 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4405 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4406 * sysdeps/s390/s390-32/memchr.S: Likewise.
4408 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4410 * sysdeps/s390/multiarch/Makefile
4411 (sysdep_routines): Remove strcspn variants.
4412 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4413 * sysdeps/s390/multiarch/ifunc-impl-list.c
4414 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4415 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4416 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4417 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4418 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4419 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4420 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4421 * sysdeps/s390/ifunc-strcspn.h: New file.
4423 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4425 * sysdeps/s390/multiarch/Makefile
4426 (sysdep_routines): Remove strpbrk variants.
4427 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4428 * sysdeps/s390/multiarch/ifunc-impl-list.c
4429 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4430 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4431 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4432 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4433 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4434 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4435 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4436 * sysdeps/s390/ifunc-strpbrk.h: New file.
4438 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4440 * sysdeps/s390/multiarch/Makefile
4441 (sysdep_routines): Remove strspn variants.
4442 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4443 * sysdeps/s390/multiarch/ifunc-impl-list.c
4444 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4445 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4446 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4447 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4448 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4449 * sysdeps/s390/multiarch/strspn.c: Move to ...
4450 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4451 * sysdeps/s390/ifunc-strspn.h: New file.
4453 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4455 * sysdeps/s390/multiarch/Makefile
4456 (sysdep_routines): Remove strrchr variants.
4457 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4458 * sysdeps/s390/multiarch/ifunc-impl-list.c
4459 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4460 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4461 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4462 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4463 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4464 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4465 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4466 * sysdeps/s390/ifunc-strrchr.h: New file.
4468 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4470 * sysdeps/s390/multiarch/Makefile
4471 (sysdep_routines): Remove strchrnul variants.
4472 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4473 * sysdeps/s390/multiarch/ifunc-impl-list.c
4474 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4475 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4476 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4477 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4478 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4479 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4480 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
4481 * sysdeps/s390/ifunc-strchrnul.h: New file.
4483 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4485 * sysdeps/s390/multiarch/Makefile
4486 (sysdep_routines): Remove strchr variants.
4487 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
4488 * sysdeps/s390/multiarch/ifunc-impl-list.c
4489 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
4490 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
4491 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
4492 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
4493 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
4494 * sysdeps/s390/multiarch/strchr.c: Move to ...
4495 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
4496 * sysdeps/s390/ifunc-strchr.h: New file.
4498 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4500 * sysdeps/s390/multiarch/Makefile
4501 (sysdep_routines): Remove strncmp variants.
4502 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
4503 * sysdeps/s390/multiarch/ifunc-impl-list.c
4504 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
4505 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
4506 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
4507 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
4508 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
4509 * sysdeps/s390/multiarch/strncmp.c: Move to ...
4510 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
4511 * sysdeps/s390/ifunc-strncmp.h: New file.
4513 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4515 * sysdeps/s390/multiarch/Makefile
4516 (sysdep_routines): Remove strcmp variants.
4517 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
4518 * sysdeps/s390/multiarch/ifunc-impl-list.c
4519 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
4520 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
4521 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
4522 * sysdeps/s390/multiarch/strcmp.c: Move to ...
4523 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
4524 * sysdeps/s390/ifunc-strcmp.h: New file.
4525 * sysdeps/s390/s390-64/strcmp.S: Move to ...
4526 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
4527 for 31/64bit and ifunc handling.
4528 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
4529 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4530 * sysdeps/s390/s390-32/strcmp.S: Likewise.
4532 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4534 * sysdeps/s390/multiarch/Makefile
4535 (sysdep_routines): Remove strncat variants.
4536 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
4537 * sysdeps/s390/multiarch/ifunc-impl-list.c
4538 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
4539 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
4540 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
4541 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
4542 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
4543 * sysdeps/s390/multiarch/strncat.c: Move to ...
4544 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
4545 * sysdeps/s390/ifunc-strncat.h: New file.
4547 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4549 * sysdeps/s390/multiarch/Makefile
4550 (sysdep_routines): Remove strcat variants.
4551 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
4552 * sysdeps/s390/multiarch/ifunc-impl-list.c
4553 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
4554 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
4555 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
4556 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
4557 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
4558 * sysdeps/s390/multiarch/strcat.c: Move to ...
4559 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
4560 * sysdeps/s390/ifunc-strcat.h: New file.
4562 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4564 * sysdeps/s390/multiarch/Makefile
4565 (sysdep_routines): Remove stpncpy variants.
4566 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
4567 * sysdeps/s390/multiarch/ifunc-impl-list.c
4568 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
4569 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
4570 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
4571 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
4572 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
4573 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
4574 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
4575 * sysdeps/s390/ifunc-stpncpy.h: New file.
4577 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4579 * sysdeps/s390/multiarch/Makefile
4580 (sysdep_routines): Remove strncpy variants.
4581 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
4582 * sysdeps/s390/multiarch/ifunc-impl-list.c
4583 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
4584 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
4585 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
4586 * sysdeps/s390/multiarch/strncpy.c: Move to ...
4587 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
4588 * sysdeps/s390/ifunc-strncpy.h: New file.
4589 * sysdeps/s390/s390-64/strncpy.S: Move to ...
4590 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
4591 and adjust ifunc handling.
4592 * sysdeps/s390/s390-32/strncpy.S: Move to ...
4593 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
4594 and adjust ifunc handling.
4595 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
4596 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4598 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4600 * sysdeps/s390/multiarch/Makefile
4601 (sysdep_routines): Remove stpcpy variants.
4602 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
4603 * sysdeps/s390/multiarch/ifunc-impl-list.c
4604 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
4605 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
4606 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
4607 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
4608 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
4609 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
4610 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
4611 * sysdeps/s390/ifunc-stpcpy.h: New file.
4613 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4615 * sysdeps/s390/multiarch/Makefile
4616 (sysdep_routines): Remove strcpy variants.
4617 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
4618 * sysdeps/s390/multiarch/ifunc-impl-list.c
4619 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
4620 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
4621 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
4622 * sysdeps/s390/multiarch/strcpy.c: Move to ...
4623 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
4624 * sysdeps/s390/ifunc-strcpy.h: New file.
4625 * sysdeps/s390/s390-64/strcpy.S: Move to ...
4626 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
4627 for 31/64bit and ifunc handling.
4628 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
4629 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4630 * sysdeps/s390/s390-32/strcpy.S: Likewise.
4632 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4634 * sysdeps/s390/multiarch/Makefile
4635 (sysdep_routines): Remove strnlen variants.
4636 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
4637 * sysdeps/s390/multiarch/ifunc-impl-list.c
4638 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
4639 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
4640 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
4641 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
4642 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
4643 * sysdeps/s390/multiarch/strnlen.c: Move to ...
4644 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
4645 * sysdeps/s390/ifunc-strnlen.h: New file.
4647 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4649 * sysdeps/s390/multiarch/Makefile
4650 (sysdep_routines): Remove strlen variants.
4651 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
4652 * sysdeps/s390/multiarch/ifunc-impl-list.c
4653 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
4654 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
4655 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
4656 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
4657 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
4658 * sysdeps/s390/multiarch/strlen.c: Move to ...
4659 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
4660 * sysdeps/s390/ifunc-strlen.h: New file.
4662 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4664 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
4665 * sysdeps/s390/multiarch/ifunc-impl-list.c
4666 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
4667 * sysdeps/s390/ifunc-memmem.h: New file.
4668 * sysdeps/s390/memmem.c: Likewise.
4669 * sysdeps/s390/memmem-c.c: Likewise.
4670 * sysdeps/s390/memmem-vx.c: Likewise.
4672 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4674 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
4675 * sysdeps/s390/multiarch/ifunc-impl-list.c
4676 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
4677 * sysdeps/s390/ifunc-strstr.h: New file.
4678 * sysdeps/s390/strstr.c: Likewise.
4679 * sysdeps/s390/strstr-c.c: Likewise.
4680 * sysdeps/s390/strstr-vx.c: Likewise.
4682 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4684 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
4685 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
4686 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
4687 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
4689 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
4690 * sysdeps/s390/memmove-c.c: New file.
4691 * sysdeps/s390/memmove.c: Likewise.
4692 * sysdeps/s390/multiarch/ifunc-impl-list.c
4693 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
4695 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4697 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
4698 * sysdeps/s390/configure.ac: Add check for z13 support.
4699 * sysdeps/s390/configure: Regenerated.
4701 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4703 * sysdeps/s390/memcopy.h: New file.
4705 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4707 * sysdeps/s390/s390-32/bcopy.S: Remove.
4708 * sysdeps/s390/s390-64/bcopy.S: Likewise.
4710 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4712 * sysdeps/s390/ifunc-memcpy.h: New File.
4713 * sysdeps/s390/memcpy.S: Move to ...
4714 * sysdeps/s390/memcpy-z900.S ... here.
4715 Move implementations from memcpy-s390x.s to here.
4716 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
4717 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4718 Remove memcpy/mempcpy variants.
4719 * sysdeps/s390/Makefile (sysdep_routines):
4720 Add memcpy/mempcpy variants.
4721 * sysdeps/s390/multiarch/ifunc-impl-list.c
4722 (__libc_ifunc_impl_list): Adjust ifunc variants for
4724 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
4726 * sysdeps/s390/memcpy.c: ... here.
4727 Adjust ifunc variants for memcpy.
4728 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
4729 * sysdeps/s390/mempcpy.c: ... here.
4730 Adjust ifunc variants for mempcpy.
4731 * sysdeps/s390/mempcpy.S: Delete file.
4733 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4735 * sysdeps/s390/s390-64/memcpy.S: Move to ...
4736 * sysdeps/s390/memcpy.S: ... here.
4737 Adjust to be usable for 31/64bit.
4738 * sysdeps/s390/s390-32/memcpy.S: Delete File.
4739 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
4740 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
4741 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4742 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
4743 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
4744 Adjust to be usable for 31/64bit.
4745 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
4746 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
4747 * sysdeps/s390/multiarch/memcpy.c: ... here.
4748 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
4750 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4752 * sysdeps/s390/ifunc-memcmp.h: New File.
4753 * sysdeps/s390/memcmp.S: Move to ...
4754 * sysdeps/s390/memcmp-z900.S ... here.
4755 Move implementations from memcmp-s390x.s to here.
4756 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
4757 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4758 Remove memcmp variants.
4759 * sysdeps/s390/Makefile (sysdep_routines):
4760 Add memcmp variants.
4761 * sysdeps/s390/multiarch/ifunc-impl-list.c
4762 (__libc_ifunc_impl_list): Adjust ifunc variants for
4764 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
4766 * sysdeps/s390/memcmp.c: ... here.
4767 Adjust ifunc variants for memcmp.
4769 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4771 * sysdeps/s390/s390-64/memcmp.S: Move to ...
4772 * sysdeps/s390/memcmp.S: ... here.
4773 Adjust to be usable for 31/64bit.
4774 * sysdeps/s390/s390-32/memcmp.S: Delete File.
4775 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
4776 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4778 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4779 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
4780 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
4781 Adjust to be usable for 31/64bit.
4782 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
4783 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
4784 * sysdeps/s390/multiarch/memcmp.c: ... here.
4785 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
4787 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4789 * sysdeps/s390/s390-32/bzero.S: Delete file.
4790 * sysdeps/s390/s390-64/bzero.S: Likewise.
4791 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
4792 * sysdeps/s390/bzero.c: New file.
4793 * sysdeps/s390/memset-z900.S: Add bzero entry points.
4794 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
4795 * sysdeps/s390/multiarch/ifunc-impl-list.c
4796 (__libc_ifunc_impl_list): Add bzero ifunc variants.
4798 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4800 * sysdeps/s390/ifunc-memset.h: New File.
4801 * sysdeps/s390/memset.S: Move to ...
4802 * sysdeps/s390/memset-z900.S ... here.
4803 Move implementations from memset-s390x.s to here.
4804 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
4805 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4806 Remove memset variants.
4807 * sysdeps/s390/Makefile (sysdep_routines):
4808 Add memset variants.
4809 * sysdeps/s390/multiarch/ifunc-impl-list.c
4810 (__libc_ifunc_impl_list): Adjust ifunc variants for
4812 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
4814 * sysdeps/s390/memset.c: ... here.
4815 Adjust ifunc variants for memset.
4817 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4819 * sysdeps/s390/s390-64/memset.S: Move to ...
4820 * sysdeps/s390/memset.S: ... here.
4821 Adjust to be usable for 31/64bit.
4822 * sysdeps/s390/s390-32/memset.S: Delete File.
4823 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
4824 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4826 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4827 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
4828 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
4829 Adjust to be usable for 31/64bit.
4830 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
4831 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
4832 * sysdeps/s390/multiarch/memset.c: ... here.
4833 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
4835 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4837 * sysdeps/s390/multiarch/ifunc-resolve.h
4838 (s390_libc_ifunc_init, s390_libc_ifunc,
4839 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
4841 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4843 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4844 * sysdeps/s390/configure.ac: Add check for z10 support.
4845 * sysdeps/s390/configure: Regenerated.
4847 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4849 * sysdeps/i386/atomic-machine.h: Merged with ...
4850 * sysdeps/x86_64/atomic-machine.h: To ...
4851 * sysdeps/x86/atomic-machine.h: This. New file.
4853 2018-12-18 Florian Weimer <fweimer@redhat.com>
4855 Rewrite locale/gen-translit.pl in Python.
4856 * locale/Makefile (generated): Add C-translit.h.
4857 (before-compile): Add $(objpfx)C-translit.h.
4858 (C-translit.h): Move to $(objpfx). Create target directory.
4859 Build using Python script.
4860 * locale/gen-translit.py: New file.
4861 * locale/gen-translit.pl: Remove file.
4862 * locale/C-translit.h.in: Change comment character to '#' for
4863 easier parsing without a C preprocessor.
4864 * locale/C-translit.h: Remove generated file.
4865 * manual/install.texi (Tools for Compilation): Do not mention
4867 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4868 Remove locale/C-translit.h.
4869 * scripts/update-copyrights: Likewise.
4870 * INSTALL: Regenerate.
4872 2018-12-18 Florian Weimer <fweimer@redhat.com>
4875 * localedata/locales/bi_VU: Remove executable bit from file.
4877 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
4880 (__localtime64): Add.
4881 * manual/maint.texi: Document Y2038 symbol handling.
4883 (__localtime64): Add.
4884 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
4886 2018-12-17 Joseph Myers <joseph@codesourcery.com>
4888 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4891 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4892 to allow extra macros from first or second sources.
4893 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4894 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4895 (tests-special): Add $(objpfx)tst-mman-consts.out.
4896 ($(objpfx)tst-mman-consts.out): New makefile target.
4898 2018-12-17 Mao Han <han_mao@c-sky.com>
4900 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4901 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4902 without stat64 system call support.
4903 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4904 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4905 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4906 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4907 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4908 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4909 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4910 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4911 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4912 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4913 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4915 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4917 regex: fix storage-exhaustion error
4919 * posix/regexec.c (get_subexp):
4920 Do not continue if storage is exhausted.
4922 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
4924 regex: fix heap-use-after-free error
4926 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4927 https://debbugs.gnu.org/32592
4928 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4929 call extend_buffers which reallocates the re_string_t internal buffer.
4930 Local variable 'buf' was not updated in such case, resulting in
4932 * posix/regexec.c (get_subexp): Update 'buf' after call to
4935 2018-12-15 Florian Weimer <fweimer@redhat.com>
4937 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4938 (minimum_stride_size): Use it.
4939 (support_blob_repeat_allocate): Likewise.
4941 2018-12-14 Joseph Myers <joseph@codesourcery.com>
4943 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4948 2018-12-14 Florian Weimer <fweimer@redhat.com>
4950 * manual/process.texi (Process Creation Concepts): Remove
4951 documentation of process (ID) lifetime. List more process
4952 creation functions. Reference Process Identification section.
4953 (Process Identification): Add information about process ID
4954 lifetime. Describe Linux thread/task IDs.
4955 * manual/signal.texi (Signaling Another Process): Mention that the
4956 signal is always sent to the process.
4958 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4960 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4961 and tst-ldbl-efgcvt.
4962 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4963 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4964 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4965 (fcvt_tests, output_error, output_r_error, do_test): Use the
4966 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4967 select the type of floating-point variables and arguments; to
4968 produce extra tests for double and conversion specifiers for
4969 printf; and to set the names of called functions.
4970 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4971 in tst-efgcvt-template.c.
4972 * misc/tst-ldbl-efgcvt.c: Likewise.
4974 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
4976 * nss/Makefile (tst-nss-test3.out): New rule.
4978 2018-12-13 Joseph Myers <joseph@codesourcery.com>
4980 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4983 2018-12-13 fanjinke <fanjinke@hygon.cn>
4985 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4988 2018-12-13 Andreas Schwab <schwab@suse.de>
4991 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
4992 (__pthread_rwlock_rdlock_full): Update expected value for
4993 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4994 * nptl/tst-rwlock-pwn.c: New file.
4995 * nptl/Makefile (tests): Add tst-rwlock-pwn.
4997 2018-12-12 Joseph Myers <joseph@codesourcery.com>
4999 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5002 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5004 * benchtests/scripts/compare_bench.py (do_compare): write to
5005 stderr in casestat is not present.
5006 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5007 stderr in case timings field is not present. Also string showing
5008 the output filename goes into the stderr.
5010 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5012 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5013 and ZeroDivisorError exceptions.
5014 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5015 argument to loop through user provided statistics.
5016 * benchtests/scripts/compare_bench.py (main): Include the --stats
5019 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5021 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5024 2018-12-12 Florian Weimer <fweimer@redhat.com>
5026 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5027 clause to copyright header.
5029 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5032 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5033 registers saved in the stack frame.
5034 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5035 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5037 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5039 * include/bits/monetary-ldbl.h: New file.
5040 * include/bits/printf-ldbl.h: Likewise.
5041 * include/bits/stdio-ldbl.h: Likewise.
5042 * include/bits/stdlib-ldbl.h: Likewise.
5043 * include/bits/syslog-ldbl.h: Likewise.
5044 * include/bits/wchar-ldbl.h: Likewise.
5046 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5048 * libio/libio.h: Remove redirection for _IO_vfprintf.
5050 2018-12-11 Andreas Schwab <schwab@suse.de>
5052 * Makerules: Remove all references to abilist-pattern.
5053 (update-all-abi): Simplify find expression.
5055 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5058 * math/auto-libm-test-in: Add new test case.
5059 * math/auto-libm-test-out-pow: Regenerated.
5060 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5062 2018-12-10 DJ Delorie <dj@redhat.com>
5065 * support/test-container.c: Move postclean step to before we
5068 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5070 * scripts/gen-as-const.py (main): Handle --python option.
5071 * scripts/gen-py-const.awk: Remove.
5072 * Makerules (py-const-script): Use gen-as-const.py.
5073 ($(py-const)): Likewise.
5074 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5075 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5076 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5077 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5078 ~PTHREAD_MUTEX_NO_ELISION_NP.
5079 * manual/README.pretty-printers: Update reference to
5082 * scripts/glibcextract.py: New file.
5083 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5084 or tempfile. Import glibcexctract.
5085 (compute_c_consts): Remove. Moved to glibcextract.py.
5086 (gen_test): Update reference to compute_c_consts.
5088 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5089 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5090 * sysdeps/unix/sysv/linux/Makefile
5091 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5092 Redirect stderr as well as stdout.
5094 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5097 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
5098 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5099 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
5100 ALWAYS_USE_VSYSCALL.
5101 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
5102 ALWAYS_USE_VSYSCALL.
5103 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5104 ALWAYS_USE_VSYSCALL.
5106 2018-12-10 Florian Weimer <fweimer@redhat.com>
5109 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5110 offset instead of count for clarity. Fix typo in comment.
5111 (__old_getdents64): Keep track of previous offset. Use it to call
5113 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5114 that d_off is never zero.
5116 2018-12-10 Andreas Schwab <schwab@suse.de>
5118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5119 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5121 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5122 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5124 2018-12-10 Joseph Myers <joseph@codesourcery.com>
5126 * timezone/private.h: Update from tzcode 2018g.
5127 * timezone/tzfile.h: Likewise.
5128 * timezone/tzselect.ksh: Likewise.
5129 * timezone/zdump.c: Likewise.
5130 * timezone/zic.c: Likewise.
5132 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5135 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5136 (do_test): Adjust buffer size and fix format.
5138 2018-12-07 DJ Delorie <dj@redhat.com>
5141 * malloc/tst-tcfree3.c: New.
5142 * malloc/Makefile: Add it.
5144 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5146 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5148 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5150 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5151 used as a mask for the mode argument of __vfscanf_internal and
5152 __vfwscanf_internal.
5153 * stdio-common/vfscanf-internal.c
5154 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5155 (__strtof128_internal): Define to __wcstof128_internal.
5156 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5157 __strtof128_internal or __wcstof128_internal when the format of
5158 long double is the same as _Float128.
5160 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5162 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5163 * posix/confstr.c (confstr): Rename to __confstr.
5164 (__confstr): Add hidden def.
5165 (confstr): Add weak alias for __confstr.
5166 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5169 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5171 * NEWS: Mention getcpu.
5172 * include/sched.h (__getcpu): New libc_hidden_proto.
5173 * manual/resource.texi: Document getcpu.
5174 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5175 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5176 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5177 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5178 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5179 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5180 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5181 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5182 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5183 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5184 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5185 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5186 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5188 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5189 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5190 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5199 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5200 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5201 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5202 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5203 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5204 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5205 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5206 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5207 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5208 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5209 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5212 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5214 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5216 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5218 2018-12-07 Florian Weimer <fweimer@redhat.com>
5221 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5222 * posix/Versions (GLIBC_2.29): Export
5223 posix_spawn_file_actions_addfchdir_np.
5224 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5225 * posix/spawn_faction_destroy.c
5226 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5227 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5228 and the field action.fchdir_action.
5229 * posix/tst-spawn-chdir.c (add_chdir): New function.
5230 (do_test): Add do_fchdir loop. Call add_chdir.
5231 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5232 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5233 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5234 posix_spawn_file_actions_addfchdir_np.
5235 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5237 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5239 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5240 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5242 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5244 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5246 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5248 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5250 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5252 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5253 (GLIBC_2.29): Likewise.
5254 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5255 (GLIBC_2.29): Likewise.
5256 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5257 (GLIBC_2.29): Likewise.
5258 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5259 (GLIBC_2.29): Likewise.
5260 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5263 (GLIBC_2.29): Likewise.
5264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5265 (GLIBC_2.29): Likewise.
5266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5267 (GLIBC_2.29): Likewise.
5268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5269 (GLIBC_2.29): Likewise.
5270 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5272 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5274 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5276 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5277 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5279 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5281 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5283 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5286 2018-12-06 Joseph Myers <joseph@codesourcery.com>
5288 * manual/texinfo.tex: Update to version 2018-09-21.20 with
5289 trailing whitespace removed.
5290 * scripts/config.guess: Update to version 2018-11-28.
5291 * scripts/config.sub: Update to version 2018-11-28.
5292 * scripts/install-sh: Update to version 2018-03-11.20.
5293 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
5294 * scripts/move-if-change: Update to version 2018-03-07 03:47.
5296 2018-12-07 Florian Weimer <fweimer@redhat.com>
5300 * inet/tst-if_index-long.c: New file.
5301 * inet/Makefile (tests): Add tst-if_index-long.
5303 2018-12-07 Florian Weimer <fweimer@redhat.com>
5305 * support/check.h (support_record_failure_is_failed): Declare.
5306 * support/descriptors.h: New file.
5307 * support/support_descriptors.c: Likewise.
5308 * support/tst-support_descriptors.c: Likewise.
5309 * support/support_record_failure.c
5310 (support_record_failure_is_failed): New function.
5311 * support/Makefile (libsupport-routines): Add support_descriptors.
5312 (tests): Add tst-support_descriptors.
5314 2018-12-05 Zack Weinberg <zackw@panix.com>
5315 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5317 * stdio-common/vfprintf-internal.c
5318 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
5319 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
5320 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
5321 and __no_long_double.
5322 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
5323 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
5324 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
5325 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
5326 and __nldbl_*syslog* functions.
5327 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
5328 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
5329 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
5330 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
5331 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
5332 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
5333 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
5334 (__nldbl_vwprintf, __nldbl_wprintf):
5335 Directly call the appropriate __v*printf_internal routine, passing
5336 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
5338 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
5339 (__nldbl___printf_chk, __nldbl___snprintf_chk)
5340 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
5341 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
5342 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
5343 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5344 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
5345 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
5346 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
5347 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
5348 Likewise, and also pass PRINTF_FORTIFY when appropriate.
5349 (__nldbl_syslog, __nldbl_vsyslog):
5350 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
5351 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5353 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5356 2018-12-05 Zack Weinberg <zackw@panix.com>
5357 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5360 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
5361 Moved here from debug/vsprintf_chk.c.
5362 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
5363 and completion logic for the strfile to match exactly what
5364 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
5365 _IO_str_init_static_internal instead of maxlen-1.
5366 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5367 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
5368 __vsprintf_internal.
5370 * debug/vsprintf_chk.c (__vsprintf_chk)
5371 * debug/sprintf_chk.c (__sprintf_chk):
5372 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
5373 'flags' argument is positive, and slen as maxlen. No need to lock
5374 the FILE and/or construct a temporary FILE. Minimize and normalize
5375 header inclusions and variable names. Do not libc_hidden_def anything.
5377 * debug/asprintf_chk.c (__asprintf_chk)
5378 * debug/dprintf_chk.c (__dprintf_chk)
5379 * debug/fprintf_chk.c (__fprintf_chk)
5380 * debug/fwprintf_chk.c (__fwprintf_chk)
5381 * debug/printf_chk.c (__printf_chk)
5382 * debug/snprintf_chk.c (__snprintf_chk)
5383 * debug/swprintf_chk.c (__swprintf_chk)
5384 * debug/vasprintf_chk.c (__vasprintf_chk)
5385 * debug/vdprintf_chk.c (__vdprintf_chk)
5386 * debug/vfprintf_chk.c (__vfprintf_chk)
5387 * debug/vfwprintf_chk.c (__vfwprintf_chk)
5388 * debug/vprintf_chk.c (__vprintf_chk)
5389 * debug/vsnprintf_chk.c (__vsnprintf_chk)
5390 * debug/vswprintf_chk.c (__vswprintf_chk)
5391 * debug/vwprintf_chk.c (__vwprintf_chk)
5392 * debug/wprintf_chk.c (__wprintf_chk):
5393 Directly call the corresponding vxxprintf_internal function, passing
5394 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
5395 the FILE and/or construct a temporary FILE. Minimize and normalize
5396 header inclusions and variable names. Do not libc_hidden_def anything.
5398 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
5399 __obstack_vprintf_internal.
5400 (__obstack_vprintf_chk): Convert into a wrapper that calls
5401 __obstack_vprintf_internal (these two functions already had the
5402 same code) and move to new file...
5403 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
5405 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5406 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5407 * debug/Makefile (routines): Add vobprintf_chk.
5409 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5410 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5411 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5412 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5413 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5414 (__nldbl___obstack_vfprintf_chk):
5415 Directly call the corresponding vxxprintf_internal function,
5416 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5417 duplicate comparison of slen with 0 or maxlen from the corresponding
5418 non-__nldbl function.
5420 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5421 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5422 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5423 Remove libc_hidden_proto.
5425 * stdio-common/vfprintf-internal.c
5426 (__vfprintf_internal, __vfwprintf_internal):
5427 Do not check _IO_FLAGS2_FORTIFY.
5428 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5429 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5430 a comment explaining why it has the maxlen argument.
5431 (_IO_acquire_lock_clear_flags2_fct): Remove.
5432 (_IO_acquire_lock_clear_flags2): Remove.
5433 (_IO_release_lock): Remove conditional statement which will
5435 (_IO_acquire_lock): Remove variable which is now unused.
5436 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5437 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5439 * stdio-common/Makefile (tests): Add tst-bz11319 and
5440 tst-bz11319-fortify2.
5441 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5442 * stdio-common/tst-bz11319-fortify2.c: New file.
5443 * stdio-common/tst-bz11319.c: Likewise.
5445 2018-12-05 Zack Weinberg <zackw@panix.com>
5446 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5448 * misc/syslog.c: Include libioP.h, not iolibio.h.
5449 (__vsyslog_internal): New function with the former body of
5450 __vsyslog_chk; takes mode_flags argument same as
5451 __v*printf_internal. Call __vfprintf_internal directly.
5453 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5454 Remove libc_hidden_def.
5455 (__syslog, __syslog_chk): Use __vsyslog_internal.
5456 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5458 * include/sys/syslog.h: Add multiple inclusion guard.
5459 Add prototype for __vsyslog_internal.
5460 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5462 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5463 Use __vsyslog_internal.
5465 2018-12-05 Zack Weinberg <zackw@panix.com>
5466 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5468 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5469 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5470 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5472 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5473 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5475 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5476 Include wctype.h here if COMPILE_WPRINTF is defined.
5477 Define __vfprintf_internal or __vfwprintf_internal, depending
5479 Temporarily, on entry to this function, update mode_flags
5480 according to the environmental settings corresponding to
5481 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
5482 Throughout, check mode_flags instead of __ldbl_is_dbl and
5483 _IO_FLAGS2_FORTIFY on the destination FILE.
5484 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
5485 Include vfprintf-internal.c. Don't include wctype.h.
5486 * stdio-common/vfprintf.c: New file. Just define __vfprintf
5487 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
5489 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
5490 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
5492 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
5494 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
5495 and add mode_flags argument; use __vfprintf_internal.
5496 (__vdprintf): New function. Alias vdprintf to this.
5497 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
5498 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
5499 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
5500 (__obstack_printf): Use __obstack_printf_internal.
5501 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
5502 public aliases __vsnprintf and vsnprintf.
5503 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
5505 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
5506 public aliases _IO_vsprintf and vsprintf.
5507 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
5508 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
5509 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
5510 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
5511 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
5513 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
5514 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
5515 * stdio-common/fprintf.c, stdio-common/fxprintf.c
5516 * stdio-common/printf.c: Use __vfprintf_internal.
5518 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
5519 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
5520 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
5522 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
5523 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
5524 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
5525 __vfwprintf_internal.
5527 * libio/libio.h: Remove libc_hidden_proto and declaration for
5529 Remove declaration of _IO_vfwprintf.
5530 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
5532 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
5534 * include/stdio.h: Add prototype for __vasprintf.
5535 (__vsnprintf): Remove declaration, because there are no more
5537 * include/wchar.h (__vfwprintf, __vswprintf): Remove
5538 declaration, because there are no more internal calls.
5540 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
5541 __vsnprintf_internal, instead of _IO_vsnprintf.
5542 * argp/argp-help.c (__argp_error, __argp_failure): Use
5543 __vasprintf_internal, instead of _IO_vasprintf.
5544 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
5545 redefine, because there are no more internal calls.
5547 2018-12-05 Zack Weinberg <zackw@panix.com>
5548 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5550 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
5551 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
5552 Include libio/strfile.h instead of libioP.h.
5553 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
5554 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
5555 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
5556 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
5557 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
5558 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
5559 necessary. Do not set __no_long_double. Normalize variable names.
5560 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
5561 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
5562 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
5563 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
5564 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
5565 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
5566 Call __vfscanf_internal / __vfwscanf_internal directly, passing
5567 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
5568 Do not set __no_long_double. Normalize variable names.
5570 2018-12-05 Zack Weinberg <zackw@panix.com>
5571 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5573 * stdio-common/isoc99_scanf.c
5574 * stdio-common/isoc99_fscanf.c
5575 * stdio-common/isoc99_sscanf.c
5576 * stdio-common/isoc99_vscanf.c
5577 * stdio-common/isoc99_vfscanf.c
5578 * stdio-common/isoc99_vsscanf.c
5579 * wcsmbs/isoc99_wscanf.c
5580 * wcsmbs/isoc99_fwscanf.c
5581 * wcsmbs/isoc99_swscanf.c
5582 * wcsmbs/isoc99_vwscanf.c
5583 * wcsmbs/isoc99_vfwscanf.c
5584 * wcsmbs/isoc99_vswscanf.c:
5585 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
5586 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
5587 No need to lock and unlock the FILE passed to that function.
5589 * stdio-common/vfscanf-internal.c
5590 (__vfscanf_internal, __vfwscanf_internal):
5591 Don't look at _IO_FLAGS2_SCANF_STD.
5592 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
5593 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
5594 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
5596 2018-12-05 Zack Weinberg <zackw@panix.com>
5597 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5599 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
5600 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
5601 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
5602 * libio/strfile.h: Add multiple inclusion guard.
5603 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
5605 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
5606 consistency with the other version of this file.
5607 (ldbl_compat_symbol): New macro.
5608 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
5611 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
5612 Define __vfscanf_internal or __vfwscanf_internal, depending on
5613 COMPILE_WSCANF; don't define any other public symbols.
5614 Remove errval and code to set errp.
5615 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
5616 as the mode_flags argument.
5617 (encode_error, conv_error, input_error): Don't set errval.
5618 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
5619 Include vfscanf-internal.c.
5620 * stdio-common/vfscanf.c: New file defining the public entry
5621 point vfscanf, which calls __vfscanf_internal.
5622 * stdio-common/vfwscanf.c: New file defining the public entry
5623 point vfwscanf, which calls __vfwscanf_internal.
5625 * stdio-common/iovfscanf.c: New file.
5626 * stdio-common/iovfwscanf.c: Likewise.
5628 * stdio-common/Makefile (routines): Add vfscanf-internal,
5629 vfwscanf-internal, iovfscanf, iovfwscanf.
5630 * stdio-common/Versions: Mention GLIBC_2.29, so that
5631 it can be used in SHLIB_COMPAT expressions.
5632 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
5633 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
5634 Call __vfscanf_internal, instead of _IO_vfscanf.
5635 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
5637 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
5640 * libio/iovsscanf.c: Clean up includes, when possible. Use
5641 _IO_strfile_read or _IO_strfile_readw, when needed. Call
5642 __vfscanf_internal or __vfwscanf_internal directly.
5643 * libio/iovswscanf.c: Likewise.
5644 * libio/swscanf.c: Likewise.
5645 * libio/vscanf.c: Likewise.
5646 * libio/vwscanf.c: Likewise.
5647 * libio/wscanf.c: Likewise.
5648 * stdio-common/isoc99_fscanf.c: Likewise.
5649 * stdio-common/isoc99_scanf.c: Likewise.
5650 * stdio-common/isoc99_sscanf.c: Likewise.
5651 * stdio-common/isoc99_vfscanf.c: Likewise.
5652 * stdio-common/isoc99_vscanf.c: Likewise.
5653 * stdio-common/isoc99_vsscanf.c: Likewise.
5654 * stdio-common/scanf.c: Likewise.
5655 * stdio-common/sscanf.c: Likewise.
5656 * wcsmbs/isoc99_fwscanf.c: Likewise.
5657 * wcsmbs/isoc99_swscanf.c: Likewise.
5658 * wcsmbs/isoc99_vfwscanf.c: Likewise.
5659 * wcsmbs/isoc99_vswscanf.c: Likewise.
5660 * wcsmbs/isoc99_vwscanf.c: Likewise.
5661 * wcsmbs/isoc99_wscanf.c: Likewise.
5663 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
5666 (__tz_compute): Replace time_t with __time64_t.
5667 (__tz_convert): Replace time_t* with __time64_t.
5668 (__offtime): Replace time_t* with __time64_t.
5670 (__gmtime_r): Adjust call to __tz_convert.
5673 (__localtime_r): Likewise.
5674 (localtime): Likewise.
5675 * time/offtime.c: Replace time_t with __time64_t.
5676 * time/tzset.c: Likewise.
5678 2018-12-04 Joseph Myers <joseph@codesourcery.com>
5680 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
5681 dynamic linker unless [$(run-built-tests) = yes].
5683 2018-12-03 DJ Delorie <dj@delorie.com>
5685 * support/test-container.c (check_for_unshare_hints): New.
5686 (main): Call it if unshare fails. Add support for "su" scriptlet
5689 2018-12-03 Joseph Myers <joseph@codesourcery.com>
5691 * scripts/gen-as-const.py (compute_c_consts): Take an argument
5692 'START' to indicate that start text should be output.
5693 (gen_test): Likewise.
5694 (main): Generate 'START' for first symbol or '--' line, or at end
5695 of input if not previously generated.
5697 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
5700 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
5701 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
5702 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
5703 ALWAYS_USE_VSYSCALL.
5705 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5708 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
5711 2018-12-03 Carlos O'Donell <carlos@redhat.com>
5714 * locale/programs/localedef.c: Declare boolean hard_links default true.
5715 (options): Add --no-hard-links option.
5716 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
5717 * locale/programs/localedef.h: Declare prototype for hard_links.
5718 * locale/programs/locfile.c (write_locale_data): Don't use hard
5719 links if hard_links is false.
5721 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
5723 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
5725 (__cache_sysconf): Likewise.
5726 (init_cacheinfo): Likewise.
5727 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
5728 populate COMMON_CPUID_INDEX_80000007 and
5729 COMMON_CPUID_INDEX_80000008.
5730 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
5731 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
5732 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
5733 (init_cpu_features): Use _Static_assert on
5734 index_arch_Fast_Unaligned_Load.
5735 __get_cpuid_registers and __get_arch_feature. Updated for
5736 cpu_features_basic. Set stepping in cpu_features.
5737 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
5738 (FEATURE_INDEX_2): New.
5739 (FEATURE_INDEX_MAX): Changed to enum.
5740 (COMMON_CPUID_INDEX_D_ECX_1): New.
5741 (COMMON_CPUID_INDEX_80000007): Likewise.
5742 (COMMON_CPUID_INDEX_80000008): Likewise.
5743 (cpuid_registers): Likewise.
5744 (cpu_features_basic): Likewise.
5745 (CPU_FEATURE_USABLE): Likewise.
5746 (bit_arch_XXX_Usable): Likewise.
5747 (cpu_features): Use cpuid_registers and cpu_features_basic.
5748 (bit_arch_XXX): Reweritten.
5749 (bit_cpu_XXX): Likewise.
5750 (index_cpu_XXX): Likewise.
5751 (reg_XXX): Likewise.
5752 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
5754 (CHECK_CPU_FEATURE): New.
5755 (CHECK_CPU_FEATURE_USABLE): Likewise.
5756 (cpu_kinds): Likewise.
5757 (do_test): Print vendor, family, model and stepping. Check
5758 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
5759 (TEST_FUNCTION): Removed.
5760 Include <support/test-driver.c> instead of
5761 "../../test-skeleton.c".
5762 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
5763 Check POPCNT instead of POPCOUNT.
5764 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
5766 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5768 * scripts/gen-as-const.py (main): Avoid emitting empty line when
5769 there is no element in `consts'.
5771 2018-12-01 Florian Weimer <fweimer@redhat.com>
5773 * support/support_capture_subprocess.c
5774 (support_capture_subprocess): Check that pipe descriptors have
5775 expected values. Close original pipe descriptors in subprocess.
5777 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5780 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
5781 attr with __pthread_default_barrierattr.
5782 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
5783 attr with __pthread_default_condattr.
5784 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
5785 attr with __pthread_default_mutexattr.
5786 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
5787 attr with __pthread_default_rwlockattr.
5789 2018-12-01 Kemi Wang <kemi.wang@intel.com>
5791 * manual/tunables.texi (POSIX Thread Tunables): New node.
5792 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
5793 * nptl/nptl-init.c: Include pthread_mutex_conf.h
5794 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
5795 __pthread_tunables_init.
5796 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
5797 (max_adaptive_count): Define.
5798 * nptl/pthread_mutex_conf.c: New file.
5799 * nptl/pthread_mutex_conf.h: New file.
5800 * sysdeps/generic/adaptive_spin_count.h: New file.
5801 * sysdeps/nptl/dl-tunables.list: New file.
5802 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5803 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
5804 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
5807 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5810 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
5811 * stdlib/on_exit.c (__on_exit): Likewise.
5812 * stdlib/Makefile (tests): Add tst-bz20544.
5813 * stdlib/tst-bz20544.c: New test.
5815 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
5818 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
5819 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
5822 2018-11-30 Florian Weimer <fweimer@redhat.com>
5824 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
5825 Extend error logging.
5826 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
5829 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5831 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
5832 __sigismember instead of sigismember.
5833 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
5834 cancel_handler): New definitions.
5835 (do_system): Use posix_spawn instead of fork and execl and remove
5837 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
5838 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
5839 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
5840 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5841 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5842 * sysdeps/unix/sysv/linux/system.c: Likewise.
5846 * NEWS: Add new semantic for atfork with popen and system.
5847 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5850 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5853 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5854 modification order when accessing reloc_result->addr.
5855 * include/link.h (reloc_result): Add field init.
5856 * nptl/Makefile (tests): Add tst-audit-threads.
5857 (modules-names): Add tst-audit-threads-mod1 and
5858 tst-audit-threads-mod2.
5859 Add rules to build tst-audit-threads.
5860 * nptl/tst-audit-threads-mod1.c: New file.
5861 * nptl/tst-audit-threads-mod2.c: Likewise.
5862 * nptl/tst-audit-threads.c: Likewise.
5863 * nptl/tst-audit-threads.h: Likewise.
5865 2018-11-30 Joseph Myers <joseph@codesourcery.com>
5867 * scripts/gen-as-const.py: New file.
5868 * scripts/gen-as-const.awk: Remove.
5869 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5871 ($(objpfx)test-as-const-%.c): Likewise.
5873 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5875 * elf/dl-exception.c: Include <_itoa.h>.
5877 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5879 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5880 returned by __f_setlk.
5882 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5883 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5885 * elf/Makefile (tests-internal): Add tst-create_format1.
5886 * elf/dl-exception.c (_dl_exception_create_format): Support
5888 * elf/tst-create_format1.c: New file.
5890 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5892 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5893 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5895 * argp/argp-help.c (__argp_failure): Likewise.
5897 2018-11-29 Mao Han <han_mao@c-sky.com>
5899 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5900 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5901 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5902 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5903 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5904 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5905 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5906 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5907 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5908 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5909 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5910 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5911 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5912 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5913 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5914 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5915 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5916 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5917 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5918 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5919 (R_CKCORE_TLS_TPOFF32): New defines.
5921 2018-11-29 Florian Weimer <fweimer@redhat.com>
5923 * posix/Makefile (before-compile): Remove testcases.h and
5925 (generated): Add testcases.h and ptestcases.h.
5926 (testcases.h, ptestcases.h): Move to $(objpfx).
5927 (runtests.o): Add dependency on testcases.h.
5928 (runptests.o): Add dependency on ptestcases.h.
5929 * posix/testcases.h, posix/ptestcases.h: Remove files.
5930 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5931 not touch posix/testcases.h and posix/ptestcases.h.
5933 2018-11-28 Florian Weimer <fweimer@redhat.com>
5935 support: Add signal support to support_capture_subprocess_check.
5936 * support/capture_subprocess.h (support_capture_subprocess_check):
5937 Adjust comment and rename parameter.
5938 * support/support_capture_subprocess_check.c
5939 (print_actual_status): New function.
5940 (support_capture_subprocess_check): Support negative
5941 status_or_signal. Call print_actual_status.
5942 * support/tst-support_capture_subprocess.c (do_test): Call
5943 support_capture_subprocess_check.
5944 * libio/tst-vtables-common.c (termination_status)
5945 (init_termination_status): Remove.
5946 (check_for_termination): Adjust support_capture_subprocess_check
5948 (do_test): Remove call to init_termination_status.
5950 2018-11-28 Joseph Myers <joseph@codesourcery.com>
5952 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5953 source directory instead of a copy.
5954 (CommandList.create_copy_dir): Remove.
5956 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
5958 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5960 2018-11-28 Florian Weimer <fweimer@redhat.com>
5962 * support/support.h (support_quote_string): Do not use str
5965 2018-11-27 Joseph Myers <joseph@codesourcery.com>
5967 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5968 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5970 2018-11-27 Florian Weimer <fweimer@redhat.com>
5972 * support/support.h (support_quote_string): Declare.
5973 * support/support_quote_string.c: New file.
5974 * support/tst-support_quote_string.c: Likewise.
5975 * support/Makefile (libsupport-routines): Add
5976 support_quote_string.
5977 (tests): Add tst-support_quote_string.
5979 2018-11-27 Florian Weimer <fweimer@redhat.com>
5983 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5984 descriptor leak in case of ENODEV error.
5986 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5989 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5990 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5991 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5993 2018-11-26 Carlos O'Donell <carlos@redhat.com>
5995 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5996 Error for unknown lines.
5998 2018-11-26 Joseph Myers <joseph@codesourcery.com>
6000 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6001 Touch additional files.
6003 2018-11-26 Florian Weimer <fweimer@redhat.com>
6006 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6009 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6012 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6013 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6014 SHARED. Include sysdep.h.
6015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6016 ALWAYS_USE_VSYSCALL.
6017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6018 ALWAYS_USE_VSYSCALL.
6020 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6023 * nptl/Makefile (tests-static): Add tst-cond11-static.
6025 * nptl/tst-cond11-static.c: New File.
6026 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6027 tst-affinity-static.
6029 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6031 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6032 (USE_VSYSCALL): Likewise.
6033 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6034 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6036 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6038 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6041 2018-11-23 Joseph Myers <joseph@codesourcery.com>
6044 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6045 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6048 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6050 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6051 (tst-cet-legacy-1a-ARGS): New.
6052 ($(objpfx)tst-cet-legacy-1a): New target.
6053 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6055 2018-11-22 Joseph Myers <joseph@codesourcery.com>
6057 * conform/conformtest.py (CompileSubTest.__init__): Set
6058 self.run_early to False.
6059 (ExecuteSubTest.__init__): Likewise.
6060 (HeaderTests.run): Try running all non-optional, non-XFAILed
6061 compilation tests in a single execution of the compiler.
6063 * conform/conformtest.py (CompileSubTest): New class.
6064 (ExecuteSubTest): Likewise.
6065 (ElementTest.run): Rename to gen_subtests. Append tests to
6066 self.subtests instead of running them.
6067 (ConstantTest.run): Likewise.
6068 (SymbolTest.run): Likewise.
6069 (TypeTest.run): Likewise.
6070 (TagTest.run): Likewise.
6071 (FunctionTest.run): Likewise.
6072 (VariableTest.run): Likewise.
6073 (MacroFunctionTest.run): Likewise.
6074 (MacroStrTest.run): Likewise.
6075 (HeaderTests.handle_test_line): Generate subtests for tests.
6076 (HeaderTests.run): Run subtests for tests.
6078 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6080 * math/Versions (GLIBC_2.29): Add pow.
6081 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6083 * math/w_pow.c: New file.
6084 * sysdeps/i386/fpu/w_pow.c: New file.
6085 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6086 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6087 and add necessary aliases.
6088 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6089 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6090 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6091 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6092 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6093 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6094 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6095 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6096 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6097 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6098 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6099 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6100 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6101 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6102 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6107 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6108 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6109 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6110 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6111 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6112 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6113 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6114 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6116 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6117 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6118 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6120 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6122 * math/Versions (GLIBC_2.29): Add log2.
6123 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6125 * math/w_log2.c: New file.
6126 * sysdeps/i386/fpu/w_log2.c: New file.
6127 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6128 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6129 and add necessary aliases.
6130 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6131 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6132 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6133 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6134 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6135 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6136 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6137 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6138 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6139 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6140 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6141 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6142 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6143 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6144 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6149 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6150 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6151 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6152 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6153 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6154 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6155 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6157 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6159 * math/Versions (GLIBC_2.29): Add log.
6160 * math/w_log_compat.c (__log_compat): Change to versioned compat
6162 * math/w_log.c: New file.
6163 * sysdeps/i386/fpu/w_log.c: New file.
6164 * sysdeps/ia64/fpu/e_log.S: Update.
6165 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6166 and add necessary aliases.
6167 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6168 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6169 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6170 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6171 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6172 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6173 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6174 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6175 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6176 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6177 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6178 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6179 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6180 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6181 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6186 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6187 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6188 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6189 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6190 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6191 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6192 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6193 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6195 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6196 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6197 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6198 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6200 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6202 * math/Versions (GLIBC_2.29): Add exp and exp2.
6203 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6204 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6205 * math/w_exp_compat.c (__exp_compat): Likewise.
6206 * math/w_exp.c: New file.
6207 * math/w_exp2.c: New file.
6208 * sysdeps/i386/fpu/w_exp.c: New file.
6209 * sysdeps/i386/fpu/w_exp2.c: New file.
6210 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6211 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6212 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6213 and add necessary aliases.
6214 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6215 and add necessary aliases.
6216 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6217 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6218 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6219 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6220 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6221 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6222 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6223 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6224 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6225 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6226 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6227 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6228 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6229 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6230 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6231 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6232 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6237 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6238 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6239 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6240 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6241 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6242 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6243 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6244 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6245 (__ieee754_exp): Rename to __exp.
6246 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6247 (__ieee754_exp): Rename to __exp.
6248 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6249 (__ieee754_exp): Rename to __exp.
6250 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6252 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6254 2018-11-20 DJ Delorie <dj@redhat.com>
6256 * malloc/malloc.c (tcache_entry): Add key field.
6257 (tcache_put): Set it.
6258 (tcache_get): Likewise.
6259 (_int_free): Check for double free in tcache.
6260 * malloc/tst-tcfree1.c: New.
6261 * malloc/tst-tcfree2.c: New.
6262 * malloc/Makefile: Run the new tests.
6263 * manual/probes.texi: Document memory_tcache_double_free probe.
6265 * dlfcn/dlerror.c (check_free): Prevent double frees.
6267 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6269 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6271 2018-11-20 Joseph Myers <joseph@codesourcery.com>
6273 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6274 in tests. Use names for format arguments.
6275 (ConstantTest.run): Likewise.
6276 (SymbolTest.run): Likewise.
6277 (TypeTest.run): Likewise.
6278 (TagTest.run): Likewise.
6279 (FunctionTest.run): Likewise.
6280 (VariableTest.run): Likewise.
6281 (MacroFunctionTest.run): Likewise.
6282 (MacroStrTest.run): Likewise.
6283 (HeaderTests.__init__): Set self.num_tests.
6284 (HeaderTests.handle_test_line): Set test.num. Increment
6287 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6289 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
6290 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
6293 2018-11-19 Mao Han <han_mao@c-sky.com>
6295 * scripts/config.guess: Update to version 2018-08-29.
6296 * scripts/config.sub: Update to version 2018-08-29.
6298 2018-11-19 Florian Weimer <fweimer@redhat.com>
6300 support: Print timestamps in timeout handler.
6301 * support/support_test_main.c (print_timestamp): New function.
6302 (signal_handler): Use it to print the termination time and the
6303 time of the last write to standard output.
6305 2018-11-16 Zack Weinberg <zackw@panix.com>
6306 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6308 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
6309 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
6311 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
6312 and add flags argument. Check flags instead of __ldbl_is_dbl when
6313 deciding whether to set is_long_double.
6314 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
6315 passing zero for flags argument.
6316 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
6318 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6319 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
6320 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
6321 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
6322 variable names. Remove libc_hidden_def/libc_hidden_proto from
6323 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
6324 longer called from within the library.
6325 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
6326 for __nldbl___vstrfmon_l, declare it explicitly.
6328 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
6330 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6332 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
6334 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
6335 F_SETLK64, F_SETLKW64, respectively.
6336 * sysdeps/mach/hurd/f_setlk.c: New file.
6337 * sysdeps/mach/hurd/f_setlk.h: New file.
6338 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
6340 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
6341 (__libc_fcntl): Move non-flock operations to...
6342 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
6343 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
6345 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
6347 mktime: DEBUG_MKTIME cleanup
6348 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
6349 And it’s no longer needed now that glibc and Gnulib both have
6350 their own testing mechanisms for mktime.
6351 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
6353 mktime: fix non-EOVERFLOW errno handling
6355 mktime was not properly reporting failures when the underlying
6356 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
6357 them like EOVERFLOW failures, and set errno to EOVERFLOW.
6358 The problem could happen on non-glibc platforms, with Gnulib.
6359 * time/mktime.c (guess_time_tm): Remove, replacing with ...
6360 (tm_diff): ... this simpler function, which does not change errno.
6361 All callers changed to deal with errno themselves.
6362 (ranged_convert, __mktime_internal): Return failure immediately if
6363 the underlying function reports any failure other than EOVERFLOW.
6364 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
6367 mktime: fix bug with Y2038 DST transition
6369 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
6370 mishandle a DST transition that jumps over the Y2038 boundary.
6371 No such DST transitions are known so this is only a theoretical
6372 bug, but we might as well do things right.
6374 mktime: make more room for overflow
6376 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
6377 This is so that we can add tm_diff results to a previous guess,
6378 which will be useful in a later patch.
6380 mktime: simplify offset guess
6382 * time/mktime.c (__mktime_internal): Omit excess precision.
6384 mktime: new test for mktime failure
6386 Based on a test suggested by Albert Aribaud in:
6387 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
6388 * time/Makefile (tests): Add bug-mktime4.
6389 * time/bug-mktime4.c: New file.
6391 mktime: fix EOVERFLOW bug
6393 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
6394 Include libc-config.h, not config.h, for __set_errno.
6395 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
6397 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6399 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
6400 __attribute_copy__ to copy attributes from name. Drop static qualifier
6401 to avoid warnings about leaf attribute not having effect on static
6404 2018-11-13 Florian Weimer <fweimer@redhat.com>
6406 * malloc/malloc.c (fastbin_push_entry): New function.
6407 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6408 (REMOVE_FB): Remove macro.
6409 (_int_malloc): Use fastbin_pop_entry and reindent.
6410 (_int_free): Use fastbin_push_entry.
6411 (malloc_consolidate): Use atomic_exchange_acquire.
6413 2018-11-13 Joseph Myers <joseph@codesourcery.com>
6415 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6416 alias attribute, not with strong_alias.
6418 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6419 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6420 with additional parameter thread.
6421 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6422 in terms of __hidden_ver2.
6423 (hidden_tls_def): New macro.
6424 (libc_hidden_tls_def): Likewise.
6425 (rtld_hidden_tls_def): Likewise.
6426 (libm_hidden_tls_def): Likewise.
6427 (libmvec_hidden_tls_def): Likewise.
6428 (libresolv_hidden_tls_def): Likewise.
6429 (librt_hidden_tls_def): Likewise.
6430 (libdl_hidden_tls_def): Likewise.
6431 (libnss_files_hidden_tls_def): Likewise.
6432 (libnsl_hidden_tls_def): Likewise.
6433 (libnss_nisplus_hidden_tls_def): Likewise.
6434 (libutil_hidden_tls_def): Likewise.
6435 (libutil_hidden_tls_def): Likweise.
6436 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6437 libc_hidden_tls_def.
6438 (__sim_disabled_exceptions_thread): Likewise.
6439 (__sim_round_mode_thread): Likewise.
6441 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6442 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6443 copy attributes from name.
6445 2018-11-12 Joseph Myers <joseph@codesourcery.com>
6447 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6448 Use __attribute_copy__ to copy attributes from name.
6450 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6451 with __hidden_ver1 call.
6452 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6453 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6454 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6455 (__cosf): Do not declare here.
6456 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6457 (__sincosf): Do not declare here.
6458 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6459 (__sinf): Do not declare here.
6461 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6462 (__BIG_ENDIAN): Likewise.
6463 (__BYTE_ORDER): Likewise.
6464 (strong_alias): Likewise.
6465 (_strong_alias): Likewise.
6467 2018-11-12 Florian Weimer <fweimer@redhat.com>
6469 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6470 function. Move after the definition of in_smallbin_range. Do not
6471 use __builtin_expect for paths that lead to a noreturn function.
6472 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6473 because it is unclear whether this is in fact an unlikely
6475 (_int_malloc, _int_free): Adjust.
6476 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6478 * malloc/arena.c (heap_trim): Likewise.
6480 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6482 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
6483 it, free it if needed.
6484 (reauthenticate): Test and use ccwdir.
6485 (child_init_port): In non-resetids case, test and use ccwdir.
6486 (child_chdir): New nested function to set ccwdir.
6487 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
6488 * hurd/hurd/port.h (_hurd_port_move): New function.
6489 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
6490 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
6491 * hurd/Versions (_hurd_port_move): Export function.
6492 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
6494 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
6495 of dtablesize for allocating dtable_cloexec.
6497 2018-11-09 Martin Sebor <msebor@redhat.com>
6499 * include/libc-symbols.h (__attribute_copy__): Define macro unless
6500 it's already defined.
6501 (_strong_alias): Use __attribute_copy__.
6502 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
6503 * misc/sys/cdefs.h (__attribute_copy__): New macro.
6504 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
6505 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
6506 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
6507 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
6508 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
6509 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
6510 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
6511 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
6512 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
6513 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
6514 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
6515 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
6516 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
6517 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
6518 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
6519 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
6520 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
6522 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6524 * misc/tst-efgcvt.c: Include support/check.h and
6525 support/test-driver.c. Do not include test-skeleton.c.
6526 (error_count): Remove.
6527 (output_error): Replace increments to error_count with calls to
6528 support_record_failure.
6529 (output_r_error): Likewise.
6530 (special): Likewise.
6531 (do_test): Unconditionally return zero.
6532 (TEST_FUNCTION): Remove.
6534 2018-11-09 Joseph Myers <joseph@codesourcery.com>
6536 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
6538 ($(linknamespace-header-tests)): Likewise.
6540 * conform/conformtest.py: New file.
6541 * conform/conformtest.pl: Remove.
6542 * conform/GlibcConform.pm: Likewise.
6543 * conform/glibcconform.py (KEYWORDS_C90): New constant.
6544 (KEYWORDS_C99): Likewise.
6545 (KEYWORDS): Likewise.
6546 * conform/Makefile ($(conformtest-header-tests)): Use
6547 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
6548 option. Use --header instead of --headers.
6549 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
6551 * conform/data/spawn.h-data: Likewise.
6552 * conform/data/fcntl.h-data (openat): Add space after function
6554 * conform/data/wchar.h-data (wcscasecmp): Likewise.
6555 (wcscasecmp_l): Likewise.
6556 * conform/data/termios.h-data (c_cc): Add space after element
6559 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6561 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
6562 instead of manually comparing and reporting mismatching strings.
6563 * misc/tst-ldbl-error.c (do_one_test): Likewise.
6564 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6566 2018-11-08 Joseph Myers <joseph@codesourcery.com>
6568 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
6569 __ASSUME_SOCKETCALL.
6570 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6571 (__ASSUME_SOCKETCALL): Remove.
6572 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6573 (__ASSUME_SOCKETCALL): Likewise.
6574 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6575 (__ASSUME_SOCKETCALL): Likewise.
6576 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6577 (__ASSUME_SOCKETCALL): Likewise.
6578 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6579 (__ASSUME_SOCKETCALL): Likewise.
6580 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6581 (__ASSUME_SOCKETCALL): Likewise.
6582 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6583 (__ASSUME_SOCKETCALL): Likewise.
6585 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
6588 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
6589 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
6590 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
6591 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
6592 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
6595 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
6598 * resolv/tst-resolv-network.c: Add test for getnetbyname.
6600 2018-11-07 Joseph Myers <joseph@codesourcery.com>
6603 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6604 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6605 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6606 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6608 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6610 * support/support_test_compare_string.c
6611 (support_test_compare_string): Fix printf format.
6613 2018-11-07 Florian Weimer <fweimer@redhat.com>
6615 Implement TEST_COMPARE_STRING.
6616 * support/check.h (TEST_COMPARE_STRING): Define.
6617 (support_test_compare_string): Declare.
6618 * support/Makefile (libsupport-routines): Add
6619 support_test_compare_string.
6620 (tests): Add tst-test_compare_string.
6621 * support/support_test_compare_string.c: New file.
6622 * support/tst-test_compare_string.c: Likewise.
6624 2018-11-07 Andreas Schwab <schwab@suse.de>
6627 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
6628 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
6631 2018-11-06 Joseph Myers <joseph@codesourcery.com>
6634 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6635 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
6636 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
6637 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
6640 2018-11-06 Florian Weimer <fweimer@redhat.com>
6643 * posix/Makefile (routines): Add spawn_faction_addchdir.
6644 (tests): Add tst-spawn-chdir.
6645 * posix/Versions (GLIBC_2.29): Add
6646 posix_spawn_file_actions_addchdir_np.
6647 * posix/spawn_faction_addchdir.c: New file.
6648 * posix/spawn_faction_destroy.c
6649 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
6650 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
6651 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
6653 * posix/tst-spawn-chdir.c: New file.
6654 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
6655 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6656 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6657 posix_spawn_file_actions_addchdir_np.
6658 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6660 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6662 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6663 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6665 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6667 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6669 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6671 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6673 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6675 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6676 (GLIBC_2.29): Likewise.
6677 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6678 (GLIBC_2.29): Likewise.
6679 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6680 (GLIBC_2.29): Likewise.
6681 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6682 (GLIBC_2.29): Likewise.
6683 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6686 (GLIBC_2.29): Likewise.
6687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6688 (GLIBC_2.29): Likewise.
6689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6690 (GLIBC_2.29): Likewise.
6691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6692 (GLIBC_2.29): Likewise.
6693 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6695 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6697 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6699 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6700 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6702 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6704 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6706 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6709 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6711 * misc/Makefile (tests): Add tst-ldbl-error.
6712 * misc/tst-ldbl-error.c: New file.
6714 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6716 * misc/Makefile (tests): Add tst-ldbl-warn.
6717 * misc/tst-ldbl-warn.c: New file.
6719 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6721 * argp/Makefile (tests): Add tst-ldbl-argp.
6722 * argp/tst-ldbl-argp.c: New file.
6724 2018-11-05 Arjun Shankar <arjun@redhat.com>
6726 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
6727 __gconv_path_elem and call __gconv_get_path unconditionally.
6729 2018-11-05 Andreas Schwab <schwab@suse.de>
6732 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
6733 creating the first helper thread failed.
6735 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6737 * sysdeps/mach/hurd/msync.c: New file.
6739 2018-11-02 Florian Weimer <fweimer@redhat.com>
6741 * support/shell-container.c (copy_func): Call
6742 support_copy_file_range instead of copy_file_range to support
6743 cross-device copies.
6745 2018-11-02 Florian Weimer <fweimer@redhat.com>
6747 * support/test-container.c: Include <libc-pointer-arith.h> for
6750 2018-11-01 Zong Li <zong@andestech.com>
6752 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
6753 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
6754 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
6755 (__FP_FRAC_SET_8): Add implementation for RV32 use.
6757 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
6758 variable to avoid overlap arguments.
6760 2018-11-01 Joseph Myers <joseph@codesourcery.com>
6762 * posix/bug-regex22.c (main): Use puts with distinct error
6763 messages for unexpected success of re_compile_pattern, not printf
6764 with NULL argument to %s.
6766 * stdio-common/bug22.c: Include <libc-diag.h>.
6767 (do_test): Disable -Wformat-overflow= warnings around fprintf
6768 calls outputting more than INT_MAX characters.
6769 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
6770 around printf call with NULL %s argument.
6773 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
6774 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
6776 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6777 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6778 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6779 (__ASSUME_SENDTO_SYSCALL): Likewise.
6780 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6781 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
6783 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6784 (__ASSUME_CONNECT_SYSCALL): Likewise.
6785 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6786 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6787 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
6789 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
6791 [__LINUX_KERNEL_VERSION >= 0x040400]
6792 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6793 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
6796 (setsockopt): Likewise.
6798 2018-11-01 Fredrik Noring <noring@nocrew.org>
6800 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
6801 with the ISA override.
6803 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
6805 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
6808 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6810 * manual/errno.texi (EIEIO): Document how translators should
6811 translate the error message.
6812 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
6813 printing trailing whitespaces refused by git.
6814 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
6815 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6816 * hurd/Makefile (user-interfaces): Add pci.
6818 2018-10-30 Joseph Myers <joseph@codesourcery.com>
6820 * conform/linknamespace.py: New file.
6821 * conform/linknamespace.pl: Remove file.
6822 * conform/Makefile ($(linknamespace-header-tests)): Use
6823 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
6826 2018-10-30 Florian Weimer <fweimer@redhat.com>
6828 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
6831 2018-10-30 Florian Weimer <fweimer@redhat.com>
6833 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
6835 2018-10-30 Florian Weimer <fweimer@redhat.com>
6837 * stdlib/tst-strtod-overflow.c (do_test): Switch to
6838 support_blob_repeat.
6840 2018-10-30 Florian Weimer <fweimer@redhat.com>
6842 Avoid spurious test failures in stdlib/test-bz22786.
6843 * support/Makefile (libsupport-routines): Add blob_repeat.
6844 (tests): Add tst-support_blob_repeat.
6845 * support/blob_repeat.h: New file.
6846 * support/blob_repeat.c: Likewise.
6847 * support/tst-support_blob_repeat.c: Likewise.
6848 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6849 support_blob_repeat_allocate.
6851 2018-10-30 Andreas Schwab <schwab@suse.de>
6854 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6855 Don't use tail call.
6856 * elf/tst-unwind-main.c: New file.
6857 * elf/Makefile (tests): Add tst-unwind-main.
6858 (CFLAGS-tst-unwind-main.c): Define.
6860 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
6863 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6865 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6867 2018-10-29 Joseph Myers <joseph@codesourcery.com>
6869 * conform/glibcconform.py: Do not import shutil.
6870 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6873 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6874 critic_missing for versions before 3.4.
6875 * configure: Regenerated.
6876 * manual/install.texi (Tools for Compilation): Document
6877 requirement for Python to build glibc.
6878 * INSTALL: Regenerated.
6879 * Rules [PYTHON]: Make code unconditional.
6880 * benchtests/Makefile [PYTHON]: Likewise.
6881 * conform/Makefile [PYTHON]: Likewise.
6882 * manual/Makefile [PYTHON]: Likewise.
6883 * math/Makefile [PYTHON]: Likewise.
6885 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6887 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
6888 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
6889 answer to interrupt_operation, return EIEIO instead of EINTR.
6890 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6891 _hurd_intr_rpc_msg_about_to global point to start of controlled
6892 assembly snippet. Make it check canceled flag.
6893 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6894 the _hurd_intr_rpc_msg_about_to point.
6895 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6896 issue, remove cancel flag check.
6898 2018-10-26 Joseph Myers <joseph@codesourcery.com>
6900 * scripts/build-many-glibcs.py: Remove compatibility for missing
6901 os.cpu_count and re.fullmatch.
6903 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6906 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6907 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6908 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6910 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6912 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6915 2018-10-25 Florian Weimer <fweimer@redhat.com>
6919 XFAIL siginfo_t si_band conform test on sparc64.
6920 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6921 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6922 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6923 (conformtest-xfail-conds): Add sparc64-linux.
6924 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6926 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6928 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6930 * elf/elf.h (NT_MIPS_DSP): New macro.
6931 (NT_MIPS_FP_MODE): Likewise.
6933 2018-10-25 Zong Li <zong@andestech.com>
6935 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6936 name by adding the file extension (.so).
6938 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6940 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6941 (test-xfail-ISO11/threads.h/linknamespace,
6942 test-xfail-ISO11/threads.h/conform): Add.
6944 2018-10-24 Joseph Myers <joseph@codesourcery.com>
6946 * math/gen-libm-test.py: Import os.
6947 (ALL_FLOATS_MANUAL): New constant.
6948 (ALL_FLOATS_SUFFIX): Likewise.
6949 (Ulps.all_functions): New function.
6950 (real_all_ulps): Likewise.
6951 (generate_err_table_sub): Likewise.
6952 (generate_err_table): Likewise.
6953 (main): Handle -s and -m options.
6954 * manual/libm-err-tab.pl: Remove.
6955 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6956 instead of libm-err-tab.pl.
6957 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6959 * manual/install.texi (Tools for Compilation): Document
6960 requirement for Python to build manual.
6961 * INSTALL: Regenerated.
6963 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6965 * bits/time64.h: New file.
6966 * include/time.h: Replace internal_time_t with __time64_t.
6967 * posix/bits/types (__time64_t): Add.
6968 * stdlib/Makefile: Add bits/time64.h to includes.
6969 * time/tzfile.c: Replace internal_time_t with __time64_t.
6971 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6973 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6974 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6975 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6976 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6977 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6979 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6980 * posix/spawn_faction_addclose.c
6981 (__posix_spawn_file_actions_addclose): Add hidden definition.
6982 * posix/spawn_faction_adddup2.c
6983 (__posix_spawn_file_actions_adddup2): Likewise.
6984 * posix/spawn_faction_destroy.c
6985 (__posix_spawn_file_actions_destroy): Likewise.
6986 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6988 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6989 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6990 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6992 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6993 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6996 2018-10-24 Andreas Schwab <schwab@suse.de>
6999 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7001 * elf/cache.c (print_cache): Likewise.
7003 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
7005 * bits/timesize.h: New file.
7006 * stdlib/Makefile (headers): Add bits/timesize.h.
7007 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7008 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7009 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7010 (__SEM_PAD_AFTER_TIME): Likewise.
7011 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7012 (__SHM_PAD_AFTER_TIME): Likewise.
7013 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7014 (__MSQ_PAD_BEFORE_TIME): Likewise.
7015 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7016 (__SEM_PAD_BEFORE_TIME): Likewise.
7017 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7018 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7019 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
7020 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7021 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7022 (__MSQ_PAD_BEFORE_TIME): Likewise.
7023 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7024 (__SEM_PAD_BEFORE_TIME): Likewise.
7025 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7026 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7027 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7028 (__MSQ_PAD_BEFORE_TIME): Likewise.
7029 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7030 (__SEM_PAD_BEFORE_TIME): Likewise.
7031 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7032 (__SHM_PAD_BEFORE_TIME): Likewise.
7033 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7034 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7035 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7037 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7039 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7040 USE_RDTSCP is defined.
7041 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7042 USE_RDTSCP is defined.
7044 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7046 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7050 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7051 independently of other flags.
7053 2018-10-23 Florian Weimer <fweimer@redhat.com>
7055 * time/tst-mktime2.c (N_STRINGS): Remove.
7056 (set_timezone): New function.
7057 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7058 (mktime_test1): Report localtime failure and check errno value.
7060 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7061 (do_test): Remove alarm call. Use set_timezone and array_length.
7063 2018-10-23 Andreas Schwab <schwab@suse.de>
7065 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7066 (__start_context): Use END instead of PSEUDO_END.
7068 2018-10-22 Joseph Myers <joseph@codesourcery.com>
7070 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7073 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7077 * wcsmbs/c32rtomb.c: New file.
7078 * wcsmbs/mbrtoc32.c: Likewise.
7079 * wcsmbs/tst-c32-state.c: Likewise.
7080 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7081 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7082 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7083 (tests): Add tst-c32-state.
7084 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7087 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7089 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7090 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7092 2018-10-19 Joseph Myers <joseph@codesourcery.com>
7095 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7096 pair and return 0 in that case, and use saved character to
7097 interpret following character.
7098 * wcsmbs/tst-c16-surrogate.c: New file.
7099 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7100 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7101 Depend on $(gen-locales)
7103 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7106 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7107 (struct siginfo_t): Use correct type for si_band.
7109 2018-10-19 Florian Weimer <fweimer@redhat.com>
7112 * resource/bits/types/struct_rusage.h (struct rusage): Update
7113 comment on struct. Remove extraneous field comment.
7115 2018-10-18 David S. Miller <davem@davemloft.net>
7117 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7118 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7119 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7120 sysdep_routines in subdir elf.
7121 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7122 version for __vdso_clock_gettime.
7123 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7125 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7126 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7128 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7130 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7132 * sysdeps/i386/init-arch.h: Removed.
7133 * sysdeps/i386/i586/init-arch.h: Likewise.
7134 * sysdeps/i386/i686/init-arch.h: Likewise.
7135 * sysdeps/i386/i686/hp-timing.h: Likewise.
7136 * sysdeps/x86_64/hp-timing.h: Likewise.
7137 * sysdeps/i386/isa.h: New file.
7138 * sysdeps/i386/i586/isa.h: Likewise.
7139 * sysdeps/i386/i686/isa.h: Likewise.
7140 * sysdeps/x86_64/isa.h: Likewise.
7141 * sysdeps/x86/hp-timing.h: New file.
7142 * sysdeps/x86/init-arch.h: Include <isa.h>.
7144 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7146 * math/libm-test-pow.inc (pow_test_data): Do not allow
7147 divide-by-zero exception for pow(+/- 0, -Inf).
7149 2018-10-17 Zack Weinberg <zackw@panix.com>
7151 * manual/job.texi (Job Control is Optional): Remove node, as
7152 job control has not been optional in quite some time.
7153 (Job Control): Mention briefly that systems older than
7154 POSIX.1-2001 might not support job control.
7155 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7156 defined on systems conforming to POSIX.1-2001.
7158 2018-10-17 Arjun Shankar <arjun@redhat.com>
7161 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7163 * (__gconv_read_conf): Mark function static.
7164 * (once): New static variable.
7165 * (__gconv_load_conf): New function.
7166 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7167 * iconv/gconv_db.c (once): Remove static variable.
7168 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7170 * (__gconv_find_transform): Likewise.
7171 * iconv/tst-iconv-mt.c: New test.
7172 * iconv/Makefile: Add tst-iconv_mt.
7174 2018-10-17 Joseph Myers <joseph@codesourcery.com>
7176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7178 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7179 (shmatt_t): Define as __syscall_ulong_t.
7180 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7181 and [__SHM_PAD_AFTER_TIME].
7182 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7183 Define shm_segsz and associated padding based on
7184 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7185 Use __syscall_ulong_t instead of unsigned long int.
7186 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7188 [__USE_MISC] (struct shm_info): Likewise.
7189 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7190 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7191 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7192 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7193 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7194 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7195 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7196 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7197 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7198 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7199 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7201 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7203 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7204 (SHMLBA): Remove macro.
7205 (__getpagesize): Remove function declaration.
7206 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7208 (SHMLBA): Remove macro.
7209 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7211 (SHMLBA): Remove macro.
7212 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7214 (SHMLBA): Remove macro.
7215 (__getpagesize): Remove function declaration.
7216 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7218 (SHMLBA): Remove macro.
7219 (__getshmlba): Remove function declaration.
7220 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7221 (SHMLBA): Remove macro.
7222 (__getpagesize): Remove function declaration.
7223 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7224 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7225 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7226 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7227 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7228 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7229 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7230 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7231 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7232 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7234 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
7237 * nptl/tst-mutex10.c: New File.
7238 * nptl/Makefile (tests): Add tst-mutex10.
7239 (tst-mutex10-ENV): New variable.
7240 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7241 Ensure that elision path is used if elision is available.
7242 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7244 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7246 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7247 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7248 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7249 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7251 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7252 (__pthread_mutex_cond_lock_adjust): Likewise.
7253 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7255 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7256 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7257 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7258 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7260 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7261 Use atomic_load_relaxed and atomic_store_relaxed.
7262 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7263 Use atomic_store_relaxed.
7265 2018-10-17 Andreas Schwab <schwab@suse.de>
7267 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7268 * crypt/badsalttest.c (TIMEOUT): Likewise.
7269 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7270 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7271 * io/test-lfs.c (TIMEOUT): Likewise.
7272 * libio/tst-atime.c (TIMEOUT): Likewise.
7273 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7274 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7275 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7276 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7277 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7278 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7279 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7280 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7281 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7282 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7283 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7284 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7285 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7286 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7287 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
7288 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
7289 * nptl/tst-once2.c (TIMEOUT): Likewise.
7290 * nptl/tst-once3.c (TIMEOUT): Likewise.
7291 * nptl/tst-once4.c (TIMEOUT): Likewise.
7292 * nptl/tst-robust8.c (TIMEOUT): Likewise.
7293 * nptl/tst-robust9.c (TIMEOUT): Likewise.
7294 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
7295 * nptl/tst-sem14.c (TIMEOUT): Likewise.
7296 * nptl/tst-sem6.c (TIMEOUT): Likewise.
7297 * nptl/tst-signal3.c (TIMEOUT): Likewise.
7298 * nptl/tst-spin4.c (TIMEOUT): Likewise.
7299 * nptl/tst-tls3.c (TIMEOUT): Likewise.
7300 * nptl/tst-tls4.c (TIMEOUT): Likewise.
7301 * posix/tst-chmod.c (TIMEOUT): Likewise.
7302 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
7303 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
7304 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
7305 * posix/tst-regex2.c (TIMEOUT): Likewise.
7306 * posix/tst-waitid.c (TIMEOUT): Likewise.
7307 * rt/tst-aio.c (TIMEOUT): Likewise.
7308 * rt/tst-aio10.c (TIMEOUT): Likewise.
7309 * rt/tst-aio4.c (TIMEOUT): Likewise.
7310 * rt/tst-aio5.c (TIMEOUT): Likewise.
7311 * rt/tst-aio6.c (TIMEOUT): Likewise.
7312 * rt/tst-aio64.c (TIMEOUT): Likewise.
7313 * rt/tst-aio7.c (TIMEOUT): Likewise.
7314 * rt/tst-aio9.c (TIMEOUT): Likewise.
7315 * rt/tst-clock.c (TIMEOUT): Likewise.
7316 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
7317 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
7318 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
7319 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
7320 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
7321 * rt/tst-timer4.c (TIMEOUT): Likewise.
7322 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
7323 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
7324 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
7325 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
7326 * time/tst-ftime.c (TIMEOUT): Likewise.
7327 * timezone/tst-tzset.c (TIMEOUT): Likewise.
7329 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
7331 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
7332 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
7335 2018-10-15 Joseph Myers <joseph@codesourcery.com>
7337 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7339 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
7340 instead of <bits/wordsize.h>.
7341 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
7342 and [__SEM_PAD_AFTER_TIME].
7343 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
7344 __syscall_ulong_t instead of unsigned long int.
7345 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
7346 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
7347 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
7348 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
7349 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
7350 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
7351 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
7352 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
7353 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7354 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7355 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7357 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
7359 regex: simplify by using intprops.h
7361 * posix/regex_internal.h [_LIBC]: Include intprops.h.
7362 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
7363 intprops.h defines them.
7365 regex: __builtin_expect → __glibc_unlikely
7367 This refactoring was prompted by a problem when the regex code is
7368 used as part of Gnulib and when the builder’s compiler does not grok
7369 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
7370 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
7371 Although this refactoring does not fix the problem directly,
7372 we might as well have Gawk use the now-preferred glibc style for when
7373 __builtin_expect is unavailable.
7374 * posix/regex_internal.h (BE): Remove.
7375 All uses replaced by __glibc_unlikely or __glibc_likely.
7377 2018-10-11 Joseph Myers <joseph@codesourcery.com>
7379 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7381 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
7382 instead of <bits/wordsize.h>.
7383 (msgqnum_t): Define as __syscall_ulong_t.
7384 (msglen_t): Likewise.
7385 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
7386 and [__MSQ_PAD_AFTER_TIME].
7387 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
7388 __syscall_ulong_t instead of unsigned long int.
7389 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
7390 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
7391 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
7392 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
7393 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
7394 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
7395 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
7396 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
7397 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7398 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7399 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7401 2018-10-10 Joseph Myers <joseph@codesourcery.com>
7403 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
7404 (struct shmid_ds): Condition padding after time fields on
7406 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7407 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7408 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7410 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7411 (struct semid_ds): Condition padding after time fields on
7413 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7414 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7415 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7416 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7418 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7419 (struct msqid_ds): Condition padding after time fields on
7421 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7422 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7423 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7424 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7426 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7428 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7430 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7432 * libio/tst-readline.c (TIMEOUT): Define.
7434 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7436 mktime fix for Gnulib + coreutils
7438 This fix affects only Gnulib. Problem discovered when
7439 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7441 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7442 Do not define since it is not used. Defining an unused static
7443 function prompts a warning from GCC when Coreutils is configured
7444 with --enable-gcc-warnings.
7446 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7448 * benchtests/scripts/compare_bench.py (main): set float type on
7451 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7454 * localedata/locales/kl_GL (mon): Update, the relative case.
7455 (alt_mon): Add, fill with month names in the nominative case.
7456 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7457 (d_fmt): Set to "%b %d %Y".
7459 2018-10-04 Joseph Myers <joseph@codesourcery.com>
7461 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7462 <bits/mman-linux.h>.
7463 (PROT_READ): Don't define here.
7464 (PROT_WRITE): Likewise.
7465 (PROT_EXEC): Likewise.
7466 (PROT_NONE): Likewise.
7467 (PROT_GROWSDOWN): Likewise.
7468 (PROT_GROWSUP): Likewise.
7469 (MAP_SHARED): Likewise.
7470 (MAP_PRIVATE): Likewise.
7471 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7472 [__USE_MISC] (MAP_FILE): Likewise.
7473 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7474 [__USE_MISC] (MAP_ANON): Likewise.
7475 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7476 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7477 (MCL_CURRENT): Likewise.
7478 (MCL_FUTURE): Likewise.
7479 (MCL_ONFAULT): Likewise.
7480 [__USE_MISC] (MADV_NORMAL): Likewise.
7481 [__USE_MISC] (MADV_RANDOM): Likewise.
7482 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
7483 [__USE_MISC] (MADV_WILLNEED): Likewise.
7484 [__USE_MISC] (MADV_DONTNEED): Likewise.
7485 [__USE_MISC] (MADV_FREE): Likewise.
7486 [__USE_MISC] (MADV_REMOVE): Likewise.
7487 [__USE_MISC] (MADV_DONTFORK): Likewise.
7488 [__USE_MISC] (MADV_DOFORK): Likewise.
7489 [__USE_MISC] (MADV_HWPOISON): Likewise.
7490 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
7491 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
7492 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
7493 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
7494 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
7495 (__MAP_ANONYMOUS): New macro.
7496 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
7497 <bits/mman-linux.h> inclusion.
7498 (MAP_FIXED): Likewise.
7499 (MS_SYNC): Likewise.
7500 (MS_ASYNC): Likewise.
7501 (MS_INVALIDATE): Likewise.
7502 [__USE_MISC] (MADV_MERGEABLE): Likewise.
7503 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
7504 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
7505 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
7506 [__USE_MISC] (MADV_DONTDUMP): Likewise.
7507 [__USE_MISC] (MADV_DODUMP): Likewise.
7508 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7509 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7512 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
7514 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
7515 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
7516 Add test-nldbl-redirect.
7517 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
7518 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
7519 $(objpfx)libnldbl_nonshared.a.
7521 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
7523 * support/support.h (support_objdir_elf_ldso): New variable.
7524 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
7525 * support/Makefile (CFLAGS-support_paths.c): Add definition
7526 for OBJDIR_ELF_LDSO_PATH.
7527 * support/test-container.c (main): Search for the ld.so
7528 which is also used by the testsuite.
7530 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
7533 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
7534 should be "sap" rather than "sab".
7535 (day): Fix spelling of Sunday, should be "sapaat" rather than
7538 2018-10-02 Joseph Myers <joseph@codesourcery.com>
7540 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7542 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
7545 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
7546 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
7547 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
7549 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7551 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
7553 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
7555 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
7557 (CFLAGS-elision-unlock.c): Likewise.
7558 (CFLAGS-elision-timed.c): Likewise.
7559 (CFLAGS-elision-trylock.c): Likewise.
7560 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
7562 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7565 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
7566 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
7567 new fd_to_filename interface.
7568 * libio/freopen64.c (freopen64): Likewise.
7569 * libio/tst-memstream.h: New file.
7570 * libio/tst-memstream4.c: Likewise.
7571 * libio/tst-wmemstream4.c: Likewise.
7572 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
7573 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
7574 and remove internal dynamic allocation.
7576 2018-10-01 Joseph Myers <joseph@codesourcery.com>
7578 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7579 (MREMAP_MAYMOVE): Do not define here.
7580 [__USE_GNU] (MREMAP_FIXED): Likewise.
7581 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
7582 (MREMAP_MAYMOVE): Define here instead.
7583 [__USE_GNU] (MREMAP_FIXED): Likewise.
7584 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
7585 (MREMAP_MAYMOVE): Remove.
7586 [__USE_GNU] (MREMAP_FIXED): Likewise.
7588 2018-09-28 Joseph Myers <joseph@codesourcery.com>
7590 * math/fromfp.h: Do not include <math_private.h>.
7591 * math/s_cacosh_template.c: Likewise.
7592 * math/s_casin_template.c: Likewise.
7593 * math/s_casinh_template.c: Likewise.
7594 * math/s_ccos_template.c: Likewise.
7595 * math/s_cproj_template.c: Likewise.
7596 * math/s_fdim_template.c: Likewise.
7597 * math/s_fmaxmag_template.c: Likewise.
7598 * math/s_fminmag_template.c: Likewise.
7599 * math/s_iseqsig_template.c: Likewise.
7600 * math/s_ldexp_template.c: Likewise.
7601 * math/s_nextdown_template.c: Likewise.
7602 * math/w_log1p_template.c: Likewise.
7603 * math/w_scalbln_template.c: Likewise.
7604 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7605 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7606 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7607 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7608 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
7609 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
7610 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
7611 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
7612 * sysdeps/i386/fpu/s_atanl.c: Likewise.
7613 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
7614 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
7615 * sysdeps/i386/fpu/s_fdim.c: Likewise.
7616 * sysdeps/i386/fpu/s_logbl.c: Likewise.
7617 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7618 * sysdeps/i386/fpu/s_significandl.c: Likewise.
7619 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
7620 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
7621 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7622 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7623 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7624 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7625 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7626 * sysdeps/ieee754/k_standardf.c: Likewise.
7627 * sysdeps/ieee754/k_standardl.c: Likewise.
7628 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7629 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7630 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
7631 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7632 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7633 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7634 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7635 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7636 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7637 * sysdeps/ieee754/s_signgam.c: Likewise.
7638 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7639 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
7640 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
7641 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7642 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7643 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7644 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7645 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7646 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7647 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7648 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7649 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7650 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7651 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7652 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7653 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7654 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7655 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7656 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7657 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7658 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7659 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7660 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7661 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7662 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7663 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7664 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7665 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7666 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7667 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7668 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7669 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7670 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7671 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7672 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7673 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7674 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
7676 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7678 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
7681 * sysdeps/i386/dl-cet.c: Removed.
7682 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
7684 (_dl_runtime_profile_shstk): Likewise.
7685 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
7686 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
7688 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7691 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
7692 do_test_with_invalid_iov): New tests.
7693 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
7694 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
7695 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
7697 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7698 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7699 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7701 2018-09-27 Joseph Myers <joseph@codesourcery.com>
7703 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7704 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
7705 (MATH_REDIRECT_BINARY_ARGS): New macro.
7706 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7707 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
7708 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
7710 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
7711 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7712 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
7713 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7714 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7715 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7716 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
7721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
7723 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
7724 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
7725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
7727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
7729 * sysdeps/generic/math_private_calls.h
7730 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
7731 Do not declare and define as an inline function.
7732 * math/divtc3.c (__divtc3): Use copysign functions instead of
7733 __copysign variants.
7734 * math/multc3.c (__multc3): Likewise.
7735 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
7736 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
7737 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7738 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7740 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7741 (__ieee754_yn): Likewise.
7742 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7743 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
7744 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7745 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7746 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
7748 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
7749 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7751 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7753 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7755 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7756 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7758 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7759 (__ieee754_ynf): Likewise.
7760 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7761 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7762 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7763 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7765 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7766 (__ieee754_ynl): Likewise.
7767 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7768 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7769 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7771 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7772 (__ieee754_ynl): Likewise.
7773 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
7774 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7775 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7776 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7778 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7780 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
7781 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7782 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
7783 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7784 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7786 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7787 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
7788 using MATH_REDIRECT.
7789 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
7791 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
7792 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7793 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7794 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
7795 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7796 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7797 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
7799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
7800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
7801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
7802 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7803 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7804 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7805 (round): Redirect to __round.
7806 (__roundl): Call round instead of __round.
7807 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
7809 [_ARCH_PWR5X] (__roundf): Likewise.
7810 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
7811 functions instead of __round variants.
7812 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7813 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7815 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7817 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7819 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7820 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
7822 (__ieee754_expl): Call roundl instead of __roundl.
7824 2018-09-27 Andreas Schwab <schwab@suse.de>
7827 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
7828 (do_test): Make st1 static.
7830 2018-09-26 Andreas Schwab <schwab@suse.de>
7833 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
7834 * elf/Makefile (tests): Add tst-unwind-ctor.
7835 (modules-names): Add tst-unwind-ctor-lib.
7836 ($(objpfx)tst-unwind-ctor): Depend on
7837 $(objpfx)tst-unwind-ctor-lib.so.
7839 2018-09-26 Joseph Myers <joseph@codesourcery.com>
7841 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
7842 file. Most contents moved from ....
7843 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7844 and include <bits/mman-map-flags-generic.h>.
7845 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7846 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7847 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7848 <bits/mman-map-flags-generic.h>.
7849 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7850 macros defined in <bits/mman-map-flags-generic.h>.
7851 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7852 <bits/mman-map-flags-generic.h>.
7853 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7854 defined in <bits/mman-map-flags-generic.h>.
7856 2018-09-26 Andreas Schwab <schwab@suse.de>
7858 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7861 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7862 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7863 Fangrui Song <maskray@google.com>
7866 * config.make.in (have-textrel_ifunc): New define.
7867 * configure.ac: Add check if linker supports textrel relocation with
7869 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7871 (CFLAGS-tst-ifunc-textrel.c): New rule.
7872 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7873 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7874 * elf/tst-ifunc-textrel.c: New file.
7876 2018-09-25 Joseph Myers <joseph@codesourcery.com>
7878 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7879 <bits/procfs-prregset.h>.
7880 (prgregset_t): Define using __prgregset_t.
7881 (prfpregset_t): Define using __prfpregset_t.
7882 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7883 (sysdep_headers): Add bits/procfs-prregset.h.
7884 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7885 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7886 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7887 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7889 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7890 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7891 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7893 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7894 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7895 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7896 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7897 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7898 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7899 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7900 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7901 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7902 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7903 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7904 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7905 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7906 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7907 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7908 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7909 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7910 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7911 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7912 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7913 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7914 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7915 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7916 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7918 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7919 AArch64 version. Include <bits/procfs.h>.
7920 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7921 (sysdep_headers): Add bits/procfs.h.
7922 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7923 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7924 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7925 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7926 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7927 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7928 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7929 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7930 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7931 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7932 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7933 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7934 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7935 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7936 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7937 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7938 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7940 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7942 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7945 2018-09-25 Arjun Shankar <arjun@redhat.com>
7947 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7948 (__gconv_max_path_elem_len): Likewise.
7949 (__gconv_nmodules): Likewise.
7950 (__gconv_get_path): Likewise.
7951 (path_elem): Move to ...
7952 * iconv/gconv_conf.c: ... here.
7953 (__gconv_get_path): Mark function static.
7954 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7955 * iconv/gconv_open.c: ... here.
7957 2018-09-24 Andreas Schwab <schwab@suse.de>
7959 * scripts/haveversions.awk: New file.
7960 * Makerules ($(common-objpfx)Versions.def)
7961 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7962 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7964 * Makeconfig ($(common-objpfx)Versions.def)
7965 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7966 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7968 ($(common-objpfx)Versions.mk): New rule. Include it.
7969 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7970 Emit error if build-obsolete-nsl = yes.
7971 * manual/install.texi (Configuring and compiling): Describe
7972 --enable-obsolete-nsl as unavaiable after version 2.28.
7973 * INSTALL: Regenerate.
7975 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7977 * NEWS: Add note about new TLE support on powerpc64le.
7978 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7979 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7981 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7982 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7983 * sysdeps/powerpc/powerpc32/sysdep.h,
7984 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7985 ABORT_TRANSACTION): Remove macros.
7986 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7987 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7988 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7990 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7991 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7993 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7995 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7998 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7999 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8000 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8001 which is the same as in it_IT.
8002 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8003 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8005 2018-09-20 Joseph Myers <joseph@codesourcery.com>
8007 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8008 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8009 using MATH_REDIRECT.
8010 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8012 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8013 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8014 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8015 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8016 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8017 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8022 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8023 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8024 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8025 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8026 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8027 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8028 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8029 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8030 (ceil): Redirect to __ceil.
8031 (floor): Redirect to __floor.
8032 (trunc): Redirect to __trunc.
8033 (__truncl): Call trunc instead of __trunc.
8034 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8036 [_ARCH_PWR5X] (__truncf): Likewise.
8037 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8038 trunc functions instead of __trunc variants.
8039 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8041 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8043 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8045 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8048 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8049 [__i586__ || __pentium__].
8050 [__i486__]: Handle explicitly.
8051 (HAS_CPUID): Define to 1 if above macros are undefined.
8052 (HAS_I586): Likewise.
8053 (HAS_I686): Likewise.
8055 2018-09-20 Florian Weimer <fweimer@redhat.com>
8057 * misc/tst-gethostid.c: New file.
8058 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8059 (tst-gethostid): Link with -ldl.
8061 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8063 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8064 value from gethostbyname_r.
8066 2018-09-19 Carlos O'Donell <carlos@redhat.com>
8068 * stdlib/tst-setcontext9.c (f1): Rename to...
8070 (f1b): New function implementing lower half of f1 in alternate stack.
8072 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8074 Fix mktime localtime offset confusion
8076 * include/time.h (__mktime_internal): The localtime offset is now
8077 of type long int instead of time_t. This is the longstanding type
8078 in glibc, and it is more than enough to represent difference
8079 between localtime and gmtime even if it is 32 bits and time_t is
8080 64. Changing it now will let us avoid an unnecessary change when
8081 time_t is widened to 64 bits on 32-bit platforms.
8082 * time/mktime-internal.h (mktime_offset_t): Now long int.
8084 Merge mktime, timegm from upstream Gnulib
8085 [BZ #23603][BZ #16346]
8086 This fixes some obscure problems with integer overflow.
8087 Although it looks scary, it is almost all a byte-for-byte copy
8088 from Gnulib, and the Gnulib code has been tested reasonably well.
8089 * include/intprops.h: New file, copied from Gnulib.
8090 * include/verify.h, time/mktime-internal.h:
8091 New tiny files, simplified from Gnulib.
8092 * time/mktime.c: Copy from Gnulib. This has the following changes:
8093 Do not include config.h if DEBUG_MKTIME is nonzero.
8094 Include stdbool.h, intprops.h, verify.h.
8095 Include string.h only if needed.
8096 Include stdlib.h on MS-Windows.
8097 Include mktime-internal.h.
8098 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8099 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8100 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8101 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8102 simplify later conditionals; default the others to zero. Use
8103 these conditionals to express only the code needed on the current
8104 platform. In uses of these conditionals, explicitly spell out how
8105 _LIBC affects things, so it’s easier to review from a glibc
8107 (WRAPV): Remove; no longer needed now that we have
8108 systematic overflow checking.
8109 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8110 compartmentalize tzset issues. Move system-dependent tzsettish
8111 code here from mktime.
8112 (verify): Remove; now done by verify.h. All uses changed.
8113 (long_int): Use a more-conservative definition, to avoid
8115 (SHR): Remove, replacing with ...
8116 (shr): New function, which means we needn’t worry about side
8117 effects in args, and conversion analysis is simpler.
8118 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8119 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8120 (time_t_avg, time_t_add_ok): Remove.
8121 (mktime_min, mktime_max): New constants.
8122 (leapyear, isdst_differ): Use bool for booleans.
8123 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8124 Use long_int, not time_t, for mktime differences.
8125 (long_int_avg): New function, replacing time_t_avg.
8126 INT_ADD_WRAPV replaces time_t_add_ok.
8127 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8129 (convert_time): New function.
8130 (ranged_convert): Use it.
8131 (__mktime_internal): Last arg now points to mktime_offset_t, not
8132 time_t. All uses changed. This is a no-op on glibc, where
8133 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8134 offset guess. Directly check for integer overflow instead of
8135 using a heuristic that works only 99.9...% of the time.
8136 Access *OFFSET only once, to avoid an unlikely race if the
8137 compiler delays a load and if this cascades into a signed integer
8139 (mktime): Move tzsettish code to my_tzset, and move
8140 localtime_offset to within mktime so that it doesn’t
8141 need a separate ifdef.
8142 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8143 instead of localtime.
8144 * time/timegm.c: Copy from Gnulib. This has the following changes:
8145 Include mktime-internal.h.
8146 [!_LIBC]: Include config.h and time.h. Do not include
8147 timegm.h or time_r.h. Make __mktime_internal a macro,
8148 and include mktime-internal.h to get its declaration.
8149 (timegm): Temporary is now mktime_offset_t, not time_t.
8150 This affects only Gnulib.
8152 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8155 * string/test-strstr.c (pr23637): New function.
8156 (test_main): Add tests with longer needles.
8157 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8158 * string/strstr.c (AVAILABLE): Likewise.
8160 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8162 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8164 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8166 * NEWS: Mention pow improvements.
8167 * math/Makefile (type-double-routines): Add e_pow_log_data.
8168 * sysdeps/generic/math_private.h (__exp1): Remove.
8169 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8170 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8171 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8173 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8174 (exp_inline): Remove.
8175 (__ieee754_exp): Only single double input is handled.
8176 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8177 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8178 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8179 (__pow_log_data): Define.
8180 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8181 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8182 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8183 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8185 (CFLAGS-e_pow-fma4.c): Likewise.
8187 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8189 Simplify tzfile fstat failure code
8191 * time/tzfile.c (__tzfile_read): Simplify slightly.
8193 Fix tzfile low-memory assertion failure
8195 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8196 when registering time zone abbreviations.
8198 2018-09-18 Joseph Myers <joseph@codesourcery.com>
8200 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8201 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8202 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8203 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8204 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8205 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8206 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8207 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8208 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8210 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8212 (__ceill): Call ceil instead of __ceil.
8213 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8215 (__floorl): Call floor instead of __floor.
8217 2018-09-17 Joseph Myers <joseph@codesourcery.com>
8219 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8220 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8221 using MATH_REDIRECT.
8222 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8224 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8225 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8226 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8227 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8228 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8229 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8230 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8231 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8236 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8237 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8238 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8240 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8241 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8242 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8244 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8245 functions instead of __ceil variants.
8246 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8247 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8249 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8251 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8252 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8254 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8255 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8258 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8260 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8261 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8262 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8263 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8264 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8265 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8266 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8267 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8268 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8269 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8270 (ILL_BADIADDR): Remove constant.
8271 (TRAP_BRANCH): Likewise.
8272 (TRAP_HWBKPT): Likewise.
8274 2018-09-14 Joseph Myers <joseph@codesourcery.com>
8277 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8278 Remove [_MIPS_SIM = _ABIN32] conditional case.
8279 (struct elf_prpsinfo): Likewise.
8282 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8283 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8284 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8286 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8287 elf_prpsinfo): Likewise.
8288 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
8289 elf_prpsinfo): Likewise.
8290 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
8293 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8294 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
8295 using MATH_REDIRECT.
8296 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
8298 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
8299 * sysdeps/alpha/fpu/s_rint.c: Likewise.
8300 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
8301 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8302 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8303 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8304 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
8305 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8306 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8307 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8308 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
8309 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
8310 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
8311 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
8312 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
8313 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8314 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8315 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
8316 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
8318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
8319 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
8320 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
8321 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8322 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8323 * sysdeps/x86_64/fpu/math_private.h: Remove file.
8324 * math/e_scalb.c (invalid_fn): Use rint functions instead of
8326 * math/e_scalbf.c (invalid_fn): Likewise.
8327 * math/e_scalbl.c (invalid_fn): Likewise.
8328 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8330 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8332 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8333 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
8334 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8336 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8338 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8340 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
8341 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
8343 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8344 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
8346 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8347 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
8348 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8349 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
8350 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8351 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
8352 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8353 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
8354 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8355 && !NO_MATH_REDIRECT] (floor): Likewise.
8356 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
8358 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
8359 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8360 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8361 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
8362 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8363 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8364 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8365 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
8366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
8367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
8368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
8369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
8370 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8371 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8372 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8373 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8374 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8375 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8376 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
8378 [_ARCH_PWR5X] (__floorf): Likewise.
8379 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
8381 [__SSE4_1__] (__floorf): Likewise.
8382 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
8383 instead of __floor variants.
8384 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
8385 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
8386 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
8387 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
8388 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
8389 * math/w_tgamma_compat.c (__tgamma): Likewise.
8390 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
8391 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
8392 * math/w_tgammal_compat.c (__tgammal): Likewise.
8393 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
8394 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8396 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8397 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
8398 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8399 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8401 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8402 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
8404 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8405 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8407 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8408 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8410 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8411 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8412 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8413 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8414 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8415 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8417 2018-09-12 Joseph Myers <joseph@codesourcery.com>
8419 * elf/Makefile (modules-names-tests): New variable.
8421 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8423 * NEWS: Mention log2 improvements.
8424 * math/Makefile (type-double-routines): Add e_log2_data.
8425 * sysdeps/i386/fpu/e_log2_data.c: New file.
8426 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8427 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8428 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8429 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8430 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8431 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8433 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8435 * NEWS: Mention log improvement.
8436 * math/Makefile (type-double-routines): Add e_log_data.
8437 * sysdeps/i386/fpu/e_log_data.c: New file.
8438 * sysdeps/ia64/fpu/e_log_data.c: New file.
8439 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8440 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8441 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8442 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8443 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8444 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8446 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8447 Xuepeng Guo <xuepeng.guo@intel.com>
8450 * sysdeps/i386/start.S: Include <sysdep.h>
8451 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8452 enabled. Add cfi_undefined (eip).
8454 2018-09-11 Joseph Myers <joseph@codesourcery.com>
8456 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8458 (EXTRACT_WORDS64): Likewise.
8459 (INSERT_WORDS64): Likewise.
8460 (GET_FLOAT_WORD): Likewise.
8461 (SET_FLOAT_WORD): Likewise.
8463 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8465 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8466 build, but not for second build if --full-gcc. Use
8467 --enable-languages=all for second build if --full-gcc.
8468 (get_parser): Add --full-gcc option.
8469 (main): Update call to Context.
8471 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8474 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8475 Single Quotation Mark).
8476 (thousands_sep): Likewise.
8477 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8478 * localedata/locales/it_IT (thousands_sep): Use ".".
8479 (grouping): Use "3;3".
8481 2018-09-10 Joseph Myers <joseph@codesourcery.com>
8483 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8484 x86_64 and i686 configs using --enable-obsolete-rpc
8485 --enable-obsolete-nsl.
8487 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8489 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8491 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8493 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
8494 Increment size of new_argv by one.
8496 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
8499 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
8500 * localedata/locales/ar_IN (d_fmt): Likewise.
8501 * localedata/locales/bhb_IN (d_fmt): Likewise.
8502 * localedata/locales/bho_IN (d_fmt): Likewise.
8503 * localedata/locales/bn_BD (d_fmt): Likewise.
8504 * localedata/locales/bn_IN (d_fmt): Likewise.
8505 * localedata/locales/doi_IN (d_fmt): Likewise.
8506 * localedata/locales/gu_IN (d_fmt): Likewise.
8507 * localedata/locales/hi_IN (d_fmt): Likewise.
8508 * localedata/locales/hne_IN (d_fmt): Likewise.
8509 * localedata/locales/kn_IN (d_fmt): Likewise.
8510 * localedata/locales/mag_IN (d_fmt): Likewise.
8511 * localedata/locales/mai_IN (d_fmt): Likewise.
8512 * localedata/locales/mjw_IN (d_fmt): Likewise.
8513 * localedata/locales/ml_IN (d_fmt): Likewise.
8514 * localedata/locales/mni_IN (d_fmt): Likewise.
8515 * localedata/locales/mr_IN (d_fmt): Likewise.
8516 * localedata/locales/pa_IN (d_fmt): Likewise.
8517 * localedata/locales/raj_IN (d_fmt): Likewise.
8518 * localedata/locales/sat_IN (d_fmt): Likewise.
8519 * localedata/locales/sd_IN (d_fmt): Likewise.
8520 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
8521 * localedata/locales/ta_IN (d_fmt): Likewise.
8522 * localedata/locales/ta_LK (d_fmt): Likewise.
8523 * localedata/locales/tcy_IN (d_fmt): Likewise.
8524 * localedata/locales/ur_IN (d_fmt): Likewise.
8526 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
8527 * localedata/locales/ks_IN (d_fmt): Likewise.
8528 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
8530 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
8531 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
8532 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
8533 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
8535 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
8537 * NEWS: Mention exp and exp2 improvements.
8538 * math/Makefile (libm-support): Remove t_exp.
8539 (type-double-routines): Add math_err and e_exp_data.
8540 * sysdeps/aarch64/libm-test-ulps: Update.
8541 * sysdeps/arm/libm-test-ulps: Update.
8542 * sysdeps/i386/fpu/e_exp_data.c: New file.
8543 * sysdeps/i386/fpu/math_err.c: New file.
8544 * sysdeps/i386/fpu/t_exp.c: Remove.
8545 * sysdeps/ia64/fpu/e_exp_data.c: New file.
8546 * sysdeps/ia64/fpu/math_err.c: New file.
8547 * sysdeps/ia64/fpu/t_exp.c: Remove.
8548 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
8549 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
8550 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
8551 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
8552 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
8553 * sysdeps/ieee754/dbl-64/math_config.h: New file.
8554 * sysdeps/ieee754/dbl-64/math_err.c: New file.
8555 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
8556 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
8557 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
8558 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
8559 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
8560 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
8561 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
8562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8563 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8565 2018-09-05 Joseph Myers <joseph@codesourcery.com>
8567 * sysdeps/alpha/fpu/math_private.h: Remove.
8569 * sysdeps/generic/math_private.h
8570 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
8571 Move this inline function ....
8572 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
8573 * include/math.h [!_ISOMAC]: To here....
8575 2018-09-04 Joseph Myers <joseph@codesourcery.com>
8577 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
8579 [!FE_HAVE_ROUNDING_MODES]: And this code ....
8580 * include/fenv.h [!_ISOMAC]: ... to here.
8581 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
8582 (feraiseexcept): Likewise.
8583 * math/fromfp.h: Do not include <fenv_private.h>.
8584 * math/s_cexp_template.c: Likewise.
8585 * math/s_csin_template.c: Likewise.
8586 * math/s_csinh_template.c: Likewise.
8587 * math/s_ctan_template.c: Likewise.
8588 * math/s_ctanh_template.c: Likewise.
8589 * math/s_iseqsig_template.c: Likewise.
8590 * math/w_acos_compat.c: Likewise.
8591 * math/w_acosf_compat.c: Likewise.
8592 * math/w_acosl_compat.c: Likewise.
8593 * math/w_asin_compat.c: Likewise.
8594 * math/w_asinf_compat.c: Likewise.
8595 * math/w_asinl_compat.c: Likewise.
8596 * math/w_j0_compat.c: Likewise.
8597 * math/w_j0f_compat.c: Likewise.
8598 * math/w_j0l_compat.c: Likewise.
8599 * math/w_j1_compat.c: Likewise.
8600 * math/w_j1f_compat.c: Likewise.
8601 * math/w_j1l_compat.c: Likewise.
8602 * math/w_jn_compat.c: Likewise.
8603 * math/w_jnf_compat.c: Likewise.
8604 * math/w_log10_compat.c: Likewise.
8605 * math/w_log10f_compat.c: Likewise.
8606 * math/w_log10l_compat.c: Likewise.
8607 * math/w_log2_compat.c: Likewise.
8608 * math/w_log2f_compat.c: Likewise.
8609 * math/w_log2l_compat.c: Likewise.
8610 * math/w_log_compat.c: Likewise.
8611 * math/w_logf_compat.c: Likewise.
8612 * math/w_logl_compat.c: Likewise.
8613 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8614 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8615 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8616 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8617 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8618 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8619 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8620 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8621 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8622 * sysdeps/ieee754/k_standardl.c: Likewise.
8623 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8624 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8625 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8626 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8627 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8628 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8629 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8630 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8631 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8632 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8633 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8634 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8635 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8636 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8637 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8638 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8639 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8640 * math/w_ilogb_template.c: Include <fenv.h> instead of
8642 * math/w_llogb_template.c: Likewise.
8643 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8644 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8646 2018-09-03 Joseph Myers <joseph@codesourcery.com>
8648 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
8649 * math/fromfp.h: Include <fenv_private.h>.
8650 * math/math-narrow.h: Likewise.
8651 * math/s_cexp_template.c: Likewise.
8652 * math/s_csin_template.c: Likewise.
8653 * math/s_csinh_template.c: Likewise.
8654 * math/s_ctan_template.c: Likewise.
8655 * math/s_ctanh_template.c: Likewise.
8656 * math/s_iseqsig_template.c: Likewise.
8657 * math/w_acos_compat.c: Likewise.
8658 * math/w_acosf_compat.c: Likewise.
8659 * math/w_acosl_compat.c: Likewise.
8660 * math/w_asin_compat.c: Likewise.
8661 * math/w_asinf_compat.c: Likewise.
8662 * math/w_asinl_compat.c: Likewise.
8663 * math/w_ilogb_template.c: Likewise.
8664 * math/w_j0_compat.c: Likewise.
8665 * math/w_j0f_compat.c: Likewise.
8666 * math/w_j0l_compat.c: Likewise.
8667 * math/w_j1_compat.c: Likewise.
8668 * math/w_j1f_compat.c: Likewise.
8669 * math/w_j1l_compat.c: Likewise.
8670 * math/w_jn_compat.c: Likewise.
8671 * math/w_jnf_compat.c: Likewise.
8672 * math/w_llogb_template.c: Likewise.
8673 * math/w_log10_compat.c: Likewise.
8674 * math/w_log10f_compat.c: Likewise.
8675 * math/w_log10l_compat.c: Likewise.
8676 * math/w_log2_compat.c: Likewise.
8677 * math/w_log2f_compat.c: Likewise.
8678 * math/w_log2l_compat.c: Likewise.
8679 * math/w_log_compat.c: Likewise.
8680 * math/w_logf_compat.c: Likewise.
8681 * math/w_logl_compat.c: Likewise.
8682 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8683 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8684 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8685 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8686 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8687 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8688 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8690 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8691 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8692 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8693 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8694 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
8695 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8696 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8697 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8698 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8699 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8700 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8701 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8702 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8703 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8704 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8705 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8707 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8709 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8710 * sysdeps/ieee754/float128/float128_private.h: Likewise.
8711 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8712 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8713 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8714 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8715 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8716 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8717 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8718 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8719 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8720 * sysdeps/ieee754/k_standardl.c: Likewise.
8721 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8722 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8723 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8724 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8725 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8726 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8727 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8728 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8729 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8730 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8734 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8736 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8737 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8738 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8739 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8740 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8741 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8742 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8743 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8746 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8747 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8749 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8750 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8751 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8752 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8754 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8757 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8758 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8759 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8760 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8761 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8762 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8763 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8764 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8765 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8766 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8767 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8768 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8769 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8770 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8771 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8772 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8773 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8774 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8775 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8776 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8777 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8778 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8779 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8780 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8781 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8782 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8783 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8784 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8785 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8786 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8787 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8788 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8789 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8790 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8791 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8793 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8796 * include/stdio.h (__libc_fatal): Mention newline in comment.
8797 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
8798 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
8799 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8800 * nss/nsswitch.c (__nss_next2): Likewise.
8801 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
8802 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
8803 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
8804 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8805 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
8806 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
8807 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
8808 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
8809 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
8810 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
8811 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
8812 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8813 (__netlink_assert_response): Likewise.
8815 2018-08-31 Joseph Myers <joseph@codesourcery.com>
8817 * conform/glibcconform.py: New file.
8818 * conform/list-header-symbols.py: Likewise.
8819 * conform/list-header-symbols.pl: Remove.
8820 * conform/Makefile (tests-special): Only add linknamespace tests
8822 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
8824 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
8827 * support/Makefile (libsupport-routines): Add
8828 support_copy_file_range and xcopy_file_range.
8829 * support/support.h: Include <sys/types.h>.
8830 (support_copy_file_range): New prototype.
8831 * support/support_copy_file_range.c: New file. Copied and
8832 modified from io/copy_file_range-compat.c.
8833 * support/test-container.c (copy_one_file): Call xcopy_file_rang
8834 instead of copy_file_range.
8835 * support/xcopy_file_range.c: New file.
8836 * support/xunistd.h (xcopy_file_range): New prototype.
8838 2018-08-30 Carlos O'Donell <carlos@redhat.com>
8840 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
8841 xpthread_create and xpthread_join.
8843 2018-08-30 Florian Weimer <fweimer@redhat.com>
8845 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8847 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
8849 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8852 2018-08-29 Joseph Myers <joseph@codesourcery.com>
8854 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8855 and minus_oflow as non-finite.
8857 2018-08-28 Joseph Myers <joseph@codesourcery.com>
8859 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8860 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8861 moved to fenv_private.h except for ...
8862 (TOINT_INTRINSICS): Kept in math_private.h.
8863 (roundtoint): Likewise.
8864 (converttoint): Likewise.
8865 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8866 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8867 * sysdeps/arm/math_private.h: Remove.
8868 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8870 * sysdeps/generic/math_private.h: ... this file. Include
8871 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8872 Include <fenv_private.h>. Remove functions and macros moved to
8874 * sysdeps/i386/fpu/math_private.h: Remove.
8875 * sysdeps/mips/math_private.h: Move to ....
8876 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8877 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8878 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8879 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8880 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8881 * sysdeps/powerpc/fpu/math_private.h: Do not include
8883 * sysdeps/riscv/rvf/math_private.h: Move to ....
8884 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8885 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8887 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8888 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8889 * sysdeps/sparc/fpu/math_private.h: Remove.
8890 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8891 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8892 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8894 * sysdeps/x86_64/fpu/math_private.h: Do not include
8895 <sysdeps/i386/fpu/fenv_private.h>.
8897 2018-08-28 Florian Weimer <fweimer@redhat.com>
8900 * posix/tst-regcomp-truncated.c: New file.
8901 * posix/Makefile (tests): Add it.
8902 (tst-regcomp-truncated.out): Depend on generated locales.
8904 2018-08-28 Florian Weimer <fweimer@redhat.com>
8906 * support/test-container.c (main): Treat unshare failure with
8907 EPERM as an unsupported test.
8909 2018-08-28 Florian Weimer <fweimer@redhat.com>
8912 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8913 * nscd/netgroupcache.c
8914 (addgetnetgrentX): Add tofreep parameter. Do not free
8915 heap-allocated buffer.
8916 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8917 (addgetnetgrentX_ignore): New function.
8918 (addgetnetgrent): Call it.
8919 (readdgetnetgrent): Likewise.
8921 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8923 * string/memmem.c: Use memcmp for first match.
8925 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8928 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8930 2018-08-27 DJ Delorie <dj@redhat.com>
8932 * support/Makefile (others): Don't list programs explicitly as a
8933 dependency of "others".
8935 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8937 * sysdeps/generic/math-tests-trap-force.h: New file.
8938 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8939 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8940 * sysdeps/powerpc/math-tests.h: Remove file.
8941 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8943 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8944 Torvald Riegel <triegel@redhat.com>
8947 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8948 Update r to include the set wake-request flag if waiters are
8949 remaining after spinning.
8951 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8953 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8955 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8958 regex: fix uninitialized memory access
8959 I introduced this bug into gnulib in commit
8960 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8961 eventually it was merged into glibc. The bug was found by
8962 project-repo <bugs@feusi.co> and reported here:
8963 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8964 Diagnosis and draft fix reported by Assaf Gordon here:
8965 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8966 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8967 * posix/regex_internal.c (build_wcs_upper_buffer):
8968 Fix bug when mbrtowc returns 0.
8970 2018-08-24 Carlos O'Donell <carlos@redhat.com>
8972 * po/be.po: Update translation.
8974 2018-08-24 DJ Delorie <dj@delorie.com>
8976 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8979 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8982 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8983 create temporary files in source tree.
8985 2018-08-24 Joseph Myers <joseph@codesourcery.com>
8987 * sysdeps/generic/math-tests-trap.h: New file.
8988 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8989 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8990 * sysdeps/aarch64/math-tests.h: Remove file.
8991 * sysdeps/arm/math-tests.h: Likewise.
8992 * sysdeps/riscv/math-tests.h: Likewise.
8993 * sysdeps/aarch64/math-tests-trap.h: New file.
8994 * sysdeps/arm/math-tests-trap.h: Likewise.
8995 * sysdeps/riscv/math-tests-trap.h: Likewise.
8997 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8999 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9000 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9001 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9002 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9003 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9004 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9005 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9006 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9007 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9008 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9009 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9010 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9011 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9012 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9013 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9014 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9015 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9016 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9018 2018-08-23 Joseph Myers <joseph@codesourcery.com>
9020 * sysdeps/generic/math-tests-exceptions.h: New file.
9021 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9022 (EXCEPTION_TESTS_float): Do not define here.
9023 (EXCEPTION_TESTS_double): Likewise.
9024 (EXCEPTION_TESTS_long_double): Likewise.
9025 (EXCEPTION_TESTS_float128): Likewise.
9026 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9028 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9029 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9030 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9031 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9032 * sysdeps/mips/math-tests.h: Likewise.
9033 * sysdeps/nios2/math-tests.h: Likewise.
9034 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9035 (EXCEPTION_TESTS_float): Do not define here.
9036 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9037 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9038 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9040 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9042 * NEWS: Move optimized sinf entry to 2.29.
9044 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9046 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9048 2018-08-22 DJ Delorie <dj@redhat.com>
9050 * Makefile (testroot.pristine): New rules to initialize the
9051 test-in-container "testroot".
9052 * Makerules (all-testsuite): Add tests-container.
9053 * Rules (tests-expected): Add tests-container.
9054 (binaries-all-tests): Likewise.
9055 (tests-container): New, run these tests in the testroot container.
9056 * support/Makefile (others): Add *-container, support_paths.c,
9057 xmkdirp, and links-dso-program.
9058 * support/links-dso-program-c.c: New.
9059 * support/links-dso-program.cc: New.
9060 * support/test-container.c: New.
9061 * support/shell-container.c: New.
9062 * support/echo-container.c: New.
9063 * support/true-container.c: New.
9064 * support/xmkdirp.c: New.
9065 * support/xsymlink.c: New.
9066 * support/support_paths.c: New.
9067 * support/support.h: Add support paths prototypes.
9068 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9070 * nss/tst-nss-test3.c: Convert to test-in-container.
9071 * nss/tst-nss-test3.root/: New.
9073 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9075 regex: port Gnulib code to z/OS POSIX environment
9076 Problem reported by Arnold Robbins in:
9077 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9078 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9081 2018-08-22 Joseph Myers <joseph@codesourcery.com>
9083 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9084 (ROUNDING_TESTS_double): Remove.
9085 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9086 (ROUNDING_TESTS_double): Remove.
9087 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9088 (ROUNDING_TESTS_double): Remove.
9089 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9090 (ROUNDING_TESTS_float): Remove.
9091 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9092 (ROUNDING_TESTS_float): Remove.
9093 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9094 (ROUNDING_TESTS_float): Remove.
9095 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9097 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9098 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9100 * sysdeps/generic/math-tests-rounding.h: New file.
9101 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9102 (ROUNDING_TESTS_float): Do not define here.
9103 (ROUNDING_TESTS_double): Likewise.
9104 (ROUNDING_TESTS_long_double): Likewise.
9105 (ROUNDING_TESTS_float128): Likewise.
9106 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9107 (ROUNDING_TESTS_double): Undefine before defining.
9108 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9109 (ROUNDING_TESTS_double): Undefine before defining.
9110 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9111 (ROUNDING_TESTS_double): Undefine before defining.
9112 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9113 (ROUNDING_TESTS_float): Undefine before defining.
9114 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9115 (ROUNDING_TESTS_float): Undefine before defining.
9116 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9117 (ROUNDING_TESTS_float): Undefine before defining.
9118 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9119 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9121 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9122 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9123 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9124 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9125 (ROUNDING_TESTS_float): Do not define here.
9126 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9127 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9128 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9129 (ROUNDING_TESTS_float): Likewise.
9130 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9131 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9132 * sysdeps/mips/math-tests.h [__mips_soft_float]
9133 (ROUNDING_TESTS_float): Likewise.
9134 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9135 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9136 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9137 (ROUNDING_TESTS_double): Likewise.
9138 (ROUNDING_TESTS_long_double): Likewise.
9140 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
9142 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9143 (PF_XDP): New macro.
9144 (AF_XDP): New macro.
9145 (SOL_XDP): New macro.
9147 2018-08-21 Joseph Myers <joseph@codesourcery.com>
9149 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9150 (TCP_INQ): Likewise.
9151 (TCP_CM_INQ): Likewise.
9152 (TCP_REPAIR_ON): Likewise.
9153 (TCP_REPAIR_OFF): Likewise.
9154 (TCP_REPAIR_OFF_NO_WP): Likewise.
9155 (struct tcp_zerocopy_receive): New type.
9157 2018-08-21 Florian Weimer <fweimer@redhat.com>
9159 * support/support.h (support_descriptor_supports_holes): Declare.
9160 * support/Makefile (libsupport-routines): Add
9161 support_descriptor_supports_holes.
9162 * support/support_descriptor_supports_holes.c: New file.
9163 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9164 and stop testing if holes are not supported.
9165 * io/test-lfs.c (do_prepare): Likewise.
9166 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9168 * timezone/tst-tzset.c (create_tz_file): Likewise.
9169 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9171 (do_prepare): Set it.
9172 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9174 2018-08-21 Florian Weimer <fweimer@redhat.com>
9177 * Makeconfig (+cflags): Do not sort (and deduplicate).
9179 2018-08-21 Florian Weimer <fweimer@redhat.com>
9181 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9182 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9184 2018-08-20 Florian Weimer <fweimer@redhat.com>
9186 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9187 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9189 2018-08-20 Joseph Myers <joseph@codesourcery.com>
9191 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9192 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9193 and ssi_arch members.
9195 * elf/elf.c (NT_VMCOREDD): New macro.
9196 (AT_MINSIGSTKSZ): Likewise.
9198 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9200 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9201 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9202 s_cosf-ppc64 and s_cosf-power8.
9203 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9204 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9205 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9206 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9213 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9214 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9216 2018-08-17 Florian Weimer <fweimer@redhat.com>
9218 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9220 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9222 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9224 2018-08-16 Florian Weimer <fweimer@redhat.com>
9226 * configure.ac: Add --with-nonshared-cflags option.
9227 * config.make.in (extra-nonshared-cflags): Set variable.
9228 * Makeconfig (CFLAGS-.oS): Use it.
9229 * manual/install.texi (Configuring and compiling): Document
9230 --with-nonshared-cflags.
9231 * configure: Regenerate.
9232 * INSTALL: Likewise.
9234 2018-08-16 Florian Weimer <fweimer@redhat.com>
9236 * Makeconfig (ASFLAGS): Always append required assembler flags.
9238 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
9240 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9241 (malloc_consolidate): Likewise.
9243 2018-08-16 Pochang Chen <johnchen902@gmail.com>
9245 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9247 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9249 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9252 * benchtests/bench-strlen.c: Print performance numbers in json.
9254 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9256 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9257 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9258 only for little endian.
9259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9260 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9261 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9262 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9263 Add check for little endian.
9264 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9265 (__strcmp_power9): Add check for little endian.
9266 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9267 Add check for little endian.
9268 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9269 (__strncmp_power9): Add check for little endian.
9270 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9271 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9272 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9273 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9274 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9276 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9278 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9279 [!STRLEN](STRLEN): Set to __strlen.
9280 * sysdeps/aarch64/multiarch/strlen.c: New file.
9281 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9282 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9283 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9284 (__libc_ifunc_impl_list): Add strlen.
9285 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9286 strlen_generic and strlen_asimd.
9288 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9290 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
9291 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
9292 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9294 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9296 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
9298 2018-08-14 Florian Weimer <fweimer@redhat.com>
9301 * include/stdio.h (__vfxprintf): Declare.
9302 * stdio-common/fxprintf.c (__vfxprintf): New function.
9303 (__fxprintf): Call it.
9304 * misc/err.c (convert_and_print): Remove function.
9305 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
9306 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
9307 * misc/Makefile (tests): Add tst-warn-wide.
9308 * misc/tst-warn-wide.c: New file.
9310 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
9311 Szabolcs Nagy <szabolcs.nagy@arm.com>
9313 * NEWS: Mention sinf, cosf, sincosf.
9314 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
9315 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
9316 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
9317 constants rather than including generic sincosf.h.
9318 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
9319 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
9320 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
9321 (reduced_cos): Remove.
9322 (sinf_poly): New function.
9323 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
9325 2018-08-14 Florian Weimer <fweimer@redhat.com>
9329 * nss/nss_files/files-alias.c (get_next_alias): During :include:
9330 processing, bail out if no room, and close the stream before
9332 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
9333 (tst-nss-files-alias-leak): Link with libdl.
9334 (tst-nss-files-alias-leak.out): Depend on nss_files.
9336 * nss/tst-nss-files-alias-leak.c: New file.
9338 2018-08-14 Florian Weimer <fweimer@redhat.com>
9340 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
9341 server_user, stat_user.
9343 2018-08-13 Joseph Myers <joseph@codesourcery.com>
9345 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9347 (io_pgetevents): New syscall.
9350 * manual/install.texi (Configuring and compiling): Do not list
9351 tools used for testing pretty printers here.
9352 (Tools for Compilation): List Python, PExpect and GDB here.
9353 Update descriptions of uses of Perl and Python.
9354 * INSTALL: Regenerate.
9356 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9359 2018-08-13 Florian Weimer <fweimer@redhat.com>
9361 * misc/error.c (error): Add missing va_end call.
9362 (error_at_line): Likewise.
9364 2018-08-13 Florian Weimer <fweimer@redhat.com>
9366 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
9368 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9370 * benchtests/scripts/benchout.schema.json (properties): Add
9373 * benchtests/bench-skeleton.c (main): Add duration and
9374 iterations attributes.
9376 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
9378 regex: Gnulib unibyte RRI uses bytes not chars
9379 Adjust the non-glibc code to agree with what Gawk needs for
9380 rational range interpretation (RRI) for regular expression ranges.
9381 In unibyte locales, Gawk wants ranges to use the underlying byte
9382 rather than the character code point. This change does not affect
9384 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
9385 In unibyte locales, use the byte value rather than
9386 running it through btowc.
9388 2018-08-10 Joseph Myers <joseph@codesourcery.com>
9390 * sysdeps/generic/math-tests-snan.h: New file.
9391 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
9392 (SNAN_TESTS_float): Do not define here.
9393 (SNAN_TESTS_double): Likewise.
9394 (SNAN_TESTS_long_double): Likewise.
9395 (SNAN_TESTS_float128): Likewise.
9396 * sysdeps/i386/fpu/math-tests-snan.h: New file.
9397 * sysdeps/i386/fpu/math-tests.h: Remove file.
9398 * sysdeps/ia64/math-tests-snan.h: New file.
9399 * sysdeps/ia64/math-tests.h: Remove file.
9400 * sysdeps/x86/math-tests.h: Likewise.
9401 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
9403 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9404 Szabolcs Nagy <szabolcs.nagy@arm.com>
9406 * math/Makefile: Add s_sincosf_data.c.
9407 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9408 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9409 (sincosf_poly): Likewise.
9410 (reduce_small): Likewise.
9411 (reduce_large): Likewise.
9412 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9413 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9414 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9415 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9417 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9418 Szabolcs Nagy <szabolcs.nagy@arm.com>
9420 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9421 (converttoint): Use lround.
9422 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9423 document the semantics when TOINT_INTRINSICS is set.
9424 (converttoint): Likewise.
9425 (TOINT_RINT): Remove.
9426 (TOINT_SHIFT): Remove.
9427 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9430 2018-08-10 Florian Weimer <fweimer@redhat.com>
9433 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9435 (__old_getdents64): Use getdents64. Convert entries without
9437 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9438 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9439 tst-readdir64-compat.
9441 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9443 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9446 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9448 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9449 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9450 code to s390x-mcount.h and #include it.
9451 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9452 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9455 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9457 * stdlib/Versions: Remove __fentry__.
9458 * sysdeps/i386/Versions: Add __fentry__.
9459 * sysdeps/x86_64/Versions: Add __fentry__.
9461 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9463 * sysdeps/s390/Makefile: Register the new tests.
9464 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9465 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9466 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9467 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9468 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9469 * sysdeps/s390/tst-dl-runtime.c: New file.
9471 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9473 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9476 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9478 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9481 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9483 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9486 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9488 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9491 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9493 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9494 Use symbolic offsets for stack variables.
9496 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9498 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9499 Use symbolic offsets for stack variables.
9501 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9503 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9504 Use symbolic offsets for stack variables.
9506 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9508 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9509 Use symbolic offsets for stack variables.
9511 2018-08-09 Joseph Myers <joseph@codesourcery.com>
9513 * math/gen-libm-test.py: New file.
9514 * math/gen-libm-test.pl: Remove.
9515 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
9516 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
9518 ($(libm-test-c-noauto-obj)): Likewise.
9519 ($(libm-test-c-auto-obj)): Likewise.
9520 ($(libm-test-c-narrow-obj)): Likewise.
9521 (regen-ulps): Likewise.
9522 * math/README.libm-test: Update references to gen-libm-test.pl.
9523 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
9524 referencing gen-libm-test.pl.
9525 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
9526 * math/libm-test-support.c: Likewise.
9527 * math/libm-test-support.h: Likewise.
9528 * sysdeps/generic/libm-test-ulps: Likewise.
9530 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9532 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
9535 2018-08-08 Joseph Myers <joseph@codesourcery.com>
9537 * math/libm-test-nextdown.inc (do_test): Move comment to ....
9538 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
9540 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9542 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
9544 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
9545 __pthread_setspecific): Add hidden proto.
9546 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
9547 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
9549 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9551 * benchtests/bench-string.h (buf1_size, buf2_size): New
9553 (init_sizes): New function.
9554 (test_init): Use it.
9555 (alloc_buf, exit_error): New functions.
9556 (alloc_bufs): Use ALLOC_BUF.
9557 (realloc_bufs): Remove.
9558 * benchtests/bench-memcmp.c (do_test): Adjust.
9559 * benchtests/bench-memset-large.c (do_test): Likewise.
9560 * benchtests/bench-memset-walk.c (do_test): Likewise.
9561 * benchtests/bench-memset.c (do_test): Likewise.
9562 * benchtests/bench-strncmp.c (do_test): Likewise.
9564 2018-08-06 Andreas Schwab <schwab@suse.de>
9566 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
9567 of CONST_THREAD_AREA.
9569 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
9571 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
9572 (STATE_SAVE_MASK): Likewise.
9573 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
9574 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
9575 (STATE_SAVE_MASK): Likewise.
9576 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
9577 instead of <cpu-features.h>.
9579 2018-08-03 DJ Delorie <dj@redhat.com>
9581 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
9582 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
9584 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
9586 2018-08-03 Joseph Myers <joseph@codesourcery.com>
9588 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
9590 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
9591 * math/libm-test-logb.inc (logb_test_data): Likewise.
9593 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
9595 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
9596 * string/strstr.c (AVAILABLE): Likewise.
9598 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9600 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
9602 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
9603 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
9604 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
9606 2018-08-03 Carlos O'Donell <carlos@redhat.com>
9608 * po/be.po: Update translation.
9610 * po/be.po: Update translation.
9612 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9614 * sysdeps/x86/cpu-features-offsets.sym
9615 (rtld_global_ro_offsetof): Removed.
9616 (CPU_FEATURES_SIZE): Likewise.
9617 (CPUID_OFFSET): Likewise.
9618 (CPUID_SIZE): Likewise.
9619 (CPUID_EAX_OFFSET): Likewise.
9620 (CPUID_EBX_OFFSET): Likewise.
9621 (CPUID_ECX_OFFSET): Likewise.
9622 (CPUID_EDX_OFFSET): Likewise.
9623 (FAMILY_OFFSET): Likewise.
9624 (MODEL_OFFSET): Likewise.
9625 (FEATURE_OFFSET): Likewise.
9626 (FEATURE_SIZ): Likewise.
9627 (COMMON_CPUID_INDEX_1): Likewise.
9628 (COMMON_CPUID_INDEX_7): Likewise.
9629 (FEATURE_INDEX_1): Likewise.
9630 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
9632 2018-08-02 Carlos O'Donell <carlos@redhat.com>
9634 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
9635 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
9636 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
9637 (install-locales): Depend on install-locale-archive.
9638 (install-locale-archive): Define.
9639 (install-locale-files): Define.
9640 (build-one-locale): Define macro.
9641 * manual/install.texi (Running make install): Document.
9642 * manual/INSTALL: Regenerate.
9644 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9646 * benchtests/scripts/compare_strings.py: Import traceback.
9647 (parse_file): Pretty-print error.
9649 * NEWS: Mention the change.
9650 * elf/dl-tunables.list: Rename tune namespace to cpu.
9651 * sysdeps/powerpc/dl-tunables.list: Likewise.
9652 * sysdeps/x86/dl-tunables.list: Likewise.
9653 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
9655 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
9656 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
9657 * manual/README.tunables: Likewise.
9658 * manual/tunables.texi: Likewise.
9659 * sysdeps/powerpc/cpu-features.c: Likewise.
9660 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
9661 (init_cpu_features): Likewise.
9662 * sysdeps/x86/cpu-features.c: Likewise.
9663 * sysdeps/x86/cpu-features.h: Likewise.
9664 * sysdeps/x86/cpu-tunables.c: Likewise.
9665 * sysdeps/x86_64/Makefile: Likewise.
9666 * sysdeps/x86/dl-cet.c: Likewise.
9668 2018-08-02 Joseph Myers <joseph@codesourcery.com>
9671 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
9672 [__mips_hard_float].
9673 (FE_UNDERFLOW): Likewise.
9674 (FE_OVERFLOW): Likewise.
9675 (FE_DIVBYZERO): Likewise.
9676 (FE_INVALID): Likewise.
9677 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
9678 (FE_TOWARDZERO): Define only if [__mips_hard_float].
9679 (FE_UPWARD): Likewise.
9680 (FE_DOWNWARD): Likewise.
9681 (__FE_UNDEFINED): Define if [!__mips_hard_float]
9682 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
9683 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
9684 [__mips_hard_float].
9685 (FP_ROUNDMODE): Likewise.
9686 (FP_RND_NEAREST): Likewise.
9687 (FP_RND_ZERO): Likewise.
9688 (FP_RND_PINF): Likewise.
9689 (FP_RND_MINF): Likewise.
9690 (FP_EX_INVALID): Likewise.
9691 (FP_EX_OVERFLOW): Likewise.
9692 (FP_EX_UNDERFLOW): Likewise.
9693 (FP_EX_DIVZERO): Likewise.
9694 (FP_EX_INEXACT): Likewise.
9695 (FP_INIT_ROUNDMODE): Likewise.
9696 * sysdeps/mips/nofpu/fesetenv.c: New file.
9697 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
9699 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9701 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
9702 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
9703 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
9704 conditional on [FE_UPWARD].
9706 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
9708 regex: fix memory leak in Gnulib
9709 Problem and fix reported by Assaf Gordon in:
9710 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
9711 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
9712 range_ends members too, as they are defined in 'struct
9713 re_charset_t' even if not _LIBC. This affects only Gnulib.
9715 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
9717 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
9719 (get_common_indices): This.
9720 (init_cpu_features): Updated.
9722 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9724 * sysdeps/generic/math-tests-snan-payload.h: New file.
9725 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
9726 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
9727 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
9728 * sysdeps/generic/math-tests.h: Include
9729 <math-tests-snan-payload.h>.
9730 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9731 * sysdeps/hppa/math-tests.h: Remove file.
9732 * sysdeps/mips/math-tests.h [!__mips_nan2008]
9733 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9734 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
9737 * sysdeps/generic/math-tests-snan-cast.h: New file.
9738 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
9739 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
9740 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
9741 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
9743 2018-08-01 Carlos O'Donel <carlos@redhat.com>
9745 * version.h (RELEASE): Set to "development".
9746 (VERSION): Set to "2.28.9000".
9747 * NEWS (2.29): New section.
9749 * version.h (RELEASE): Set to "stable".
9750 (VERSION): Set to "2.28".
9751 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
9752 * NEWS: Add the list of bugs fixed in 2.28.
9754 * po/ca.po: Update to latest version.
9755 * po/cs.po: Likewise
9756 * po/da.po: Likewise
9757 * po/el.po: Likewise
9758 * po/eo.po: Likewise
9759 * po/es.po: Likewise
9760 * po/fi.po: Likewise
9761 * po/fr.po: Likewise
9762 * po/gl.po: Likewise
9763 * po/hu.po: Likewise
9764 * po/ia.po: Likewise
9765 * po/id.po: Likewise
9766 * po/it.po: Likewise
9767 * po/ja.po: Likewise
9768 * po/ko.po: Likewise
9769 * po/lt.po: Likewise
9770 * po/nb.po: Likewise
9771 * po/nl.po: Likewise
9772 * po/pt_BR.po: Likewise
9773 * po/ru.po: Likewise
9774 * po/rw.po: Likewise
9775 * po/sk.po: Likewise
9776 * po/sl.po: Likewise
9777 * po/tr.po: Likewise
9778 * po/zh_CN.po: Likewise
9779 * po/zh_TW.po: Likewise
9781 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9783 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
9785 (init): ... before initializing libpthread.
9787 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
9788 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
9789 (__mach_setup_tls): ... new function.
9790 (mach_setup_tls): New alias.
9791 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
9792 __mach_setup_thread.
9793 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
9794 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
9795 * mach/Versions [libc] (mach_setup_tls): Add symbol.
9796 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
9798 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9800 * manual/install.texi: Update versions.
9801 * INSTALL: Regenerate.
9803 * manual/contrib.texi (Contributors): Update contributions.
9805 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9807 * po/be.po: Update translations.
9809 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9811 * sysdeps/sh/libm-test-ulps: Update.
9813 2018-07-30 Carlos O'Donell <carlos@redhat.com>
9815 * po/bg.po: Update translations.
9816 * po/de.po: Likewise.
9817 * po/hr.po: Likewise.
9818 * po/pt_BR.po: Likewise.
9819 * po/sv.po: Likewise.
9820 * po/vi.po: Likewise.
9822 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9825 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9826 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
9827 (CFLAGS-tst-cet-property-1.o): New.
9828 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
9829 ($(objpfx)tst-cet-property-2): Likewise.
9830 ($(objpfx)tst-cet-property-2.out): Likewise.
9831 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
9832 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
9833 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
9834 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
9835 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
9837 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9840 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
9842 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9844 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9845 __sbrk): Do not set attribute_hidden.
9846 * sysdeps/mach/hurd/not-errno.h: New file.
9847 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9848 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9850 2018-07-27 Carlos O'Donell <carlos@redhat.com>
9852 * po/uk.po: Update translations.
9853 * po/cs.po: Likewise.
9854 * po/pl.po: Likewise.
9856 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9858 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9859 parse beyond the note end.
9861 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9863 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9864 kernel does not support OFD locks.
9865 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9867 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9869 * sysdeps/mach/hurd/Versions (libc): Make __access and
9870 __access_noerrno external so they can override the ld symbols.
9871 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9872 __writev, __open64, __access_noerrno extern so they can be overrided.
9873 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9874 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9876 2018-07-26 Carlos O'Donell <carlos@redhat.com>
9878 * po/libc.pot: Regenerate.
9880 2018-07-26 Joseph Myers <joseph@codesourcery.com>
9882 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9884 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9887 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9889 (init_cpu_features): Call get_extended_indices for both Intel
9891 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9892 Remove "for AMD" comment.
9894 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9897 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9898 COMMON_CPUID_INDEX_80000001.
9900 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
9902 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9903 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9905 2018-07-26 Florian Weimer <fweimer@redhat.com>
9907 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9908 aliases for symbols not in the implementation namespace.
9910 2018-07-25 Carlos O'Donell <carlos@redhat.com>
9913 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9914 lowercase in LATIN script.
9915 * localedata/Makefile (test-input): Add en_US.UTF-8.
9916 * localedata/en_US.UTF-8.in: New file.
9917 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9918 and restore old tests.
9919 * posix/tst-regexloc.c (do_test): Add back range expression test.
9921 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9923 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9925 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9927 * nptl/threads.h: Move to ...
9928 * sysdeps/nptl/threads.h: ... here.
9929 * sysdeps/hurd/stdc-predef.h: New file.
9931 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9933 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9934 tst-cet-setcontext-1 if CET is enabled.
9935 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9936 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9938 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9940 * include/threads.h: Move to ...
9941 * sysdeps/nptl/threads.h: ... here.
9942 * sysdeps/htl/threads.h: New file.
9943 * conform/Makefile (linknamespace-libs-ISO11): Use
9944 static-thread-library instead of linking libpthread.
9945 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9947 2018-07-25 Florian Weimer <fweimer@redhat.com>
9949 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9950 nanoseconds into seconds.
9951 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9952 (do_test): Likewise.
9953 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9954 (do_test): Likewise. Avoid nanosecond overflow and spurious
9955 timeouts due to system load.
9956 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9957 (child_wait): Increment it.
9958 (do_test): Wait as long as necessary until all expected threads
9961 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9962 H.J. Lu <hongjiu.lu@intel.com>
9964 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9966 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9967 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9968 (__push___start_context): New.
9969 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9971 (__getcontext): Record the current shadow stack base. Save the
9972 caller's shadow stack pointer and base.
9973 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9974 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9975 (__push___start_context): New prototype.
9976 (__makecontext): Call __push___start_context to allocate a new
9977 shadow stack, push __start_context onto the new stack as well
9978 as the new shadow stack.
9979 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9981 (__setcontext): Restore the target shadow stack.
9982 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9984 (__swapcontext): Record the current shadow stack base. Save
9985 the caller's shadow stack pointer and base. Restore the target
9987 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9988 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9989 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9991 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9993 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9994 tst-setcontext8 and tst-setcontext9.
9995 * stdlib/tst-setcontext6.c: New file.
9996 * stdlib/tst-setcontext7.c: Likewise.
9997 * stdlib/tst-setcontext8.c: Likewise.
9998 * stdlib/tst-setcontext9.c: Likewise.
10000 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10002 * stdlib/Makefile ((tests): Add tst-setcontext5.
10003 * stdlib/tst-setcontext5.c: New file.
10005 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10007 * stdlib/Makefile (tests): Add tst-setcontext4.
10008 * stdlib/tst-setcontext4.c: New file.
10010 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10012 * stdlib/Makefile (tests): Add tst-swapcontext1.
10013 * stdlib/tst-swapcontext1.c: New test.
10015 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10017 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10018 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10019 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10020 and tst-cet-legacy-4c.
10021 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10022 and tst-cet-legacy-mod-4.
10023 (CFLAGS-tst-cet-legacy-2.c): New.
10024 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10025 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10026 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10027 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10028 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10029 ($(objpfx)tst-cet-legacy-1): Likewise.
10030 ($(objpfx)tst-cet-legacy-2): Likewise.
10031 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10032 ($(objpfx)tst-cet-legacy-2a): Likewise.
10033 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10034 ($(objpfx)tst-cet-legacy-4): Likewise.
10035 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10036 ($(objpfx)tst-cet-legacy-4a): Likewise.
10037 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10038 (tst-cet-legacy-4a-ENV): Likewise.
10039 ($(objpfx)tst-cet-legacy-4b): Likewise.
10040 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10041 (tst-cet-legacy-4b-ENV): Likewise.
10042 ($(objpfx)tst-cet-legacy-4c): Likewise.
10043 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10044 (tst-cet-legacy-4c-ENV): Likewise.
10045 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10046 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10047 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10048 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10049 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10050 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10051 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10052 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10053 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10054 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10055 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10057 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10059 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10060 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10062 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10063 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10066 2018-07-25 Andreas Schwab <schwab@suse.de>
10069 * locale/weightwc.h (findidx): Handle the case where usrc is a
10070 prefix of cp but one character too short.
10072 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10074 * NEWS: Add ISO C threads addition.
10076 2018-07-24 Florian Weimer <fweimer@redhat.com>
10078 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10079 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10080 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10083 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10085 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10086 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10087 <sys/prctl.h> and <asm/prctl.h>.
10088 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10089 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10091 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10092 ARCH_CET_LEGACY_BITMAP.
10093 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10094 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10095 * sysdeps/x86/libc-start.c: Include <startup.h>.
10097 2018-07-24 Florian Weimer <fweimer@redhat.com>
10099 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10100 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10102 2018-07-24 Rical Jasan <rj@2c3t.io>
10103 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10104 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10107 * manual/debug.texi: Update adjacent chapter name.
10108 * manual/probes.texi: Likewise.
10109 * manual/threads.texi (ISO C Threads): New section.
10110 (POSIX Threads): Convert to a section.
10112 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10113 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10116 * nptl/Makefile (tests): Add new test files.
10117 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10118 * nptl/tst-cnd-basic.c: Likewise.
10119 * nptl/tst-cnd-broadcast.c: Likewise.
10120 * nptl/tst-cnd-timedwait.c: Likewise.
10121 * nptl/tst-mtx-basic.c: Likewise.
10122 * nptl/tst-mtx-recursive.c: Likewise.
10123 * nptl/tst-mtx-timedlock.c: Likewise.
10124 * nptl/tst-mtx-trylock.c: Likewise.
10125 * nptl/tst-thrd-basic.c: Likewise.
10126 * nptl/tst-thrd-detach.c: Likewise.
10127 * nptl/tst-thrd-sleep.c: Likewise.
10128 * nptl/tst-tss-basic.c: Likewise.
10130 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10133 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10134 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10136 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10137 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10138 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10139 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10140 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10141 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10142 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10143 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10144 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10145 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10146 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10147 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10155 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10156 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10157 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10158 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10159 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10160 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10161 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10162 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10163 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10164 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10165 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10166 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10167 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10169 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10170 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10171 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10172 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10173 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10174 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10175 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10176 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10177 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10178 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10179 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10180 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10187 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10188 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10189 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10190 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10191 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10192 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10193 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10194 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10197 * conform/data/threads.h-data (thread_local): New macro.
10198 (TSS_DTOR_ITERATIONS): Likewise.
10200 (tss_dtor_t): Likewise.
10201 (tss_create): New function.
10202 (tss_get): Likewise.
10203 (tss_set): Likewise.
10204 (tss_delete): Likewise.
10205 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10206 tss_get, and tss_set objects.
10207 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10208 * nptl/tss_create.c: New file.
10209 * nptl/tss_delete.c: Likewise.
10210 * nptl/tss_get.c: Likewise.
10211 * nptl/tss_set.c: Likewise.
10212 * sysdeps/nptl/threads.h (thread_local): New define.
10213 (TSS_DTOR_ITERATIONS): Likewise.
10214 (tss_t): New typedef.
10215 (tss_dtor_t): Likewise.
10216 (tss_create): New prototype.
10217 (tss_get): Likewise.
10218 (tss_set): Likewise.
10219 (tss_delete): Likewise.
10222 * conform/data/threads.h-data (cnd_t): New type.
10223 (cnd_init): New function.
10224 (cnd_signal): Likewise.
10225 (cnd_broadcast): Likewise.
10226 (cnd_wait): Likewise.
10227 (cnd_timedwait): Likewise.
10228 (cnd_destroy): Likewise.
10229 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10230 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10232 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10233 * nptl/cnd_broadcast.c: New file.
10234 * nptl/cnd_destroy.c: Likewise.
10235 * nptl/cnd_init.c: Likewise.
10236 * nptl/cnd_signal.c: Likewise.
10237 * nptl/cnd_timedwait.c: Likewise.
10238 * nptl/cnd_wait.c: Likewise.
10239 * sysdeps/nptl/threads.h (cnd_t): New type.
10240 (cnd_init): New prototype.
10241 (cnd_signa): Likewise.
10242 (cnd_broadcast): Likewise.
10243 (cnd_wait): Likewise.
10244 (cnd_timedwait): Likewise.
10245 (cnd_destroy): Likewise.
10248 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10249 (once_flag): New type.
10250 (call_once): New function.
10251 * nptl/Makefile (libpthread-routines): Add call_once object.
10252 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10253 * nptl/call_once.c: New file.
10254 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10255 (once_flag): New type.
10256 (call_once): New prototype.
10259 * conform/data/threads.h-data (mtx_plain): New constant.
10260 (mtx_recursive): Likewise.
10261 (mtx_timed): Likewise.
10263 (mtx_init): New function.
10264 (mtx_lock): Likewise.
10265 (mtx_timedlock): Likewise.
10266 (mtx_trylock): Likewise.
10267 (mtx_unlock): Likewise.
10268 (mtx_destroy): Likewise.
10269 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10270 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10271 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10272 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10273 * nptl/mtx_destroy.c: New file.
10274 * nptl/mtx_init.c: Likewise.
10275 * nptl/mtx_lock.c: Likewise.
10276 * nptl/mtx_timedlock.c: Likewise.
10277 * nptl/mtx_trylock.c: Likewise.
10278 * nptl/mtx_unlock.c: Likewise.
10279 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10280 (mtx_recursive): Likewise.
10281 (mtx_timed): Likewise.
10283 (mtx_init): New prototype.
10284 (mtx_lock): Likewise.
10285 (mtx_timedlock): Likewise.
10286 (mtx_trylock): Likewise.
10287 (mtx_unlock): Likewise.
10288 (mtx_destroy): Likewise.
10291 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
10292 (linknamespace-libs-ISO11): Add libpthread.a.
10293 * conform/data/threads.h-data: New file: add C11 thrd_* types and
10295 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
10296 * nptl/Makefile (headers): Add threads.h.
10297 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
10298 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
10300 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
10301 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
10302 thrd_join, thrd_sleep, and thrd_yield symbols.
10303 * nptl/descr.h (struct pthread): Add c11 field.
10304 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
10305 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
10306 routine with expected function prototype.
10307 (__pthread_create_2_1): Add C11 threads check based on attribute
10309 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
10310 * nptl/thrd_create.c: New file.
10311 * nptl/thrd_current.c: Likewise.
10312 * nptl/thrd_detach.c: Likewise.
10313 * nptl/thrd_equal.c: Likewise.
10314 * nptl/thrd_exit.c: Likewise.
10315 * nptl/thrd_join.c: Likewise.
10316 * nptl/thrd_priv.h: Likewise.
10317 * nptl/thrd_sleep.c: Likewise.
10318 * nptl/thrd_yield.c: Likewise.
10319 * include/threads.h: Likewise.
10321 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10323 * bits/indirect-return.h: New file.
10324 * misc/sys/cdefs.h (__glibc_has_attribute): New.
10325 * sysdeps/x86/bits/indirect-return.h: Likewise.
10326 * stdlib/Makefile (headers): Add bits/indirect-return.h.
10327 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
10328 (swapcontext): Add __INDIRECT_RETURN.
10329 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
10330 (prepare_test_buffer): Use it.
10332 2018-07-24 Andreas Schwab <schwab@suse.de>
10335 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
10336 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
10338 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10340 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
10341 Redefine if shadow stack is enabled.
10342 (SYSCALL_ERROR_LABEL): Likewise.
10343 (__vfork): Pop shadow stack and jump back to to caller directly
10344 when shadow stack is in use.
10345 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
10346 Redefine if shadow stack is enabled.
10347 (SYSCALL_ERROR_LABEL): Likewise.
10348 (__vfork): Pop shadow stack and jump back to to caller directly
10349 when shadow stack is in use.
10351 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10353 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
10356 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
10359 2018-07-20 Joseph Myers <joseph@codesourcery.com>
10361 * scripts/build-many-glibcs.py (Context.checkout): Default
10362 binutils version to 2.31 branch.
10364 2018-07-20 Zong Li <zong@andestech.com>
10366 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
10367 URL of gcc's tarball.
10369 2018-07-20 Florian Weimer <fweimer@redhat.com>
10372 * posix/regcomp.c (build_equiv_class): When comparing weights, do
10373 not compare an extra byte after the end of the weights.
10375 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10377 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
10379 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
10381 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
10382 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
10383 * scripts/check-execstack.awk: Consider `xfail' variable containing a
10384 list of libraries whose stack executability is expected.
10385 * elf/Makefile ($(objpfx)check-execstack.out): Pass
10386 $(check-execstack-xfail) to check-execstack.awk through `xfail'
10388 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
10389 libc.so libpthread.so.
10391 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
10393 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
10395 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
10397 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
10399 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
10401 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10403 * benchtests/scripts/compare_bench.py (__main__): use the argparse
10404 library to improve command line parsing.
10405 (__main__): make schema file as optional parameter (--schema),
10406 defaulting to benchtests/scripts/benchout.schema.json.
10407 (main): move out of the parsing stuff to __main_ and leave it
10408 only as caller of main comparison functions.
10410 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10412 * NEWS: Add a note for Intel CET status.
10413 * manual/install.texi: Likewise.
10414 * INSTALL: Regenerated.
10416 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10419 * localedata/locales/oc_FR (mon): Rename to...
10420 (alt_mon): This, then update October (typo fix).
10421 (mon): New content (genitive case, month names preceded by
10425 * localedata/locales/oc_FR (abday): Update all items.
10426 (day): Update Wednesday and Saturday (typo fixes).
10427 (abmon): Update all items, except May.
10428 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10429 (LC_IDENTIFICATION): Bump the revision number and date.
10430 Keep the "category" entries in alphabetic order.
10431 (LC_ADDRESS): Remove no longer needed comment.
10432 (LC_COLLATE): Use “copy "ca_ES"”.
10433 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10436 2018-07-18 Joseph Myers <joseph@codesourcery.com>
10438 * grp/tst_fgetgrent.c: Include <unistd.h>.
10439 (main): Use mkstemp instead of tmpnam.
10440 * io/test-utime.c (main): Likewise.
10441 * posix/annexc.c (macrofile): Change to modifiable array.
10442 (main): Remove macrofile here.
10443 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10445 (check_header): Do not remove macrofile here.
10446 * posix/bug-getopt1.c: Include <stdlib.h>.
10447 (do_test): Use mkstemp instead of tmpnam.
10448 * posix/bug-getopt2.c: Include <stdlib.h>.
10449 (do_test): Use mkstemp instead of tmpnam.
10450 * posix/bug-getopt3.c: Include <stdlib.h>.
10451 (do_test): Use mkstemp instead of tmpnam.
10452 * posix/bug-getopt4.c: Include <stdlib.h>.
10453 (do_test): Use mkstemp instead of tmpnam.
10454 * posix/bug-getopt5.c: Include <stdlib.h>.
10455 (do_test): Use mkstemp instead of tmpnam.
10456 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10457 (main): Use mkstemp instead of tmpnam.
10458 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10459 (main): Use mkstemp instead of tmpnam.
10460 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10461 (main): use mkstemp instead of tmpnam.
10462 * stdlib/isomac.c (macrofile): Change to modifiable array.
10463 (main): Remove macrofile here.
10464 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10466 (check_header): Do not remove macrofile here.
10468 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10470 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10471 glibc.tune.x86_shstk.
10473 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10475 * NEWS: Mention --enable-cet.
10476 * manual/install.texi: Document --enable-cet.
10477 * INSTALL: Regenerated.
10479 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10481 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
10482 Add _CET_NOTRACK before indirect jump to jump table.
10484 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10486 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
10487 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10490 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10492 * sysdeps/i386/i686/multiarch/strcat-sse2.S
10493 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10496 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10498 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
10499 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10502 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10504 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
10505 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10508 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10510 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
10511 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10513 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
10515 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10517 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
10518 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10521 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10523 * sysdeps/i386/i686/multiarch/memset-sse2.S
10524 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10527 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10529 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
10530 indirect jump to jump table.
10532 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10534 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
10535 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10537 (MEMCPY): Likewise.
10539 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10541 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
10542 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10544 (MEMCPY): Likewise.
10546 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10548 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10549 _CET_NOTRACK before indirect jump to jump table.
10551 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10553 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
10554 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10557 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10559 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
10560 indirect jump to jump table.
10562 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
10565 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
10566 (LOCALES): Likewise.
10567 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
10568 * localedata/locales/sah_RU: New file.
10569 * localedata/sah_RU.UTF-8.in: New file.
10571 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10573 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
10575 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10576 _CET_ENDBR to indirect jump targets and adjust jump destination
10578 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
10580 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10581 _CET_ENDBR to indirect jump targets and adjust jump destination
10583 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
10585 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
10586 _CET_ENDBR to indirect jump targets and adjust jump destination
10589 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10591 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10594 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10596 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
10598 (_dl_tlsdesc_undefweak): Likewise.
10599 (_dl_tlsdesc_dynamic): Likewise.
10600 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
10601 (_dl_tlsdesc_resolve_rel): Likewise.
10602 (_dl_tlsdesc_resolve_rela): Likewise.
10603 (_dl_tlsdesc_resolve_hold): Likewise.
10604 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
10605 (_dl_tlsdesc_undefweak): Likewise.
10606 (_dl_tlsdesc_dynamic): Likewise.
10607 (_dl_tlsdesc_resolve_rela): Likewise.
10608 (_dl_tlsdesc_resolve_hold): Likewise.
10610 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10612 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
10614 * sysdeps/x86_64/crti.S (_init): Likewise.
10617 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
10620 * localedata/locales/os_RU (mon): Rename to...
10622 (mon): Import from CLDR (genitive case).
10624 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10626 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
10627 cet-tunables.h> when CET is enabled.
10629 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
10632 * configure.ac: Add --enable-cet.
10633 * configure: Regenerated.
10634 * elf/Makefille (all-built-dso): Add a comment.
10635 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
10636 Include <dl-prop.h>.
10637 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
10639 * elf/dl-open.c: Include <dl-prop.h>.
10640 (dl_open_worker): Call _dl_open_check.
10641 * elf/rtld.c: Include <dl-prop.h>.
10642 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
10644 * sysdeps/generic/dl-prop.h: New file.
10645 * sysdeps/i386/dl-cet.c: Likewise.
10646 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
10647 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
10648 * sysdeps/x86/cet-tunables.h: Likewise.
10649 * sysdeps/x86/check-cet.awk: Likewise.
10650 * sysdeps/x86/configure: Likewise.
10651 * sysdeps/x86/configure.ac: Likewise.
10652 * sysdeps/x86/dl-cet.c: Likewise.
10653 * sysdeps/x86/dl-procruntime.c: Likewise.
10654 * sysdeps/x86/dl-prop.h: Likewise.
10655 * sysdeps/x86/libc-start.h: Likewise.
10656 * sysdeps/x86/link_map.h: Likewise.
10657 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
10659 (_dl_runtime_profile): Likewise.
10660 (_dl_runtime_resolve_shstk): New.
10661 (_dl_runtime_profile_shstk): Likewise.
10662 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
10664 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
10665 (CFLAGS-.os): Likewise.
10666 (CFLAGS-.op): Likewise.
10667 (CFLAGS-.oS): Likewise.
10668 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
10670 (tests-special): Add $(objpfx)check-cet.out.
10671 (cet-built-dso): New.
10672 (+$(cet-built-dso:=.note)): Likewise.
10673 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
10674 ($(objpfx)check-cet.out): New.
10675 (generated): Add check-cet.out.
10676 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
10678 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
10679 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10680 (init_cpu_features): Call get_cet_status to check CET status
10681 and update dl_x86_feature_1 with CET status. Call
10682 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
10683 (set_x86_shstk). Disable and lock CET in libc.a.
10684 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
10685 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
10686 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10687 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
10688 (_CET_ENDBR): Define if not defined.
10689 (ENTRY): Add _CET_ENDBR.
10690 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
10692 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
10694 (_dl_runtime_profile): Likewise.
10696 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
10699 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
10700 restore r2 on longjmp.
10701 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
10703 Added rules to build test tst-setjmp-bug21895-static.
10704 Added module setjmp-bug21895 and rules to build a shared object from it.
10705 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
10706 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
10708 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
10710 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
10711 * benchtests/bench-strstr.c: Likewise.
10712 * string/memmem.c (FASTSEARCH): Define.
10713 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
10714 Add support for FASTSEARCH.
10715 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
10716 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
10717 (FASTSEARCH): Define.
10718 * string/test-strcasestr.c: Rename __strnlen to strnlen.
10719 * string/test-strstr.c: Likewise.
10721 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
10723 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
10724 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
10726 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
10727 H.J. Lu <hongjiu.lu@intel.com>
10729 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
10730 (__longjmp): Restore shadow stack pointer if shadow stack is
10731 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10732 isn't defined for __longjmp_cancel.
10733 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
10734 (_setjmp): Save shadow stack pointer if shadow stack is enabled
10735 and SHADOW_STACK_POINTER_OFFSET is defined.
10736 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
10737 (setjmp): Save shadow stack pointer if shadow stack is enabled
10738 and SHADOW_STACK_POINTER_OFFSET is defined.
10739 * sysdeps/i386/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.
10742 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
10744 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10745 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10746 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
10747 Remove jmp_buf-ssp.sym.
10748 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10750 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10751 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10752 * sysdeps/x86/Makefile (gen-as-const-headers): Add
10754 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
10755 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
10756 (__longjmp): Restore shadow stack pointer if shadow stack is
10757 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10758 isn't defined for __longjmp_cancel.
10759 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
10760 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10761 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10763 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
10766 * nptl/pthread_create.c: Include <tls-setup.h>.
10767 (__pthread_create_2_1): Call tls_setup_tcbhead.
10768 * sysdeps/generic/tls-setup.h: New file.
10769 * sysdeps/x86/nptl/tls-setup.h: Likewise.
10770 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
10771 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
10773 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
10775 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10776 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
10777 (X86_FEATURE_1_SHSTK): Likewise.
10778 (CET_ENABLED): Likewise.
10779 (IBT_ENABLED): Likewise.
10780 (SHSTK_ENABLED): Likewise.
10782 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
10785 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
10786 (LOCALES): Likewise.
10787 * localedata/dsb_DE.UTF-8.in: New file.
10788 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
10790 2018-07-12 Florian Weimer <fweimer@redhat.com>
10792 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
10793 __mprotect, not mprotect.
10795 2018-07-11 Florian Weimer <fweimer@redhat.com>
10797 * io/Makefile (headers): Add bits/statx.h.
10799 2018-07-10 Mike FABIAN <mfabian@redhat.com>
10801 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
10802 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
10804 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
10805 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
10808 2018-07-10 Florian Weimer <fweimer@redhat.com>
10810 * io/Makefile (routines): Add statx.
10811 (tests-internal): Add tst-statx.
10812 * io/Versions (GLIBC_2.28): Export statx.
10813 * io/bits/statx.h: New file.
10814 * io/sys/stat.h [__USE_GNU]: Include it.
10815 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
10816 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
10818 * io/statx.c: New file.
10819 * io/statx_generic.: Likewise.
10820 * io/tst-statx.: Likewise.
10821 * include/bits/statx.h: Likewise.
10822 * sysdeps/unix/sysv/linux/kernel-features.h
10823 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
10824 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10825 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
10826 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
10828 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10829 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
10830 * sysdeps/unix/sysv/linux/statx.c: New file.
10831 * manual/filesys.texi: Note that statx is undocumented.
10832 * sysdeps/**/libc*.abilist: Update.
10834 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10836 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
10837 a kernel issue which lead to test failure in some cases.
10839 2018-07-10 Florian Weimer <fweimer@redhat.com>
10842 * posix/regexec.c (check_node_accept_bytes): When comparing
10843 weights, do not compare an extra byte after the end of the
10846 2018-07-10 Florian Weimer <fweimer@redhat.com>
10848 * libio/readline.c: Fix copyright year.
10849 * libio/tst-readline.c Likewise.
10850 * nss/tst-nss-files-hosts-getent.c: Likewise.
10852 2018-07-06 Florian Weimer <fweimer@redhat.com>
10855 * nss/nss_files/files-XXX.c (internal_getent): Use
10856 __libc_readline_unlocked. Seek back to the start of the line if
10857 parsing failes with ERANGE.
10858 (get_contents_ret, get_contents): Remove.
10859 * nss/tst-nss-files-hosts-getent.c: New file.
10860 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10861 (tst-nss-files-hosts-getent): Link with -ldl.
10863 2018-07-06 Florian Weimer <fweimer@redhat.com>
10865 * include/stdio.h (__libc_readline_unlocked): Declare.
10866 (__ftello64, __fseeko64): Declare aliases.
10867 * libio/readline.c: New file.
10868 * libio/tst-readline.c: Likewise.
10869 (routines): Add readline.
10870 (tests-internal): Add tst-readlime.
10871 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10872 __libc_readline_unlocked.
10873 * libio/fseeko.c (__fseeko): Rename from fseeko.
10874 (fseeko): Add alias.
10875 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10876 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10877 (fseeko64): Add alias.
10878 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10879 * libio/ftello64.c (__ftello64): Rename from ftello64.
10880 (ftello64): Add alias.
10882 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10884 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10887 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10889 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10890 Use dl_hwcap without masking.
10891 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10892 Remove HWCAP_CPUID.
10894 2018-07-06 Florian Weimer <fweimer@redhat.com>
10896 * conform/conformtest.pl (checknamespace): Escape literal braces
10897 in regular expressions.
10899 2018-07-06 Amit Pawar <amit.pawar@amd.com>
10901 * sysdeps/x86/cpu-features.c (get_common_indeces):
10902 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10903 * sysdeps/x86/cpu-features.c (init_cpu_features):
10904 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10906 2018-07-05 Florian Weimer <fweimer@redhat.com>
10908 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10910 (CFLAGS-elf-init.oS): Likewise.
10912 2018-07-05 Florian Weimer <fweimer@redhat.com>
10913 Carlos O'Donell <carlos@redhat.com>
10915 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10916 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10917 with stack protector enabled because there is no risk of infinite
10920 2018-07-05 Maciej W. Rozycki <macro@mips.com>
10924 * libc-abis (ABSOLUTE): New ABI.
10925 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10926 * NEWS: Mention the new ABI.
10928 2018-07-05 Florian Weimer <fweimer@redhat.com>
10931 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10932 (RENAME_WHITEOUT): Define.
10933 [__USE_GNU] (renameat2): Declare.
10934 * stdio-common/Makefile (routines): Add renameat2.
10935 (tests): Add tst-renameat2.
10936 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10937 * stdio-common/renameat2.c: New file.
10938 * stdio-common/tst-renameat2.c: Likewise.
10939 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10940 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10942 * sysdeps/unix/sysv/linux/kernel-features.h
10943 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10944 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10945 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10946 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10947 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10948 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10949 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10950 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10951 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10952 * include/stdio.h (__renameat): Add alias for renameat.
10953 * stdio-common/renameat.c (__renameat): Rename from renameat.
10954 Add hidden definition and alias.
10955 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10956 * sysdeps/mach/hurd/renameat.c: Likewise.
10957 * sysdeps/**/libc*.abilist: Add renameat2.
10959 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10961 * posix/bug-regex33.c: Fix build after regex sync.
10963 2018-07-04 Carlos O'Donell <carlos@redhat.com>
10966 * localedata/tst-langinfo-setlocale.c: New file.
10967 * localedata/tst-langinfo-setlocale-static.c: New file.
10968 * localedata/tst-langinfo-newlocale.c: New file.
10969 * localedata/tst-langinfo-newlocale-static.c: New file.
10970 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10971 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10972 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10973 (tests-static): Remove tst-langinfo-static. Add
10974 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10975 (tests-special): Remove $(objpfx)tst-langinfo.out,
10976 $(objpfx)tst-langinfo-static.out. Add
10977 $(objpfx)tst-langinfo-setlocale.out,
10978 $(objpfx)tst-langinfo-newlocale.out,
10979 $(objpfx)tst-langinfo-setlocale-static.out,
10980 $(objpfx)tst-langinfo-newlocale-static.out.
10981 ($(objpfx)tst-langinfo.out): Remove.
10982 ($(objpfx)tst-langinfo-static.out): Remove.
10983 ($(objpfx)tst-langinfo-newlocale.out): New target.
10984 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10985 (test-xfail-tst-langinfo-newlocale-static): Add.
10986 ($(objpfx)tst-langinfo-setlocale.out): New target.
10987 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10988 * localedata/tst-langinfo.c: Call test_locale.
10989 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10992 2018-07-04 Florian Weimer <fweimer@redhat.com>
10994 testrun.sh: Implement --tool=strace, --tool=valgrind
10995 * Makefile (testrun-script): Define variable.
10996 (testrun.sh): Use variable.
10997 * manual/install.texi (Tools for Compilation): make 4.0 or later
10999 * configure.ac: Check for make 4.0 or later.
11000 * INSTALL: Regenerate.
11001 * configure: Likewise.
11003 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11009 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11010 * posix/PCRE.tests: Remove invalid test.
11011 * posix/bug-regex28.c: Fix expected values for used syntax.
11012 * posix/bug-regex37.c: New file.
11013 * posix/bug-regex38.c: Likewise.
11014 * posix/regcomp.c: Sync with gnulib.
11015 * posix/regex.c: Likewise.
11016 * posix/regex.h: Likewise.
11017 * posix/regex_internal.c: Likewise.
11018 * posix/regex_internal.h: Likewise.
11019 * posix/regexec.c: Likewise.
11021 2018-06-26 Mike FABIAN <mfabian@redhat.com>
11024 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11025 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11026 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11027 * localedata/unicode-gen/PropList.txt: likewise.
11028 * localedata/unicode-gen/UnicodeData.txt: likewise.
11029 * localedata/charmaps/UTF-8: Regenerate.
11030 * localedata/locales/i18n_ctype: likewise.
11031 * localedata/locales/tr_TR: likewise.
11032 * localedata/locales/translit_circle: likewise.
11033 * localedata/locales/translit_cjk_compat: likewise.
11034 * localedata/locales/translit_combining: likewise.
11035 * localedata/locales/translit_compat: likewise.
11036 * localedata/locales/translit_font: likewise.
11037 * localedata/locales/translit_fraction: likewise.
11039 2018-07-03 Florian Weimer <fweimer@redhat.com>
11042 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11043 * stdio-common/tst-printf.sh: Adjust expected output.
11044 * LICENSES: Update.
11046 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11048 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11051 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11053 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11054 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11055 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11056 * stdio-common/tst-printfsz-islongdouble.c: New file.
11057 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11058 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11059 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11060 [subdir == stdio-common] (tests-internal): Add
11061 test-printf-size-ieee128, and test-printf-size-ibm128.
11062 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11063 (CFLAGS-test-printf-size-ibm128.c): New variables.
11064 [subdir == stdio-common] (tests-special): Add
11065 $(objpfx)test-printf-size-ieee128.out and
11066 $(objpfx)test-printf-size-ibm128.out.
11067 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11068 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11069 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11070 __printf_sizeieee128.
11071 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11073 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11075 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11078 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11080 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11081 (exp2f_inline): Likewise.
11082 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11083 (__math_uflowf): Likewise.
11084 (__math_may_uflowf): Likewise.
11085 (__math_divzerof): Likewise.
11086 (__math_invalidf): Likewise.
11087 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11088 (__math_oflowf): Likewise.
11089 (__math_uflowf): Likewise.
11090 (__math_may_uflowf): Likewise.
11091 (__math_divzerof): Likewise.
11092 (__math_invalidf): Likewise.
11094 2018-06-29 DJ Delorie <dj@redhat.com>
11095 Carlos O'Donell <carlos@redhat.com>
11098 * include/libc-symbols.h: Comment the freeres framework.
11099 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11100 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11101 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11102 * dlfcn/dlerror.c: Include libc-symbols.h
11103 (__dlerror_main_freeres): New function.
11104 * dlfcn/dlfreeres.c: New file.
11105 * dlfcn/sdlfreeres.c: New file.
11106 * include/dlfcn.h: Declare __dlerror_main_freeres.
11107 * malloc/set-freeres.c: Declare __libdl_freeres, and
11108 __libpthread_freeres.
11109 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11110 the releavant libraries are loaded.
11111 * malloc/thread-freeres.c: Add comments.
11112 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11113 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11114 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11115 (__free_stacks): Rename to...
11116 (free_stacks): ...this. Mark static.
11117 (queue_stack): Call free_stacks.
11118 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11119 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11120 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11121 ptr_freeres element from struct.
11122 (pthread_functions): Remove .ptr_freeres from struct initializer.
11123 [SHARED] (nptl_freeres): Remove.
11124 * nptl/nptlfreeres.c: New file.
11126 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11127 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11129 (__free_stacks): Rename to...
11130 (__nptl_stacks_freeres): ...this.
11131 (__shm_directory_freeres): Declare.
11132 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11133 (__nptl_unwind_freeres): ...this.
11134 * resolv/res-close.c: Add comment.
11135 * resolv/resolv_conf.c: Include libc-symbols.h.
11136 * string/strerror_l.c: Include libc-symbols.h.
11137 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11138 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11139 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11140 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11142 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11144 * stdlib/tst-strfmon_l.c: Add tests for long double.
11146 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
11149 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11150 * localedata/locales/dsb_DE: New file.
11152 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11155 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11157 (alt_mon): New entry, import from CLDR (nominative case).
11159 2018-06-29 Sylvain Lesage <severo@rednegra.net>
11162 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11164 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11166 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11167 Use vector registers.
11169 * sysdeps/aarch64/multiarch/memmove_falkor.S
11170 (__memcpy_falkor): Use vector registers.
11172 2018-06-29 Martin Sebor <msebor@redhat.com>
11174 * manual/stdio.texi (Customizing Printf): Mention interaction
11175 with GCC built-ins.
11177 2018-06-29 Maciej W. Rozycki <macro@mips.com>
11180 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11181 `st_value' is 0 if `st_shndx' is SHN_ABS.
11182 * elf/tst-absolute-zero.c: New file.
11183 * elf/tst-absolute-zero-lib.c: New file.
11184 * elf/tst-absolute-zero-lib.lds: New file.
11185 * elf/Makefile (tests): Add `tst-absolute-zero'.
11186 (modules-names): Add `tst-absolute-zero-lib'.
11187 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11188 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11189 ($(objpfx)tst-absolute-zero: New dependency.
11191 2018-06-29 Zack Weinberg <zackw@panix.com>
11193 * configure.ac: New command-line option --disable-crypt.
11194 Force --disable-nss-crypt when --disable-crypt is given, with a
11195 warning if it was explicitly enabled.
11196 * configure: Regenerate.
11197 * config.make.in: New boolean substitution variable $(build-crypt).
11198 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11199 when $(build-crypt).
11200 * manual/install.texi: Document --disable-crypt.
11201 * INSTALL: Regenerate.
11203 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11204 which is never set.
11205 * conform/Makefile: Only include libcrypt.a in
11206 linknamespace-libs-xsi and linknamespace-libs-XPG4
11207 when $(build-crypt).
11208 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11209 USE_CRYPT to 1 when $(build-crypt).
11210 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11211 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11212 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11214 2018-06-29 Zack Weinberg <zackw@panix.com>
11216 * crypt/crypt.h, posix/unistd.h: Update comments and
11217 prototypes for crypt and crypt_r.
11219 * manual/crypt.texi (Cryptographic Functions): New initial
11221 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11222 (Unpredictable Bytes): Improve initial exposition. Clarify error
11223 behavior of getentropy and getrandom.
11224 * manual/examples/genpass.c: Generate a salt using getentropy
11225 instead of the current time. Use hash $5$ (SHA-2-256).
11226 * manual/examples/testpass.c: Demonstrate validation against
11227 hashes generated with three different one-way functions.
11229 * manual/intro.texi: crypt.texi does not need an overview
11232 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11233 * manual/terminal.texi: Consistently refer to "passphrases"
11234 * instead of "passwords", and to the "user database" instead
11235 * of the "password database".
11236 * manual/users.texi: Similarly. Add notes about how actual
11237 passphrase hashes are now stored in the shadow database.
11238 Remove 20-year-old junk todo note.
11240 2018-06-29 Zack Weinberg <zackw@panix.com>
11242 * manual/crypt.texi: Use a normal top-level @node declaration.
11243 Move most of the introductory text to the 'crypt' section.
11244 Move the example programs below the @deftypefun for 'crypt_r'.
11245 Move the 'getpass' section...
11246 * manual/terminal.texi: ...here.
11248 2018-06-29 Zack Weinberg <zackw@panix.com>
11249 Florian Weimer <fweimer@redhat.com>
11251 * posix/unistd.h: Do not declare encrypt.
11252 (_XOPEN_CRYPT): Remove macro definition.
11253 (crypt): Declare only for _USE_MISC.
11254 * stdlib/stdlib.h: Do not declare setkey.
11255 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11256 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11258 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11259 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11260 into compat symbols. Don't define initial_perm if it's not
11262 * crypt/cert.c: Link explicitly with the expected versions for
11263 setkey and encrypt. If they are not available at all, mark
11264 the test as unsupported.
11266 * sunrpc/des_crypt.c: Unconditionally block linkage with
11267 cbc_crypt and ecb_crypt for new binaries.
11268 * sunrpc/des_soft.c: Unconditionally block linkage with
11269 des_setparity for new binaries.
11271 * manual/crypt.texi: Remove the entire "DES Encryption"
11272 section. Also remove the paragraph talking about FIPS 140-2
11273 from the introduction.
11274 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11275 of libgcrypt for "real" encryption, not DES.
11276 * manual/conf.texi (Constants for Sysconf): Mention that
11277 _XOPEN_CRYPT is no longer impelemented.
11279 * conform/data/unistd.h-data: Remove crypt function declaration.
11281 2018-06-29 Florian Weimer <fweimer@redhat.com>
11284 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11285 (disallow_malloc_check): Remove variable.
11286 (__malloc_check_init): Adjust.
11287 (malloc_set_state): Update comment.
11288 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
11291 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11294 * localedata/locales/ast_ES (mon): Rename to...
11296 (mon): Import from CLDR (genitive case).
11298 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
11299 Jakub Sitnicki <jkbs@redhat.com>
11302 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
11303 on NLM_F_DUMP_INTR.
11305 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11307 * manual/llio.texi: Remove spurious space.
11309 2018-06-28 Florian Weimer <fweimer@redhat.com>
11312 * time/bits/types/struct_timespec.h: Change header inclusion guard to
11315 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11317 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
11318 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
11319 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
11320 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
11321 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
11322 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
11323 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
11325 2018-06-27 Maciej W. Rozycki <macro@mips.com>
11328 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
11329 Copy and null-terminate entries that are not terminated, in
11330 addition to empty ones.
11332 2018-06-27 Florian Weimer <fweimer@redhat.com>
11335 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
11336 (extend_alloca_account): Remove.
11337 * manual/stdio.texi (Variable Arguments Output): Update comment.
11339 2018-06-27 Joseph Myers <joseph@codesourcery.com>
11341 * nptl/sockperf.c: Remove file.
11343 2018-06-27 Florian Weimer <fweimer@redhat.com>
11346 * elf/dl-deps.c (_dl_map_object_deps): Use struct
11347 scratch_buffer instead of extend_alloca.
11349 2018-06-27 Florian Weimer <fweimer@redhat.com>
11352 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
11353 scratch_buffer instead of extend_alloca. Update comments.
11355 2018-06-27 Florian Weimer <fweimer@redhat.com>
11358 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
11359 instead of extend_alloca.
11361 2018-06-26 Joseph Myers <joseph@codesourcery.com>
11364 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
11365 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
11367 * scripts/test-installation.pl: Put temporary files in build
11368 directory, not /tmp.
11369 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
11370 (CFLAGS-bug4.c): Likewise.
11371 (CFLAGS-bug5.c): Likewise.
11372 (CFLAGS-test-fseek.c): Likewise.
11373 (CFLAGS-test-popen.c): Likewise.
11374 (CFLAGS-test_rdwr.c): Likewise.
11375 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
11377 * stdio-common/bug4.c (main): Likewise.
11378 * stdio-common/bug5.c (main): Likewise.
11379 * stdio-common/test-fseek.c (TESTFILE): Likewise.
11380 * stdio-common/test-popen.c (do_test): Likewise.
11381 * stdio-common/test_rdwr.c (main): Likewise.
11383 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
11385 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
11386 (sem_open): Set sem.newsem.pad to zero for valgrind.
11388 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11391 * NEWS: Mention fcntl64 addition.
11392 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
11393 * login/utmp_file.c: Likewise.
11394 * sysdeps/posix/fdopendir.c: Likewise.
11395 * sysdeps/posix/opendir.c: Likewise.
11396 * sysdeps/unix/pt-fcntl.c: Likewise.
11397 * include/fcntl.h (__libc_fcntl64, __fcntl64,
11398 __fcntl64_nocancel_adjusted): New prototype.
11399 (__fcntl_nocancel_adjusted): Remove prototype.
11400 * io/Makefile (routines): Add fcntl64.
11401 (CFLAGS-fcntl64.c): New rule.
11402 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
11403 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
11404 * io/fcntl.h (fcntl64): Add prototype and redirect if
11405 __USE_FILE_OFFSET64 is defined.
11406 * io/fcntl64.c: New file.
11407 * manual/llio.text: Add a note for which commands fcntl acts a
11408 cancellation point.
11409 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11410 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11411 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11413 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11414 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11416 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11417 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11418 to __fcntl64_nocancel.
11419 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11420 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11421 to __fcntl64_nocancel.
11422 * sysdeps/generic/not-cancel.h: Likewise.
11423 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11424 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11425 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11426 (fcntl64): New symbol.
11427 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11428 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11429 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11432 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11433 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11434 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11435 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11436 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11437 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11438 fcntl64): Likewise.
11439 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11440 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11441 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11442 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11443 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11444 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11445 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11446 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11447 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11452 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11453 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11454 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11456 2018-06-26 Florian Weimer <fweimer@redhat.com>
11458 Run thread shutdown functions in an explicit order.
11459 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11461 (__libc_thread_freeres): Call thread shutdown functions
11463 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11464 * include/string.h (__strerror_thread_freeres): Declare.
11465 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11466 arena_thread_freeres. No longer static. Remove thread shutdown
11468 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11470 * resolv/res-close.c (__res_thread_freeres): Renamed from
11471 res_thread_freeres. No longer static. Remove thread shutdown
11473 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11474 * resolv/resolv_conf.c (freeres): Remove incorrect section
11475 attribute and use libc_freeres_fn.
11476 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11477 strerror_thread_freeres. No longer static. Remove thread
11478 shutdown hook registration.
11479 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11480 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
11481 shutdown hook registration.
11482 * Makerules (shlib.lds): Do not provide section boundary symbols
11483 for __libc_thread_subfreeres.
11484 * manual/memory.texi (Basic Allocation): Update comment.
11486 2018-06-26 Florian Weimer <fweimer@redhat.com>
11488 Remove always-defined _RPC_THREAD_SAFE_ macro.
11489 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
11490 Do not define _RPC_THREAD_SAFE_.
11491 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
11493 * sunrpc/clnt_perr.c: Likewise.
11494 * sunrpc/clnt_raw.c: Likewise.
11495 * sunrpc/clnt_simp.c: Likewise.
11496 * sunrpc/key_call.c: Likewise.
11497 * sunrpc/rpc_common.c: Likewise.
11498 * sunrpc/rpc_main.c: Likewise.
11499 * sunrpc/rpc_thread.c: Likewise.
11500 * sunrpc/svc.c: Likewise.
11501 * sunrpc/svc_raw.c: Likewise.
11502 * sunrpc/svc_simple.c: Likewise.
11503 * sumrpc/svcauth_des.c: Likewise.
11505 2018-06-26 Florian Weimer <fweimer@redhat.com>
11507 * libio/Makefile (tests-internal): Add tst-vtables,
11508 tst-vtables-interposed.
11509 * libio/tst-vtables.c: New file.
11510 * libio/tst-vtables-common.c: Likewise.
11511 * libio/tst-vtables-interposed.c: Likewise.
11513 2018-06-26 Florian Weimer <fweimer@redhat.com>
11515 * support/support_test_main.c (support_test_main): Only call
11516 setvbuf if not disables.
11517 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
11518 * support/test-driver.h (struct test_config): Add no_setvbuf member.
11520 2018-06-26 Florian Weimer <fweimer@redhat.com>
11523 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
11525 2018-06-25 Florian Weimer <fweimer@redhat.com>
11528 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11529 Use struct scratch_buffer instead of extend_alloca.
11531 2018-06-25 Florian Weimer <fweimer@redhat.com>
11534 * nss/getent.c (initgroups_keys): Use dynarray instead of
11537 2018-06-25 Florian Weimer <fweimer@redhat.com>
11540 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
11541 Use struct scratch_buffer instead of extend_alloca.
11543 2018-06-25 Florian Weimer <fweimer@redhat.com>
11546 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
11547 back to malloc directly, without stack allocations.
11549 2018-06-25 Florian Weimer <fweimer@redhat.com>
11552 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
11555 2018-06-25 Florian Weimer <fweimer@redhat.com>
11558 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
11560 * nscd/hstcache.c (addhstbyX): Likewise.
11561 * nscd/pwdcache.c (addpwbyX): Likewise.
11562 * nscd/servicescache.c (addservbyX): Likewise.
11564 2018-06-25 Florian Weimer <fweimer@redhat.com>
11567 * nscd/connections.c (read_cmdline): New function.
11568 (restart): Use it. Update comment.
11570 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11573 * localedata/locales/csb_PL (mon): Rename to...
11575 (abmon): Rename to...
11576 (ab_alt_mon): This.
11577 (mon): Add with proper genitive forms, copy from Wikipedia.
11580 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11583 * localedata/locales/csb_PL (mon): Fix typos:
11584 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
11585 (yesstr): Add, value is "jo".
11586 (nostr): Add, value is "nié".
11588 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11590 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
11591 all log1p and significand functions on m680x0.
11592 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
11593 of s_significand.c..
11594 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11595 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
11596 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
11597 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
11598 s_log1p.c and include it..
11600 2018-06-21 Vincent Chen <vincentc@andestech.com>
11602 * elf/elf.h (R_NDS32_NONE): New define.
11603 (R_NDS32_32_RELA): Likewise.
11604 (R_NDS32_COPY): Likewise.
11605 (R_NDS32_GLOB_DAT): Likewise.
11606 (R_NDS32_JUMP_SLOT): Likewise.
11607 (R_NDS32_RELATIVE): Likewise.
11608 (R_NDS32_TLS_TPOFF): Likewise.
11609 (R_NDS32_TLS_DESC): Likewise.
11611 2018-06-21 Mark Wielaard <mark@klomp.org>
11613 * elf/elf.h (R_BPF_MAP_FD): Removed.
11614 (R_BPF_64_64, R_BPF_64_32): New.
11616 2018-06-21 Florian Weimer <fweimer@redhat.com>
11619 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
11620 Renamed from libc_feholdsetround_ctx.
11621 (default_libc_feresetround_ctx): Renamed from
11622 libc_feresetround_ctx.
11623 (default_libc_feholdsetround_noex_ctx): Renamed from
11624 libc_feholdsetround_noex_ctx.
11625 (default_libc_feresetround_noex_ctx): Renamed from
11626 libc_feresetround_noex_ctx.
11627 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
11628 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
11629 forwardning to the old implementations under the new names.
11630 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
11631 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
11632 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
11633 (libc_feresetround_ctx): Forward to default implements for i386
11634 and MATH_SET_BOTH_ROUNDING_MODES.
11635 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
11636 Add -DMATH_SET_BOTH_ROUNDING_MODES.
11638 2018-06-20 Joseph Myers <joseph@codesourcery.com>
11640 * string/tst-cmp.c: Include <libc-diag.h>.
11641 (strncmp_max): Disable -Wstringop-overflow= around call to
11643 (strncasecmp_max): Disable -Wstringop-overflow= around call to
11646 * string/bug-strpbrk1.c: Include <libc-diag.h>.
11647 (main): Disable -Wunused-value around call to strpbrk.
11648 * string/bug-strspn1.c: Include <libc-diag.h>.
11649 (main): Disable -Wunused-value around call to strspn.
11651 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11652 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11654 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
11655 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
11657 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11659 * math/Makefile (libm-calls): Move s_significandF to...
11660 (gen-libm-calls): ... here.
11661 * math/s_significand_template.c: New file.
11662 * math/s_significand.c: Removed.
11663 * math/s_significandf.c: Removed.
11664 * math/s_significandl.c: Removed.
11665 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
11666 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
11668 * math/e_exp2_template.c (declare_mgen_finite_alias,
11669 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
11670 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
11671 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
11673 2018-06-20 Florian Weimer <fweimer@redhat.com>
11675 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
11677 2018-06-19 Joseph Myers <joseph@codesourcery.com>
11680 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
11681 floating-point number to strtod functions rather than possibly
11682 negating result of those functions.
11683 * stdio-common/tst-scanf-round.c: New file.
11684 * stdio-common/Makefile (tests): Add tst-scanf-round.
11685 ($(objpfx)tst-scanf-round): Depend on $(libm).
11687 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11689 * sysdeps/mach/hurd/localplt.data: Move to...
11690 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
11691 R_386_GLOB_DAT like on Linux i386.
11693 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11695 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
11696 (SHM_STAT_ANY): New macro.
11697 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
11698 (SHM_STAT_ANY): Likewise.
11699 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
11700 (SHM_STAT_ANY): Likewise.
11701 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
11702 (SHM_STAT_ANY): Likewise.
11703 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
11704 (SHM_STAT_ANY): Likewise.
11705 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
11706 (SHM_STAT_ANY): Likewise.
11707 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
11708 (SHM_STAT_ANY): Likewise.
11709 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
11710 (SHM_STAT_ANY): Likewise.
11711 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
11712 (SHM_STAT_ANY): Likewise.
11713 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
11714 (SHM_STAT_ANY): Likewise.
11715 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
11716 (SHM_STAT_ANY): Likewise.
11717 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
11718 (SHM_STAT_ANY): Likewise.
11720 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
11721 (SEM_STAT_ANY): New macro.
11722 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
11723 (SEM_STAT_ANY): Likewise.
11724 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
11725 (SEM_STAT_ANY): Likewise.
11726 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
11727 (SEM_STAT_ANY): Likewise.
11728 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
11729 (SEM_STAT_ANY): Likewise.
11730 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
11731 (SEM_STAT_ANY): Likewise.
11732 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
11733 (SEM_STAT_ANY): Likewise.
11734 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
11735 (SEM_STAT_ANY): Likewise.
11736 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
11737 (SEM_STAT_ANY): Likewise.
11738 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
11739 (SEM_STAT_ANY): Likewise.
11741 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
11742 (MSG_STAT_ANY): New macro.
11743 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
11744 (MSG_STAT_ANY): Likewise.
11745 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
11746 (MSG_STAT_ANY): Likewise.
11747 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
11748 (MSG_STAT_ANY): Likewise.
11749 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
11750 (MSG_STAT_ANY): Likewise.
11751 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
11752 (MSG_STAT_ANY): Likewise.
11753 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
11754 (MSG_STAT_ANY): Likewise.
11755 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
11756 (MSG_STAT_ANY): Likewise.
11757 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
11758 (MSG_STAT_ANY): Likewise.
11759 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
11760 (MSG_STAT_ANY): Likewise.
11762 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11763 (MAP_TYPE): Change value to 0x2b.
11765 2018-06-18 Florian Weimer <fweimer@redhat.com>
11768 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
11769 socket with SOCK_CLOEXEC.
11771 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11774 * sysdeps/powerpc/powerpc64/le/Makefile
11775 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
11776 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
11777 (gnulib-tests): Also add $(f128-loader-link) for
11778 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
11780 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11782 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
11783 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
11785 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
11786 (sendfile64): New strong alias.
11787 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
11788 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
11789 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
11790 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
11792 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
11793 ___pthread_get_cleanup_stack.
11794 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
11795 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
11796 * mach/shortcut.awk: Make syscall stubs include
11797 <mach-shortcuts-hidden.h> and add hidden definition.
11798 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
11799 (__mach_msg): Add hidden prototype.
11800 * mach/msg.c: Include <mach.h>.
11801 (__mach_msg): Add hidden definition.
11802 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
11803 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
11804 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
11805 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
11806 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
11807 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
11808 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
11809 prototype and definition.
11810 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
11811 hidden target for _hurd_self_sigstate.
11813 2018-06-15 Joseph Myers <joseph@codesourcery.com>
11816 * stdlib/tst-strtod-nan-sign-main.c: New file.
11817 * stdlib/tst-strtod-nan-sign.c: Likewise.
11818 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
11819 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
11820 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
11821 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
11822 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
11824 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
11827 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
11830 2018-06-14 Florian Weimer <fweimer@redhat.com>
11833 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
11834 that the result stays within the ISO-8859-1 range.
11835 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
11836 characters are defined in IBM273.
11838 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11840 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
11841 __mach_task_self): Remove attribute_hidden.
11843 2018-06-14 Joseph Myers <joseph@codesourcery.com>
11845 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11846 ignore -Wrestrict for one test.
11848 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11849 Szabolcs Nagy <szabolcs.nagy@arm.com>
11851 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11853 2018-06-14 Florian Weimer <fweimer@redhat.com>
11855 * scripts/update-abilist.sh: Accept empty list of files to patch.
11857 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11859 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11860 test-xfail-check-abi-libmachuser): Add.
11861 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11862 __libc_read and __libc_write to __read and __write.
11863 * sysdeps/hurd/include/hurd/port.h: New file.
11864 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11865 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11866 __thread_switch, __evc_wait): Move declarations to...
11867 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11869 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11870 use PLT to call _hurd_self_sigstate.
11872 2018-06-13 Joseph Myers <joseph@codesourcery.com>
11875 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11876 MAX_EXP as overflowing.
11877 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11879 (round_str): Output also whether result overflows in each rounding
11881 * stdlib/tst-strtod-round-data: Add more tests.
11882 * stdlib/tst-strtod-round-data.h: Regenerated.
11883 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11884 (TEST): Handle extra arguments for overflow flags.
11885 (struct test_overflow): New type.
11886 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11887 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11888 (test_in_one_mode): Take argument with overflow information.
11889 (do_test): Update calls to test_in_one_mode.
11891 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11893 * elf/dl-load (_dl_dst_substitute): Correct comment.
11894 (_dl_dst_count): Likewise.
11896 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11897 lll_futex_timed_wait.
11899 2018-06-12 Joseph Myers <joseph@codesourcery.com>
11902 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11904 * math/test-nan-const.c: New file.
11905 * math/Makefile (tests): Add test-nan-const.
11906 (CFLAGS-test-nan-const.c): New variable.
11908 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11910 * benchtests/scripts/compare_strings.py (process_results): Add
11911 funcs argument. Compare only functions which are selected.
11912 (main): Check if base function is among selected functions.
11913 Pass selected functions to process_results.
11914 (__main__): Add -f/--functions argument.
11916 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11917 Hongbo Zhang <hongbo.zhang@linaro.org>
11919 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11920 __memcpy_falkor for phecda core.
11921 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11922 __memmove_falkor for phecda core.
11923 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11924 __memset_falkor for phecda core.
11925 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11927 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11928 macro to identify phecda core.
11930 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11931 Andreas Schwab <schwab@suse.de>
11932 Dmitry V. Levin <ldv@altlinux.org>
11933 Florian Weimer <fweimer@redhat.com>
11940 * elf/dl-dst.h: Remove DL_DST_COUNT.
11941 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11942 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11943 (is_dst): Comment. Support ELF gABI.
11944 (_dl_dst_count): Comment. Simplify and count DSTs.
11945 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11946 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11949 2018-06-12 Zack Weinberg <zackw@panix.com>
11951 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11952 * sysdeps/unix/sysv/linux/dl-sysdep.c
11953 Include not-cancel.h. Use __close_nocancel instead of __close,
11954 __open64_nocancel instead of __open, __read_nocancel instead of
11955 __libc_read, and __write_nocancel instead of __libc_write.
11957 * csu/check_fds.c (check_one_fd)
11958 * sysdeps/posix/fdopendir.c (__fdopendir)
11959 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
11960 instead of __fcntl and/or __libc_fcntl.
11962 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11963 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
11964 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
11965 Use __open64_nocancel instead of __open_nocancel.
11967 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11968 hidden_proto declarations to the end and issue them if either
11969 IS_IN(libc) or IS_IN(rtld).
11970 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11971 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11972 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11973 read_nocancel, waitpid_nocancel, write_nocancel.
11975 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11976 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11977 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
11979 * nptl/pt-fcntl.c: New file.
11980 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11981 (libpthread-routines): Add pt-fcntl.
11982 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11983 (__libc_fcntl): Remove attribute_hidden.
11984 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11985 __fcntl_nocancel_adjusted, not fcntl_common.
11986 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
11987 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11988 to fcntl_nocancel.c.
11989 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11992 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11994 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11995 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11996 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11997 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11998 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11999 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12000 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12001 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12002 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12003 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12004 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12005 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12006 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12007 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12008 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12009 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12010 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12011 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12012 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12013 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12015 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12016 libpthread-routines.
12017 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12020 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12021 __libc_read, and __write instead of __libc_write. Define
12022 __open64 in addition to __open.
12024 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12028 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12029 to _private_tm[3] and add __glibc_reserved2.
12030 Add _Static_assert of offset of __private_ss == 0x30.
12031 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12032 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12034 2018-06-12 Florian Weimer <fweimer@redhat.com>
12036 x86: Make strncmp usable from rtld.
12037 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12038 __strncmp_ia32 if in libc (and not in rtld).
12039 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12040 strncmp if not in libc (and not to __strncmp_sse2).
12042 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12045 * localedata/locales/gd_GB (mon): Rename to...
12047 (mon): Import from CLDR (genitive case).
12048 * localedata/locales/hsb_DE (mon): Rename to...
12050 (mon): Import from CLDR (genitive case).
12051 * localedata/locales/wa_BE (mon): Rename to...
12053 (mon): Add, fill with the proper genitive forms, but CLDR data
12054 is incomplete; completed according to the comments in this file.
12055 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12057 * localedata/locales/wa_BE (country_name): Reword
12058 "Beljike" -> "Beldjike".
12060 2018-06-11 Joseph Myers <joseph@codesourcery.com>
12063 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12064 cases of non-finite arguments.
12065 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12067 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
12070 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12072 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12075 * include/unistd.h (__execvpex): New prototype.
12076 * posix/Makefile (tests): Add tst-spawn4.
12077 (tests-internal): Add tst-spawn4-compat.
12078 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12079 * posix/tst-spawn4-compat.c: New file.
12080 * posix/tst-spawn4.c: Likewise.
12081 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12082 binaries as shell scripts.
12083 * sysdeps/posix/spawni.c (__spawni): Likewise.
12085 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12088 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12089 ($(all-built-dso:=.dynsym): New target.
12090 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12091 ($(objpfx)check-initfini.out): New target.
12092 (generated): Add check-initfini.out.
12093 * scripts/check-initfini.awk: New file.
12094 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12096 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12098 * sysdeps/arm/crti.S (_init): Mark as hidden.
12100 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12102 * sysdeps/i386/crti.S (_init): Mark as hidden.
12104 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12106 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12108 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12110 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12112 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12114 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12116 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12118 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12120 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12122 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12124 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12126 * sysdeps/sh/crti.S (_init): Mark as hidden.
12128 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12130 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12133 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12135 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12136 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12137 and TF redirection to KFtype and KF only when the default
12138 long double type is not the IEEE 128-bit floating point type.
12140 2018-06-05 Joseph Myers <joseph@codesourcery.com>
12142 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12144 (HWCAP_USCAT): Likewise.
12145 (HWCAP_ILRCPC): Likewise.
12146 (HWCAP_FLAGM): Likewise.
12147 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12149 (_dl_aarch64_cap_flags): Add new flag names.
12151 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12152 (MAP_FIXED_NOREPLACE): New macro.
12153 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12154 (MAP_FIXED_NOREPLACE): Likewise.
12155 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12156 (MAP_FIXED_NOREPLACE): Likewise.
12157 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12158 (MAP_FIXED_NOREPLACE): Likewise.
12159 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12160 (MAP_FIXED_NOREPLACE): Likewise.
12161 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12162 (MAP_FIXED_NOREPLACE): Likewise.
12163 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12164 (MAP_FIXED_NOREPLACE): Likewise.
12165 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12166 (MAP_FIXED_NOREPLACE): Likewise.
12167 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12168 (MAP_FIXED_NOREPLACE): Likewise.
12169 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12170 (MAP_FIXED_NOREPLACE): Likewise.
12171 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12172 (MAP_FIXED_NOREPLACE): Likewise.
12173 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12174 (MAP_FIXED_NOREPLACE): Likewise.
12175 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12176 (MAP_FIXED_NOREPLACE): Likewise.
12177 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12178 (MAP_FIXED_NOREPLACE): Likewise.
12179 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12180 (MAP_FIXED_NOREPLACE): Likewise.
12182 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12185 2018-06-04 Joseph Myers <joseph@codesourcery.com>
12187 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12190 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12192 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12194 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12196 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12198 * benchtests/scripts/compare_string.py: (process_results) Catch
12199 exception in non-existent base_func and catch exception in
12200 non-existent attribute.
12201 (parse_file) Catch exception if input file does not exist.
12203 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12205 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12206 options to avoid diff calculation and omit header, respectively.
12207 (main): process --no-diff and --no-header
12209 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12210 H.J. Lu <hongjiu.lu@intel.com>
12212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12213 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12215 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12216 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12217 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12218 and __wcsncmp_sse2.
12219 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12220 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12221 AVX unaligned load is fast and vzeroupper is preferred.
12222 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12223 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12224 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12225 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12226 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12227 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12228 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12229 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12230 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12231 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12234 2018-06-01 Florian Weimer <fweimer@redhat.com>
12236 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12237 configuring with --disable-multi-arch, building with
12238 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12241 2018-06-01 Florian Weimer <fweimer@redhat.com>
12243 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12244 results from building with “-march=x86-64 -mtune=generic
12245 -mfpmath=sse” and running on a Haswell-era CPU.
12247 2018-06-01 Joseph Myers <joseph@codesourcery.com>
12250 * soft-fp/sqrttf2.c: Remove file.
12251 * soft-fp/sqrtdf2.c: Move to ....
12252 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12254 (__sqrtdf2): Make conditional on
12255 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12257 * soft-fp/sqrtsf2.c: Move to ....
12258 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12260 (__sqrtsf2): Make conditional on
12261 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12263 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12264 (gcc-double-routines): Remove sqrtdf2.
12265 (gcc-quad-routines): Remove sqrttf2.
12266 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12267 Do not filter out sqrtsf2 and sqrtdf2.
12268 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12269 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12271 2018-06-01 Florian Weimer <fweimer@redhat.com>
12273 * sysdeps/generic/libcidn.abilist: Remove file.
12275 2018-06-01 Florian Weimer <fweimer@redhat.com>
12278 * libio/strfile.h (struct _IO_str_fields): Rename members to
12279 discourage their use and add comment.
12280 (_IO_STR_DYNAMIC): Remove unused macro.
12281 * libio/strops.c (_IO_str_init_static_internal): Do not use
12282 callback pointers. Call malloc and free.
12283 (_IO_str_overflow): Do not use callback pointers. Call malloc
12285 (enlarge_userbuf): Likewise.
12286 (_IO_str_finish): Call free.
12287 * libio/wstrops.c (_IO_wstr_init_static): Initialize
12288 _allocate_buffer_unused.
12289 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
12291 (enlarge_userbuf): Likewise.
12292 (_IO_wstr_finish): Call free.
12293 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
12294 _allocate_buffer_unused, _free_buffer_unused.
12295 * libio/memstream.c (__open_memstream): Likewise.
12296 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12297 * libio/wmemstream.c (open_wmemstream): Likewise.
12299 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12301 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
12304 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12306 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
12307 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
12308 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
12310 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
12312 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
12314 2018-05-29 Florian Weimer <fweimer@redhat.com>
12316 * support/Makefile (libsupport-routines): Add
12317 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
12318 xpthread_barrierattr_setpshared.
12319 * support/xpthread_barrierattr_destroy.c: New file.
12320 * support/xpthread_barrierattr_init.c: Likewise.
12321 * support/xpthread_barrierattr_setpshared.c: Likewise.
12323 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
12326 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
12327 _r_debug and update DT_DEBUG for debugger.
12329 2018-05-29 Florian Weimer <fweimer@redhat.com>
12331 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
12332 (tst-strtod5i.out): Likewise.
12334 2018-05-25 Joseph Myers <joseph@codesourcery.com>
12336 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
12337 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
12338 (sparc64-quad-routines): New variable. Moved from ....
12339 [$(subdir) = soft-fp] (sysdep_routines): Add
12340 $(sparc64-quad-routines). Moved from ....
12341 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
12342 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
12343 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
12345 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
12346 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
12347 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
12348 * sysdeps/sparc/sparc64/qp_add.c: ... here.
12349 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
12350 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
12351 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
12352 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
12353 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
12354 * sysdeps/sparc/sparc64/qp_div.c: ... here.
12355 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
12356 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
12357 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
12358 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
12359 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
12360 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
12361 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
12362 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
12363 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
12364 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
12365 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
12366 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
12367 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
12368 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
12369 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
12370 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
12371 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
12372 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
12373 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
12374 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
12375 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
12376 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
12377 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
12378 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
12379 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
12380 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
12381 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
12382 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
12383 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
12384 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
12385 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
12386 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
12387 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
12388 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
12389 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
12390 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
12391 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
12392 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
12393 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
12394 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
12395 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
12396 * sysdeps/sparc/sparc64/qp_util.c: ... here.
12397 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
12398 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
12399 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
12400 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
12401 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
12402 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
12404 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12405 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12406 (sparc32-quad-routines): New variable. Moved from ....
12407 [$(subdir) = soft-fp] (sysdep_routines): Add
12408 $(sparc32-quad-routines). Moved from ....
12409 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12410 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12412 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12413 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12414 * sysdeps/sparc/sparc32/q_add.c: ... here.
12415 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12416 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12417 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12418 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12419 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12420 * sysdeps/sparc/sparc32/q_div.c: ... here.
12421 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12422 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12423 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12424 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12425 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12426 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12427 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12428 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12429 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12430 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12431 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12432 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12433 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12434 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12435 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12436 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12437 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12438 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12439 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12440 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12441 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12442 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12443 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12444 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12445 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12446 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12447 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12448 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12449 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12450 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12451 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12452 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12453 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12454 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12455 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12456 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12457 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12458 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12459 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12460 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12461 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12462 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12463 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12464 * sysdeps/sparc/sparc32/q_util.c: ... here.
12465 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12466 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12467 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12468 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12470 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12471 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12473 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12474 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12475 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12476 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12478 2018-05-24 Joseph Myers <joseph@codesourcery.com>
12480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
12482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12484 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
12485 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
12487 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12490 * math/math.h [C++] (iseqsig): Fix parameter type for the long
12493 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12495 * sysdeps/sh/Implies: Remove sh/soft-fp.
12496 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
12497 * sysdeps/sh/sfp-machine.h: ... here.
12499 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12501 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12502 (__mempcpy_erms): Skip zero length.
12503 (__memmove_erms): Likewise.
12504 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12505 (__memset_erms): Likewise.
12507 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12509 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
12510 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12511 Add functions moved from ....
12512 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
12513 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
12514 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
12516 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
12517 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
12518 * sysdeps/alpha/e_sqrtl.c: ... here.
12519 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
12520 * sysdeps/alpha/local-soft-fp.h: ... here.
12521 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
12522 * sysdeps/alpha/ots_add.c: ... here.
12523 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
12524 * sysdeps/alpha/ots_cmp.c: ... here.
12525 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
12526 * sysdeps/alpha/ots_cmpe.c: ... here.
12527 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
12528 * sysdeps/alpha/ots_cvtqux.c: ... here.
12529 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
12530 * sysdeps/alpha/ots_cvtqx.c: ... here.
12531 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
12532 * sysdeps/alpha/ots_cvttx.c: ... here.
12533 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
12534 * sysdeps/alpha/ots_cvtxq.c: ... here.
12535 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
12536 * sysdeps/alpha/ots_cvtxt.c: ... here.
12537 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
12538 * sysdeps/alpha/ots_div.c: ... here.
12539 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
12540 * sysdeps/alpha/ots_mul.c: ... here.
12541 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
12542 * sysdeps/alpha/ots_nintxq.c: ... here.
12543 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
12544 * sysdeps/alpha/ots_sub.c: ... here.
12545 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
12546 * sysdeps/alpha/sfp-machine.h: ... here.
12548 2018-05-23 Florian Weimer <fweimer@redhat.com>
12556 Switch to extern IDNA implementation (libidn2).
12557 * libidn: Remove subdirectory.
12558 * LICENSES: Do not mention licensing conditions for the removed
12560 * config.h.in (HAVE_LIBIDN): Remove.
12561 * include/dlfcn.h (__libc_dlopen): Update comment.
12562 * include/idna.h: Remove file.
12563 * inet/Makefile (routines): Add idna.
12564 (tests-static, tests-internal): Add tst-idna_name_classify.
12565 (LOCALES): Generate locales for tests.
12566 (tst-idna_name_classify.out): Depend on generated locales.
12567 * inet/idna_name_classify.c: New file.
12568 * inet/tst-idna_name_classify.c: Likewise.
12569 * inet/net-internal.h (__idna_to_dns_encoding)
12570 (__idna_from_dns_encoding): Declare.
12571 * inet/net-internal.h (enum idna_name_classification): Define.
12572 (__idna_name_classify): Declare.
12573 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
12574 __idna_from_dns_encoding.
12575 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
12576 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
12577 name as a fallback in case of encoding errors.
12578 (getnameinfo): Use DEPRECATED_NI_IDN.
12579 * inet/idna.c: New file.
12580 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
12581 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
12582 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
12583 (modules-names): Add tst-no-libidn2.
12584 (extra-test-objs): Add tst-no-libidn2.os.
12585 (LDFLAGS-tst-no-libidn2.so): Set soname.
12586 (LOCALES): Set, and generate locales.
12587 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
12588 (tst-resolv-ai_idn-latin1): Likewise.
12589 (tst-resolv-ai_idn-nolibidn2): Likewise.
12590 (tst-resolv-ai_idn.out): Depend on locales.
12591 (tst-resolv-ai_idn-latin1.out): Depend on locales.
12592 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
12594 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
12595 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
12596 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
12597 * resolv/tst-resolv-ai_idn.c: New file.
12598 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
12599 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
12600 * resolv/tst-no-libidn2.c: Likewise.
12601 * support/support_format_addrinfo.c (format_ai_flags): Do not
12602 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
12603 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
12604 (gaih_inet): Call __idna_to_dns_encoding and
12605 __idna_from_dns_encoding, and use the original (punycode) name if
12606 __idna_from_dns_encoding fails due to an encoding error.
12607 (getaddrinfo): Use DEPRECATED_AI_IDN.
12608 * sysdeps/unix/inet/Subdirs (libidn): Remove.
12609 * sysdeps/unix/inet/configure: Remove file.
12610 * sysdeps/unix/inet/configure.ac: Likewise.
12612 2018-05-23 Florian Weimer <fweimer@redhat.com>
12614 Implement allocate_once.
12615 * include/allocate_once.h: New file.
12616 * misc/allocate_once.c: Likewise.
12617 * misc/tst-allocate_once.c: Likewise.
12618 * misc/Makefile (routines): Add allocate_once.
12619 (tests-internal): Add tst-allocate_once.
12620 (generated): Add tst-allocate_once.mtrace,
12621 tst-allocate_once-mem.out.
12622 (tests-special): Add tst-allocate_once-mem.out.
12623 (tst-allocate_once-ENV): Set MALLOC_TRACE.
12624 (tst-allocate_once-mem.out): Call mtrace.
12625 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
12627 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12630 * string/test-memcpy.c (do_test1): New function.
12631 (test_main): Call it.
12633 2018-05-23 Andreas Schwab <schwab@suse.de>
12637 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
12638 (L(preloop_large)): Save initial destination pointer in %r11 and
12639 use it instead of %rax after the loop.
12640 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
12642 2018-05-22 Joseph Myers <joseph@codesourcery.com>
12644 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
12645 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
12646 -I../soft-fp. Moved from ....
12647 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
12648 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
12649 * sysdeps/aarch64/e_sqrtl.c: ... here.
12650 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
12651 * sysdeps/aarch64/sfp-machine.h: ... here.
12653 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
12654 -Wmaybe-uninitialized around access to fq[0].
12655 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12659 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
12660 aliases for non-libc case of versioned symbols.
12661 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
12662 (llseek): Define as compat symbol if
12663 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
12665 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
12666 Make into a compat symbol, disabled for minimum symbol version
12667 GLIBC_2.28 and later.
12668 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
12670 2018-05-22 Florian Weimer <fweimer@redhat.com>
12672 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
12673 not add -mpreferred-stack-boundary=4.
12674 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
12675 (stack-align-test-flags): Likewise.
12676 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
12678 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
12679 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
12680 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
12681 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
12682 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
12683 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
12684 (CFLAGS-tst-align2.c): Likewise.
12686 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12688 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
12689 (index_arch_Prefer_FSRM): Likewise.
12690 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12691 Also check Prefer_FSRM.
12692 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
12693 Also return OPTIMIZE (erms) for Prefer_FSRM.
12695 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12697 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
12698 (index_cpu_FSRM): Likewise.
12699 (reg_FSRM): Likewise.
12701 2018-05-18 Joseph Myers <joseph@codesourcery.com>
12703 * math/gen-tgmath-tests.py: Import sys.
12704 (Tests.__init__): Initialize macros_seen.
12705 (Tests.add_tests): Add macro to macros_seen. Only generate tests
12706 if requested to do so for this macro.
12707 (Tests.add_all_tests): Take argument for macro for which to
12709 (Tests.check_macro_list): New function.
12710 (main): Handle check-list argument and argument specifying macro
12711 for which to generate tests.
12712 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
12713 [PYTHON] (tgmath3-macro-tests): Likewise.
12714 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
12715 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
12716 not test-tgmath3.c.
12717 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
12718 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
12720 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
12721 [PYTHON] ($(foreach
12722 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
12724 [PYTHON] (tests-special): Add
12725 $(objpfx)test-tgmath3-macro-list.out.
12726 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
12728 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
12729 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
12733 * time/tzset.c (SECSPERDAY): Cast to time_t.
12734 * time/tst-y2039.c: New file.
12735 * time/Makefile (tests): Add tst-y2039.
12737 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12739 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12740 (PREFETCH_ONE_SET): Remove duplicate line.
12742 2018-05-17 Florian Weimer <fweimer@redhat.com>
12744 * sysdeps/generic/math-type-macros-double.h: Include
12745 <math-nan-payload-double.h> after <libm-alias-double.h>.
12746 * sysdeps/generic/math-type-macros-float.h: Include
12747 <math-nan-payload-float.h> after <libm-alias-float.h>.
12748 * sysdeps/generic/math-type-macros-float128.h: Include
12749 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
12750 * sysdeps/generic/math-type-macros-ldouble.h: Include
12751 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
12753 2018-05-17 Andreas Schwab <schwab@suse.de>
12755 * resolv/res_send.c (__res_context_send): Don't set errno when
12756 returing error after malloc failure.
12758 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
12760 * nptl/allocatestack.c (allocate_stack): Remove the
12761 !__ASSUME_PRIVATE_FUTEX paths.
12762 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
12763 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12765 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
12766 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12767 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12768 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12769 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
12770 !__ASSUME_PRIVATE_FUTEX path.
12771 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
12772 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
12773 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12774 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
12775 !__ASSUME_PRIVATE_FUTEX macros.
12776 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12777 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12778 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12779 * sysdeps/unix/sysv/linux/kernel-features.h
12780 (__ASSUME_PRIVATE_FUTEX): Removed.
12782 2018-05-17 Joseph Myers <joseph@codesourcery.com>
12784 * math/Makefile (libm-narrow-fns): Add div.
12785 (libm-test-funcs-narrow): Likewise.
12786 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
12787 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
12788 * math/gen-auto-libm-tests.c (test_functions): Add div.
12789 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
12790 (NARROW_DIV_ROUND_TO_ODD): Likewise.
12791 (NARROW_DIV_TRIVIAL): Likewise.
12792 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
12794 (__ddivl): Likewise.
12795 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
12797 (CFLAGS-nldbl-ddiv.c): New variable.
12798 (CFLAGS-nldbl-fdiv.c): Likewise.
12799 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12801 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
12803 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
12804 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
12805 * math/auto-libm-test-in: Add tests of div.
12806 * math/auto-libm-test-out-narrow-div: New generated file.
12807 * math/libm-test-narrow-div.inc: New file.
12808 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
12809 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
12810 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
12811 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
12812 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
12813 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
12814 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
12815 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
12816 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
12817 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
12818 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
12819 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
12820 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
12821 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
12822 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
12823 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
12824 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
12825 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
12826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12827 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12828 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12829 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12830 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12831 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12832 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12833 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12834 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12835 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12836 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12837 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12838 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12839 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12844 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12845 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12846 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12847 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12848 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12849 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12850 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12851 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12853 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12856 * nscd/nscd-client.h (sendfileall): Remove prototype.
12857 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12858 (handle_request): Use writeall instead of sendfileall.
12859 * nscd/aicache.c (addhstaiX): Likewise.
12860 * nscd/grpcache.c (cache_addgr): Likewise.
12861 * nscd/hstcache.c (cache_addhst): Likewise.
12862 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12863 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12864 * nscd/pwdcache.c (cache_addpw): Likewise.
12865 * nscd/servicescache.c (cache_addserv): Likewise.
12866 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12867 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12868 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12871 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12873 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12874 Include <string/strncat.c>.
12875 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12877 (__GI___strncat): New hidden alias.
12879 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12881 * sysdeps/mips/mips32/libm-test-ulps: Update.
12882 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12884 2018-05-16 Florian Weimer <fweimer@redhat.com>
12886 * support/Makefile (libsupport-routines): Add support_quote_blob,
12887 support_test_compare_blob.
12888 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12889 * support/check.h (TEST_COMPARE_BLOB): Define.
12890 (support_test_compare_blob): Declare.
12891 * support/support.h (support_quote_blob): Declare.
12892 * support/support_quote_blob.c: New file.
12893 * support/support_test_compare_blob.c: Likewise.
12894 * support/tst-support_quote_blob.c: Likewise.
12895 * support/tst-test_compare_blob.c: Likewise.
12897 2018-05-16 Florian Weimer <fweimer@redhat.com>
12899 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12900 of <strtod_nan_double.h>.
12901 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12902 instead of SET_MANTISSA.
12903 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12904 of include <strtod_nan_float.h>.
12905 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12906 instead of <strtod_nan_ldouble.h>.
12907 * stdlib/strtod_nan_double.h: Move to ...
12908 * sysdeps/generic/math-nan-payload-double.h: ... here.
12909 (FLOAT): Remove definition.
12910 (SET_MANTISSA): Rename to ...
12911 (SET_NAN_PAYLOAD): ... this.
12912 * stdlib/strtod_nan_float.h: Move to ...
12913 * sysdeps/generic/math-nan-payload-float.h: ... here.
12914 (FLOAT): Remove definition.
12915 (SET_MANTISSA): Rename to ...
12916 (SET_NAN_PAYLOAD): ... this.
12917 * sysdeps/generic/math-type-macros-double.h: Include
12918 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12919 instead of <math-svid-compat.h>.
12920 * sysdeps/generic/math-type-macros-float.h: Include
12921 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12922 instead of <math-svid-compat.h>.
12923 * sysdeps/generic/math-type-macros-float128.h: Include
12924 <math-nan-payload-float128.h>.
12925 * sysdeps/generic/math-type-macros-ldouble.h: Include
12926 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12927 instead of <math-svid-compat.h>.
12928 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12929 check for definition.
12930 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12931 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12932 Include <ieee754_float128.h>.
12933 (FLOAT): Remove definition.
12934 (SET_MANTISSA): Rename to ...
12935 (SET_NAN_PAYLOAD): ... this.
12936 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12937 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12938 Do not include <float128_private.h>.
12939 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12940 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12941 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12942 (FLOAT): Remove definition.
12943 (SET_MANTISSA): Rename to ...
12944 (SET_NAN_PAYLOAD): ... this.
12945 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12946 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12947 (FLOAT): Remove definition.
12948 (SET_MANTISSA): Rename to ...
12949 (SET_NAN_PAYLOAD): ... this.
12950 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12951 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12952 (FLOAT): Remove definition.
12953 (SET_MANTISSA): Rename to ...
12954 (SET_NAN_PAYLOAD): ... this.
12955 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12956 of "../stdlib/strtod_nan_double.h".
12957 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12958 of "../stdlib/strtod_nan_float.h".
12959 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12960 instead of "../stdlib/strtod_nan_ldouble.h".
12961 * manual/arith.texi (Parsing of Floats): Adjust comment.
12963 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12965 * math/Makefile (libm-narrow-fns): Add mul.
12966 (libm-test-funcs-narrow): Likewise.
12967 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12968 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12969 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12970 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12971 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12972 (NARROW_MUL_TRIVIAL): Likewise.
12973 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12974 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12976 (__dmull): Likewise.
12977 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12979 (CFLAGS-nldbl-dmul.c): New variable.
12980 (CFLAGS-nldbl-fmul.c): Likewise.
12981 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12983 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12985 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12986 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12987 * math/auto-libm-test-in: Add tests of mul.
12988 * math/auto-libm-test-out-narrow-mul: New generated file.
12989 * math/libm-test-narrow-mul.inc: New file.
12990 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12991 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12992 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12993 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12994 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12995 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12996 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12997 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12998 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12999 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13000 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13001 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13002 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13003 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13004 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13005 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13006 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13007 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13009 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13010 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13011 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13012 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13013 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13014 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13015 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13016 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13017 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13018 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13019 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13020 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13021 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13026 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13027 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13028 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13029 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13030 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13031 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13032 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13033 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13035 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13037 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13038 with *%eax in call.
13040 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13042 * sysdeps/i386/ldsodefs.h: Removed.
13043 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13044 * sysdeps/x86/ldsodefs.h: This.
13045 (La_i86_regs): New.
13046 (La_i86_retval): Likewise.
13047 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13048 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13050 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13052 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13055 2018-05-13 Alan Modra <amodra@gmail.com>
13057 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13058 R_PARISC_TLS_DTPOFF32 reloc addend.
13060 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13062 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13063 * math/math.h: Restrict the prototype definition for the functions
13064 issignaling(_Float128) and iszero(_Float128); and template
13065 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13066 __HAVE_FLOAT128_UNLIKE_LDBL.
13067 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13068 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13069 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13070 __f128() constants; define the type _Float128 as long double;
13071 and reuse long double in __CFLOAT128.
13073 2018-05-11 Joseph Myers <joseph@codesourcery.com>
13075 * sysdeps/generic/math_private.h: Do not include
13077 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13079 * math/fromfp.h: Include <math-barriers.h>.
13080 * math/math-narrow.h: Likewise.
13081 * math/s_nextafter.c: Likewise.
13082 * math/s_nexttowardf.c: Likewise.
13083 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13084 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13085 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13086 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13087 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13088 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13089 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13090 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13091 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13092 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13093 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13094 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13095 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13096 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13097 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13098 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13099 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13100 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13101 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13102 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13103 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13104 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13105 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13106 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13107 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13108 * sysdeps/ieee754/k_standardl.c: Likewise.
13109 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13110 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13111 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13112 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13113 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13114 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13115 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13116 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13117 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13118 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13119 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13120 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13121 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13122 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13123 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13124 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13125 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13126 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13127 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13128 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13129 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13130 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13132 2018-05-11 Florian Weimer <fweimer@redhat.com>
13134 Use 64-bit epoch values in the time zone file parser.
13135 * include/time.h (internal_time_t): Define.
13136 (__tzfile_compute): Use it.
13137 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13139 (transitions): Switch to internal_time_t.
13140 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13142 (__tzfile_compute): Use internal_time_t for timer argument. Check
13143 for truncation before calling __offtime.
13145 2018-05-11 Florian Weimer <fweimer@redhat.com>
13148 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13149 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13151 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13152 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13153 export without --enable-obsolete-rpc.
13154 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13155 symbol. This should not have been exported, ever.
13157 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13160 * localedata/locales/gd_GB (abmon): Fix typo in May:
13161 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13163 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13165 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13166 Use multiple registers to copy data in loop tail.
13168 * sysdeps/aarch64/multiarch/memmove_falkor.S
13169 (__memmove_falkor): Use multiple registers to move data in
13172 2018-05-10 Joseph Myers <joseph@codesourcery.com>
13174 * math/math-underflow.h: New file.
13175 * sysdeps/generic/math_private.h: Do not include <float.h>.
13176 (fabs_tg): Remove macro. Moved to math-underflow.h.
13177 (min_of_type_f): Likewise.
13178 (min_of_type_): Likewise.
13179 (min_of_type_l): Likewise.
13180 (min_of_type_f128): Likewise.
13181 (min_of_type): Likewise.
13182 (math_check_force_underflow): Likewise.
13183 (math_check_force_underflow_nonneg): Likewise.
13184 (math_check_force_underflow_complex): Likewise.
13185 * math/e_exp2_template.c: Include <math-underflow.h>.
13186 * math/k_casinh_template.c: Likewise.
13187 * math/s_catan_template.c: Likewise.
13188 * math/s_catanh_template.c: Likewise.
13189 * math/s_ccosh_template.c: Likewise.
13190 * math/s_cexp_template.c: Likewise.
13191 * math/s_clog10_template.c: Likewise.
13192 * math/s_clog_template.c: Likewise.
13193 * math/s_csin_template.c: Likewise.
13194 * math/s_csinh_template.c: Likewise.
13195 * math/s_csqrt_template.c: Likewise.
13196 * math/s_ctan_template.c: Likewise.
13197 * math/s_ctanh_template.c: Likewise.
13198 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13199 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13200 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13201 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13202 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13203 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13204 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13205 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13206 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13207 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13208 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13209 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13210 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13211 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13212 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13213 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13214 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13215 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13216 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13217 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13218 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13219 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13220 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13221 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13222 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13223 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13224 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13225 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13226 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13227 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13228 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13229 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13230 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13231 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13232 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13233 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13234 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13235 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13236 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13237 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13238 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13239 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13240 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13241 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13242 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13243 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13244 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13245 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13246 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13247 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13248 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13249 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13250 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13251 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13252 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13253 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13254 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13255 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13256 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13257 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13258 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13259 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13260 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13261 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13262 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13263 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13264 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13265 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13266 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13267 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13268 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13269 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13270 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13271 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13272 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13273 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13274 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13275 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13276 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13277 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13278 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13279 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13280 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13281 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13283 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13285 * sysdeps/generic/math-barriers.h: New file.
13286 * sysdeps/generic/math_private.h [!math_opt_barrier]
13287 (math_opt_barrier): Move to math-barriers.h.
13288 [!math_opt_barrier] (math_force_eval): Likewise.
13289 * sysdeps/aarch64/fpu/math-barriers.h: New file.
13290 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
13292 (math_force_eval): Likewise.
13293 * sysdeps/alpha/fpu/math-barriers.h: New file.
13294 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
13296 (math_force_eval): Likewise.
13297 * sysdeps/x86/fpu/math-barriers.h: New file.
13298 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
13300 (math_force_eval): Likewise.
13301 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
13302 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
13303 multiple-include guard for rename.
13304 * sysdeps/powerpc/fpu/math-barriers.h: New file.
13305 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
13307 (math_force_eval): Likewise.
13309 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
13313 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
13315 * stdlib/Makefile (test-bz22786): New test.
13316 * stdlib/test-bz22786.c: New test.
13318 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13320 * include/math-narrow-eval.h: New file. Contents moved from ....
13321 * sysdeps/generic/math_private.h: ... here.
13322 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
13323 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13324 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
13325 * stdlib/strtod_l.c: Likewise.
13326 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13327 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13328 * sysdeps/i386/fpu/s_fdim.c: Likewise.
13329 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13330 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13331 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13332 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13333 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13334 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13335 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13336 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13337 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13338 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13339 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13340 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13341 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13342 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13343 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13344 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13345 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13346 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13347 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13348 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13349 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13350 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13351 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13352 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13353 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13354 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13356 2018-05-08 Andreas Schwab <schwab@suse.de>
13358 * sysdeps/nptl/internaltypes.h: Fix comment.
13360 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
13362 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13363 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
13366 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13368 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
13369 of I into loop header.
13370 * benchtests/bench-memmove-walk.c
13371 (test_main): Likewise.
13373 2018-05-07 Alexandre Oliva <oliva@gnu.org>
13376 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13377 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13379 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13382 * elf/dl-load.c (open_verify): Fix stack overflow.
13383 * elf/Makefile (tst-big-note): New test.
13384 * elf/tst-big-note-lib.S: New.
13385 * elf/tst-big-note.c: New.
13387 2018-05-04 Joseph Myers <joseph@codesourcery.com>
13389 * scripts/abilist.awk: Ignore absolute symbols.
13390 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
13391 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
13392 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
13393 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
13394 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
13395 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
13396 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13397 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
13398 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
13399 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
13400 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
13401 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
13402 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13403 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
13404 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13405 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13406 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13407 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13408 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13409 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13410 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13411 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13412 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13413 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13414 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13415 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13416 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13417 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13418 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13419 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13420 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13421 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13422 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13423 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13424 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13425 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13426 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13427 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13428 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13429 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13430 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13431 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13432 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13433 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13434 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13435 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13436 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13437 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13438 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13439 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13440 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13441 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13442 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13443 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13444 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13445 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13446 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13447 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13448 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13449 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13450 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13451 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13452 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13453 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13454 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13455 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13456 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13457 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13458 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13459 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13460 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13461 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13462 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13463 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13464 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13465 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13466 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13467 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13468 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13469 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13470 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13471 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13472 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13473 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13474 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13475 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13476 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13477 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13478 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13479 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13480 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13481 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13483 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
13484 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13485 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
13486 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
13487 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13488 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
13489 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13490 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
13491 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
13492 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
13493 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
13494 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13495 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13497 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
13498 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13499 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
13500 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
13501 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13502 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
13503 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13504 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
13505 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
13506 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
13507 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
13508 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13509 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
13510 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
13511 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13512 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
13513 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
13514 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13515 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
13516 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13517 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
13518 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
13519 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
13520 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
13521 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13522 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13523 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13525 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
13526 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
13527 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
13528 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
13529 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13530 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
13531 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
13532 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
13533 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
13534 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
13535 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
13536 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
13537 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
13538 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13539 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
13540 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
13541 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
13542 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
13543 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13544 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13546 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
13547 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
13548 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
13549 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13550 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
13551 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13552 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
13553 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
13554 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
13555 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13556 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13557 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
13558 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13559 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13560 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
13561 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13562 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
13563 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
13564 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13565 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
13566 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
13567 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13568 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
13569 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13570 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
13571 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
13572 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
13573 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
13574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
13580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
13581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
13582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
13583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
13587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
13588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
13591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
13603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
13604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
13609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
13610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
13611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
13615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
13616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
13624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
13625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
13626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
13633 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13634 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
13636 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13637 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13638 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
13639 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13640 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13641 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13642 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13643 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
13644 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13645 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
13646 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13647 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
13648 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13649 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13651 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13652 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
13653 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
13654 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13655 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
13656 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13657 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
13658 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
13659 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
13660 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
13661 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13662 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13664 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13665 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
13666 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
13667 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13668 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
13669 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13670 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
13671 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
13672 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
13673 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
13674 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13675 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
13676 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
13677 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13678 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
13679 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
13680 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13681 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
13682 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13683 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
13684 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
13685 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
13686 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
13687 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13688 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13690 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
13691 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13692 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
13693 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
13694 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13695 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
13696 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13697 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
13698 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
13699 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
13700 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
13701 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13702 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13704 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
13705 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13706 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
13707 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
13708 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13709 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
13710 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13711 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
13712 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
13713 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
13714 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
13715 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13716 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
13717 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
13718 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13719 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
13720 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
13721 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13722 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
13723 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13724 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
13725 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
13726 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
13727 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
13728 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13729 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13730 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
13731 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
13732 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13733 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
13734 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
13735 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13736 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
13737 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13738 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
13739 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
13740 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
13741 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
13743 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
13746 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
13747 Use atomic_load_acquire to load __tid.
13749 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13751 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
13752 Restore the pointer into %rdx, after syscall and use %rdx,
13753 instead of %rsi, to restore context.
13755 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13757 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
13758 Pop the pointer into %rdx after syscall and use %rdx, instead
13759 of %rsi, to restore context.
13761 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13763 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
13764 handlers after setjmp.
13765 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
13767 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
13768 <libc-pointer-arith.h>.
13769 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
13770 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
13771 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
13772 _JUMP_BUF_SIGSET_BITS_PER_WORD.
13773 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
13774 * sysdeps/x86/__longjmp_cancel.S: New file.
13775 * sysdeps/x86/longjmp.c: Likewise.
13776 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
13778 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13780 * NEWS: Add ustat.h deprecation entry.
13781 * bits/ustat.h: Remove file.
13782 * misc/sys/ustat.h: Likewise.
13783 * misc/ustat.h: Likewise.
13784 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
13785 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
13786 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
13787 compatibility mode.
13788 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
13789 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
13790 generic Linux implementation.
13792 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13794 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
13795 * math/w_expl_compat.c: Likewise.
13796 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
13798 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13800 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13802 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13804 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
13805 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
13806 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
13808 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
13809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13810 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13811 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
13812 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
13815 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13817 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
13819 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
13820 * math/w_asin_template.c: Likewise.
13821 * math/w_atanh_template.c: Likewise.
13823 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13825 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
13826 to powerpc/powerpc64/be for big-endian.
13827 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
13830 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
13831 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
13832 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
13833 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
13834 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13835 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
13836 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
13837 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
13838 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
13839 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13840 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
13841 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
13842 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
13843 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13844 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13845 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13846 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13847 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13848 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13849 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13850 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13851 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13852 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13853 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13854 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13855 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13856 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13857 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13858 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13859 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13860 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13861 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13863 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13864 adjusted to imply powerpc64 and older processors on powerpc64/be.
13865 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13866 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13867 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13868 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13869 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13870 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13871 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13872 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13873 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13874 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13875 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13876 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13877 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13878 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13879 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13880 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13881 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13882 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13883 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13884 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13885 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13886 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13887 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13888 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13889 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13890 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13891 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13892 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13893 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13894 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13895 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13897 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13898 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13899 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13900 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13902 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13903 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13904 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13905 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13907 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13908 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13909 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13910 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13911 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13912 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13913 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13914 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13915 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13916 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13917 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13919 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13920 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13921 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13922 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13923 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13924 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13925 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13926 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13927 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13928 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13929 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13931 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13932 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13933 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13934 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13935 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13936 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13937 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13938 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13939 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13940 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13941 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13942 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13944 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13945 and adjusted to imply olders processors.
13946 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13947 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13948 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13949 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13950 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13951 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13952 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13953 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13954 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13955 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13956 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13958 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13960 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13961 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13975 powerpc64 and adjusted.
13976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13981 2018-04-27 Joseph Myers <joseph@codesourcery.com>
13983 * sysdeps/tile: Remove.
13984 * sysdeps/unix/sysv/linux/tile: Likewise.
13985 * README (tilegx-*-linux-gnu): Remove from list of supported
13987 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13988 contribution of support for generic Linux kernel syscall
13990 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13991 tilegx configurations.
13992 (Config.install_linux_headers): Do not handle tile.
13993 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13995 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13996 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13997 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13998 conditional undefine and redefine.
13999 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14001 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14002 conditional undefine and redefine.
14004 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14006 * signal/tst-sigaction.c: New file to test BZ #23069.
14007 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14009 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14012 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14013 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14014 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14015 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14017 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14019 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14020 _DIRENT_MATCHES_DIRENT64 is not defined.
14021 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14022 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14024 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14025 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14027 2018-04-25 Joseph Myers <joseph@codesourcery.com>
14029 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14030 version to GCC 8 branch.
14032 2018-04-24 Joseph Myers <joseph@codesourcery.com>
14034 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14035 (check_no_hidden): Use type of original function when declaring
14038 * sysdeps/unix/sysv/linux/sys/ptrace.h
14039 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14040 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14041 (struct __ptrace_seccomp_metadata): New type.
14042 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14043 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14044 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14045 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14046 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14047 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14048 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14049 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14050 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14051 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14052 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14053 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14054 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14055 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14056 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14057 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14059 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14061 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14063 * dirent/versionsort.c (versionsort): Likewise.
14064 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14065 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14066 * dirent/versionsort64.c (versionsort64): Likewise.
14067 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14068 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14069 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14070 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14071 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14072 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14073 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14074 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14075 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14076 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14079 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14080 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14082 2018-04-23 Joseph Myers <joseph@codesourcery.com>
14084 * elf/elf.h (NT_PPC_PKEY): New macro.
14086 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
14089 * localedata/locales/hr_HR: fix thousands_sep and
14092 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14094 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14095 (XTABS): Define to TAB3.
14097 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14099 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14101 * dirent/scandir-tail-common.c: New file.
14102 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14103 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14104 * dirent/scandir.c: Use scandir-tail-common.c.
14105 * dirent/scandirat.c: Likewise.
14106 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14107 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14108 if _DIRENT_MATCHES_DIRENT64 is defined.
14109 * dirent/scandirat64.c (scandirat64): Likewise.
14110 * include/dirent.h (__scandir_tail): Only define iff
14111 _DIRENT_MATCHES_DIRENT64 is not defined.
14112 (__scandir64_tail): Define regardless.
14113 (__scandirat, scandirat64): Remove libc_hidden_proto.
14114 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14115 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14117 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14118 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14119 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14120 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14122 2018-04-20 Joseph Myers <joseph@codesourcery.com>
14124 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14126 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14128 (_dl_aarch64_cap_flags): Add asimdfhm.
14130 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14132 * sysdeps/nios2/libm-test-ulps: Update.
14134 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14136 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14137 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14139 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14141 (_DIRENT_MATCHES_DIRENT64): Undef
14142 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14143 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14144 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14145 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14146 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14147 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14148 use getdents64 syscalls as base.
14149 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14150 symbol if required.
14151 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14152 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14153 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14154 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14155 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14156 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14157 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14158 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14159 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14160 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14161 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14163 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14165 * scripts/test_printers_common.py (init_test): Disable lock elision.
14167 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14169 * math/test-tgmath.c (count_double, count_float,
14170 count_ldouble, count_cdouble, count_cfloat,
14171 count_cldouble): Use volatile int.
14173 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14175 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14176 (conformtest-xfail-conds): Add i386-gnu.
14177 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
14179 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14180 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14181 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14182 msqid_ds.msg_lrpid): Likewise.
14183 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14185 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14186 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
14187 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14188 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14190 (struct statvfs64): Likewise.
14191 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14193 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14194 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14195 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14196 instead of wait_queue.
14197 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14198 instead of vm_area_struct.
14199 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14200 struct sched_param definition to it.
14201 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14202 * bits/types/struct_sched_param.h: New file.
14203 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14204 <bits/types/struct_sched_param.h> instead of <sched.h>.
14205 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
14206 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14207 generic version but include <bits/pthreadtypes.h> to make struct
14208 sigevent's sigev_notify_attributes field a pthread_attr_t*.
14209 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14211 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14212 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14213 [__USE_XOPEN] (OFDEL): New macro.
14214 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
14215 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
14216 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14218 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14219 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
14220 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14222 * sysdeps/i386/sys/ucontext.h: Likewise.
14223 * sysdeps/m68k/sys/ucontext.h: Likewise.
14224 * sysdeps/mips/sys/ucontext.h: Likewise.
14225 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
14226 * sysdeps/mach/hurd/i386/Makefile
14227 (test-xfail-POSIX/fcntl.h/conform): Add.
14228 (test-xfail-POSIX/signal.h/conform): Add.
14229 (test-xfail-POSIX/semaphore.h/conform): Add.
14230 (test-xfail-POSIX/regex.h/conform): Add.
14231 (test-xfail-POSIX/aio.h/conform): Add.
14232 (test-xfail-POSIX/mqueue.h/conform): Add.
14233 (test-xfail-POSIX/sys/types.h/conform): Add.
14234 (test-xfail-UNIX98/fcntl.h/conform): Add.
14235 (test-xfail-UNIX98/netdb.h/conform): Add.
14236 (test-xfail-UNIX98/signal.h/conform): Add.
14237 (test-xfail-UNIX98/semaphore.h/conform): Add.
14238 (test-xfail-UNIX98/regex.h/conform): Add.
14239 (test-xfail-UNIX98/aio.h/conform): Add.
14240 (test-xfail-UNIX98/ftw.h/conform): Add.
14241 (test-xfail-UNIX98/mqueue.h/conform): Add.
14242 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14243 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14244 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14245 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14246 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14247 (test-xfail-UNIX98/sys/types.h/conform): Add.
14248 (test-xfail-UNIX98/stdlib.h/conform): Add.
14249 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14250 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14251 (test-xfail-POSIX2008/netdb.h/conform): Add.
14252 (test-xfail-POSIX2008/signal.h/conform): Add.
14253 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14254 (test-xfail-POSIX2008/regex.h/conform): Add.
14255 (test-xfail-POSIX2008/aio.h/conform): Add.
14256 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14257 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14258 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14259 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14260 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14261 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14262 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14263 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14264 (test-xfail-XOPEN2K/signal.h/conform): Add.
14265 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14266 (test-xfail-XOPEN2K/regex.h/conform): Add.
14267 (test-xfail-XOPEN2K/aio.h/conform): Add.
14268 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14269 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14270 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14271 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14272 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14273 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14274 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14275 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14276 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14277 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14278 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14279 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14280 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14281 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14282 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14283 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14284 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14285 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14286 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14287 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
14288 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
14289 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
14290 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
14291 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
14292 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
14293 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
14294 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
14296 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
14297 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
14299 2018-04-18 Joseph Myers <joseph@codesourcery.com>
14301 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14302 --enable-obsolete for powerpc-linux-gnuspe.
14304 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14306 * conform/data/sys/un.h-data: Allow sun_ prefix.
14307 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
14309 * sysdeps/mach/include/mach.h: Likewise.
14310 * sysdeps/mach/include/mach/mig_support.h: Likewise.
14311 * sysdeps/mach/include/mach_error.h: Likewise.
14313 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14315 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
14316 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
14317 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
14318 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
14320 2018-04-16 Andreas Schwab <schwab@suse.de>
14323 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
14325 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14327 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
14328 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
14330 2018-04-12 DJ Delorie <dj@redhat.com>
14332 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14335 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14337 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
14338 (struct kernel_sigaction): Use the same definition on 31bit as is used
14341 2018-04-09 Florian Weimer <fweimer@redhat.com>
14344 * resolv/res_send.c (send_dg): Use designated initializers instead
14345 of assignment to zero-initialize other fields of struct mmsghdr.
14347 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14349 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
14350 __READDIR_ALIAS): Undefine after usage.
14351 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
14352 __READDIR_R_ALIAS): Likewise.
14353 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
14354 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
14355 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
14356 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
14357 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
14358 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
14359 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14360 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14361 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
14362 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
14363 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
14364 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
14365 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14366 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
14367 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
14368 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
14369 * sysdeps/unix/sysv/linux/readdir.c: New file.
14370 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
14371 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
14372 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
14374 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14376 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
14378 * manual/charset.texi (Converting a Character): Fix typo.
14380 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14384 * sysdeps/arm/libm-test-ulps: Update.
14386 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
14387 as base implementation.
14388 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14389 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14390 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14391 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14392 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14393 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
14394 remove unrequired definitions and update comments.
14395 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
14396 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
14397 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
14398 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
14399 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
14400 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
14401 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
14402 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
14403 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
14404 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14405 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14406 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14407 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14408 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14409 and RESET_SA_RESTORER hooks.
14411 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14413 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14415 2018-04-05 Florian Weimer <fweimer@redhat.com>
14417 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14418 integer overflow, memory leak on error, and indeterminate errno
14419 value. Add a null wide character to terminate the result string.
14420 * manual/charset.texi (Converting a Character): Mention embedded
14421 null bytes in the mbrtowc input string. Explain what happens in
14422 the -2 result case. Do not claim that mbrtowc is simple or
14423 obvious to use. Adjust the description of the code example. Use
14424 @code, not @var, for concrete variables.
14426 2018-04-05 Florian Weimer <fweimer@redhat.com>
14428 * manual/examples/mbstouwcs.c: New file.
14429 * manual/charset.texi (Converting a Character): Include it.
14431 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14433 * include/dirent.h (dirfd): Add hidden proto.
14434 * dirent/dirfd.c (dirfd): Add hidden def.
14435 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14436 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
14438 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14440 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14441 sin, cos and sincos to 1 ULP.
14443 2018-04-04 Maciej W. Rozycki <macro@mips.com>
14446 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14448 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14449 * elf/tst-absolute-sym.c: New file.
14450 * elf/tst-absolute-sym-lib.c: New file.
14451 * elf/tst-absolute-sym-lib.lds: New file.
14452 * elf/Makefile (tests): Add `tst-absolute-sym'.
14453 (modules-names): Add `tst-absolute-sym-lib'.
14454 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14455 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14456 ($(objpfx)tst-absolute-sym): New dependency.
14459 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14461 (SYMBOL_ADDRESS): New macro.
14462 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14463 SYMBOL_ADDRESS for symbol address calculation.
14464 * elf/dl-runtime.c (_dl_fixup): Likewise.
14465 (_dl_profile_fixup): Likewise.
14466 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14467 * elf/rtld.c (dl_main): Likewise.
14468 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14469 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14470 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14471 (elf_machine_rela): Likewise.
14472 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14473 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14474 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14475 (elf_machine_rela): Likewise.
14476 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14477 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14478 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14479 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14481 (elf_machine_reloc): Likewise.
14482 (elf_machine_got_rel): Likewise.
14483 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
14484 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
14485 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14487 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14489 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
14490 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14492 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14494 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14495 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14497 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14499 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
14500 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14502 2018-04-04 Zack Weinberg <zackw@panix.com>
14504 * sysdeps/generic/internal-signals.h: Include signal.h,
14505 sigsetops.h, and stdbool.h.
14506 (__libc_signal_block_all): Actually block all signals.
14507 (__libc_signal_block_app): Likewise.
14508 (__libc_signal_restore_set): Actually restore the signal mask.
14510 2018-04-04 Florian Weimer <fweimer@redhat.com>
14512 inet: Actually build and run tst-deadline.
14513 * inet/Makefile (tests-internal): Add tst-deadline and do not
14514 overwrite the variable.
14515 (tests-static-internal): Remove variable.
14517 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
14520 * bits/uio-ext.h (RWF_APPEND): New.
14521 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
14522 * manual/llio.texi: Document RWF_APPEND.
14523 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
14524 (RWF_SUPPORTED): Add RWF_APPEND.
14526 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14529 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
14530 check for internal nptl signals.
14531 * nptl/sigaction.c (__sigaction): Likewise.
14532 * signal/sigaddset.c (sigaddset): Likewise.
14533 * signal/sigdelset.c (sigdelset): Likewise.
14534 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14535 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
14537 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
14538 to filter out internal nptl signals.
14539 * signal/tst-sigset.c (do_test): Check ech signal indidually and
14540 also check realtime signals using standard macros.
14541 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
14542 __is_internal_signal, __libc_signal_block_all,
14543 __libc_signal_block_app, __libc_signal_restore_set): New functions.
14544 * sysdeps/nptl/sigfillset.c: Remove file.
14545 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
14546 Change return to bool.
14547 (__clear_internal_signals): Remove SIGTIMER clean since it is
14548 equal to SIGCANEL on Linux.
14549 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
14550 signal set was constructed using standard functions.
14552 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14554 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
14555 ifname is too long.
14556 * hurd/hurdsig.c (interrupted_reply_port_location): Use
14557 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
14558 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
14560 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
14561 * signal/sigaddset.c: Include <sigsetopts.h>.
14562 * signal/sigdelset.c: Likewise.
14564 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14566 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
14568 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
14569 logic as sin and cos.
14571 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14573 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
14574 inputs. Return correct sign.
14575 (do_sincos): Remove small input check before do_sin, let do_sin set
14580 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14582 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
14583 (do_cos_slow): Likewise.
14584 (do_sin_slow): Likewise.
14585 (reduce_and_compute): Likewise.
14590 (sloww1): Likewise.
14591 (sloww2): Likewise.
14593 (bslow1): Likewise.
14594 (bslow2): Likewise.
14595 (cslow2): Likewise.
14597 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14599 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
14600 (do_cos): Remove corp parameter and calculations.
14601 (do_sin): Likewise.
14602 (do_sincos): Remove cor variable.
14603 (__sin): Use do_sincos for huge inputs.
14605 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14606 (reduce_and_compute_sincos): Remove unused function.
14608 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14610 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
14611 reduce_sincos, improve accuracy to 136 bits.
14612 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
14613 (__sin): Use improved reduction and simplified do_sincos calculation.
14615 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14617 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14619 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
14620 (do_sincos_2): Likewise.
14621 (__sin): Remove middle range reduction case.
14623 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
14626 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14628 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
14629 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
14632 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
14634 2018-04-03 Joseph Myers <joseph@codesourcery.com>
14636 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14639 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14641 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
14642 Remove definitions.
14643 (opendir_oflags): Use O_DIRECTORY regardless.
14644 (__opendir, __opendirat): Remove need_isdir_precheck usage.
14645 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
14647 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14649 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
14650 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
14652 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
14653 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
14654 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
14655 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
14656 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
14657 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
14659 * htl/Makefile: Bump licence to LGPL 2.1+.
14660 * htl/alloca_cutoff.c: Likewise.
14661 * htl/cthreads-compat.c: Likewise.
14662 * htl/lockfile.c: Likewise.
14663 * htl/pt-alloc.c: Likewise.
14664 * htl/pt-cancel.c: Likewise.
14665 * htl/pt-cleanup.c: Likewise.
14666 * htl/pt-create.c: Likewise.
14667 * htl/pt-dealloc.c: Likewise.
14668 * htl/pt-detach.c: Likewise.
14669 * htl/pt-exit.c: Likewise.
14670 * htl/pt-getattr.c: Likewise.
14671 * htl/pt-initialize.c: Likewise.
14672 * htl/pt-internal.h: Likewise.
14673 * htl/pt-join.c: Likewise.
14674 * htl/pt-self.c: Likewise.
14675 * htl/pt-setcancelstate.c: Likewise.
14676 * htl/pt-setcanceltype.c: Likewise.
14677 * htl/pt-sigmask.c: Likewise.
14678 * htl/pt-spin-inlines.c: Likewise.
14679 * htl/pt-testcancel.c: Likewise.
14680 * htl/pt-yield.c: Likewise.
14681 * htl/tests/test-1.c: Likewise.
14682 * htl/tests/test-10.c: Likewise.
14683 * htl/tests/test-11.c: Likewise.
14684 * htl/tests/test-12.c: Likewise.
14685 * htl/tests/test-13.c: Likewise.
14686 * htl/tests/test-14.c: Likewise.
14687 * htl/tests/test-15.c: Likewise.
14688 * htl/tests/test-16.c: Likewise.
14689 * htl/tests/test-17.c: Likewise.
14690 * htl/tests/test-2.c: Likewise.
14691 * htl/tests/test-3.c: Likewise.
14692 * htl/tests/test-4.c: Likewise.
14693 * htl/tests/test-5.c: Likewise.
14694 * htl/tests/test-6.c: Likewise.
14695 * htl/tests/test-7.c: Likewise.
14696 * htl/tests/test-8.c: Likewise.
14697 * htl/tests/test-9.c: Likewise.
14698 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
14699 * sysdeps/htl/bits/cancelation.h: Likewise.
14700 * sysdeps/htl/bits/pthread-np.h: Likewise.
14701 * sysdeps/htl/bits/pthread.h: Likewise.
14702 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
14703 * sysdeps/htl/bits/semaphore.h: Likewise.
14704 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
14705 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
14706 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
14707 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
14708 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
14709 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
14710 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
14711 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
14712 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
14713 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
14714 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
14715 * sysdeps/htl/old_pt-atfork.c: Likewise.
14716 * sysdeps/htl/pt-atfork.c: Likewise.
14717 * sysdeps/htl/pt-attr-destroy.c: Likewise.
14718 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
14719 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
14720 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
14721 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
14722 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
14723 * sysdeps/htl/pt-attr-getscope.c: Likewise.
14724 * sysdeps/htl/pt-attr-getstack.c: Likewise.
14725 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
14726 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
14727 * sysdeps/htl/pt-attr-init.c: Likewise.
14728 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
14729 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
14730 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
14731 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
14732 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
14733 * sysdeps/htl/pt-attr-setscope.c: Likewise.
14734 * sysdeps/htl/pt-attr-setstack.c: Likewise.
14735 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
14736 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
14737 * sysdeps/htl/pt-attr.c: Likewise.
14738 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
14739 * sysdeps/htl/pt-barrier-init.c: Likewise.
14740 * sysdeps/htl/pt-barrier-wait.c: Likewise.
14741 * sysdeps/htl/pt-barrier.c: Likewise.
14742 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
14743 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
14744 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
14745 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
14746 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
14747 * sysdeps/htl/pt-cond-destroy.c: Likewise.
14748 * sysdeps/htl/pt-cond-init.c: Likewise.
14749 * sysdeps/htl/pt-cond-signal.c: Likewise.
14750 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
14751 * sysdeps/htl/pt-cond-wait.c: Likewise.
14752 * sysdeps/htl/pt-cond.c: Likewise.
14753 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
14754 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
14755 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
14756 * sysdeps/htl/pt-condattr-init.c: Likewise.
14757 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
14758 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
14759 * sysdeps/htl/pt-destroy-specific.c: Likewise.
14760 * sysdeps/htl/pt-equal.c: Likewise.
14761 * sysdeps/htl/pt-getconcurrency.c: Likewise.
14762 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
14763 * sysdeps/htl/pt-getschedparam.c: Likewise.
14764 * sysdeps/htl/pt-getspecific.c: Likewise.
14765 * sysdeps/htl/pt-init-specific.c: Likewise.
14766 * sysdeps/htl/pt-key-create.c: Likewise.
14767 * sysdeps/htl/pt-key-delete.c: Likewise.
14768 * sysdeps/htl/pt-key.h: Likewise.
14769 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
14770 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
14771 * sysdeps/htl/pt-mutex-init.c: Likewise.
14772 * sysdeps/htl/pt-mutex-lock.c: Likewise.
14773 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
14774 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
14775 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
14776 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
14777 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
14778 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
14779 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
14780 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
14781 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
14782 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
14783 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
14784 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
14785 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
14786 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
14787 * sysdeps/htl/pt-mutexattr.c: Likewise.
14788 * sysdeps/htl/pt-once.c: Likewise.
14789 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
14790 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
14791 * sysdeps/htl/pt-rwlock-init.c: Likewise.
14792 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
14793 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
14794 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
14795 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
14796 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
14797 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
14798 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
14799 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
14800 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
14801 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
14802 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
14803 * sysdeps/htl/pt-setconcurrency.c: Likewise.
14804 * sysdeps/htl/pt-setschedparam.c: Likewise.
14805 * sysdeps/htl/pt-setschedprio.c: Likewise.
14806 * sysdeps/htl/pt-setspecific.c: Likewise.
14807 * sysdeps/htl/pt-spin.c: Likewise.
14808 * sysdeps/htl/pt-startup.c: Likewise.
14809 * sysdeps/htl/pthread.h: Likewise.
14810 * sysdeps/htl/sem-close.c: Likewise.
14811 * sysdeps/htl/sem-destroy.c: Likewise.
14812 * sysdeps/htl/sem-getvalue.c: Likewise.
14813 * sysdeps/htl/sem-init.c: Likewise.
14814 * sysdeps/htl/sem-open.c: Likewise.
14815 * sysdeps/htl/sem-post.c: Likewise.
14816 * sysdeps/htl/sem-timedwait.c: Likewise.
14817 * sysdeps/htl/sem-trywait.c: Likewise.
14818 * sysdeps/htl/sem-unlink.c: Likewise.
14819 * sysdeps/htl/sem-wait.c: Likewise.
14820 * sysdeps/hurd/htl/pt-kill.c: Likewise.
14821 * sysdeps/i386/htl/pt-machdep.h: Likewise.
14822 * sysdeps/mach/htl/pt-block.c: Likewise.
14823 * sysdeps/mach/htl/pt-spin.c: Likewise.
14824 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
14825 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
14826 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
14827 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
14828 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
14829 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
14830 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
14831 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
14832 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
14833 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
14834 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
14835 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
14836 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
14837 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
14838 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
14839 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
14840 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
14841 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
14842 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
14843 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14844 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14845 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14846 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14847 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14848 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14849 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14850 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14851 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14852 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14853 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14854 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14855 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14856 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14857 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14858 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14859 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14860 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14861 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14862 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14863 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14864 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14865 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14866 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14868 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14869 * README: Remove the mention of out-of-tree patches needed for
14872 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14873 (UTIME_NOW, UTIME_OMIT): Define macros.
14875 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14876 instead of pthread_detach.
14877 (__cthread_fork): Call __pthread_create instead of pthread_create.
14878 (__cthread_keycreate): Call __pthread_key_create instead of
14879 pthread_key_create.
14880 (__cthread_getspecific): Call __pthread_getspecific instead of
14881 pthread_getspecific.
14882 (__cthread_setspecific): Call __pthread_setspecific instead of
14883 pthread_setspecific.
14884 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14885 __pthread_mutex_unlock instead of pthread_mutex_lock and
14886 pthread_mutex_unlock.
14887 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14888 ___pthread_get_cleanup_stack.
14889 (__pthread_get_cleanup_stack): New strong alias.
14890 * htl/pt-create.c: Include <pthreadP.h>.
14891 (entry_point): Call __pthread_exit instead of pthread_exit.
14892 (pthread_create): Rename to __pthread_create.
14893 (pthread_create): New strong alias.
14894 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14895 (pthread_detach): New strong alias.
14896 (__pthread_detach): Call __pthread_cond_broadcast instead of
14897 pthread_cond_broadcast.
14898 * htl/pt-exit.c: Include <pthreadP.h>.
14899 (__pthread_exit): Call __pthread_setcancelstate and
14900 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14901 __pthread_get_cleanup_stack.
14902 * htl/pt-testcancel.c: Include <pthreadP.h>.
14903 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14904 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14905 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14906 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14907 pthread_attr_getstacksize.
14908 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14909 Rename to __pthread_attr_getstackaddr.
14910 (pthread_attr_getstackaddr): New strong alias.
14911 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14912 Rename to __pthread_attr_getstacksize.
14913 (pthread_attr_getstacksize): New strong alias.
14914 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14915 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14916 (pthread_attr_setstack): New strong alias.
14917 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14918 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14919 pthread_attr_getstacksize, pthread_attr_setstacksize and
14920 pthread_attr_setstackaddr.
14921 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14922 Rename to __pthread_attr_setstackaddr.
14923 (pthread_attr_setstackaddr): New strong alias.
14924 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14925 Rename to __pthread_attr_setstacksize.
14926 (pthread_attr_setstacksize): New strong alias.
14927 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14928 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14930 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14931 (__pthread_key_create): New hidden def.
14932 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14933 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14934 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14935 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14936 __pthread_setspecific, __pthread_setcancelstate,
14937 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14938 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14939 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14941 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14942 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14943 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14944 (pthread_attr_setstackaddr): New strong alias.
14945 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14946 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14947 (pthread_attr_setstacksize): New strong alias.
14948 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14949 (call_exit): Call __pthread_exit instead of pthread_exit.
14950 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14951 (_pthread_mutex_init): New hidden definition.
14952 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14953 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14954 instead of pthread_attr_init and pthread_attr_setstack.
14956 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14957 __vm_deallocate instead of vm_allocate and vm_deallocate.
14958 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14960 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14962 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14964 * hurd/siginfo.c: Include <libioP.h>.
14965 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14966 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14968 * mach/devstream.c: Include <libioP.h>.
14969 (dealloc_ref): Call __mach_port_deallocate instead of
14970 mach_port_deallocate.
14971 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14972 Call __mach_port_deallocate instead of mach_port_deallocate.
14973 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14975 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14977 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14978 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14979 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14981 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14983 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14984 instead of sysconf.
14985 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14986 __clock_gettime instead of clock_gettime.
14987 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14988 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14989 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14990 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14991 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14993 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14994 __clock_gettime and __nanosleep instead of clock_gettime and
14996 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14997 __hurd_catch_signal.
14998 (hurd_catch_signal): New strong alias.
14999 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15000 __hurd_catch_signal instead of hurd_catch_signal.
15001 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15002 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15003 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15004 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15005 (_hurd_thread_sigstate): Add hidden def.
15006 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15008 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15009 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15010 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15011 __hurd_file_name_path_lookup.
15012 (hurd_file_name_path_lookup): New strong alias.
15013 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15014 hurd_file_name_path_lookup.
15015 * mach/errstring.c (mach_error_type): Add hidden def.
15016 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15017 * mach/mutex-init.c (__mutex_init): Add hidden def.
15018 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15019 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15020 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15021 * sysdeps/mach/hurd/getcwd.c
15022 (_hurd_canonicalize_directory_name_internal): Rename to
15023 __hurd_canonicalize_directory_name_internal.
15024 (_hurd_canonicalize_directory_name_internal): New strong alias.
15025 (__canonicalize_directory_name_internal, __getcwd): Call
15026 __hurd_canonicalize_directory_name_internal instead of
15027 _hurd_canonicalize_directory_name_internal.
15028 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15029 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15031 * sysdeps/hurd/include/hurd.h: New file.
15032 * sysdeps/hurd/include/hurd/fd.h: New file.
15033 * sysdeps/hurd/include/hurd/signal.h: New file.
15034 * sysdeps/mach/include/lock-intern.h: New file.
15035 * sysdeps/mach/include/mach.h: New file.
15036 * sysdeps/mach/include/mach/mig_support.h: New file.
15037 * sysdeps/mach/include/mach_error.h: New file.
15038 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15040 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15041 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15042 _HEADER_H_HIDDEN_DEF macro.
15043 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15044 _hurd_fd_error_signal): Add hidden prototype.
15045 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15047 * libio/iolibio.h (_IO_puts): New hidden prototype.
15048 * libio/ioputs.c (_IO_puts): New hidden def.
15049 * sysdeps/mach/hurd/localplt.data: New file.
15051 2018-04-02 Agustina Arzille <avarzille@riseup.net>
15052 Amos Jeffries <squid3@treenet.co.nz>
15053 David Michael <fedora.dm0@gmail.com>
15054 Marco Gerards <marco@gnu.org>
15055 Marcus Brinkmann <marcus@gnu.org>
15056 Neal H. Walfield <neal@gnu.org>
15057 Pino Toscano <toscano.pino@tiscali.it>
15058 Richard Braun <rbraun@sceen.net>
15059 Roland McGrath <roland@gnu.org>
15060 Samuel Thibault <samuel.thibault@ens-lyon.org>
15061 Thomas DiModica <ricinwich@yahoo.com>
15062 Thomas Schwinge <tschwinge@gnu.org>
15064 * htl: New directory.
15065 * sysdeps/htl: New directory.
15066 * sysdeps/hurd/htl: New directory.
15067 * sysdeps/i386/htl: New directory.
15068 * sysdeps/mach/htl: New directory.
15069 * sysdeps/mach/hurd/htl: New directory.
15070 * sysdeps/mach/hurd/i386/htl: New directory.
15071 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15072 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15073 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15075 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15077 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15078 signals in thread created for runing timers.
15080 2018-04-01 Florian Weimer <fweimer@redhat.com>
15082 * support/support_format_addrinfo.c (support_format_addrinfo):
15083 Include unknown error number in formatted result.
15085 2018-03-29 Florian Weimer <fweimer@redhat.com>
15087 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15090 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15092 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15093 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15094 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15095 (__ASSUME_CLONE_BACKWARDS): Define.
15097 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15100 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15101 early when linux sentinel value is set.
15103 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15105 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15107 2018-03-27 Andreas Schwab <schwab@suse.de>
15110 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15111 allocation of private copy of nsaddr_list fails.
15113 2018-03-26 Joseph Myers <joseph@codesourcery.com>
15116 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15117 * sysdeps/unix/sysv/linux/umount.c: ... here.
15118 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15119 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15120 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15121 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15123 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15124 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15126 2018-03-26 Andreas Schwab <schwab@suse.de>
15128 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15129 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15130 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15131 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15132 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15133 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15134 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15135 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15136 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15137 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15138 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15139 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15140 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15141 (R_RISCV_NUM): Define.
15143 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15145 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15146 TLS declaration of errno.
15147 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15149 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15150 (ARCH_SETUP_TLS): Likewise.
15151 * sysdeps/mach/hurd/libc-start.h: New file copied from
15152 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
15153 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15154 instead of __libc_setup_tls.
15155 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
15156 __libc_setup_tls before initializing libpthread and running _hurd_init
15157 which starts the signal thread.
15158 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15160 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15162 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15165 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15166 after it is defined.
15168 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15169 Max Horn <max@quendi.de>
15173 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15175 * string/test-memmove.c (do_test2): New testcase.
15177 2018-03-22 Joseph Myers <joseph@codesourcery.com>
15179 * sysdeps/generic/frame.h: Remove file.
15180 * sysdeps/arm/frame.h: Likewise.
15181 * sysdeps/hppa/frame.h: Likewise.
15182 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15184 (GET_FRAME): Likewise.
15185 (GET_STACK): Likewise.
15186 (CALL_SIGHANDLER): Likewise.
15187 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15189 (GET_FRAME): Likewise.
15190 (GET_STACK): Likewise.
15191 (CALL_SIGHANDLER): Likewise.
15192 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15193 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15194 (GET_FRAME): Likewise.
15195 (GET_STACK): Likewise.
15196 (CALL_SIGHANDLER): Likewise.
15197 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15198 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15199 (GET_FRAME): Likewise.
15200 (GET_STACK): Likewise.
15201 (ADVANCE_STACK_FRAME): Likewise.
15202 (CALL_SIGHANDLER): Likewise.
15203 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15204 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15205 (GET_FRAME): Likewise.
15206 (GET_STACK): Likewise.
15207 (CALL_SIGHANDLER): Likewise.
15208 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15209 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15210 (GET_FRAME): Likewise.
15211 (GET_STACK): Likewise.
15212 (CALL_SIGHANDLER): Likewise.
15213 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15214 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15215 (GET_FRAME): Likewise.
15216 (GET_STACK): Likewise.
15217 (CALL_SIGHANDLER): Likewise.
15218 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15219 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15220 (GET_FRAME): Likewise.
15221 (GET_STACK): Likewise.
15222 (CALL_SIGHANDLER): Likewise.
15223 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15224 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15225 (GET_FRAME): Likewise.
15226 (GET_STACK): Likewise.
15227 (CALL_SIGHANDLER): Likewise.
15228 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15229 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15230 (GET_FRAME): Likewise.
15231 (GET_STACK): Likewise.
15232 (CALL_SIGHANDLER): Likewise.
15233 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15234 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15235 (GET_FRAME): Likewise.
15236 (GET_STACK): Likewise.
15237 (CALL_SIGHANDLER): Likewise.
15238 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15239 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15240 (GET_FRAME): Likewise.
15241 (GET_STACK): Likewise.
15242 (CALL_SIGHANDLER): Likewise.
15243 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15244 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15245 (GET_FRAME): Likewise.
15246 (GET_STACK): Likewise.
15247 (CALL_SIGHANDLER): Likewise.
15248 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15249 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15250 (FIRST_FRAME_POINTER): Likewise.
15251 (ADVANCE_STACK_FRAME): Likewise.
15252 (GET_STACK): Likewise.
15253 (GET_FRAME): Likewise.
15254 (CALL_SIGHANDLER): Likewise.
15255 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15256 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15257 (ADVANCE_STACK_FRAME): Likewise.
15258 (GET_STACK): Likewise.
15259 (GET_FRAME): Likewise.
15260 (CALL_SIGHANDLER): Likewise.
15261 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15262 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15263 (GET_FRAME): Likewise.
15264 (GET_STACK): Likewise.
15265 (CALL_SIGHANDLER): Likewise.
15266 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15267 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15268 (GET_FRAME): Likewise.
15269 (GET_STACK): Likewise.
15270 (CALL_SIGHANDLER): Likewise.
15272 2018-03-21 Joseph Myers <joseph@codesourcery.com>
15274 * sysdeps/x86_64/backtrace.c: Move to ....
15275 * debug/backtrace.c: ... here.
15276 * sysdeps/aarch64/backtrace.c: Remove file.
15277 * sysdeps/alpha/backtrace.c: Likewise.
15278 * sysdeps/hppa/backtrace.c: Likewise.
15279 * sysdeps/ia64/backtrace.c: Likewise.
15280 * sysdeps/mips/backtrace.c: Likewise.
15281 * sysdeps/nios2/backtrace.c: Likewise.
15282 * sysdeps/riscv/backtrace.c: Likewise.
15283 * sysdeps/sh/backtrace.c: Likewise.
15284 * sysdeps/tile/backtrace.c: Likewise.
15286 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15289 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
15292 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
15295 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
15296 possibly overflowing computations.
15298 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15300 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
15301 values from Linux-specific section now that it is in the GNU section.
15302 * sysdeps/gnu/errlist.c: Regenerate.
15304 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15306 * math/Makefile (libm-narrow-fns): Add sub.
15307 (libm-test-funcs-narrow): Likewise.
15308 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
15309 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
15310 * math/gen-auto-libm-tests.c (test_functions): Add sub.
15311 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
15312 (NARROW_SUB_ROUND_TO_ODD): Likewise.
15313 (NARROW_SUB_TRIVIAL): Likewise.
15314 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
15316 (__dsubl): Likewise.
15317 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
15319 (CFLAGS-nldbl-dsub.c): New variable.
15320 (CFLAGS-nldbl-fsub.c): Likewise.
15321 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15323 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
15325 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
15326 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
15327 * math/auto-libm-test-in: Add tests of sub.
15328 * math/auto-libm-test-out-narrow-sub: New generated file.
15329 * math/libm-test-narrow-sub.inc: New file.
15330 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15331 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
15332 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
15333 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
15334 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
15335 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
15336 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
15337 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
15338 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
15339 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
15340 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
15341 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
15342 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
15343 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
15344 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
15345 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
15346 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
15347 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
15348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15349 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15350 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15351 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15352 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15353 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15354 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15355 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15356 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15357 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15358 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15359 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15360 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15361 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15366 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15367 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15368 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15369 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15370 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15371 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15372 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15373 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15374 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15375 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15377 2018-03-19 Joseph Myers <joseph@codesourcery.com>
15380 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
15382 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
15384 * benchtests/bench-timing.h (attribute_hidden): Undefine.
15386 2018-03-18 Richard Braun <rbraun@sceen.net>
15388 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
15391 2018-03-18 Agustina Arzille <avarzille@riseup.net>
15393 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
15394 (__libc_cleanup_fct): Define function.
15395 (__libc_cleanup_region_start, __libc_cleanup_region_end,
15396 __libc_cleanup_end): Rewrite implementation using
15397 __attribute__ ((__cleanup__)).
15398 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
15399 * hurd/Makefile (routines): Add hurdlock.
15400 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
15402 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
15403 * hurd/hurdpid.c: Include <lowlevellock.h>
15404 (_S_msg_proc_newids): Use lll_wait to synchronize.
15405 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15406 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15407 * mach/Makefile (lock-headers): Remove machine-lock.h.
15408 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15410 (__spin_lock_t): New type.
15411 (__SPIN_LOCK_INITIALIZER): New macro.
15412 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15413 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15414 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15415 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15416 (__mutex_init): Initialize with lll.
15417 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15418 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15420 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15421 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15422 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15423 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15424 (__setpgid): Use lll for synchronization.
15425 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15426 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15427 instead of <cthreads.h>.
15428 (_IO_lock_inexpensive): New macro
15429 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15430 (__libc_lock_self0): New declaration.
15431 (__libc_lock_owner_self): New macro.
15432 (__libc_key_t): Remove type.
15433 (_LIBC_LOCK_INITIALIZER): New macro.
15434 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15435 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15436 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15437 __libc_lock_define_initialized_recursive,
15438 __rtld_lock_define_initialized_recursive,
15439 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15440 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15441 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15442 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15443 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15444 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15445 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15447 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15448 * hurd/hurdlock.c: New file.
15449 * hurd/hurdlock.h: New file.
15450 * mach/lowlevellock.h: New file
15452 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15454 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
15455 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15456 when opening a symlink with O_NOFOLLOW.
15457 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15458 path when flags contains O_NOFOLLOW.
15459 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15460 if flags contains O_DIRECTORY and the result is a directory.
15461 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15462 oneself when the pointer given in D is nul (as set by ext2fs).
15463 * sysdeps/mach/hurd/mlockall.c: New file.
15464 * sysdeps/mach/hurd/munlockall.c: New file.
15466 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15468 * hurd/hurdsig.c: Include <pthread.h>.
15469 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15470 get the signal thread stack layout.
15471 * hurd/Makefile (headers): Remove threadvar.h.
15472 (inline-headers): Remove threadvar.h.
15473 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15474 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15475 __hurd_threadvar_max, __hurd_errno_location.
15476 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15477 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15478 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15479 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15480 unless TLS is not initialized yet, in which case we do not need a
15481 critical section yet anyway.
15482 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
15484 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
15486 (__hurd_threadvar_index): Remove enum.
15487 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
15488 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
15490 (__hurd_reply_port0): New variable declaration.
15491 (__hurd_local_reply_port): New macro.
15492 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
15493 (interrupted_reply_port_location): Add thread_t parameter. Use it
15494 with THREAD_TCB to access thread-local variables.
15495 (_hurdsig_abort_rpcs): Pass ss->thread to
15496 interrupted_reply_port_location.
15497 (_hurd_internal_post_signal): Likewise.
15498 (_hurdsig_init): Use presence of cthread_fork instead of
15499 __hurd_threadvar_stack_mask to start signal thread by hand.
15500 Remove signal thread threadvar initialization.
15501 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
15502 * hurd/sigunwind.c: Include <hurd/threadvar.h>
15503 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
15505 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
15507 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
15508 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
15509 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
15510 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
15511 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
15512 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
15513 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
15515 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
15516 <hurd/threadvar.h>.
15517 [IS_IN(rtld)] (rtld_errno): New variable.
15518 [IS_IN(rtld)] (__errno_location): New weak function.
15519 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
15520 * sysdeps/mach/hurd/errno.c: Remove file.
15521 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
15522 (__fork): Remove THREADVAR_SPACE macro and its use.
15523 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
15525 (init): Do not initialize threadvar.
15526 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
15528 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
15529 __hurd_local_reply_port instead of threadvar.
15530 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
15531 _hurd_sigstate fields.
15532 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
15533 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
15534 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
15535 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
15536 instead of threadvar.
15537 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
15538 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
15539 (use_threadvar, global_reply_port): Remove variables.
15540 (__hurd_reply_port0): New variable.
15541 (__mig_get_reply_port): Use __hurd_local_reply_port and
15542 __hurd_reply_port0 instead of threadvar.
15543 (__mig_dealloc_reply_port): Likewise.
15544 (__mig_init): Do not initialize threadvar.
15545 * sysdeps/mach/hurd/profil.c: Fix comment.
15546 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
15547 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
15548 cthread_keycreate, cthread_getspecific, cthread_setspecific to
15549 __cthread_fork, __cthread_detach, __pthread_getattr_np,
15550 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
15551 __cthread_setspecific.
15552 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
15553 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
15554 __cthread_t instead of cthread_fork, cthread_detach,
15555 pthread_getattr_np, pthread_attr_getstack.
15556 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
15557 __cthread_keycreate.
15558 (cthread_getspecific): Rename to __cthread_getspecific.
15559 (cthread_setspecific): Rename to __cthread_setspecific.
15560 (__libc_getspecific): Use __cthread_getspecific instead of
15561 cthread_getspecific.
15562 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
15563 __cthread_keycreate instead of cthread_keycreate.
15564 (__libc_setspecific): Use __cthread_setspecific instead of
15565 cthread_setspecific.
15566 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
15568 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
15569 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
15570 testing whether it is defined.
15572 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15574 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
15576 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
15577 * sysdeps/mach/i386/thread_state.h
15578 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
15580 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
15582 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
15584 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
15585 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
15587 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
15589 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
15590 descriptor instead of creating a new one.
15591 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
15593 * mach/setup-thread.c: Include <ldsodefs.h>.
15594 (__mach_setup_thread): Call _dl_allocate_tls, pass
15595 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
15596 MACHINE_THREAD_STATE_FLAVOR, before getting
15597 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
15598 MACHINE_THREAD_STATE_FLAVOR with the result.
15599 * hurd/hurdfault.c (_hurdsig_fault_init): Call
15600 MACHINE_THREAD_STATE_FIX_NEW.
15601 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
15602 too. Add original thread parameter.
15604 2018-03-16 Joseph Myers <joseph@codesourcery.com>
15606 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
15607 Remove inline function.
15609 * sysdeps/i386/fpu/libm-test-ulps: Update.
15610 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15612 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
15614 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
15617 2018-03-15 Joseph Myers <joseph@codesourcery.com>
15619 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
15620 (__sincos_code): Remove define and undefine.
15621 [__FAST_MATH__] (__sincos): Remove inline function.
15622 [__FAST_MATH__] (__sincosf): Remove inline function.
15623 [__FAST_MATH__] (__sincosl): Remove inline function.
15624 (__atan2l): Remove inline functions.
15625 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
15626 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
15628 (floor): Remove inline function.
15630 [__FAST_MATH__] (__ldexp_code): Remove macro.
15631 [__FAST_MATH__] (ldexp): Remove inline function.
15632 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
15633 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
15634 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
15635 [__USE_ISOC99] (__lrint_code): Remove macro.
15636 [__USE_ISOC99] (__llrint_code): Likewise.
15637 [__USE_ISOC99] (lrintf): Remove inline function.
15638 [__USE_ISOC99] (lrint): Likewise.
15639 [__USE_ISOC99] (lrintl): Likewise.
15640 [__USE_ISOC99] (llrint): Likewise.
15641 [__USE_ISOC99] (llrintf): Likewise.
15642 [__USE_ISOC99] (llrintl): Likewise.
15644 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15646 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
15647 (__ieee754_sqrtf): Remove.
15648 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
15649 (__ieee754_sqrtf): Remove.
15650 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
15651 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15652 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
15653 (__ieee754_sqrtf): Remove.
15654 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
15655 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
15658 (__ieee754_sqrt): Remove.
15659 (__ieee754_sqrtf): Remove.
15660 (__ieee754_sqrtl): Remove.
15661 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15662 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
15663 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
15664 (__ieee754_sqrtf): Remove.
15665 (__ieee754_sqrtl): Remove.
15667 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15669 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
15670 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15671 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15672 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
15673 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
15674 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15675 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15676 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15678 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
15679 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
15680 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15681 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15682 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
15683 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
15684 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15685 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15686 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15687 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15688 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
15689 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15690 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
15691 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
15692 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
15693 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15694 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15695 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15696 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
15697 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
15698 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15699 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15700 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
15701 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
15702 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
15703 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
15704 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15705 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15706 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
15707 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15708 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15709 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
15710 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15711 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15712 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15713 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15714 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
15715 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
15716 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15717 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
15719 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15721 * include/math.h (sqrt): Declare with asm redirect.
15724 (sqrtf128): Likewise.
15725 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
15726 nonlib and libnldbl with -fmath-errno.
15727 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
15728 * math/w_sqrt_template.c: Likewise.
15729 * math/w_sqrtf_compat.c: Likewise.
15730 * math/w_sqrtl_compat.c: Likewise.
15731 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
15732 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
15733 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
15736 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15738 * benchtests/Makefile: Define _ISOMAC.
15739 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
15740 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
15741 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
15742 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
15743 * benchtests/bench-timing.h: Define attribute_hidden.
15745 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
15747 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
15750 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15753 * localedata/locales/cs_CZ (mon): Rename to...
15755 (mon): Import from CLDR (genitive case).
15757 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15760 * localedata/locales/el_CY (abmon): Rename to...
15761 (ab_alt_mon): This.
15762 (abmon): Import from CLDR (abbreviated genitive case).
15763 * localedata/locales/el_GR (abmon): Rename to...
15764 (ab_alt_mon): This.
15765 (abmon): Import from CLDR (abbreviated genitive case).
15767 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15770 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
15772 2018-03-15 Robert Buj <robert.buj@gmail.com>
15775 * localedata/locales/ca_ES (abmon): Rename to...
15776 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15777 (mon): Rename to...
15779 (abmon): Import from CLDR (genitive case, month names preceded by
15782 (abday): Synchronize with CLDR.
15783 (d_t_fmt): Likewise.
15787 (LC_TIME): Improve indentation.
15788 (LC_TELEPHONE): Likewise.
15789 (LC_NAME): Likewise.
15790 (LC_ADDRESS): Likewise.
15792 2018-03-14 Joseph Myers <joseph@codesourcery.com>
15794 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
15795 (lrintf): Remove definitions used only with old GCC.
15796 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
15797 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
15798 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
15799 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
15800 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
15801 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
15802 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
15803 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
15804 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
15805 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
15806 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
15807 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
15808 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
15809 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
15810 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
15811 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
15812 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
15813 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
15814 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
15815 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
15816 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
15817 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
15818 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
15819 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
15820 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
15821 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
15822 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
15823 [__FAST_MATH__] (__M_SQRT2): Remove macro.
15825 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15827 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
15828 instruction to unbreak builds with binutils 2.26 and older.
15830 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15832 * sysdeps/aarch64/strncmp.S (count): New macro.
15833 (strncmp): Store misaligned length in SRC1 in COUNT.
15834 (mutual_align): Adjust.
15835 (misaligned8): Load dword at a time when it is safe.
15837 2018-03-12 Zack Weinberg <zackw@panix.com>
15841 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
15842 if the _IO_EOF_SEEN bit is already set; update commentary.
15843 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15844 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15846 * support/support_openpty.c, support/tty.h: New files.
15847 * support/Makefile (libsupport-routines): Add support_openpty.
15849 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15851 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15852 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15854 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15856 * po/pt_BR.po: Update translations.
15858 2018-03-12 David Michael <fedora.dm0@gmail.com>
15860 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15861 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15862 get a port to the startup server.
15864 2018-03-11 Zack Weinberg <zackw@panix.com>
15866 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15867 before nldbl-compat.h.
15869 2018-03-10 Zack Weinberg <zackw@panix.com>
15871 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15872 math.h or math_private.h.
15874 * sysdeps/alpha/fpu/s_isnan.c
15875 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15876 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15877 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15878 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15879 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15880 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15881 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15882 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15883 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15886 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15887 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15888 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15889 Include math_private.h.
15891 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15892 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15893 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15894 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15895 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15896 * sysdeps/powerpc/power7/fpu/s_logb.c:
15897 Include math.h and math_private.h.
15899 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15900 uses of $at in .set noat / .set at.
15902 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15904 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15905 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15906 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15907 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15910 2018-03-09 Florian Weimer <fweimer@redhat.com>
15912 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15915 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15918 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15919 Add nop before __startcontext, add explaining comments.
15921 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15924 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15926 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15927 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15928 Do not build hardware transactional code for __SPE__.
15929 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15930 (__lll_trylock_elision): Likewise.
15931 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15932 (__lll_unlock_elision): Likewise.
15934 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
15935 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15936 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15937 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15938 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15939 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15940 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15941 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15942 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15943 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15944 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15945 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15946 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15947 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15948 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15949 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15950 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15951 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15952 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15953 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15954 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15955 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15956 (__ASSUME_CLONE_BACKWARDS): Define.
15957 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15958 __clone2 if __NR_clone2 is defined.
15959 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15960 (__ASSUME_CLONE_BACKWARDS): Likewise.
15961 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15962 (__ASSUME_CLONE_BACKWARDS): Likewise.
15963 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15964 (__ASSUME_CLONE2): Likewise.
15965 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15966 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15967 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15968 variants and the define architecture can use.
15969 (__ASSUME_CLONE_DEFAULT): Define as default.
15970 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15971 (__ASSUME_CLONE_BACKWARDS): Likewise.
15972 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15973 (__ASSUME_CLONE_BACKWARDS): Likewise.
15974 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15975 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15977 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15979 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15981 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15984 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15985 (do_test_limit): Likewise.
15987 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15988 for every implementation.
15989 (do_test): Likewise.
15991 * benchtests/bench-strncmp.c: Convert output to json.
15993 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15995 * io/futimens.c: Add missing start-of-file descriptive comment.
15996 * io/utime.c: Likewise.
15997 * misc/futimesat.c: Likewise.
15998 * misc/utimes.c: Likewise.
15999 * sysdeps/mach/hurd/futimesat.c: Likewise.
16000 * sysdeps/mach/hurd/utimes.c: Likewise.
16001 * sysdeps/posix/utime.c: Likewise.
16002 * sysdeps/posix/utimes.c: Likewise.
16003 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16004 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16005 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16006 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16008 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16010 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16012 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16013 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16014 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16015 (__futimens): Move implementation to...
16016 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16017 utime_tvalue_from_tspec): ... new helper functions.
16018 (hurd_futimens): New function.
16019 * sysdeps/mach/hurd/futimesat.c: New file.
16020 * sysdeps/mach/hurd/utimensat.c: New file.
16022 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16024 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16025 UTIME_OMIT): New macros.
16026 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16027 before reverting to converting time spec to time value and calling
16029 * sysdeps/mach/hurd/utime-helper.c: New file.
16030 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16031 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16032 reverting to utime_tvalue_from_tval and __file_utimes.
16033 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16034 (__lutimes): Just call hurd_futimens after lookup.
16035 * sysdeps/mach/hurd/utimes.c: Likewise.
16037 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16039 * bits/sigaction.h: Add include guard.
16040 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16041 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16042 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16043 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16044 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16045 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16046 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16047 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16048 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16050 2018-03-05 Joseph Myers <joseph@codesourcery.com>
16052 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16053 -Wmaybe-uninitialized for -Os.
16054 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16057 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16059 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16060 __INO_T_MATCHES_INO64_T is defined.
16061 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16062 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16064 * dirent/alphasort64.c: Likewise.
16065 * dirent/scandir.c: Likewise.
16066 * dirent/scandir64-tail.c: Likewise.
16067 * dirent/scandir64.c: Likewise.
16068 * dirent/scandirat.c: Likewise.
16069 * dirent/scandirat64.c: Likewise.
16070 * dirent/versionsort.c: Likewise.
16071 * dirent/versionsort64.c: Likewise.
16072 * include/dirent.h: Likewise.
16074 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16075 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16076 for socketpair endpoint.
16077 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16078 WRITE_BUFFER_SIZE as buffer size for sending socket.
16079 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16080 issue on system where send is implemented with sendto syscall.
16081 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16082 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16083 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16084 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16087 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16088 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16089 sa_restorer for vDSO case.
16090 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16092 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16094 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
16095 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16096 * hurd/hurd/ioctl.h: Include <mach/port.h>
16097 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
16098 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16099 <mach/mach_types.h> and <mach/message.h>.
16100 (headers): Move mach/param.h to bits/mach/param.h.
16101 * sysdeps/mach/i386/mach/param.h: Move file to ...
16102 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16103 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16105 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16106 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16107 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
16108 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16109 trivial, for C++ conformity.
16110 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
16111 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16112 Process mig output through $(migheadersed).
16113 * hurd/Makefile (migheadersed): Define variable.
16114 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16115 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16117 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16118 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16119 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16120 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16121 <bits/types/sigset_t.h>.
16122 [!defined __USE_GNU]: Do not #error out.
16123 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16124 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16125 Include <stddef.h> and <bits/types/sigset_t.h>
16126 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16127 instead of sighandler_t.
16128 * stdlib/errno.h (error_t): Move definition to...
16129 * bits/types/error_t.h: ... new header.
16130 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16131 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16132 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16133 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16134 * hurd/hurd.h: Include <bits/types/error_t.h>
16135 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16136 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16137 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16138 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16139 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16140 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
16141 * sysdeps/mach/hurd/futimens.c: New file.
16143 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16146 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16147 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16148 * nscd/gai.c (__nss_hosts_database): Readd definition.
16149 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16150 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16151 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16153 2018-03-02 Joseph Myers <joseph@codesourcery.com>
16155 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16156 (ifunc_one): Likewise.
16158 2018-03-01 DJ Delorie <dj@delorie.com>
16161 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16164 2018-03-01 Maciej W. Rozycki <macro@mips.com>
16166 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16167 `match_pid' parameter.
16168 (td_ta_thr_iter): Update accordingly.
16170 2018-03-01 Florian Weimer <fweimer@redhat.com>
16172 * nptl/Makefile (install-lib-ldscripts): Remove.
16173 (install): Remove rule.
16174 ($(inst_libdir)/libpthread.so): Likewise.
16176 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16179 * localedata/locales/an_ES: update month and day names,
16180 improve d_fmt, improve postal_fmt, add country_post,
16183 2018-03-01 Mike FABIAN <mfabian@redhat.com>
16185 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16186 Ukrainian instead of Bulgarian.
16188 2018-03-01 Florian Weimer <fweimer@redhat.com>
16190 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16193 2018-03-01 Florian Weimer <fweimer@redhat.com>
16195 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16196 * nptl/Makefile (routines): Add pthread_atfork.
16197 (static-only-routines): Set to pthread_atfork.
16198 (libpthread-routines): Remove pthread_atfork.
16199 (libpthread-static-only-routines): Remove.
16200 (install): Update comment.
16201 (libpthread.so): Do not install libpthread_nonshared.a.
16202 (tests): Do not link with libpthread_nonshared.a.
16203 (generated): Remove libpthread_nonshared.a.
16204 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16205 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16206 with libpthread_nonshared.a.
16208 2018-02-28 Joseph Myers <joseph@codesourcery.com>
16211 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16212 (libc_feholdexcept_setroundf128): New macro.
16213 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16216 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16218 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16219 * include/inttypes.h: New file.
16221 2018-02-27 Joseph Myers <joseph@codesourcery.com>
16223 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16224 -Os in two more places.
16226 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16228 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16229 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16230 be sorted correctly at the moment because of a bug.
16232 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16234 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16235 treat ñ as a primary different character, sync the collation
16236 for Spanish with CLDR.
16237 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16238 * localedata/Makefile: Add new test files.
16239 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16240 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16242 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16243 * localedata/am_ET.UTF-8.in: New test file.
16244 * localedata/az_AZ.UTF-8.in: Likewise.
16245 * localedata/be_BY.UTF-8.in: Likewise.
16246 * localedata/ber_DZ.UTF-8.in: Likewise.
16247 * localedata/ber_MA.UTF-8.in: Likewise.
16248 * localedata/bg_BG.UTF-8.in: Likewise.
16249 * localedata/br_FR.UTF-8.in: Likewise.
16250 * localedata/cmn_TW.UTF-8.in: Likewise.
16251 * localedata/crh_UA.UTF-8.in: Likewise.
16252 * localedata/csb_PL.UTF-8.in: Likewise.
16253 * localedata/cv_RU.UTF-8.in: Likewise.
16254 * localedata/cy_GB.UTF-8.in: Likewise.
16255 * localedata/dz_BT.UTF-8.in: Likewise.
16256 * localedata/eo.UTF-8.in: Likewise.
16257 * localedata/es_ES.UTF-8.in: Likewise.
16258 * localedata/fa_IR.UTF-8.in: Likewise.
16259 * localedata/fi_FI.UTF-8.in: Likewise.
16260 * localedata/fil_PH.UTF-8.in: Likewise.
16261 * localedata/fur_IT.UTF-8.in: Likewise.
16262 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16263 * localedata/ha_NG.UTF-8.in: Likewise.
16264 * localedata/ig_NG.UTF-8.in: Likewise.
16265 * localedata/ik_CA.UTF-8.in: Likewise.
16266 * localedata/kk_KZ.UTF-8.in: Likewise.
16267 * localedata/ku_TR.UTF-8.in: Likewise.
16268 * localedata/ky_KG.UTF-8.in: Likewise.
16269 * localedata/ln_CD.UTF-8.in: Likewise.
16270 * localedata/mi_NZ.UTF-8.in: Likewise.
16271 * localedata/ml_IN.UTF-8.in: Likewise.
16272 * localedata/mn_MN.UTF-8.in: Likewise.
16273 * localedata/mr_IN.UTF-8.in: Likewise.
16274 * localedata/mt_MT.UTF-8.in: Likewise.
16275 * localedata/nb_NO.UTF-8.in: Likewise.
16276 * localedata/om_KE.UTF-8.in: Likewise.
16277 * localedata/os_RU.UTF-8.in: Likewise.
16278 * localedata/ps_AF.UTF-8.in: Likewise.
16279 * localedata/ro_RO.UTF-8.in: Likewise.
16280 * localedata/ru_RU.UTF-8.in: Likewise.
16281 * localedata/sc_IT.UTF-8.in: Likewise.
16282 * localedata/se_NO.UTF-8.in: Likewise.
16283 * localedata/sq_AL.UTF-8.in: Likewise.
16284 * localedata/sv_SE.UTF-8.in: Likewise.
16285 * localedata/szl_PL.UTF-8.in: Likewise.
16286 * localedata/tg_TJ.UTF-8.in: Likewise.
16287 * localedata/tk_TM.UTF-8.in: Likewise.
16288 * localedata/tt_RU.UTF-8.in: Likewise.
16289 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
16290 * localedata/ug_CN.UTF-8.in: Likewise.
16291 * localedata/uz_UZ.UTF-8.in: Likewise.
16292 * localedata/vi_VN.UTF-8.in: Likewise.
16293 * localedata/yi_US.UTF-8.in: Likewise.
16294 * localedata/yo_NG.UTF-8.in: Likewise.
16295 * localedata/zh_CN.UTF-8.in: Likewise.
16296 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
16297 file and fix bugs in the collation.
16298 * localedata/locales/az_AZ: Likewise.
16299 * localedata/locales/be_BY: Likewise.
16300 * localedata/locales/ber_DZ: Likewise.
16301 * localedata/locales/ber_MA: Likewise.
16302 * localedata/locales/bg_BG: Likewise.
16303 * localedata/locales/br_FR: Likewise.
16304 * localedata/locales/br_FR@euro: Likewise.
16305 * localedata/locales/ca_ES: Likewise.
16306 * localedata/locales/cns11643_stroke: Likewise.
16307 * localedata/locales/crh_UA: Likewise.
16308 * localedata/locales/cs_CZ: Likewise.
16309 * localedata/locales/csb_PL: Likewise.
16310 * localedata/locales/cv_RU: Likewise.
16311 * localedata/locales/cy_GB: Likewise.
16312 * localedata/locales/da_DK: Likewise.
16313 * localedata/locales/dz_BT: Likewise.
16314 * localedata/locales/en_CA: Likewise.
16315 * localedata/locales/eo: Likewise.
16316 * localedata/locales/es_CU: Likewise.
16317 * localedata/locales/es_EC: Likewise.
16318 * localedata/locales/es_ES: Likewise.
16319 * localedata/locales/es_US: Likewise.
16320 * localedata/locales/et_EE: Likewise.
16321 * localedata/locales/fa_IR: Likewise.
16322 * localedata/locales/fi_FI: Likewise.
16323 * localedata/locales/fil_PH: Likewise.
16324 * localedata/locales/fur_IT: Likewise.
16325 * localedata/locales/gez_ER@abegede: Likewise.
16326 * localedata/locales/ha_NG: Likewise.
16327 * localedata/locales/hr_HR: Likewise.
16328 * localedata/locales/hsb_DE: Likewise.
16329 * localedata/locales/hu_HU: Likewise.
16330 * localedata/locales/ig_NG: Likewise.
16331 * localedata/locales/ik_CA: Likewise.
16332 * localedata/locales/is_IS: Likewise.
16333 * localedata/locales/iso14651_t1_pinyin: Likewise.
16334 * localedata/locales/kk_KZ: Likewise.
16335 * localedata/locales/ku_TR: Likewise.
16336 * localedata/locales/ky_KG: Likewise.
16337 * localedata/locales/ln_CD: Likewise.
16338 * localedata/locales/lt_LT: Likewise.
16339 * localedata/locales/lv_LV: Likewise.
16340 * localedata/locales/mi_NZ: Likewise.
16341 * localedata/locales/ml_IN: Likewise.
16342 * localedata/locales/mn_MN: Likewise.
16343 * localedata/locales/mr_IN: Likewise.
16344 * localedata/locales/mt_MT: Likewise.
16345 * localedata/locales/nb_NO: Likewise.
16346 * localedata/locales/om_KE: Likewise.
16347 * localedata/locales/os_RU: Likewise.
16348 * localedata/locales/pl_PL: Likewise.
16349 * localedata/locales/ps_AF: Likewise.
16350 * localedata/locales/ro_RO: Likewise.
16351 * localedata/locales/ru_RU: Likewise.
16352 * localedata/locales/ru_UA: Likewise.
16353 * localedata/locales/sc_IT: Likewise.
16354 * localedata/locales/se_NO: Likewise.
16355 * localedata/locales/si_LK: Likewise.
16356 * localedata/locales/sq_AL: Likewise.
16357 * localedata/locales/sv_FI: Likewise.
16358 * localedata/locales/sv_FI@euro: Likewise.
16359 * localedata/locales/sv_SE: Likewise.
16360 * localedata/locales/szl_PL: Likewise.
16361 * localedata/locales/tg_TJ: Likewise.
16362 * localedata/locales/ti_ER: Likewise.
16363 * localedata/locales/tk_TM: Likewise.
16364 * localedata/locales/tl_PH: Likewise.
16365 * localedata/locales/tr_TR: Likewise.
16366 * localedata/locales/tt_RU: Likewise.
16367 * localedata/locales/tt_RU@iqtelif: Likewise.
16368 * localedata/locales/ug_CN: Likewise.
16369 * localedata/locales/uk_UA: Likewise.
16370 * localedata/locales/uz_UZ: Likewise.
16371 * localedata/locales/uz_UZ@cyrillic: Likewise.
16372 * localedata/locales/vi_VN: Likewise.
16373 * localedata/locales/yi_US: Likewise.
16374 * localedata/locales/yo_NG: Likewise.
16376 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16378 * gen-locales.mk: Make test files which contain @ modifiers in their
16380 * localedata/gen-locale.sh: Likewise.
16382 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16384 * posix/tst-fnmatch.input: Fix results for range expressions
16386 * posix/tst-regexloc.c: Do not use a range expression for
16387 de_DE.ISO-8859-1 locale.
16389 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16391 * posix/bug-regex5.c: Fix test case because with the new
16392 iso14651_t1_common file, the da_DK locale now has 6 collating elements
16393 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
16396 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16398 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
16399 downloaded from ISO, the collation order of @-. and space has changed.
16400 Therefore, this test file needed to be adapted.
16401 * localedata/fr_CA.UTF-8.in: Likewise.
16402 * localedata/fr_FR.UTF-8.in: Likewise.
16403 * localedata/uk_UA.UTF-8.in: Likewise.
16405 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16407 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16408 order of ȥ in the new iso14651_t1_common file.
16409 * localedata/pl_PL.UTF-8.in: Likewise.
16411 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16413 * localedata/locales/iso14651_t1_common: Add sections for various
16414 scripts to the iso14651_t1_common file.
16416 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16418 * localedata/locales/iso14651_t1_common: Use the code point of a
16419 character in the fourth collation level instead of IGNORE for all
16420 entries which have IGNORE on all 4 levels.
16422 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16424 * localedata/locales/iso14651_t1_common: Add some convenient collation
16425 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16426 rules similar to those in CLDR.
16428 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16430 * localedata/locales/iso14651_t1_common: The new version of this
16431 file downloaded from ISO contained several syntax errors which
16432 are fixed by this patch.
16434 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16436 * localedata/locales/iso14651_t1_common: replace all <U.....>
16437 with <U000.....> because glibc understands only 4 digit or 8 digit
16439 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16441 * localedata/locales/iso14651_t1_common: Necessary changes
16442 to make the file downloaded from ISO usable by glibc.
16444 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16447 * localedata/locales/iso14651_t1_common: Update file to
16448 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16450 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16452 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16453 of <nptl/pthreadP.h>
16454 (thread_attr_compare): Move function to...
16455 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
16456 * sysdeps/nptl/timer_routines.h: ... new header.
16457 * sysdeps/mach/hurd/gai_misc.h: New file.
16459 2018-02-26 Joseph Myers <joseph@codesourcery.com>
16461 * string/strcoll_l.c: Include <libc-diag.h>.
16462 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16463 declarations of seq1 and seq2.
16466 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16467 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16469 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16473 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16474 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16475 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16476 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16477 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16478 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16480 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16482 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
16483 macros used in __ptrace_request.
16485 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
16488 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
16490 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
16491 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
16492 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
16495 2018-02-23 Joseph Myers <joseph@codesourcery.com>
16498 * ctype/ctype.c (tolower): Use libc_hidden_def.
16499 (toupper): Likewise.
16500 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
16501 [!_ISOMAC] (toupper): Likewise.
16503 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16505 * localedata/Makefile: Remove --quiet argument when
16508 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16511 * localedata/locales/pt_BR (LC_TIME): use / instead of -
16513 * localedata/locales/pt_PT (LC_TIME): likewise
16515 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16518 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
16519 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
16520 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
16522 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16526 * nptl/Makefile (routines): Remove unregister-atfork.
16527 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
16528 (fork_handler_alloc): Remove function.
16529 (fork_handlers, fork_handler_init): New variables.
16530 (__fork_lock): Rename to atfork_lock.
16531 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
16532 to use a dynamic array to add/remove atfork handlers.
16533 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16534 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
16535 Remove declaration.
16536 (fork_handler): Remove next, refcntr, and need_signal member.
16537 (__run_fork_handler_type): New enum.
16538 (__run_fork_handlers): New prototype.
16539 * nptl/register-atfork.c: Remove file.
16540 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
16542 * sysdeps/nptl/nptl-signals.h: Move to ...
16543 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
16545 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
16546 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
16547 unnecessary check for SIGTIMER.
16548 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
16549 remove unnecessary removal of SIGTIMER.
16550 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
16551 include-signals.h rename.
16552 * nptl/pthreadP.h: Likewise.
16553 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
16554 __is_internal_signal instead of __nptl_is_internal_signal.
16556 2018-02-22 Andrew Waterman <andrew@sifive.com>
16559 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
16560 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
16561 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
16562 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
16564 2018-02-22 DJ Delorie <dj@delorie.com>
16566 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
16568 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
16570 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
16571 do_misaligned, not misaligned8.
16573 2018-02-22 Steve Ellcey <sellcey@cavium.com>
16575 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
16576 Add memcpy_thunderx2.
16577 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16579 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
16580 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
16581 and IS_THUNDERX2PA checks.
16582 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
16583 Use macro to set name appropriately.
16584 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
16585 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
16586 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
16588 (IS_THUNDERX2): New macro.
16590 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
16592 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16594 2018-02-21 Zack Weinberg <zackw@panix.com>
16596 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
16597 Define here, unconditionally.
16598 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
16599 * libio/libioP.h: Remove #if 0 blocks.
16600 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
16601 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
16602 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
16604 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
16605 Assume weak_alias is always defined.
16607 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
16608 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
16609 Remove #if 0 and #ifdef TODO blocks.
16610 Assume text_set_element is always defined.
16612 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
16613 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
16614 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
16616 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
16617 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
16618 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
16619 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
16620 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
16621 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
16622 Reformat bit flags for _flags field to make occupancy clearer.
16624 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
16625 Keep definitions consistent with those in libio/libio.h.
16627 * libio/libio.h (_IO_file_flags): Remove macro.
16628 All uses changed to _flags.
16630 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
16631 (__HAVE_COLUMN, _IO_BE): Don't define.
16632 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
16633 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
16634 * libio/libioP.h (EOF): Don't define.
16635 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
16636 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
16637 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
16638 testing _IO_UNIFIED_JUMPTABLES.
16640 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
16641 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
16642 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
16643 (_IO_size_t): Delete; all uses changed to size_t.
16644 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
16645 (_IO_off_t): Delete; all uses changed to off_t.
16646 (_IO_off64_t): Delete; all uses changed to off64_t.
16647 (_IO_pid_t): Delete; all uses changed to pid_t.
16648 (_IO_uid_t): Delete; all uses changed to uid_t.
16649 (_IO_wint_t): Delete; all uses changed to wint_t.
16650 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
16651 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
16652 (_IO_cookie_io_functions_t): Delete; all uses changed to
16653 cookie_io_functions_t.
16654 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
16655 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
16656 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
16657 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
16659 * libio/iofopncook.c: Remove unnecessary forward declarations.
16660 * libio/iolibio.h: Correct outdated commentary.
16661 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
16662 * stdio-common/fxprintf.c (__fxprintf_nocancel):
16663 Remove unnecessary casts.
16664 * stdio-common/getline.c: Use _IO_getdelim directly.
16665 Don't redefine ssize_t.
16666 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
16667 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
16668 Remove outdated comments.
16669 * stdio-common/vfscanf.c: Don't redefine va_list.
16671 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
16672 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
16673 Remove preprocessor conditionals on _LIBC and __USE_GNU,
16674 which are always true, and __cplusplus, which is always false.
16676 2018-02-21 Joseph Myers <joseph@codesourcery.com>
16680 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
16681 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
16682 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
16683 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
16685 [!_ISOMAC] (putc_unlocked): Likewise.
16686 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
16687 define inline if [__USE_EXTERN_INLINES].
16688 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
16693 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
16694 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
16695 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
16696 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
16697 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
16699 * time/tzfile.c (__tzfile_read): Likewise.
16701 2018-02-21 Mike FABIAN <mfabian@redhat.com>
16704 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
16706 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16708 * io/fcntl.h: Fix a typo in a comment.
16710 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16713 * include/features.h: Add _ISOC11_SOURCE to test for whether to
16714 define _DEFAULT_SOURCE.
16715 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
16717 2018-02-21 Florian Weimer <fweimer@redhat.com>
16720 * elf/cache.c (save_cache): Call fsync on temporary file before
16722 (save_aux_cache): Call fdatasync on temporary file before renaming
16725 2018-02-21 Florian Weimer <fweimer@redhat.com>
16728 * include/caller.h: Remove file.
16729 * elf/dl-caller.c: Likewise.
16730 * elf/Makefile (dl-routines): Remove dl-caller.
16731 (shared-only-routines): Do not add dl-caller.
16732 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
16734 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
16736 (dl_open_worker): Do not call __check_caller.
16737 (_dl_open): Do not set caller_dl_open member.
16738 * elf/rtld.c (_rtld_global_ro): Do not initialize
16739 _dl_check_caller member.
16740 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
16741 _dl_check_caller member.
16742 (_dl_check_caller): Remove declaration.
16743 * sysdeps/unix/sysv/linux/dl-execstack.c
16744 (_dl_make_stack_executable): Do not call __check_caller.
16746 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
16748 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
16749 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
16751 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16753 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
16756 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16759 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
16760 of 199606L, 200112L, and 200809L.
16761 (_XOPEN_SOURCE): Document special values of 600 and 700.
16762 (_ISOC11_SOURCE): Document macro.
16763 (_ATFILE_SOURCE): Likewise.
16764 (_FORTIFY_SOURCE): Likewise.
16766 2018-02-19 Joseph Myers <joseph@codesourcery.com>
16770 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
16771 and define as weak alias of __ferror_unlocked. Use
16773 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
16775 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
16776 function if [__USE_EXTERN_INLINES].
16777 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
16780 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
16783 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
16785 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16788 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
16789 the GLIBC_2.1 version.
16791 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16794 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
16795 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
16796 intl/tst-gettext-de.po from po/de.po by removing the
16797 POT-Creation-Date line.
16798 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
16800 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
16803 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16805 * mach/Makefile (headers): Add mach/param.h.
16806 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
16807 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
16808 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
16809 (__ptsname_r): Move implementation to...
16810 (__ptsname_internal): ... new function. Add filling the STP
16813 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
16815 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
16818 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
16820 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
16823 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16825 * nptl/Makefile (tst-mutex8-ENV): Delete.
16826 * nptl/tst-mutex8.c (check_type):
16827 Add runtime check if mutex will be elided.
16829 2018-02-15 Joseph Myers <joseph@codesourcery.com>
16833 * manual/install.texi (Configuring and compiling): Describe
16834 passing CC and CFLAGS on configure command line, not as
16835 environment variables. Use @code markup on those variables.
16836 Specify what options go in CC and what go in CFLAGS. Note the
16837 requirement to compile with optimization.
16838 * INSTALL: Regenerated.
16841 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
16842 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
16843 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16844 __sigprocmask instead of sigprocmask.
16845 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16847 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16848 __sigsetjmp and sigprocmask.
16851 * include/argz.h (argz_next): Use libc_hidden_proto.
16852 (__argz_next): Likewise.
16853 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16854 (argz_next): Use libc_hidden_weak.
16857 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16859 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16863 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16865 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16869 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16870 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16871 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16872 (__feof_unlocked): New declaration, and inline function if
16873 [__USE_EXTERN_INLINES].
16874 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16875 instead of feof_unlocked.
16876 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16877 * nss/nsswitch.c (nss_parse_file): Likewise.
16878 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16880 * time/getdate.c (__getdate_r): Likewise.
16881 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16882 Define as macro to call __feof_unlocked.
16884 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16886 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16888 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16890 * math/Makefile: Remove mpexp.c and mplog.c
16891 * sysdeps/i386/fpu/mpexp.c: Delete file.
16892 * sysdeps/i386/fpu/mplog.c: Likewise.
16893 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16894 * sysdeps/ia64/fpu/mplog.c: Likewise.
16895 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16896 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16897 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16898 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16899 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16900 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16901 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16902 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16903 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16904 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16905 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16906 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16907 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16908 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16909 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16910 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16912 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16914 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16916 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16918 * sysdeps/sh/libm-test-ulps: Update.
16920 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16922 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16925 2018-02-12 Zack Weinberg <zackw@panix.com>
16928 * posix/sys/types.h: Don't include sys/sysmacros.h.
16929 * misc/sys/sysmacros.h: Remove the conditional deprecation
16930 warnings for the macros defined by this header.
16932 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16934 * manual/probes.texi: Remove slowexp probes.
16935 * math/Makefile: Remove slowexp.
16936 * sysdeps/generic/math_private.h (__slowexp): Remove.
16937 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16938 document error bounds.
16939 * sysdeps/i386/fpu/slowexp.c: Remove.
16940 * sysdeps/ia64/fpu/slowexp.c: Remove.
16941 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16942 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16943 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16944 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16945 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16946 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16947 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16948 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16949 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16950 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16951 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16953 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16956 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16957 * benchtests/pow-inputs: Update comment for slow path cases.
16958 * manual/probes.texi (slowpow_p10): Delete removed probe.
16959 (slowpow_p10): Likewise.
16960 * math/Makefile: Remove halfulp.c and slowpow.c.
16961 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16962 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16963 (__halfulp): Remove.
16964 (__slowpow): Remove.
16965 * sysdeps/i386/fpu/halfulp.c: Delete file.
16966 * sysdeps/i386/fpu/slowpow.c: Likewise.
16967 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16968 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16969 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16970 improve comments and add error analysis.
16971 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16972 (power1): Remove function:
16973 (log1): Remove error argument, add error analysis.
16974 (my_log2): Remove function.
16975 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16976 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16977 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16978 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16979 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16980 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16981 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16982 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16983 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16984 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16985 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16986 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16987 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16988 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16990 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16992 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16993 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16995 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16998 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16999 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17000 and PTRACE_SETHBPREGS.
17002 2018-02-10 Zack Weinberg <zackw@panix.com>
17005 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17007 * malloc/tst-malloc-stats-cancellation.c: New test case.
17008 * malloc/Makefile: Add new test case.
17010 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17012 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17014 2018-02-10 Joseph Myers <joseph@codesourcery.com>
17016 * math/Makefile (libm-narrow-fns): Add add.
17017 (libm-test-funcs-narrow): Likewise.
17018 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17019 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17020 * math/gen-auto-libm-tests.c (test_functions): Add add.
17021 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17022 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17023 (NARROW_ADD_TRIVIAL): Likewise.
17024 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17026 (__daddl): Likewise.
17027 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17029 (CFLAGS-nldbl-dadd.c): New variable.
17030 (CFLAGS-nldbl-fadd.c): Likewise.
17031 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17033 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17035 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17036 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17037 * math/auto-libm-test-in: Add tests of add.
17038 * math/auto-libm-test-out-narrow-add: New generated file.
17039 * math/libm-test-narrow-add.inc: New file.
17040 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17041 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17042 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17043 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17044 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17045 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17046 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17047 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17048 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17049 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17050 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17051 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17052 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17053 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17054 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17055 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17056 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17057 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17059 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17060 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17061 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17062 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17063 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17064 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17065 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17066 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17067 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17068 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17069 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17070 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17071 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17076 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17077 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17078 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17079 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17080 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17081 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17082 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17083 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17084 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17085 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17087 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17088 (f128-pairs): New variable.
17089 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17090 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17092 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17093 Also make tests add $(f128-loader-link) to gnulib-tests.
17095 2018-02-09 DJ Delorie <dj@redhat.com>
17098 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17099 64-bit ELF type for 64-bit ELF objects.
17101 2018-02-09 Joseph Myers <joseph@codesourcery.com>
17103 * math/libm-test-driver.c (snan_tests_arg): New variable.
17104 * math/libm-test-support.h (snan_tests_arg): New declaration.
17105 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17107 * math/Makefile (test-type-pairs): New variable.
17108 (test-type-pairs-f64xf128-yes): Likewise.
17109 (tests): Add test-narrow-macros.
17110 (libm-test-funcs-narrow): New variable.
17111 (libm-test-c-narrow): Likewise.
17112 (generated): Add $(libm-test-c-narrow).
17113 (libm-tests-base-narrow): New variable.
17114 (libm-tests-narrow): Likewise.
17115 (libm-tests): Add $(libm-tests-narrow).
17116 (libm-tests-for-type): Handle $(libm-tests-narrow).
17117 (libm-test-c-narrow-obj): New variable.
17118 ($(libm-test-c-narrow-obj)): New rule.
17119 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17120 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17121 $(o-iterator) to set dependencies and CFLAGS.
17122 * math/gen-auto-libm-tests.c: Document use for narrowing
17124 (output_for_one_input_case): Take argument NARROW.
17125 (generate_output): Likewise. Update call to
17126 output_for_one_input_case.
17127 (main): Take --narrow option. Update call to generate_output.
17128 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17129 (apply_lit): Update call to _apply_lit.
17130 (apply_arglit): New function.
17131 (parse_args): Handle "a" arguments.
17132 (parse_auto_input): Handle format names using ":".
17133 * math/README.libm-test: Document "a" parameter type.
17134 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17135 (ARG_TYPE_TRUE_MIN): Likewise.
17136 (ARG_TYPE_MAX): Likwise.
17137 (ARG_MIN_EXP): Likewise.
17138 (ARG_MAX_EXP): Likewise.
17139 (ARG_MANT_DIG): Likewise.
17140 (TEST_COND_arg_ibm128): Likewise.
17141 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17142 (TEST_COND_arg_fmt): New macro.
17143 (init_max_error): Update prototype.
17144 * math/libm-test-support.c (test_ibm128): New variable.
17145 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17146 instead of using [TEST_COND_ibm128] conditional.
17147 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17148 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17149 [TEST_NARROW] (TEST_MSG): New definition.
17150 (arg_plus_zero): New macro.
17151 (arg_minus_zero): Likewise.
17152 (arg_plus_infty): Likewise.
17153 (arg_minus_infty): Likewise.
17154 (arg_qnan_value_pl): Likewise.
17155 (arg_qnan_value): Likewise.
17156 (arg_snan_value_pl): Likewise.
17157 (arg_snan_value): Likewise.
17158 (arg_max_value): Likewise.
17159 (arg_min_value): Likewise.
17160 (arg_min_subnorm_value): Likewise.
17161 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17162 (RUN_TEST_LOOP_aa_f): New macro.
17163 (TEST_SUFF): New macro.
17164 (TEST_SUFF_STR): Likewise.
17165 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17166 (TEST_COND_any_ibm128): New macro.
17167 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17168 this_func. Update call to init_max_error.
17169 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17170 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17171 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17172 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17173 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17174 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17175 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17176 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17177 * math/test-math-vector.h (TEST_NARROW): Likewise.
17178 * math/test-arg-double.h: New file.
17179 * math/test-arg-float128.h: Likewise.
17180 * math/test-arg-float32x.h: Likewise.
17181 * math/test-arg-float64.h: Likewise.
17182 * math/test-arg-float64x.h: Likewise.
17183 * math/test-arg-ldouble.h: Likewise.
17184 * math/test-math-narrow.h: Likewise.
17185 * math/test-narrow-macros.c: Likewise.
17186 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17187 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17188 test-narrow-macros-ldbl-64.
17189 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17191 * math/bits/mathcalls-narrow.h: New file.
17192 * include/bits/mathcalls-narrow.h: Likewise.
17193 * math/math-narrow.h: Likewise.
17194 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17195 (__MATHCALL_NARROW_ARGS_2): Likewise.
17196 (__MATHCALL_NARROW_ARGS_3): Likewise.
17197 (__MATHCALL_NARROW_NORMAL): Likewise.
17198 (__MATHCALL_NARROW_REDIR): Likewise.
17199 (__MATHCALL_NARROW): Likewise.
17200 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17201 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17203 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17204 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17205 (libm-narrow-fns): New variable.
17206 (libm-narrow-types-basic): Likewise.
17207 (libm-narrow-types-ldouble-yes): Likewise.
17208 (libm-narrow-types-float128-yes): Likewise.
17209 (libm-narrow-types-float128-alias-yes): Likewise.
17210 (libm-narrow-types): Likewise.
17211 (libm-routines): Add narrowing functions.
17212 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17213 (libc_feholdexcept_setroundf128): New macro.
17214 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17215 * sysdeps/ieee754/float128/float128_private.h: Include
17216 <math/math-narrow.h>.
17217 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17218 Undefine and redefine.
17219 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17220 (libm_alias_float_ldouble): Undefine and redefine.
17221 (libm_alias_double_ldouble): Likewise.
17223 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17225 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17227 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17230 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
17232 * manual/creature.texi: Convert references to gcc.info to gcc.
17233 * manual/stdio.texi: Likewise.
17234 * manual/string.texi: Likewise.
17236 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17239 * posix/bits/types.h (__int_least8_t): New typedef.
17240 (__uint_least8_t): Likewise.
17241 (__int_least16_t): Likewise.
17242 (__uint_least16_t): Likewise.
17243 (__int_least32_t): Likewise.
17244 (__uint_least32_t): Likewise.
17245 (__int_least64_t): Likewise.
17246 (__uint_least64_t): Likewise.
17247 * sysdeps/generic/stdint.h (int_least8_t): Define using
17249 (int_least16_t): Define using __int_least16_t.
17250 (int_least32_t): Define using __int_least32_t.
17251 (int_least64_t): Define using __int_least64_t.
17252 (uint_least8_t): Define using __uint_least8_t.
17253 (uint_least16_t): Define using __uint_least16_t.
17254 (uint_least32_t): Define using __uint_least32_t.
17255 (uint_least64_t): Define using __uint_least64_t.
17256 * wcsmbs/uchar.h: Include <bits/types.h>.
17257 (char16_t): Define using __uint_least16_t conditional only on
17259 (char32_t): Define using __uint_least32_t conditional only on
17261 * wcsmbs/test-char-types.c: New file.
17262 * wcsmbs/Makefile (tests): Add test-char-types.
17264 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17267 2018-02-07 Zack Weinberg <zackw@panix.com>
17269 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17270 Delete all contents except for definitions of _G_HAVE_MMAP and
17271 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17272 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17273 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17276 * libio/libio.h: Don't include bits/_G_config.h here.
17277 Include stddef.h with __need_wchar_t defined. Include
17278 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17279 Define _IO_iconv_t here, directly.
17280 Don't define _IO_HAVE_ST_BLKSIZE.
17281 * libio/libioP.h: Include _G_config.h here. Move include of
17282 shlib-compat.h up with rest of includes. Simplify conditionals
17283 controlling definition of _IO_JUMPS_OFFSET.
17285 * csu/init.c: Remove always-true #if around entire file.
17286 Don't include stdio.h. Set _IO_stdin_used to hardwired
17287 constant 0x20001, and update commentary.
17288 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
17289 Replace all uses of _G_va_list with __gnuc_va_list.
17290 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
17291 instead of #if _IO_HAVE_ST_BLKSIZE.
17292 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
17293 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
17296 * libio/bits/libio.h: Move back to libio/libio.h and adjust
17297 multiple-include guard to match.
17298 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
17300 Remove preprocessor conditionals that are always true and/or
17301 redundant to other preprocessor conditionals in the same nest.
17302 Include shlib-compat.h unconditionally.
17303 Error out if _LIBC is not defined, or if _ISOMAC is defined,
17304 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
17305 defined after including stdio.h.
17306 Use __BEGIN_DECLS/__END_DECLS.
17308 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
17309 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
17310 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
17312 2018-02-07 Zack Weinberg <zackw@panix.com>
17314 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
17315 New single-type headers split from _G_config.h.
17316 * libio/bits/types/cookie_io_functions_t.h
17317 * libio/bits/types/struct_FILE.h
17318 New single-type headers split from libio.h.
17320 * libio/Makefile: Install the above new headers. Don't install
17321 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
17323 * libio/_G_config.h, libio/libio.h: Delete file.
17325 * libio/bits/libio.h: Remove improper-inclusion guard.
17326 Include stdio.h and don't repeat anything that it does.
17327 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
17328 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
17329 __io_read_fn as cookie_read_function_t,
17330 __io_write_fn as cookie_write_function_t,
17331 __io_seek_fn as cookie_seek_function_t,
17332 __io_close_fn as cookie_close_function_t,
17333 and _IO_cookie_io_functions_t as cookie_io_functions_t.
17334 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
17335 here, in the "compatibility defines" section. Remove an #if 0
17336 block. Use the "body" macros from bits/types/struct_FILE.h to
17337 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
17338 and _IO_ferror_unlocked.
17339 Move prototypes of __uflow and __overflow...
17341 * libio/stdio.h: ...here. Don't include bits/libio.h.
17342 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
17343 directly from stdarg.h. Include bits/types/__fpos_t.h,
17344 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
17345 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
17346 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
17347 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
17348 cookie_io_functions_t, not _IO_cookie_io_functions_t;
17349 __ssize_t, not _IO_ssize_t. Unconditionally define
17350 BUFSIZ as 8192 and EOF as (-1).
17352 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
17353 macros from bits/types/struct_FILE.h instead of _IO_* macros
17354 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
17355 instead of _IO_ssize_t.
17356 * libio/bits/stdio2.h: Similarly.
17358 * libio/iolibio.h: Add multiple-include guard.
17359 Include bits/libio.h after stdio.h.
17360 * libio/libioP.h: Add multiple-include guard.
17361 Include stdio.h and bits/libio.h before iolibio.h.
17363 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
17364 * include/bits/types/cookie_io_functions_t.h
17365 * include/bits/types/struct_FILE.h: New wrappers.
17367 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
17368 Get definitions of _G_fpos_t and _G_fpos64_t from
17369 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
17370 respectively. Remove improper-inclusion guards.
17372 * conform/data/stdio.h-data: Update expectations of va_list.
17373 * scripts/check-installed-headers.sh: Remove special case for
17374 libio.h and _G_config.h.
17376 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17380 * include/sys/sysmacros.h [!_ISOMAC]
17381 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
17382 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
17383 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
17384 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
17386 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
17387 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
17389 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
17390 Undefine and redefine to add use __gnu_dev_ prefix.
17391 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
17393 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
17394 and define as hidden inline function.
17395 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
17397 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
17399 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
17400 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
17401 (gnu_dev_minor): Likewise.
17402 (gnu_dev_makedev): Likewise.
17403 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
17405 * posix/wordexp.c (exec_comm_child): Likewise.
17406 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17407 instead of minor and __gnu_dev_major instead of major.
17408 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17409 __gnu_dev_major instead of major.
17410 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17411 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17412 instead of gnu_dev_minor.
17413 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17414 (SLAVE_P): Likewise.
17415 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17416 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17420 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17422 * locale/weightwc.h (findidx): Likewise.
17424 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17426 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17427 (slowlog_inexact): Likewise
17428 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17429 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17431 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17434 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17435 missing second underscore to parameter name.
17437 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17443 * bits/byteswap.h: Update file comment. Do not include
17444 <bits/byteswap-16.h>.
17445 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17447 (__bswap_16): Define as inline function.
17448 (__bswap_constant_32): Reformat definition.
17449 (__bswap_32): Always define as inline function, not macro, using
17450 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17451 otherwise __bswap_constant_32.
17452 (__bswap_constant_64): Reformat definition. Do not use
17453 __extension__ here.
17454 (__bswap_64): Always define as inline function, not macro. Use
17455 __extension__ on function definition. Use __builtin_bswap64 if
17456 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17457 * string/test-endian-file-scope.c: New file.
17458 * string/test-endian-sign-conversion.c: Likewise.
17459 * string/Makefile (headers): Remove bits/byteswap-16.h.
17460 (tests): Add test-endian-file-scope and
17461 test-endian-sign-conversion.
17462 (CFLAGS-test-endian-sign-conversion.c): New variable.
17463 * bits/byteswap-16.h: Remove file.
17464 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17465 * sysdeps/ia64/bits/byteswap.h: Likewise.
17466 * sysdeps/m68k/bits/byteswap.h: Likewise.
17467 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17468 * sysdeps/s390/bits/byteswap.h: Likewise.
17469 * sysdeps/tile/bits/byteswap.h: Likewise.
17470 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17471 * sysdeps/x86/bits/byteswap.h: Likewise.
17474 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17475 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17476 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17477 199901L] (__restrict): Define to restrict.
17480 * string/testcopy.c: Include <support/support.h>. Do not include
17481 <malloc.h>. Use <support/test-driver.c>.
17482 (main): Rename to do_test. Make static. Use xmalloc instead of
17486 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
17487 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
17488 (SSIZE_MAX): Define to INT_MAX.
17489 * posix/test-ssize-max.c: New file.
17490 * posix/Makefile (tests): Add test-ssize-max.
17493 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
17494 <support/support.h>. Do not include <malloc.h>.
17495 (query_auxv): Use xmalloc instead of malloc.
17498 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
17499 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
17502 2018-02-06 Florian Weimer <fweimer@redhat.com>
17505 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17506 Use scratch_buffer instead of extend_alloca.
17508 2018-02-06 Zack Weinberg <zackw@panix.com>
17510 * libio/stdio.h: Don't define getc or putc as macros.
17511 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
17512 not _IO_getc and _IO_putc.
17514 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
17515 * stdio-common/tstgetln.c: Don't redefine ssize_t.
17517 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17519 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
17520 (TCP_FASTOPEN_NO_COOKIE): Likewise.
17522 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
17525 * elf/elf.h (NT_PRFPREG): New macro.
17526 (NT_S390_VXRS_LOW): Likewise.
17527 (NT_S390_VXRS_HIGH): Likewise.
17528 (NT_S390_GS_CB): Likewise.
17529 (NT_S390_GS_BC): Likewise.
17530 (NT_S390_RI_CB): Likewise.
17532 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17533 (MAP_SYNC): New macro.
17534 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
17536 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17537 (MAP_SYNC): Likewise.
17538 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17539 (MAP_SYNC): Likewise.
17540 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17541 (MAP_SYNC): Likewise.
17542 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17543 (MAP_SYNC): Likewise.
17544 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17545 (MAP_SYNC): Likewise.
17546 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17547 (MAP_SYNC): Likewise.
17548 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
17550 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
17553 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
17554 (MAP_SHARED_VALIDATE): New macro.
17555 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17556 (MAP_SHARED_VALIDATE): Likewise.
17558 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17560 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
17561 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
17562 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17564 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17566 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
17567 (DT_NUM): Updated to 35.
17569 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17571 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
17572 __builtin_expect with __glibc_likely and __glibc_unlikely.
17573 (elf_machine_rela): Likewise.
17574 (elf_machine_lazy_rel): Likewise.
17576 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17578 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
17579 __builtin_expect with __glibc_likely and __glibc_unlikely.
17580 (elf_machine_lazy_rel): Likewise.
17582 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17585 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
17587 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
17589 2018-02-05 Andreas Schwab <schwab@suse.de>
17592 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
17595 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17597 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
17598 not check against PTHREAD_STACK_MIN.
17600 2018-02-02 Sean McKean <smckean83@gmail.com>
17603 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
17605 2018-02-02 Florian Weimer <fweimer@redhat.com>
17608 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
17609 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17610 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17611 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
17612 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17613 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17614 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17615 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
17616 * manual/llio.texi (Scatter-Gather): Mention offset -1.
17617 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
17618 * misc/tst-preadvwritev2.c (do_test): Call it.
17619 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
17621 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17623 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
17625 * benchtests/bench-memcmp.c: Print json instead of plain text.
17627 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
17630 2018-02-01 Joseph Myers <joseph@codesourcery.com>
17632 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17634 (s390_sthyi): New syscall.
17636 * sysdeps/generic/ldbl-classify-compat.h: New file.
17637 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
17638 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
17639 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
17640 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
17641 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
17642 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
17643 * sysdeps/ieee754/dbl-64/s_finite.c: Include
17644 <ldbl-classify-compat.h>.
17645 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17646 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
17647 <ldbl-classify-compat.h>.
17648 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17649 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
17650 <ldbl-classify-compat.h>.
17651 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17652 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
17653 <ldbl-classify-compat.h>.
17654 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17655 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
17656 <ldbl-classify-compat.h>.
17657 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17658 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
17659 <ldbl-classify-compat.h>.
17660 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17661 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
17662 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17663 * sysdeps/m68k/coldfire/math_private.h: Remove file.
17664 * sysdeps/microblaze/math_private.h: Likewise.
17665 * sysdeps/nios2/math_private.h: Likewise.
17666 * sysdeps/sh/math_private.h: Likewise.
17668 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
17669 * sysdeps/m68k/coldfire/math_private.h: ... here.
17670 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
17671 * sysdeps/tile/math_private.h: Likewise.
17672 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
17674 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
17677 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
17679 (libc_fetestexcept): Likewise.
17680 (libc_feupdateenv_test): Likewise.
17681 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
17682 (libc_fetestexcept): Likewise.
17683 (libc_feupdateenv_test): Likewise.
17684 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
17685 (libc_fetestexcept): Likewise.
17686 (libc_feupdateenv_test): Likewise.
17687 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
17688 (libc_fetestexcept): Likewise.
17689 (libc_feupdateenv_test): Likewise.
17691 * sysdeps/generic/math_private.h
17692 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
17693 New inline function.
17694 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
17697 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
17698 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
17699 * sysdeps/generic/math_private.h
17700 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
17702 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
17704 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
17706 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
17708 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
17710 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
17712 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
17713 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
17714 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
17715 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
17716 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
17717 (__fegetenv): Likewise.
17718 (fesetenv): Likewise.
17719 (__fesetenv): Likewise.
17720 (feupdateenv): Likewise.
17721 (__feupdateenv): Likewise.
17722 (fegetround): Likewise.
17723 (__fegetround): Likewise.
17724 (fesetround): Likewise.
17725 (__fesetround): Likewise.
17727 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
17728 (feraiseexcept): New macro.
17729 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
17730 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
17732 (__feraiseexcept): Likewise.
17733 (feclearexcept): Likewise.
17734 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
17735 (__feraiseexcept): Likewise.
17736 (feclearexcept): Likewise.
17737 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
17738 (__feraiseexcept): Likewise.
17739 (feclearexcept): Likewise.
17740 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
17741 (__feraiseexcept): Likewise.
17742 (feclearexcept): Likewise.
17743 (fetestexcept): Likewise.
17745 * sysdeps/m68k/coldfire/math-tests.h: New file.
17747 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
17748 * sysdeps/m68k/bits/fenv.h: ... here.
17749 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
17751 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
17753 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
17755 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
17757 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
17759 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
17761 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
17762 (__FE_UNDEFINED): New enum constant.
17763 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
17765 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
17767 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
17769 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
17770 to match generic bits/fenv.h.
17771 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
17774 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
17776 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
17777 * soft-fp/half.h (union _FP_UNION_H): Likewise.
17778 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
17779 * soft-fp/single.h (union _FP_UNION_S): Likewise.
17781 2018-02-01 Carlos O'Donell <carlos@redhat.com>
17782 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
17783 Joseph Myers <joseph@codesourcery.com>
17786 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
17787 (__log1p): Disable -Wmaybe-uninitialized for -Os around
17788 computation using c.
17789 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
17790 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
17791 computation using c.
17793 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17795 * version.h (RELEASE): Set to "development".
17796 (VERSION): Set to "2.27.9000".
17797 * NEWS (2.28): New section.
17799 * version.h (RELEASE): Set to "stable".
17800 (VERSION): Set to "2.27".
17801 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
17803 * NEWS: Add the list of bugs fixed in 2.27.
17805 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17807 * stdlib/test-atexit-race-common.c (do_test): Check stack size
17808 against PTHREAD_STACK_MIN.
17810 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17812 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
17814 (Rafal Luzynski, Andreas Schwab): Update.
17816 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
17819 * NEWS: List the languages which actually use the alternative
17820 months feature in this release. Also explain that "alt_mon" and
17821 "ab_alt_mon" are optional.
17823 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
17826 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
17828 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
17830 * manual/install.texi (Tools for Compilation): Update the newest
17831 versions of gcc, binutils, texinfo, gawk, bison, and sed.
17832 * INSTALL: Regenerated.
17834 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17836 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
17837 instead of __builtin_expect.
17839 2018-01-30 Florian Weimer <fweimer@redhat.com>
17841 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
17843 * nss/tst-nss-getpwent.c (do_test): Likewise.
17845 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17848 * localedata/locales/hr_HR (mon): Rename to...
17850 (mon): Import from CLDR (genitive case).
17851 (d_t_fmt): Update the comment.
17853 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17855 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17856 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17857 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17859 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17861 * mach/Versions: Fix version when __mach_host_self_ was added.
17862 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17863 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17864 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17865 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17866 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17867 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17868 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17869 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17870 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17871 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17872 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17873 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
17874 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17875 || to respect codestyle.
17876 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17877 (do_test_bz20181): Rename accordingly.
17878 * malloc/malloc.c: Include <assert.h>.
17879 (assert): Do not define.
17880 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
17881 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17882 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
17883 * sysdeps/mach/hurd/hp-timing.h: New file.
17884 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
17886 2018-01-29 Darius Rad <darius@bluespec.com>
17888 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17890 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
17892 * sysdeps/init_array/crti.S (.section .init_array): Add
17893 PREINIT_FUNCTION when defined.
17894 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
17895 * config.h.in: Regenerate.
17896 * manual/platform.texi: Add RISC-V documenation for
17897 __riscv_flush_icache.
17898 * sysdeps/riscv/__longjmp.S: New file.
17899 * sysdeps/riscv/backtrace.c: Likewise.
17900 * sysdeps/riscv/bits/endian.h: Likewise.
17901 * sysdeps/riscv/bits/setjmp.h: Likewise.
17902 * sysdeps/riscv/bits/wordsize.h: Likewise.
17903 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17904 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17905 * sysdeps/riscv/dl-trampoline.S: Likewise.
17906 * sysdeps/riscv/gccframe.h: Likewise.
17907 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17908 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17909 * sysdeps/riscv/machine-gmon.h: Likewise.
17910 * sysdeps/riscv/memusage.h: Likewise.
17911 * sysdeps/riscv/setjmp.S: Likewise.
17912 * sysdeps/riscv/sys/asm.h: Likewise.
17913 * sysdeps/riscv/tls-macros.h: Likewise.
17914 * sysdeps/riscv/dl-tls.h: New file.
17915 * sysdeps/riscv/libc-tls.c: Likewise.
17916 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17917 * sysdeps/riscv/nptl/tls.h: Likewise.
17918 * sysdeps/riscv/stackinfo.h: Likewise.
17919 * sysdeps/riscv/bits/fenv.h: New file.
17920 * sysdeps/riscv/e_sqrtl.c: Likewise.
17921 * sysdeps/riscv/fpu_control.h: Likewise.
17922 * sysdeps/riscv/math-tests.h: Likewise.
17923 * sysdeps/riscv/nofpu/Implies: Likewise.
17924 * sysdeps/riscv/sfp-machine.h: Likewise.
17925 * sysdeps/riscv/tininess.h: Likewise.
17926 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17927 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17928 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17929 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17930 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17931 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17932 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17933 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17934 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17935 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17936 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17937 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17938 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17939 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17940 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17941 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17942 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17943 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17944 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17945 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17946 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17947 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17948 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17949 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17950 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17951 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17952 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17953 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17954 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17955 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17956 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17957 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17958 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17959 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17960 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17961 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17962 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17963 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17964 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17965 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17966 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17967 * sysdeps/riscv/rvf/math_private.h: Likewise.
17968 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17969 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17970 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17971 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17972 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17973 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17974 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17975 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17976 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17977 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17978 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17979 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17980 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17981 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17982 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17983 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
17984 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17985 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17986 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17987 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
17988 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17989 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17990 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17991 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17992 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17993 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17994 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17995 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17996 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
17997 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17998 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17999 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18000 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18001 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18002 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18003 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18004 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18005 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18006 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18007 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18008 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18009 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18010 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18011 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18012 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18013 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18014 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18015 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18016 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18017 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18018 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
18019 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18020 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18021 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
18022 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18023 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18024 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18025 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18026 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18027 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18028 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18029 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18030 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18031 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18032 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18033 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18034 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18035 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
18036 * sysdeps/riscv/Implies: New file.
18037 * sysdeps/riscv/Makefile: Likewise.
18038 * sysdeps/riscv/configure: Likewise.
18039 * sysdeps/riscv/configure.ac: Likewise.
18040 * sysdeps/riscv/nptl/Makefile: Likewise.
18041 * sysdeps/riscv/preconfigure: Likewise.
18042 * sysdeps/riscv/rv64/Implies-after: Likewise.
18043 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18044 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18045 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18046 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18047 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18048 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18049 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18050 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18051 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18052 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18053 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
18054 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18055 (Config): Likewise.
18057 2018-01-29 Florian Weimer <fweimer@redhat.com>
18060 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18061 libnsl_hidden_proto.
18062 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18063 libnsl_hidden_proto.
18064 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18065 * nis/Makefile (libnsl-routines): Add nss-default only for
18066 build-obsolete-nsl.
18067 * nis/nis_defaults.c (__nis_default_ttl): Add
18068 libnsl_hidden_nolink_def.
18069 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18071 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18072 * nis/ypclnt.c (yp_maplist): Likewise.
18074 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18076 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18077 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18079 2018-01-29 Joseph Myers <joseph@codesourcery.com>
18081 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18082 clean -dxfq for git updates when replacing sources.
18084 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18085 --disable-libcilkrts unconditionally, not just for the final GCC
18088 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18091 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18094 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18097 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18100 * localedata/locales/be_BY (mon): Rename to...
18101 (alt_mon): This, then synchronize with CLDR (nominative case).
18102 (abmon): Rename to...
18103 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18104 (mon): Import from CLDR (genitive case).
18106 * localedata/locales/be_BY@latin (mon): Rename to...
18108 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18110 * localedata/locales/be_BY@latin (lang_name): Reworded to
18111 "biełaruskaja mova".
18113 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18116 * localedata/locales/el_CY (mon): Renamed to...
18118 (mon): Import from CLDR (genitive case).
18119 * localedata/locales/el_GR: Likewise.
18121 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18124 * localedata/locales/ru_RU (mon): Rename to...
18126 (abmon): Rename to...
18127 (ab_alt_mon): This.
18128 (mon): Import from CLDR (genitive case).
18129 (abmon): Copy from the old content except the 5th month which is
18130 now in the genitive case, even when abbreviated.
18131 * localedata/locales/ru_UA: Likewise.
18132 * time/tst-strptime.c (day_tests): Add an actual example of
18133 a difference between %b and %Ob in Russian.
18135 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18137 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
18138 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18140 * resolv/res-close.c: Include <stdlib.h>.
18141 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18142 <sys/wait.h>, <time.h>, <sys/uio.h>.
18143 (NOT_CANCEL_H): Add inclusion guard.
18144 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
18145 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18146 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18148 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18149 vm_address_t * to ElfW(Addr) * for dl_main parameter.
18150 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18152 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18153 timer_ptr2id to cast struct timer_node * to void *.
18154 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18155 --disable-libcilkrts to gcc configure.
18156 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18157 and make them the default for now.
18158 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18159 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
18160 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18161 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18162 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18164 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18165 __task_terminate would ever return successfully.
18166 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18168 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18169 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
18170 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18171 critical section to make code simpler and avoid warning.
18172 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18173 critical section to make code simpler and avoid warning.
18174 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18175 const char * instead of char *.
18176 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18177 __hurd_file_name_split, hurd_file_name_split,
18178 __hurd_directory_name_split, hurd_directory_name_split,
18179 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18180 hurd_file_name_path_lookup): Make lookup function parameter take a
18181 const char *name instead of char *name.
18182 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18183 __hurd_directory_name_split): Likewise.
18184 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18185 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
18186 * sysdeps/mach/hurd/check_native.c: New file.
18187 * sysdeps/mach/hurd/check_pf.c: New file.
18188 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18189 (__freeifaddrs): Define macro to freeifaddrs.
18190 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18191 * sysdeps/mach/libmachuser.abilist: New file.
18192 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18193 (do_test_bz20181): Rename accordingly.
18194 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
18195 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18197 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18198 version only if __USE_EXTERN_INLINES is defined.
18199 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18200 __hurd_sockfail): Likewise.
18201 (_hurd_fd_get): Always declare functions, and provide inline versions
18202 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18203 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18204 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18205 _hurd_port_set): Always declare functions, and provide inline versions
18206 only if __USE_EXTERN_INLINES and _LIBC are defined and
18208 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18209 _hurd_critical_section_unlock): Likewise.
18210 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18211 * __hurd_threadvar_location): Likewise.
18212 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18213 _hurd_userlink_clear): Likewise.
18214 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18215 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18216 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18217 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18218 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18219 __spin_lock_locked): Likewise.
18220 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18221 __spin_lock_locked): Likewise.
18222 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18223 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18224 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18225 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18226 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
18227 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18228 _POSIX_NO_TRUNC): Define to 0.
18229 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18230 check size against PTHREAD_STACK_MIN.
18231 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18232 IS_IN(libpthread)]: Include <sigsetops.h>.
18233 * mach/Makefile (user-interfaces): Add mach/gnumach.
18234 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18235 * sysdeps/mach/configure (mach_interface_list): Regenerate.
18236 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18237 instead of invalid -1.
18238 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18239 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18240 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18243 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
18245 * hurd/fcntl-internal.h: New file.
18247 2018-01-27 James Clarke <jrtc27@jrtc27.com>
18249 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18251 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18253 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18256 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18257 Build only shared objects.
18259 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18261 * README: Update for hppa.
18263 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18265 * sysdeps/sparc/fpu/libm-test-ulps: Update
18266 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
18268 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18272 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18275 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18276 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18277 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18278 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18281 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18284 * bits/types/__cancel_jmp_buf_tag.h: New file.
18285 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18286 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18287 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18288 * nptl/Makefile (headers): Add
18289 bits/types/__cancel_jmp_buf_tag.h.
18290 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18291 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18292 * sysdeps/nptl/pthread.h: Include
18293 <bits/types/__cancel_jmp_buf_tag.h>.
18294 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18296 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18298 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
18301 * localedata/locales/uk_UA (mon): Renamed to...
18303 (alt_digits): "0" removed and then renamed to...
18305 (date_fmt): Definition changed not to use the alternative
18308 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
18310 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
18311 FLAG_RISCV_FLOAT_ABI_DOUBLE.
18312 * elf/elf.h (EF_RISCV_RVC): New define.
18313 (EF_RISCV_FLOAT_ABI): Likewise.
18314 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
18315 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
18316 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18317 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
18318 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
18320 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18322 2018-01-25 Andreas Schwab <schwab@suse.de>
18324 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
18326 * sysdeps/gnu/configure: Regenerate.
18327 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18328 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18330 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18331 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18332 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
18333 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18334 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18336 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18338 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
18339 URL, and run autoconf, make it the default for now.
18341 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18343 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18344 soft-float ColdFire configuration.
18346 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
18347 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
18348 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
18350 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
18353 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
18355 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
18357 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
18360 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
18361 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
18362 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
18365 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18368 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
18369 Rename to __reserved and add comment.
18370 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
18371 Rename to __reserved.
18373 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18375 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18376 i686-gnu configurations.
18377 (Context.run_builds): Include mig, gnumach and hurd in components
18379 (Context.checkout): Add mig, gnumach and hurd to components.
18380 (Context.checkout_tar): Add URL mappings for mig, gnumach and
18382 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
18383 (Config.build): Install gnumach headers, build mig and install
18384 hurd headers for 'gnu' OS.
18385 (Config.install_gnumach_headers): New function.
18386 (Config.install_hurd_headers): Likewise.
18387 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
18388 when building for 'gnu' OS.
18390 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
18392 * manual/tunables.texi (Hardware Capability Tunables): Fix
18395 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
18397 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
18398 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
18399 (ALTMON_11, ALTMON_12): Improve documentation.
18400 * manual/time.texi (strftime): Likewise.
18402 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18405 * localedata/locales/pl_PL: Alternative month names added,
18406 primary month names are genitive now.
18407 * time/tst-strptime.c (day_tests): Actually use a genitive case
18408 of a month name in Polish language.
18410 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18413 * manual/locale.texi: Document ALTMON_1..12 constants for
18414 nl_langinfo. Specify when to use ALTMON instead of MON.
18415 * manual/time.texi (strftime, strptime): Document GNU extension
18416 permitting O modifier with %B and %b. Specify when to use
18419 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18422 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18423 names, define them as the same as abbreviated month names explicitly.
18424 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18425 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18426 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18427 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18428 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18429 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18430 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18431 _NL_WABALTMON_12): New enum constants.
18432 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18433 wab_alt_mon, and ab_alt_mon_defined members.
18434 (time_output): Output ab_alt_mon and wab_alt_mon members.
18435 (time_read): Read them, initialize them as copies of abmon and wabmon
18436 respectively if they are missing, initialize ab_alt_mon_defined.
18437 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18438 * locale/programs/locfile-kw.h: Regenerate.
18439 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18440 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18442 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18443 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18444 (__strftime_internal): Handle %Ob and %Oh formats.
18445 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18446 (__strptime_internal): Handle %Ob and %Oh formats.
18447 * time/tst-strptime.c (day_tests): Add more tests to parse different
18448 forms of month names including the new %Ob format specifier.
18450 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18453 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18454 define them as the same as primary full month names explicitly.
18455 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18456 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18457 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18458 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18459 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18460 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18461 _NL_WALTMON_12): New enum constants.
18462 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18463 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18465 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18466 walt_mon, and alt_mon_defined members.
18467 (time_output): Output alt_mon and walt_mon members.
18468 (time_read): Read them, initialize them as copies of mon and wmon
18469 respectively if they are missing, initialize alt_mon_defined.
18470 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18471 * locale/programs/locfile-kw.h: Regenerate.
18472 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18473 * localedata/tst-langinfo.c (map): Add tests for the new constants
18474 ALTMON_1 .. ALTMON_12.
18475 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18477 * time/strftime_l.c (f_altmonth): New macro.
18478 (__strftime_internal): Handle %OB format.
18479 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18480 (__strptime_internal): Handle %OB format.
18481 * time/tst-strptime.c (day_tests): Add tests to parse different forms
18482 of month names including the new %OB format specifier.
18484 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18487 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
18488 from ABORT_TRANSACTION.
18489 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
18490 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
18491 ABORT_TRANSACTION_IMPL): Likewise.
18492 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
18493 Linux code, but remove the code that aborts transactions.
18495 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18497 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
18499 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
18501 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
18502 in date: "2004-14-09" should be "2004-09-14".
18503 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
18504 "2003-15-09" should be "2003-09-15".
18506 2018-01-18 Arjun Shankar <arjun@redhat.com>
18512 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
18514 (_int_memalign): check for integer overflow before calling
18516 * malloc/tst-malloc-too-large.c: New test.
18517 * malloc/Makefile: Add tst-malloc-too-large.
18519 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
18521 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
18522 in date: "2017-24-07" should be "2017-07-24".
18523 * localedata/locales/mai_IN: Likewise.
18524 * localedata/locales/mai_NP: Likewise.
18526 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
18528 * po/ru.po: Update translations.
18530 2018-01-17 Joseph Myers <joseph@codesourcery.com>
18533 * sysdeps/hppa/backtrace.c: New file.
18535 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
18538 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
18539 align La_x86_64_retval to VEC_SIZE.
18541 2018-01-16 Joseph Myers <joseph@codesourcery.com>
18543 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
18544 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
18546 2018-01-16 Florian Weimer <fweimer@redhat.com>
18548 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
18549 Move tst-thread-exit-clobber ...
18550 [$(CXX)] (tests-unsupported): ... to here.
18552 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18554 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
18555 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
18556 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18557 (_dl_aarch64_cap_flags): Update.
18558 (_DL_HWCAP_COUNT): Update.
18560 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18562 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
18563 (_DL_HWCAP_LAST): Remove.
18564 (_DL_HWCAP_COUNT): Move to ...
18565 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18566 (_DL_HWCAP_COUNT): ... here.
18568 2018-01-16 Florian Weimer <fweimer@redhat.com>
18570 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
18571 mode with GNU extensions.
18573 2018-01-15 Alan Hayward <alan.hayward@arm.com>
18575 * elf/elf.h (NT_ARM_SVE): Define.
18577 2018-01-15 Florian Weimer <fweimer@redhat.com>
18580 * nptl/tst-minstack-throw.cc: New file.
18581 * nptl/Makefile (tests): Add tst-minstack-throw.
18582 (LDLIBS-tst-minstack-throw): Link with libstdc++.
18583 [!CXX] (tests-unsupported): Add tst-minstack-throw.
18585 2018-01-15 Joseph Myers <joseph@codesourcery.com>
18587 * scripts/build-many-glibcs.py (Context.checkout): Default
18588 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
18591 2018-01-13 Carlos O'Donell <carlos@redhat.com>
18594 * elf/elf.h (DF_1_STUB): Define.
18595 (DF_1_PIE): Define.
18597 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18600 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
18601 Do not add 0.5 to integer or out-of-range arguments.
18603 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18605 * po/bg.po: Update translations.
18606 * po/cs.po: Likewise.
18607 * po/de.po: Likewise.
18608 * po/ko.po: Likewise.
18609 * po/pl.po: Likewise.
18610 * po/sv.po: Likewise.
18611 * po/uk.po: Likewise.
18612 * po/vi.po: Likewise.
18614 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18616 * aarch64/start.S (_start): Use __wrap_main.
18617 (__wrap_main): New local symbol.
18619 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18623 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
18624 generic_getcwd if the path returned by getcwd syscall is not absolute.
18625 * io/tst-getcwd-abspath.c: New test.
18626 * io/Makefile (tests): Add tst-getcwd-abspath.
18628 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
18630 * malloc/malloc.c (malloc_consolidate): Add size check.
18632 2018-01-12 Florian Weimer <fweimer@redhat.com>
18634 * support/write_message.c (write_message): Preserve errno.
18635 * support/check.c (print_failure): Likewise.
18636 * support/support_test_verify_impl.c (support_test_verify_impl):
18638 * support/support_test_compare_failure.c
18639 (support_test_compare_failure): Likewise.
18641 2018-01-12 Florian Weimer <fweimer@redhat.com>
18644 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
18645 Prevent installation of libnsl.so.
18646 (libnsl-inhibit-o): Do not build (or install) static libraries.
18648 2018-01-12 Egmont Koblinger <egmont@gmail.com>
18651 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
18652 before the day number which may produce a double space.
18653 (date_fmt): Likewise.
18655 2018-01-12 Joseph Myers <joseph@codesourcery.com>
18657 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
18658 instead of fegetenv.
18660 2018-01-11 Joseph Myers <joseph@codesourcery.com>
18663 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
18664 comment to say exceptions are discarded.
18665 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
18667 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
18670 2018-01-11 Florian Weimer <fweimer@redhat.com>
18672 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
18675 2018-01-11 Florian Weimer <fweimer@redhat.com>
18678 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
18679 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
18681 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18684 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
18685 negative arguments in test for NaN or infinity argument.
18687 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
18689 * po/libc.pot: Regenerate.
18691 2018-01-10 Florian Weimer <fweimer@redhat.com>
18694 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
18695 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
18697 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18699 * hurd/hurd/fd.h: Include <fcntl.h>
18700 (__hurd_at_flags): New function.
18701 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
18702 with call to __hurd_at_flags.
18703 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
18704 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
18706 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
18707 (__access_noerrno): Use __faccessat_common instead of access_common.
18708 (__access): Likewise.
18709 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
18710 with a call to __faccessat.
18711 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
18712 (__faccessat_common): ... this. Move implementation of __access into it when
18713 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
18714 reauthenticate_cwdir_at helper to implement AT mechanism.
18715 (__faccessat_noerrno): New function, just calls __faccessat_common.
18716 (__faccessat): New function, just calls __faccessat_common.
18717 (faccessat): Define weak alias.
18719 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18722 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18723 (CFLAGS-s_fmaxmagl.c): New variable.
18724 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
18727 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
18728 long int for arguments of possibly overflowing addition or
18730 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18732 2018-01-09 Joseph Myers <joseph@codesourcery.com>
18735 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18736 (CFLAGS-e_remainderl.c): New variable.
18739 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
18741 (CFLAGS-s_cacoshl.c): Likewise.
18742 (CFLAGS-s_casinhl.c): Likewise.
18743 (CFLAGS-s_catanl.c): Likewise.
18744 (CFLAGS-s_catanhl.c): Likewise.
18745 (CFLAGS-s_cexpl.c): Likewise.
18746 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
18747 (CFLAGS-s_csinhl.c): Likewise.
18748 (CFLAGS-s_clogl.c): Likewise.
18749 (CFLAGS-s_clog10l.c): Likewise.
18750 (CFLAGS-s_csinl.c): Likewise.
18751 (CFLAGS-s_csqrtl.c): Likewise.
18753 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
18754 2017-01-09 Svante Signell <svante.signell@gmail.com>
18756 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
18757 (_hurd_exec_paths): New function.
18758 * hurd/hurd.h (_hurd_exec): Deprecate function.
18759 (_hurd_exec_paths): Declare function.
18760 * hurd/Versions: Export _hurd_exec_paths.
18761 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
18762 (__execve): Use __getcwd to build absolute path, and use
18763 _hurd_exec_paths instead of _hurd_exec.
18764 * sysdeps/mach/hurd/spawni.c: Likewise.
18765 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
18768 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
18770 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
18771 test instead of failing in case of ENOENT returned by posix_openpt.
18773 2018-01-08 Florian Weimer <fweimer@redhat.com>
18775 resolv: Support binary labels in test framework.
18776 * support/resolv_test.c (struct to_be_freed): Remove.
18777 (struct compressed_name): New.
18778 (allocate_compressed_name, ascii_tolower)
18779 (compare_compressed_name): New functions.
18780 (struct resolv_response_builder): Update type of
18781 compression_offsets for use with tsearch. Rempve to_be_freed.
18782 (response_push_pointer_to_free): Remove function.
18783 (resolv_response_add_name): Rewrite using struct compressed_name
18784 and tsearch instead of hsearch_r.
18785 (response_builder_allocate): Remove initialization of
18786 compression_offsets.
18787 (response_builder_free): Update for removal of to_be_freed. Use
18788 tdestroy instead of hdestroy_r.
18789 * resolv/Makefile (tests): Add tst-resolv-binary.
18790 (tst-resolv-binary): Link with -lresolv -lpthread.
18792 2018-01-08 Florian Weimer <fweimer@redhat.com>
18794 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
18795 time. Pass positive flag instead of negative flag to
18796 support_test_compare_failure.
18797 (support_test_compare_failure): Change negative parameter to
18799 * support/support_test_compare_failure.c (report)
18800 (support_test_compare_failure): Likewise.
18801 * support/tst-test_compare.c (return_ssize_t, return_int): New.
18802 (do_test): Check int/size_t, ssize_t/size_t comparisons.
18804 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
18807 * nptl/descr.h (stackblock, stackblock_size): Update comments.
18808 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
18809 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
18811 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18813 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
18815 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18816 Add s_sincosf-sse2 and s_sincosf-fma.
18817 (CFLAGS-s_sincosf-fma.c): New.
18818 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
18819 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
18820 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
18821 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
18822 __sincosf is defined.
18824 2018-01-08 Florian Weimer <fweimer@redhat.com>
18826 * nptl/tst-thread-exit-clobber.cc: New file.
18827 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
18829 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
18830 (tests): Add tst-thread-exit-clobber.
18831 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
18833 2018-01-08 Florian Weimer <fweimer@redhat.com>
18835 * support/check.h (support_static_assert): Define.
18836 (TEST_COMPARE): Use it.
18838 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
18840 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
18841 [!__RLIM_T_MATCHES_RLIM64_T]
18842 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
18843 __getrlimit64. Add libc_hidden_weak.
18845 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
18847 * elf/elf.h (R_RISCV_NONE): New define.
18848 (R_RISCV_32): Likewise.
18849 (R_RISCV_64): Likewise.
18850 (R_RISCV_RELATIVE): Likewise.
18851 (R_RISCV_COPY): Likewise.
18852 (R_RISCV_JUMP_SLOT): Likewise.
18853 (R_RISCV_TLS_DTPMOD32): Likewise.
18854 (R_RISCV_TLS_DTPMOD64): Likewise.
18855 (R_RISCV_TLS_DTPREL32): Likewise.
18856 (R_RISCV_TLS_DTPREL64): Likewise.
18857 (R_RISCV_TLS_TPREL32): Likewise.
18858 (R_RISCV_TLS_TPREL64): Likewise.
18859 * Makerules (make-link-multidir): Make directories before linking into
18861 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18863 (VDSO_HASH_LINUX_4_15): Likewise.
18864 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18865 in subdirectories of lib.
18866 * nptl/Makefile (/librt.so): Always depend on
18867 "$(shared-thread-library)".
18869 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18871 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
18872 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18873 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18875 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
18876 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18878 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
18879 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18880 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18881 * sysdeps/gnu/glob-lstat-compat.c: New file.
18882 * sysdeps/gnu/glob64-lstat-compat.c: New file.
18883 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
18885 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18887 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18888 Reserve 16 chars to reloc_addr before calling _itoa_word.
18890 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18893 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18894 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18896 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18897 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18899 * resource/tst-getrlimit.c: Add copyright header.
18901 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18902 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18904 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18905 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18906 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18907 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18909 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18910 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18911 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18912 RLIM64_INFINITY): Fix values to match the kernel ones.
18913 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18914 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18915 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18916 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18917 getrlimit64@@GLIBC_2_27.
18918 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18920 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18921 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18922 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18923 setrlimit, getrlimit64 and setrlimit64.
18925 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18928 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18929 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18931 2018-01-04 Joseph Myers <joseph@codesourcery.com>
18933 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18934 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18935 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18937 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18941 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18942 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18946 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18947 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18948 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18949 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18951 2018-01-04 Florian Weimer <fweimer@redhat.com>
18954 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18955 Align the stack before calling exit.
18956 * stdlib/tst-makecontext-align.c: New file.
18957 * stdlib/Makefile (tests): Add tst-makecontext-align.
18959 2018-01-04 Florian Weimer <fweimer@redhat.com>
18961 Add support for calling dlvsym from libc.so.
18962 * include/dlfcn.h (__libc_dlvsym): Declare.
18963 * elf/Makefile (tests-static-internal): Add
18964 tst-libc_dlvsym-static.
18965 (tests-internal): Add tst-libc_dlvsym.
18966 (modules-names): Add tst-libc_dlvsym-dso.
18967 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18968 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18969 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18970 object tst-libc_dlvsym-dso.so needs to be built before running
18972 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18973 * elf/Versions: Export __libc_dlvsym.
18974 * elf/dl-libc.c (struct do_dlvsym_args): New.
18975 (do_dlvsym, __libc_dlvsym): New functions.
18976 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18977 (_dl_open_hook2): New variable.
18978 (__libc_register_dl_open_hook): Set it.
18979 * elf/tst-libc_dlvsym-dso.c: New file.
18980 * elf/tst-libc_dlvsym-static.c: Likewise.
18981 * elf/tst-libc_dlvsym.c: Likewise.
18982 * elf/tst-libc_dlvsym.h: Likewise.
18984 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18986 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18987 include <sys/mount.h>.
18989 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18991 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18992 Add __NO_MATH_ERRNO__ check.
18994 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18996 * sysdeps/mips/mips32/libm-test-ulps: Update.
18997 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18999 2018-01-02 Florian Weimer <fweimer@redhat.com>
19001 * misc/tst-pselect.c: Add copyright header.
19003 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19005 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19007 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19009 (settrlimit): Rename into setrlimit.
19010 (__sttrlimit): Rename into __setrlimit.
19012 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19013 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19014 never defined in that case.
19016 2018-01-02 Joseph Myers <joseph@codesourcery.com>
19018 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19020 * sysdeps/arm/libm-test-ulps: Update.
19022 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19023 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19025 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19027 * NEWS: Add cosf and sincosf to list of optimized functions.
19029 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19032 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19033 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19034 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19035 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19037 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19040 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19042 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19043 making a copy of it.
19045 2018-01-01 Joseph Myers <joseph@codesourcery.com>
19047 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19048 trailing whitespace removed.
19049 * scripts/config.guess: Update to version 2018-01-01.
19050 * scripts/config.sub: Update to version 2018-01-01.
19051 * scripts/move-if-change: Update from gnulib.
19053 * NEWS: Update copyright dates.
19054 * catgets/gencat.c (print_version): Likewise.
19055 * csu/version.c (banner): Likewise.
19056 * debug/catchsegv.sh: Likewise.
19057 * debug/pcprofiledump.c (print_version): Likewise.
19058 * debug/xtrace.sh (do_version): Likewise.
19059 * elf/ldconfig.c (print_version): Likewise.
19060 * elf/ldd.bash.in: Likewise.
19061 * elf/pldd.c (print_version): Likewise.
19062 * elf/sotruss.sh: Likewise.
19063 * elf/sprof.c (print_version): Likewise.
19064 * iconv/iconv_prog.c (print_version): Likewise.
19065 * iconv/iconvconfig.c (print_version): Likewise.
19066 * locale/programs/locale.c (print_version): Likewise.
19067 * locale/programs/localedef.c (print_version): Likewise.
19068 * login/programs/pt_chown.c (print_version): Likewise.
19069 * malloc/memusage.sh (do_version): Likewise.
19070 * malloc/memusagestat.c (print_version): Likewise.
19071 * malloc/mtrace.pl: Likewise.
19072 * manual/libc.texinfo: Likewise.
19073 * nptl/version.c (banner): Likewise.
19074 * nscd/nscd.c (print_version): Likewise.
19075 * nss/getent.c (print_version): Likewise.
19076 * nss/makedb.c (print_version): Likewise.
19077 * posix/getconf.c (main): Likewise.
19078 * scripts/test-installation.pl: Likewise.
19079 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19081 * All files with FSF copyright notices: Update copyright dates
19082 using scripts/update-copyrights.
19083 * locale/programs/charmap-kw.h: Regenerated.
19084 * locale/programs/locfile-kw.h: Likewise.
19086 2017-12-31 Zack Weinberg <zackw@panix.com>
19088 * libio/bits/libio-ldbl.h: Correct check for improper
19089 inclusion. Add own multiple include guard.
19091 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19092 Dmitry V. Levin <ldv@altlinux.org>
19096 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19097 string token expansion. Check for NULL pointer or empty string possibly
19098 returned by expand_dynamic_string_token.
19099 (decompose_rpath): Check for empty path after dynamic string
19102 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19105 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19107 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19108 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19109 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19110 and PTRACE_SYSCALL.
19111 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19112 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19113 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19114 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19115 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19116 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19118 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19119 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19120 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19121 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19123 bits/ptrace-shared.h.
19124 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19125 <bits/ptrace-shared.h>.
19126 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19127 __ptrace_peeksiginfo_flags, ptrace): Remove.
19128 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19129 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19130 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19131 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19132 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19134 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19137 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19138 end of the loop. Improve comments.
19140 2017-12-29 Zack Weinberg <zackw@panix.com>
19143 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19144 might be set on success.
19146 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19149 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19150 is unchanged on success.
19152 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19154 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19156 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19157 expand_dynamic_string_token): Likewise.
19158 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19161 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19164 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19165 is set and name contains ':', and all code depending on these checks.
19167 2017-12-24 Zack Weinberg <zackw@panix.com>
19169 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19170 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19172 * libio/libio.h: Rename the original version of this file to
19173 libio/bits/libio.h. Error out if not included by stdio.h or the
19175 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19176 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19177 if not included by bits/libio.h or the stub _G_config.h.
19178 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19179 sysdeps/unix/sysv/linux/bits. Error out if not included by
19180 bits/libio.h or the stub _G_config.h.
19181 * libio/stdio.h: Include bits/libio.h, not libio.h.
19182 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19183 well as libio.h and _G_config.h.
19185 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19186 * libio/strfile.h, stdio-common/vfscanf.c
19187 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19188 Include stdio.h, not _G_config.h nor libio.h.
19189 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19190 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19192 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19194 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19197 * stdlib/getrandom.c (getrandom): Fix comment.
19198 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19200 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
19203 * manual/arith.texi (strtoul): Fix a typo.
19206 * manual/arith.texi (finite): Fix the description of the return
19209 2017-12-22 Eric Blake <ebb9@byu.net>
19211 Avoid gcc warnings on cygwin
19212 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19213 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19214 Avoid unused variable.
19216 2017-12-22 Florian Weimer <fweimer@redhat.com>
19218 * io/Makefile (routines): Add copy_file_range.
19219 (tests): Add tst-copy_file_range.
19220 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19221 * io/Versions (GLIBC_2.27): Export copy_file_range.
19222 * io/copy_file_range-compat.c: New file.
19223 * io/copy_file_range.c: Likewise.
19224 * io/tst-copy_file_range-compat.c: Likewise.
19225 * io/tst-copy_file_range.c: Likewise.
19226 * manual/llio.texi (Copying File Data): New section.
19227 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19228 * support/Makefile (libsupport-routines): Add support-xfstat,
19229 xftruncate, xlseek.
19230 * support/support-xfstat.c: New file.
19231 * support/xftruncate.c: Likewise.
19232 * support/xlseek.c: Likewise.
19233 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19234 * sysdeps/unix/sysv/linux/**.abilist: Update.
19235 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19237 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19239 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19240 disable-multi-arch variant to aarch64-linux-gnu.
19242 2017-12-20 Joseph Myers <joseph@codesourcery.com>
19244 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19245 trailing whitespace removed.
19246 * scripts/config.guess: Update to version 2017-12-17.
19247 * scripts/config.sub: Update to version 2017-11-23.
19248 * scripts/install-sh: Update to version 2017-09-23.17.
19249 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19251 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19253 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19254 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19255 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19256 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19257 * sysdeps/tile/crtn.S: Likewise.
19258 * sysdeps/tile/dl-start.S (_start): Likewise.
19259 * sysdeps/tile/dl-trampoline.S: Likewise.
19260 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19261 * sysdeps/tile/start.S (_start): Likewise.
19262 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19263 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19264 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19265 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19266 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19267 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19268 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19270 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19272 * sysdeps/tile/preconfigure: Remove tilegx folder.
19273 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19274 * sysdeps/tile/Implies: ... here.
19275 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19276 * sysdeps/tile/Makefile: ... here.
19277 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19278 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19279 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19280 * sysdeps/tile/bits/wordsize.h: ... here.
19281 * sysdeps/tile/tilegx/*: Move to ...
19282 * sysdeps/tile/*: ... here.
19283 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19284 * sysdeps/tile/tilegx32/Implies: ... here.
19285 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19286 * sysdeps/tile/tilegx64/Implies: ... here.
19287 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
19289 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19290 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
19291 * sysdeps/unix/sysv/linux/tile/*: ... here.
19292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
19293 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
19294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
19295 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
19297 * README: Remove tilepro-*-linux-gnu from supported architecture.
19298 * scripts/build-many-glibcs.py: Likewise.
19299 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19300 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
19301 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
19302 elf_machine_matches_host, elf_machine_dynamic,
19303 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
19304 howto, elf_machine_rela): Likewise.
19305 * sysdeps/tile/dl-start.S (_start): Likewise.
19306 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
19307 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
19308 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
19309 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
19310 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
19311 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19313 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
19314 * sysdeps/tile/preconfigure: Likewise.
19315 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
19316 POINTER_CHK_GUARD): Likewise.
19317 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
19318 * sysdeps/tile/start.S (_start): Likewise.
19319 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
19321 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
19322 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
19324 * sysdeps/unix/sysv/linux/tile/bits/environments.h
19325 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
19326 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
19328 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
19329 * sysdeps/tile/tilepro/Implies: Remove file.
19330 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
19331 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
19332 * sysdeps/tile/tilepro/memchr.c: Likewise.
19333 * sysdeps/tile/tilepro/memcpy.S: Likewise.
19334 * sysdeps/tile/tilepro/memset.c: Likewise.
19335 * sysdeps/tile/tilepro/memusage.h: Likewise.
19336 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
19337 * sysdeps/tile/tilepro/strchr.c: Likewise.
19338 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
19339 * sysdeps/tile/tilepro/strlen.c: Likewise.
19340 * sysdeps/tile/tilepro/strrchr.c: Likewise.
19341 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
19342 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
19343 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19344 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
19345 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
19346 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19348 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
19349 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19350 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
19351 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
19352 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19353 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
19354 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
19355 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
19356 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
19357 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
19358 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
19359 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
19360 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
19361 tilepro mention in comment.
19363 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
19364 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
19365 * nptl/pthread_join_common.c: New file: common function used on
19366 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
19367 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
19368 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
19369 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19370 (cleanup): Move definition to pthread_join_common.c.
19371 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
19372 Remove superflous checks.
19373 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
19376 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
19378 * sysdeps/aarch64/libm-test-ulps: Update.
19380 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19382 * sysdeps/aarch64/memset.S (MEMSET): Define.
19384 2017-12-20 Florian Weimer <fweimer@redhat.com>
19387 nptl: Provide full implementation of pthread_self in libc.so.
19388 * nptl/Makefile (routines): Add pthread_self.
19389 (libpthread-routines): Replace pthread_self with
19390 compat-pthread_self.
19391 * nptl/forward.c (pthread_self): Remove.
19392 * nptl/nptl-init.c (pthread_functions): Do not initialize
19394 * nptl/pthread_self.c (pthread_self): Remove weak alias.
19395 * nptl/compat-pthread_self.c: New file.
19396 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
19397 Remove ptr_pthread_self.
19399 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
19401 * posix/regcomp.c: Fix spelling in comments.
19402 * posix/regex.h: Likewise.
19403 * posix/regex_internal.c: Likewise.
19404 * posix/regexec.c: Likewise.
19406 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19409 * math/Makefile [C++] (tests): Add test for iseqsig.
19410 * math/math.h [C++] (iseqsig): New implementation, which does
19411 not rely on __MATH_TG/__builtin_types_compatible_p.
19412 * math/test-math-iseqsig.cc: New file.
19413 * sysdeps/powerpc/powerpc64le/Makefile
19414 (CFLAGS-test-math-iseqsig.cc): New variable.
19416 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19418 * elf/dl-load.c (is_trusted_path): Remove.
19419 (fillin_rpath): Remove check_trusted argument and its use,
19420 all callers changed.
19422 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19425 * Makeconfig (link-pie-before-libc): Replace -pie with
19426 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19427 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19428 (tst-dlopen-aout-no-pie): New.
19429 (LDFLAGS-tst-prelink): Removed.
19430 (tst-prelink-no-pie): New.
19431 (LDFLAGS-tst-main1): Removed.
19432 (tst-main1-no-pie): New.
19433 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19434 (tst-gmon-no-pie): New.
19436 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19438 * manual/install.texi: Document that --enable-static-pie
19440 * INSTALL: Regenerated.
19442 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19445 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19448 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19452 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19454 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19456 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19458 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19459 <errno.h>. Include "eexp.tbl".
19460 (half): New constant.
19462 (__ieee754_exp): Rewrite.
19463 (__slowexp): Remove prototype.
19464 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19465 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19466 * sysdeps/i386/fpu/slowexp.c: Likewise.
19467 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19468 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19469 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19470 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19471 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19472 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19473 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19475 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19476 (CPPFLAGS-slowexp.c): Remove variable.
19477 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19478 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19479 (CFLAGS-slowexp-fma.c): Remove variable.
19480 (CFLAGS-slowexp-fma4.c): Likewise.
19481 (CFLAGS-slowexp-avx.c): Likewise.
19482 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19484 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19485 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19486 * math/Makefile (type-double-routines): Remove slowexp.
19487 * manual/probes.texi (slowexp_p6): Remove.
19488 (slowexp_p32): Likewise.
19490 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19492 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
19495 * lib/glob.c (glob): Do not pass NULL to mempcpy.
19497 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19499 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19501 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19503 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19504 <errno.h>. Include "eexp.tbl".
19505 (half): New constant.
19507 (__ieee754_exp): Rewrite.
19508 (__slowexp): Remove prototype.
19509 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19510 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19511 * sysdeps/i386/fpu/slowexp.c: Likewise.
19512 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19513 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19514 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19515 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19516 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19517 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19518 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19520 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19521 (CPPFLAGS-slowexp.c): Remove variable.
19522 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19523 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19524 (CFLAGS-slowexp-fma.c): Remove variable.
19525 (CFLAGS-slowexp-fma4.c): Likewise.
19526 (CFLAGS-slowexp-avx.c): Likewise.
19527 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19529 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19530 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19531 * math/Makefile (type-double-routines): Remove slowexp.
19532 * manual/probes.texi (slowexp_p6): Remove.
19533 (slowexp_p32): Likewise.
19535 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19536 James Clarke <jrtc27@jrtc27.com>
19539 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
19542 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19545 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
19548 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19551 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19552 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19553 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19554 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19557 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19560 * bits/types/__cancel_jmp_buf_tag.h: New file.
19561 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19562 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19563 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19564 * nptl/Makefile (headers): Add
19565 bits/types/__cancel_jmp_buf_tag.h.
19566 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19567 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19568 * sysdeps/nptl/pthread.h: Include
19569 <bits/types/__cancel_jmp_buf_tag.h>.
19570 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19572 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19574 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19576 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19577 --enable-static-pie variants to x86_64, x32 and i686.
19579 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19582 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
19583 argument for attrubutes. All callers changed.
19584 (__inline_mathop1): Likewise. All callers changed.
19585 (__inline_mathop): Likewise. All callers changed.
19586 [__USE_MISC] (scalbn): Use __inline_forward instead of
19587 __inline_forward_c.
19588 [__USE_ISOC99] (scalbln): Likewise.
19589 [__USE_ISOC99] (nearbyint): Likewise.
19590 [__USE_ISOC99] (lrint): Likewise.
19591 [__USE_MISC] (scalbnf): Likewise.
19592 [__USE_ISOC99] (scalblnf): Likewise.
19593 [__USE_ISOC99] (nearbyintf): Likewise.
19594 [__USE_ISOC99] (lrintf): Likewise.
19595 [__USE_MISC] (scalbnl): Likewise.
19596 [__USE_ISOC99] (scalblnl): Likewise.
19597 [__USE_ISOC99] (nearbyintl): Likewise.
19598 [__USE_ISOC99] (lrintl): Likewise.
19599 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
19600 __inline_mathop and __m81_defun changed.
19602 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
19603 CPU or FPU for ARM hard-float configurations.
19605 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19607 * nptl/tst-attr3.c: Include <libc-diag.h>.
19608 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
19610 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
19612 * string/tester.c (test_strncat): Also disable -Warray-bounds
19613 warnings for two tests.
19615 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19618 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
19619 $(cc-pie-default) == yes.
19620 * config.make.in (cc-pie-default): New.
19621 * configure.ac (libc_cv_pie_default): Renamed to ...
19622 (libc_cv_cc_pie_default): This.
19623 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
19624 * configure: Regenerated.
19626 2017-12-18 Florian Weimer <fweimer@redhat.com>
19629 ld.so: Harden dl-libc/libdl hooks.
19630 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
19631 (rtld_active): New function.
19632 * dlfcn/dladdr.c (__dladdr): Call it.
19633 * dlfcn/dladdr1.c (__dladdr1): Likewise.
19634 * dlfcn/dlclose.c (__dlcose): Likewise.
19635 * dlfcn/dlerror.c (__dlerror): Likewise.
19636 * dlfcn/dlinfo.c (__dlinfo): Likewise.
19637 * dlfcn/dlmopen.c (__dlmopen): Likewise.
19638 * dlfcn/dlopen.c (__dlopen): Likewise.
19639 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19640 * dlfcn/dlsym.c (__dlsym): Likewise.
19641 * dlfcn/dlvsym.c (__dlvsym): Likewise.
19642 * libio/vtables.c (_IO_vtable_check): Likewise.
19643 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
19644 (__libc_dlclose): Likewise.
19645 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
19648 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19651 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
19652 buffers for readlink input and output.
19654 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
19657 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
19658 inhibit_stack_protector.
19661 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
19662 inhibit_stack_protector.
19664 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
19667 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
19668 code and invocation.
19670 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19672 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
19674 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
19677 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
19679 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19681 * sysdeps/s390/fpu/libm-test-ulps: Update.
19683 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19687 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19689 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
19690 constants to s_sincosf.h file.
19691 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19692 * sysdeps/ieee754/flt-32/s_sincosf.c: New
19694 * sysdeps/ieee754/flt-32/s_sincosf.h:
19697 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19700 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
19703 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
19706 * INSTALL: Regenerated.
19707 * Makeconfig (real-static-start-installed-name): New.
19708 (pic-default): Updated for --enable-static-pie.
19709 (pie-default): New for --enable-static-pie.
19710 (default-pie-ldflag): Likewise.
19711 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
19712 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
19713 Replace $(static-start-installed-name) with
19714 $(real-static-start-installed-name).
19715 (+prectorT): Updated for --enable-static-pie.
19716 (+postctorT): Likewise.
19717 (CFLAGS-.o): Add $(pie-default).
19718 (CFLAGS-.op): Likewise.
19719 * NEWS: Mention --enable-static-pie.
19720 * config.h.in (ENABLE_STATIC_PIE): New.
19721 * configure.ac (--enable-static-pie): New configure option.
19722 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
19723 (have-static-pie): Likewise.
19724 Enable static PIE if linker supports --no-dynamic-linker.
19725 (ENABLE_STATIC_PIE): New AC_DEFINE.
19726 (enable-static-pie): New LIBC_CONFIG_VAR.
19727 * configure: Regenerated.
19728 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
19729 gr$(start-installed-name) for --enable-static-pie.
19730 (extra-objs): Likewise.
19731 (install-lib): Likewise.
19732 (extra-objs): Add static-reloc.o and static-reloc.os
19733 ($(objpfx)$(start-installed-name)): Also depend on
19734 $(objpfx)static-reloc.o.
19735 ($(objpfx)r$(start-installed-name)): New.
19736 ($(objpfx)g$(start-installed-name)): Also depend on
19737 $(objpfx)static-reloc.os.
19738 ($(objpfx)gr$(start-installed-name)): New.
19739 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
19741 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
19743 * csu/static-reloc.c: New file.
19744 * elf/Makefile (routines): Add dl-reloc-static-pie.
19745 (elide-routines.os): Likewise.
19746 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
19747 (tst-tls1-static-non-pie-no-pie): New.
19748 * elf/dl-reloc-static-pie.c: New file.
19749 * elf/dl-support.c (_dl_get_dl_main_map): New function.
19750 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
19751 STATIC_PIE_BOOTSTRAP.
19752 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19753 * gmon/Makefile (tests): Add tst-gmon-static-pie.
19754 (tests-static): Likewise.
19755 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
19756 (tst-gmon-static-no-pie): New.
19757 (CFLAGS-tst-gmon-static-pie.c): Likewise.
19758 (CRT-tst-gmon-static-pie): Likewise.
19759 (tst-gmon-static-pie-ENV): Likewise.
19760 (tests-special): Likewise.
19761 ($(objpfx)tst-gmon-static-pie.out): Likewise.
19762 (clean-tst-gmon-static-pie-data): Likewise.
19763 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
19764 * gmon/tst-gmon-static-pie.c: New file.
19765 * manual/install.texi: Document --enable-static-pie.
19766 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
19767 (_dl_get_dl_main_map): Likewise.
19768 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
19769 * sysdeps/x86_64/configure.ac: Likewise.
19770 * sysdeps/i386/configure: Regenerated.
19771 * sysdeps/x86_64/configure: Likewise.
19772 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
19773 (ASFLAGS-.op): Likewise.
19775 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19777 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
19778 * posix/tst-mmap-offset.c (fname): Use /tmp.
19779 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
19781 2017-12-15 Steve Ellcey <sellcey@cavium.com>
19783 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
19785 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
19787 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
19790 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19792 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19793 --with-float=hard for arm-linux-gnueabihf configurations.
19796 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
19797 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
19798 ($(mo-installed)): Use $(objpfx)%.mo.
19799 (realclean): Remove rule.
19801 * po/Makefile (linguas): Remove rule and dependencies.
19802 (linguas.mo): Likewise.
19803 (.PHONY): Do not depend on linguas and linguas.mo.
19804 (podir): Remove variable.
19805 (pofiles): Likewise.
19806 [$(pofiles)] (%.po): Remove rule.
19808 * sysdeps/sparc/sparc32/Makefile
19809 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
19810 start-of-line whitespace in argument of echo.
19811 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
19812 with whitespace. Generate __wrap_.udiv alias.
19813 * sysdeps/sparc/sparc32/rem.S: Regenerated.
19814 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19815 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19816 * sysdeps/sparc/sparc32/urem.S: Likewise.
19818 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19820 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
19821 for aligned inputs.
19823 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19825 * benchtests/bench-strcmp.c: Print output in JSON format.
19827 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
19829 2017-12-14 Florian Weimer <fweimer@redhat.com>
19833 * elf/dl-load.c (_dl_init_paths): Compute number of components in
19834 the expanded path string.
19836 2017-12-14 Florian Weimer <fweimer@redhat.com>
19840 * elf/dl-load.c (system_dirs): Update comment.
19841 (nsystem_dirs_len): Use array_length.
19842 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19844 2017-12-14 Florian Weimer <fweimer@redhat.com>
19846 Simplify compiling most of support/ outside of glibc.
19847 * support/check_addrinfo.c: Include <string.h>.
19848 * support/check_dns_packet.c: Likewise.
19849 * support/check_hostent.c: Likewise.
19850 * support/support_can_chroot.c: Include <support/xunistd.h>.
19851 * support/support_format_addrinfo.c: Include <stdlib.h>
19852 * support/support_format_dns_packet.c: Include <stdbool.h>.
19853 * support/support_format_hostent.c: Include <stdlib.h>.
19854 * support/support_format_netent.c: Likewise.
19855 * support/support_write_string.c: Include <support/xunistd.h>.
19856 * support/xdlfcn.c: Include <stddef.h>.
19858 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19860 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19862 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19863 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19865 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19866 (sysdeps_routines): Add memset-niagara7.
19867 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19869 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19871 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19872 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19873 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19874 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19875 Add niagara7 option.
19876 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19879 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19880 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19881 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19883 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19885 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19886 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19887 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19888 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19889 and __memmove_niagara7.
19890 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19891 Add niagara7 option.
19892 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19893 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19894 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19895 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19896 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19898 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19900 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19901 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19902 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19903 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19905 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19906 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19907 _dl_sparc_cap_flags array.
19908 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19910 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19912 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19913 time whenever possible.
19915 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19917 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19918 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19920 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19922 * soft-fp/fmadf4.c: Move to ....
19923 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19924 * soft-fp/fmasf4.c: Move to ....
19925 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19926 * soft-fp/fmatf4.c: Move to ....
19927 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19928 * sysdeps/ieee754/soft-fp/Makefile: New file.
19929 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19930 * sysdeps/arm/preconfigure: Regenerated.
19931 * sysdeps/arm/nofpu/Implies: New file.
19932 * sysdeps/arm/s_fma.c: Remove file.
19933 * sysdeps/arm/s_fmaf.c: Likewise.
19934 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19935 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19936 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19937 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19938 * sysdeps/microblaze/s_fma.c: Remove file.
19939 * sysdeps/microblaze/s_fmaf.c: Likewise.
19940 * sysdeps/mips/mips32/nofpu/Implies: New file.
19941 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19942 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19943 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19944 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19945 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19946 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19947 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19949 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19950 * sysdeps/nios2/s_fma.c: Remove file.
19951 * sysdeps/nios2/s_fmaf.c: Likewise.
19952 * sysdeps/sh/nofpu/Implies: New file.
19953 * sysdeps/sh/s_fma.c: Remove file.
19954 * sysdeps/sh/s_fmaf.c: Likewise.
19955 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19956 * sysdeps/tile/s_fma.c: Remove file.
19957 * sysdeps/tile/s_fmaf.c: Likewise.
19959 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19961 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19962 Add s_cosf-sse2 and s_cosf-fma.
19963 (CFLAGS-s_cosf-fma.c): New.
19964 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19965 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19966 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19968 2017-12-12 Steve Ellcey <sellcey@cavium.com>
19970 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19972 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19974 * libio/Makefile (tests): Add tst-bz22415.
19975 (tst-bz22415-ENV): New rule.
19976 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19977 (tests-special): Add tst-bz22415-mem.out.
19978 ($(objpfx)tst-bz22415-mem.out): New rule.
19979 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19980 in case of a successful seek operation.
19981 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19982 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19983 buffer is required.
19984 * libio/tst-bz22415.c: New test.
19986 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19988 2017-12-12 James Clarke <jrtc27@jrtc27.com>
19990 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19991 __IPC_64 to 0 to avoid IPC_64 being set.
19993 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19996 * math/bits/mathcalls.h (nextafter): Remove const.
19997 (nexttoward): Likewise.
19999 2017-12-12 Joseph Myers <joseph@codesourcery.com>
20001 * configure.ac (--with-fp): Remove configure option.
20002 (with_fp_cond): New variable.
20003 (libc_cv_with_fp): New configure test. Use this variable instead
20005 * configure: Regenerated.
20006 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20007 * manual/install.texi (Configuring and compiling): Remove
20009 * INSTALL: Regenerated.
20010 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20011 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20012 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20013 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20014 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20015 use --without-fp to configure glibc.
20017 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
20019 * manual/locale.texi (nl_langinfo): Fix a typo.
20021 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
20024 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20026 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20028 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20029 (CFLAGS-argp-parse.c): Likewise.
20030 (CFLAGS-argp-fmtstream.c): Likewise.
20031 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20032 (CPPFLAGS-sha512-crypt.c): Likewise.
20033 (CPPFLAGS-md5-crypt.c): Likewise.
20034 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20035 (CFLAGS-stack_chk_fail_local.c): Likewise.
20036 (CFLAGS-backtrace.c): Likewise.
20037 (CFLAGS-sprintf_chk.c): Likewise.
20038 (CFLAGS-snprintf_chk.c): Likewise.
20039 (CFLAGS-vsprintf_chk.c): Likewise.
20040 (CFLAGS-vsnprintf_chk.c): Likewise.
20041 (CFLAGS-asprintf_chk.c): Likewise.
20042 (CFLAGS-vasprintf_chk.c): Likewise.
20043 (CFLAGS-obprintf_chk.c): Likewise.
20044 (CFLAGS-dprintf_chk.c): Likewise.
20045 (CFLAGS-vdprintf_chk.c): Likewise.
20046 (CFLAGS-printf_chk.c): Likewise.
20047 (CFLAGS-fprintf_chk.c): Likewise.
20048 (CFLAGS-vprintf_chk.c): Likewise.
20049 (CFLAGS-vfprintf_chk.c): Likewise.
20050 (CFLAGS-gets_chk.c): Likewise.
20051 (CFLAGS-fgets_chk.c): Likewise.
20052 (CFLAGS-fgets_u_chk.c): Likewise.
20053 (CFLAGS-fread_chk.c): Likewise.
20054 (CFLAGS-fread_u_chk.c): Likewise.
20055 (CFLAGS-swprintf_chk.c): Likewise.
20056 (CFLAGS-vswprintf_chk.c): Likewise.
20057 (CFLAGS-wprintf_chk.c): Likewise.
20058 (CFLAGS-fwprintf_chk.c): Likewise.
20059 (CFLAGS-vwprintf_chk.c): Likewise.
20060 (CFLAGS-vfwprintf_chk.c): Likewise.
20061 (CFLAGS-fgetws_chk.c): Likewise.
20062 (CFLAGS-fgetws_u_chk.c): Likewise.
20063 (CFLAGS-read_chk.c): Likewise.
20064 (CFLAGS-pread_chk.c): Likewise.
20065 (CFLAGS-pread64_chk.c): Likewise.
20066 (CFLAGS-recv_chk.c): Likewise.
20067 (CFLAGS-recvfrom_chk.c): Likewise.
20068 (CFLAGS-tst-longjmp_chk.c): Likewise.
20069 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20070 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20071 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20072 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20073 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20074 (CFLAGS-tst-chk1.c): Likewise.
20075 (CFLAGS-tst-chk2.c): Likewise.
20076 (CFLAGS-tst-chk3.c): Likewise.
20077 (CFLAGS-tst-chk4.cc): Likewise.
20078 (CFLAGS-tst-chk5.cc): Likewise.
20079 (CFLAGS-tst-chk6.cc): Likewise.
20080 (CFLAGS-tst-lfschk1.c): Likewise.
20081 (CFLAGS-tst-lfschk2.c): Likewise.
20082 (CFLAGS-tst-lfschk3.c): Likewise.
20083 (CFLAGS-tst-lfschk4.cc): Likewise.
20084 (CFLAGS-tst-lfschk5.cc): Likewise.
20085 (CFLAGS-tst-lfschk6.cc): Likewise.
20086 (CFLAGS-tst-ssp-1.c): Likewise.
20087 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20088 (CFLAGS-scandir64.c): Likewise.
20089 (CFLAGS-scandir-tail.c): Likewise.
20090 (CFLAGS-scandir64-tail.c): Likewise.
20091 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20092 (CFLAGS-dl-tunables.c): Likewise.
20093 (CFLAGS-dl-runtime.c): Likewise.
20094 (CFLAGS-dl-lookup.c): Likewise.
20095 (CFLAGS-dl-iterate-phdr.c): Likewise.
20096 (CFLAGS-vismain.c): Likewise.
20097 (CFLAGS-tst-linkall-static.c): Likewise.
20098 (CFLAGS-tst-linkall-static.c): Likewise.
20099 (CPPFLAGS-dl-load.c): Likewise.
20100 (CFLAGS-ldconfig.c): Likewise.
20101 (CFLAGS-dl-cache.c): Likewise.
20102 (CFLAGS-cache.c): Likewise.
20103 (CFLAGS-rtld.c): Likewise.
20104 (CFLAGS-multiload.c): Likewise.
20105 (CFLAGS-filtmod1.c): Likewise.
20106 (CFLAGS-tst-align.c): Likewise.
20107 (CFLAGS-tst-align2.c): Likewise.
20108 (CFLAGS-tst-alignmod.c): Likewise.
20109 (CFLAGS-tst-alignmod2.c): Likewise.
20110 (CPPFLAGS-tst-execstack.c): Likewise.
20111 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20112 (CFLAGS-tst-latepthreadmod.c): Likewise.
20113 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20114 (CFLAGS-getgrnam_r.c): Likewise.
20115 (CFLAGS-getgrent_r.c): Likewise.
20116 (CFLAGS-getgrent.c): Likewise.
20117 (CFLAGS-fgetgrent.c): Likewise.
20118 (CFLAGS-fgetgrent_r.c): Likewise.
20119 (CFLAGS-putgrent.c): Likewise.
20120 (CFLAGS-initgroups.c): Likewise.
20121 (CFLAGS-getgrgid.c): Likewise.
20122 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20123 (CFLAGS-getsgent.c): Likewise.
20124 (CFLAGS-fgetsgent.c): Likewise.
20125 (CFLAGS-fgetsgent_r.c): Likewise.
20126 (CFLAGS-putsgent.c): Likewise.
20127 (CFLAGS-getsgnam.c): Likewise.
20128 (CFLAGS-getsgnam_r.c): Likewise.
20129 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20130 (CFLAGS-iconv_charmap.c): Likewise.
20131 (CFLAGS-dummy-repertoire.c): Likewise.
20132 (CFLAGS-charmap.c): Likewise.
20133 (CFLAGS-linereader.c): Likewise.
20134 (CFLAGS-simple-hash.c): Likewise.
20135 (CFLAGS-gconv_conf.c): Likewise.
20136 (CFLAGS-iconvconfig.c): Likewise.
20137 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20138 (CFLAGS-gethstbyad.c): Likewise.
20139 (CFLAGS-gethstbynm_r.c): Likewise.
20140 (CFLAGS-gethstbynm.c): Likewise.
20141 (CFLAGS-gethstbynm2_r.c): Likewise.
20142 (CFLAGS-gethstbynm2.c): Likewise.
20143 (CFLAGS-gethstent_r.c): Likewise.
20144 (CFLAGS-gethstent.c): Likewise.
20145 (CFLAGS-rcmd.c): Likewise.
20146 (CFLAGS-getnetbynm_r.c): Likewise.
20147 (CFLAGS-getnetbynm.c): Likewise.
20148 (CFLAGS-getnetbyad_r.c): Likewise.
20149 (CFLAGS-getnetbyad.c): Likewise.
20150 (CFLAGS-getnetent_r.c): Likewise.
20151 (CFLAGS-getnetent.c): Likewise.
20152 (CFLAGS-getaliasent_r.c): Likewise.
20153 (CFLAGS-getaliasent.c): Likewise.
20154 (CFLAGS-getrpcent_r.c): Likewise.
20155 (CFLAGS-getrpcent.c): Likewise.
20156 (CFLAGS-getservent_r.c): Likewise.
20157 (CFLAGS-getservent.c): Likewise.
20158 (CFLAGS-getprtent_r.c): Likewise.
20159 (CFLAGS-getprtent.c): Likewise.
20160 (CFLAGS-either_ntoh.c): Likewise.
20161 (CFLAGS-either_hton.c): Likewise.
20162 (CFLAGS-getnetgrent.c): Likewise.
20163 (CFLAGS-getnetgrent_r.c): Likewise.
20164 (CFLAGS-tst-checks-posix.c): Likewise.
20165 (CFLAGS-tst-sockaddr.c): Likewise.
20166 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20167 (CFLAGS-tst-translit.c): Likewise.
20168 (CFLAGS-tst-gettext2.c): Likewise.
20169 (CFLAGS-tst-codeset.c): Likewise.
20170 (CFLAGS-tst-gettext3.c): Likewise.
20171 (CFLAGS-tst-gettext4.c): Likewise.
20172 (CFLAGS-tst-gettext5.c): Likewise.
20173 (CFLAGS-tst-gettext6.c): Likewise.
20174 * io/Makefile (CFLAGS-open.c): Likewise.
20175 (CFLAGS-open64.c): Likewise.
20176 (CFLAGS-creat.c): Likewise.
20177 (CFLAGS-creat64.c): Likewise.
20178 (CFLAGS-fcntl.c): Likewise.
20179 (CFLAGS-poll.c): Likewise.
20180 (CFLAGS-ppoll.c): Likewise.
20181 (CFLAGS-lockf.c): Likewise.
20182 (CFLAGS-statfs.c): Likewise.
20183 (CFLAGS-fstatfs.c): Likewise.
20184 (CFLAGS-statvfs.c): Likewise.
20185 (CFLAGS-fstatvfs.c): Likewise.
20186 (CFLAGS-fts.c): Likewise.
20187 (CFLAGS-fts64.c): Likewise.
20188 (CFLAGS-ftw.c): Likewise.
20189 (CFLAGS-ftw64.c): Likewise.
20190 (CFLAGS-lockf.c): Likewise.
20191 (CFLAGS-posix_fallocate.c): Likewise.
20192 (CFLAGS-posix_fallocate64.c): Likewise.
20193 (CFLAGS-fallocate.c): Likewise.
20194 (CFLAGS-fallocate64.c): Likewise.
20195 (CFLAGS-read.c): Likewise.
20196 (CFLAGS-write.c): Likewise.
20197 (CFLAGS-test-stat.c): Likewise.
20198 (CFLAGS-test-lfs.c): Likewise.
20199 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20200 (CFLAGS-fputc.c): Likewise.
20201 (CFLAGS-fputwc.c): Likewise.
20202 (CFLAGS-freopen64.c): Likewise.
20203 (CFLAGS-freopen.c): Likewise.
20204 (CFLAGS-fseek.c): Likewise.
20205 (CFLAGS-fseeko64.c): Likewise.
20206 (CFLAGS-fseeko.c): Likewise.
20207 (CFLAGS-ftello64.c): Likewise.
20208 (CFLAGS-ftello.c): Likewise.
20209 (CFLAGS-fwide.c): Likewise.
20210 (CFLAGS-genops.c): Likewise.
20211 (CFLAGS-getc.c): Likewise.
20212 (CFLAGS-getchar.c): Likewise.
20213 (CFLAGS-getwc.c): Likewise.
20214 (CFLAGS-getwchar.c): Likewise.
20215 (CFLAGS-iofclose.c): Likewise.
20216 (CFLAGS-iofflush.c): Likewise.
20217 (CFLAGS-iofgetpos64.c): Likewise.
20218 (CFLAGS-iofgetpos.c): Likewise.
20219 (CFLAGS-iofgets.c): Likewise.
20220 (CFLAGS-iofgetws.c): Likewise.
20221 (CFLAGS-iofputs.c): Likewise.
20222 (CFLAGS-iofputws.c): Likewise.
20223 (CFLAGS-iofread.c): Likewise.
20224 (CFLAGS-iofsetpos64.c): Likewise.
20225 (CFLAGS-iofsetpos.c): Likewise.
20226 (CFLAGS-ioftell.c): Likewise.
20227 (CFLAGS-iofwrite.c): Likewise.
20228 (CFLAGS-iogetdelim.c): Likewise.
20229 (CFLAGS-iogetline.c): Likewise.
20230 (CFLAGS-iogets.c): Likewise.
20231 (CFLAGS-iogetwline.c): Likewise.
20232 (CFLAGS-ioputs.c): Likewise.
20233 (CFLAGS-ioseekoff.c): Likewise.
20234 (CFLAGS-ioseekpos.c): Likewise.
20235 (CFLAGS-iosetbuffer.c): Likewise.
20236 (CFLAGS-iosetvbuf.c): Likewise.
20237 (CFLAGS-ioungetc.c): Likewise.
20238 (CFLAGS-ioungetwc.c): Likewise.
20239 (CFLAGS-oldfileops.c): Likewise.
20240 (CFLAGS-oldiofclose.c): Likewise.
20241 (CFLAGS-oldiofgetpos64.c): Likewise.
20242 (CFLAGS-oldiofgetpos.c): Likewise.
20243 (CFLAGS-oldiofsetpos64.c): Likewise.
20244 (CFLAGS-oldiofsetpos.c): Likewise.
20245 (CFLAGS-peekc.c): Likewise.
20246 (CFLAGS-putc.c): Likewise.
20247 (CFLAGS-putchar.c): Likewise.
20248 (CFLAGS-putwc.c): Likewise.
20249 (CFLAGS-putwchar.c): Likewise.
20250 (CFLAGS-rewind.c): Likewise.
20251 (CFLAGS-wfileops.c): Likewise.
20252 (CFLAGS-wgenops.c): Likewise.
20253 (CFLAGS-oldiofopen.c): Likewise.
20254 (CFLAGS-iofopen.c): Likewise.
20255 (CFLAGS-iofopen64.c): Likewise.
20256 (CFLAGS-oldtmpfile.c): Likewise.
20257 (CFLAGS-tst_putwc.c): Likewise.
20258 * locale/Makefile (CFLAGS-md5.c): Likewise.
20259 (CFLAGS-charmap.c): Likewise.
20260 (CFLAGS-locfile.c): Likewise.
20261 (CFLAGS-charmap-dir.c): Likewise.
20262 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20263 (CFLAGS-getpt.c): Likewise.
20264 (CFLAGS-pt_chown.c): Likewise.
20265 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20266 (CFLAGS-obstack.c): Likewise.
20267 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20268 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20269 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20270 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20271 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20272 (CFLAGS-test-tgmath.c): Likewise.
20273 (CFLAGS-test-tgmath2.c): Likewise.
20274 (CFLAGS-test-tgmath-ret.c): Likewise.
20275 (CFLAGS-test-powl.c): Likewise.
20276 (CFLAGS-test-snan.c): Likewise.
20277 (CFLAGS-test-signgam-finite.c): Likewise.
20278 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20279 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20280 (CFLAGS-test-signgam-uchar.c): Likewise.
20281 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20282 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20283 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20284 (CFLAGS-test-signgam-uint.c): Likewise.
20285 (CFLAGS-test-signgam-uint-init.c): Likewise.
20286 (CFLAGS-test-signgam-uint-static.c): Likewise.
20287 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20288 (CFLAGS-test-signgam-ullong.c): Likewise.
20289 (CFLAGS-test-signgam-ullong-init.c): Likewise.
20290 (CFLAGS-test-signgam-ullong-static.c): Likewise.
20291 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20292 (CFLAGS-test-math-cxx11.cc): Likewise.
20293 (CFLAGS-test-math-isinff.cc): Likewise.
20294 (CFLAGS-test-math-iszero.cc): Likewise.
20295 (CFLAGS-test-math-issignaling.cc): Likewise.
20296 (CFLAGS-test-math-iscanonical.cc): Likewise.
20297 (CFLAGS-test-iszero-excess-precision.c): Likewise.
20298 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
20299 (CFLAGS-test-flt-eval-method.c): Likewise.
20300 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
20301 (CFLAGS-test-finite-macros.c): Likewise.
20302 * misc/Makefile (CFLAGS-select.c): Likewise.
20303 (CFLAGS-tsearch.c): Likewise.
20304 (CFLAGS-lsearch.c): Likewise.
20305 (CFLAGS-pselect.c): Likewise.
20306 (CFLAGS-readv.c): Likewise.
20307 (CFLAGS-writev.c): Likewise.
20308 (CFLAGS-preadv.c): Likewise.
20309 (CFLAGS-preadv64.c): Likewise.
20310 (CFLAGS-pwritev.c): Likewise.
20311 (CFLAGS-pwritev64.c): Likewise.
20312 (CFLAGS-preadv2.c): Likewise.
20313 (CFLAGS-preadv64v2.c): Likewise.
20314 (CFLAGS-pwritev2.c): Likewise.
20315 (CFLAGS-pwritev64v2.c): Likewise.
20316 (CFLAGS-usleep.c): Likewise.
20317 (CFLAGS-syslog.c): Likewise.
20318 (CFLAGS-error.c): Likewise.
20319 (CFLAGS-getpass.c): Likewise.
20320 (CFLAGS-mkstemp.c): Likewise.
20321 (CFLAGS-mkstemp64.c): Likewise.
20322 (CFLAGS-getsysstats.c): Likewise.
20323 (CFLAGS-getusershell.c): Likewise.
20324 (CFLAGS-err.c): Likewise.
20325 (CFLAGS-tst-tsearch.c): Likewise.
20326 (CFLAGS-msync.c): Likewise.
20327 (CFLAGS-fdatasync.c): Likewise.
20328 (CFLAGS-fsync.c): Likewise.
20329 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
20330 (CFLAGS-unwind.c): Likewise.
20331 (CFLAGS-unwind-forcedunwind.c): Likewise.
20332 (CFLAGS-pthread_cancel.c): Likewise.
20333 (CFLAGS-pthread_setcancelstate.c): Likewise.
20334 (CFLAGS-pthread_setcanceltype.c): Likewise.
20335 (CFLAGS-cancellation.c): Likewise.
20336 (CFLAGS-libc-cancellation.c): Likewise.
20337 (CFLAGS-pthread_exit.c): Likewise.
20338 (CFLAGS-forward.c): Likewise.
20339 (CFLAGS-pthread_testcancel.c): Likewise.
20340 (CFLAGS-pthread_join.c): Likewise.
20341 (CFLAGS-pthread_timedjoin.c): Likewise.
20342 (CFLAGS-pthread_once.c): Likewise.
20343 (CFLAGS-pthread_cond_wait.c): Likewise.
20344 (CFLAGS-sem_wait.c): Likewise.
20345 (CFLAGS-sem_timedwait.c): Likewise.
20346 (CFLAGS-fcntl.c): Likewise.
20347 (CFLAGS-lockf.c): Likewise.
20348 (CFLAGS-pread.c): Likewise.
20349 (CFLAGS-pread64.c): Likewise.
20350 (CFLAGS-pwrite.c): Likewise.
20351 (CFLAGS-pwrite64.c): Likewise.
20352 (CFLAGS-wait.c): Likewise.
20353 (CFLAGS-waitpid.c): Likewise.
20354 (CFLAGS-sigwait.c): Likewise.
20355 (CFLAGS-msgrcv.c): Likewise.
20356 (CFLAGS-msgsnd.c): Likewise.
20357 (CFLAGS-tcdrain.c): Likewise.
20358 (CFLAGS-open.c): Likewise.
20359 (CFLAGS-open64.c): Likewise.
20360 (CFLAGS-pause.c): Likewise.
20361 (CFLAGS-recv.c): Likewise.
20362 (CFLAGS-send.c): Likewise.
20363 (CFLAGS-accept.c): Likewise.
20364 (CFLAGS-sendto.c): Likewise.
20365 (CFLAGS-connect.c): Likewise.
20366 (CFLAGS-recvfrom.c): Likewise.
20367 (CFLAGS-recvmsg.c): Likewise.
20368 (CFLAGS-sendmsg.c): Likewise.
20369 (CFLAGS-close.c): Likewise.
20370 (CFLAGS-read.c): Likewise.
20371 (CFLAGS-write.c): Likewise.
20372 (CFLAGS-nanosleep.c): Likewise.
20373 (CFLAGS-sigsuspend.c): Likewise.
20374 (CFLAGS-msync.c): Likewise.
20375 (CFLAGS-fdatasync.c): Likewise.
20376 (CFLAGS-fsync.c): Likewise.
20377 (CFLAGS-pt-system.c): Likewise.
20378 (CFLAGS-tst-cleanup2.c): Likewise.
20379 (CFLAGS-tst-cleanupx2.c): Likewise.
20380 (CFLAGS-flockfile.c): Likewise.
20381 (CFLAGS-ftrylockfile.c): Likewise.
20382 (CFLAGS-funlockfile.c): Likewise.
20383 (CFLAGS-tst-initializers1.c): Likewise.
20384 (CFLAGS-tst-initializers1-c89.c): Likewise.
20385 (CFLAGS-tst-initializers1-c99.c): Likewise.
20386 (CFLAGS-tst-initializers1-c11.c): Likewise.
20387 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
20388 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
20389 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20390 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
20391 (CFLAGS-nscd_getgr_r.c): Likewise.
20392 (CFLAGS-nscd_gethst_r.c): Likewise.
20393 (CFLAGS-nscd_getai.c): Likewise.
20394 (CFLAGS-nscd_initgroups.c): Likewise.
20395 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
20396 (CFLAGS-pause.c): Likewise.
20397 (CFLAGS-pread.c): Likewise.
20398 (CFLAGS-pread64.c): Likewise.
20399 (CFLAGS-pwrite.c): Likewise.
20400 (CFLAGS-pwrite64.c): Likewise.
20401 (CFLAGS-sleep.c): Likewise.
20402 (CFLAGS-wait.c): Likewise.
20403 (CFLAGS-waitid.c): Likewise.
20404 (CFLAGS-waitpid.c): Likewise.
20405 (CFLAGS-getopt.c): Likewise.
20406 (CFLAGS-wordexp.c): Likewise.
20407 (CFLAGS-sysconf.c): Likewise.
20408 (CFLAGS-pathconf.c): Likewise.
20409 (CFLAGS-fpathconf.c): Likewise.
20410 (CFLAGS-spawn.c): Likewise.
20411 (CFLAGS-spawnp.c): Likewise.
20412 (CFLAGS-spawni.c): Likewise.
20413 (CFLAGS-glob.c): Likewise.
20414 (CFLAGS-glob64.c): Likewise.
20415 (CFLAGS-getconf.c): Likewise.
20416 (CFLAGS-nanosleep.c): Likewise.
20417 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20418 (CFLAGS-getpwent.c): Likewise.
20419 (CFLAGS-getpw.c): Likewise.
20420 (CFLAGS-fgetpwent_r.c): Likewise.
20421 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20422 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20423 (CFLAGS-mq_timedreceive.c): Likewise.
20424 (CFLAGS-mq_timedsend.c): Likewise.
20425 (CFLAGS-clock_nanosleep.c): Likewise.
20426 (CFLAGS-librt-cancellation.c): Likewise.
20427 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20428 (CFLAGS-getspent.c): Likewise.
20429 (CFLAGS-fgetspent.c): Likewise.
20430 (CFLAGS-fgetspent_r.c): Likewise.
20431 (CFLAGS-putspent.c): Likewise.
20432 (CFLAGS-getspnam.c): Likewise.
20433 (CFLAGS-getspnam_r.c): Likewise.
20434 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20435 (CFLAGS-sigsuspend.c): Likewise.
20436 (CFLAGS-sigtimedwait.c): Likewise.
20437 (CFLAGS-sigwait.c): Likewise.
20438 (CFLAGS-sigwaitinfo.c): Likewise.
20439 (CFLAGS-sigreturn.c): Likewise.
20440 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20441 (CFLAGS-vfwprintf.c): Likewise.
20442 (CFLAGS-tmpfile.c): Likewise.
20443 (CFLAGS-tmpfile64.c): Likewise.
20444 (CFLAGS-tempname.c): Likewise.
20445 (CFLAGS-psignal.c): Likewise.
20446 (CFLAGS-vprintf.c): Likewise.
20447 (CFLAGS-cuserid.c): Likewise.
20448 (CFLAGS-errlist.c): Likewise.
20449 (CFLAGS-siglist.c): Likewise.
20450 (CFLAGS-scanf15.c): Likewise.
20451 (CFLAGS-scanf17.c): Likewise.
20452 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20453 (CFLAGS-msort.c): Likewise.
20454 (CFLAGS-qsort.c): Likewise.
20455 (CFLAGS-system.c): Likewise.
20456 (CFLAGS-fmtmsg.c): Likewise.
20457 (CFLAGS-strfmon.c): Likewise.
20458 (CFLAGS-strfmon_l.c): Likewise.
20459 (CFLAGS-strfromd.c): Likewise.
20460 (CFLAGS-strfromf.c): Likewise.
20461 (CFLAGS-strfroml.c): Likewise.
20462 (CFLAGS-tst-bsearch.c): Likewise.
20463 (CFLAGS-tst-qsort.c): Likewise.
20464 (CFLAGS-tst-makecontext2.c): Likewise.
20465 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20466 (CFLAGS-xnlm_prot.c): Likewise.
20467 (CFLAGS-xrstat.c): Likewise.
20468 (CFLAGS-xyppasswd.c): Likewise.
20469 (CFLAGS-xklm_prot.c): Likewise.
20470 (CFLAGS-xrex.c): Likewise.
20471 (CFLAGS-xsm_inter.c): Likewise.
20472 (CFLAGS-xmount.c): Likewise.
20473 (CFLAGS-xrusers.c): Likewise.
20474 (CFLAGS-xspray.c): Likewise.
20475 (CFLAGS-xnfs_prot.c): Likewise.
20476 (CFLAGS-xrquota.c): Likewise.
20477 (CFLAGS-xkey_prot.c): Likewise.
20478 (CFLAGS-auth_unix.c): Likewise.
20479 (CFLAGS-key_call.c): Likewise.
20480 (CFLAGS-pmap_rmt.c): Likewise.
20481 (CFLAGS-clnt_perr.c): Likewise.
20482 (CFLAGS-openchild.c): Likewise.
20483 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
20484 (CFLAGS-msgsnd.c): Likewise.
20485 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
20486 * time/Makefile (CFLAGS-tzfile.c): Likewise.
20487 (CFLAGS-tzset.c): Likewise.
20488 (CFLAGS-getdate.c): Likewise.
20489 (CFLAGS-test_time.c): Likewise.
20490 (CPPFLAGS-tst-tzname.c): Likewise.
20491 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
20492 (CFLAGS-zic.c): Likewise.
20493 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
20494 (CFLAGS-wcswidth.c): Likewise.
20495 (CFLAGS-wcstol.c): Likewise.
20496 (CFLAGS-wcstoul.c): Likewise.
20497 (CFLAGS-wcstoll.c): Likewise.
20498 (CFLAGS-wcstoull.c): Likewise.
20499 (CFLAGS-wcstod.c): Likewise.
20500 (CFLAGS-wcstold.c): Likewise.
20501 (CFLAGS-wcstof128.c): Likewise.
20502 (CFLAGS-wcstof.c): Likewise.
20503 (CFLAGS-wcstol_l.c): Likewise.
20504 (CFLAGS-wcstoul_l.c): Likewise.
20505 (CFLAGS-wcstoll_l.c): Likewise.
20506 (CFLAGS-wcstoull_l.c): Likewise.
20507 (CFLAGS-wcstod_l.c): Likewise.
20508 (CFLAGS-wcstold_l.c): Likewise.
20509 (CFLAGS-wcstof128_l.c): Likewise.
20510 (CFLAGS-wcstof_l.c): Likewise.
20511 (CPPFLAGS-tst-wchar-h.c): Likewise.
20512 (CPPFLAGS-wcstold_l.c): Likewise.
20514 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
20516 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
20518 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20519 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20521 * manual/tunables.texi (Hardware Capability Tunables): Document
20522 glibc.tune.cached_memopt.
20523 * sysdeps/powerpc/cpu-features.c: New file.
20524 * sysdeps/powerpc/cpu-features.h: New file.
20525 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
20526 _dl_powerpc_cpu_features.
20527 * sysdeps/powerpc/dl-tunables.list: New file.
20528 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
20529 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20530 (INIT_ARCH): Initialize use_aligned_memopt.
20531 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
20532 IS_IN(rtld))]: Restrict dl_platform_init availability and
20533 initialize CPU features used by tunables.
20534 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
20535 Add memcpy-power8-cached.
20536 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
20537 __memcpy_power8_cached.
20538 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20539 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
20542 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20544 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
20545 (CFLAGS-noinl-tester.c): Likewise.
20546 (CFLAGS-tst-strlen.c): Likewise.
20547 (CFLAGS-stratcliff.c): Likewise.
20548 (CFLAGS-test-ffs.c): Likewise.
20549 (CFLAGS-tst-inlcall.c): Likewise.
20550 (CFLAGS-tst-xbzero-opt.c): Likewise.
20551 (CFLAGS-memcpy.c): Likewise.
20552 (CFLAGS-wordcopy.c): Likewise.
20554 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20556 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
20557 Store r15 on stack and add cfi rule.
20558 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20561 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
20564 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
20567 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20569 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20570 Add s_sinf-sse2 and s_sinf-fma.
20571 (CFLAGS-s_sinf-fma.c): New.
20572 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
20573 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
20574 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
20576 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20578 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
20580 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20583 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
20584 part of result to imaginary part of argument if it is zero and the
20585 real part of the argument is not finite.
20586 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
20587 of result to real part of argument if it is zero and the imaginary
20588 part of the argument is not finite.
20590 2017-12-07 Mike FABIAN <mfabian@redhat.com>
20593 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
20594 and to the list of locales to be built for testing.
20595 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
20596 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
20597 and build the collation rules upon that.
20599 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20601 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
20602 * manual/math.texi (Mathematics): Document support for _Float32.
20603 * math/Makefile (test-types): Add float32.
20604 * math/Versions (GLIBC_2.27): Add _Float32 functions.
20605 * stdlib/Versions (GLIBC_2.27): Likewise.
20606 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20607 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20608 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20609 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20610 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20611 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20612 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20613 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20614 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20615 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20616 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20617 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20618 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20619 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20620 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20621 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20622 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20623 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20624 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20625 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20626 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20627 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20629 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20630 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20631 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20632 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20633 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20651 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20652 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20653 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20654 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20655 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20656 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20657 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20658 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20659 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20660 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20669 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20670 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20671 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20672 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20673 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20674 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20675 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20676 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20678 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20680 * stdlib/strtof.c: Include <bits/floatn.h>
20681 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
20682 and later undefine as macro. Define as weak alias if
20684 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
20685 and later undefine as macro. Define as weak alias if
20687 * stdlib/strtof_l.c: Include <bits/floatn.h>
20688 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
20689 and later undefine as macro. Define as weak alias if
20691 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
20692 and later undefine as macro. Define as weak alias if
20695 * stdlib/strfromf.c: Include <bits/floatn.h>.
20696 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
20697 and later undefine as macro and define as weak alias.
20699 * math/test-float32.h: New file.
20701 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
20702 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
20703 (libm_alias_float_other_r): Create f32 alias.
20704 (libm_alias_float_r): Use semicolon before call to
20705 libm_alias_float_other_r.
20707 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
20708 second argument to libm_alias_float_other.
20709 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
20710 second argument to libm_alias_float_other.
20711 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
20712 argument to libm_alias_float_other.
20715 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
20716 real part of result for argument 0 + i * NaN.
20717 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
20718 results for tests of 0 + i * NaN.
20720 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20722 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20724 2017-12-06 David S. Miller <davem@davemloft.net>
20726 * sysdeps/sparc/fpu/libm-test-ulps: Update
20727 exp_{downward,towardzero,upward} ulps.
20729 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20731 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
20734 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
20736 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
20738 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
20740 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
20743 2017-12-06 Mike FABIAN <mfabian@redhat.com>
20746 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
20747 and to the list of locales to be built for testing.
20748 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
20749 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
20750 and build the collation rules upon that.
20752 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20754 * NEWS: Add sinf to list of optimized functions.
20756 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20758 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
20759 (__HAVE_FLOAT32X): Likewise.
20760 * manual/math.texi (Mathematics): Document support for _Float64
20762 * math/Makefile (test-types): Add float64 and float32x.
20763 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
20765 * stdlib/Versions (GLIBC_2.27): Likewise.
20766 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20767 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20768 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20769 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20770 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20771 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20772 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20773 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20774 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20775 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20776 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20777 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20778 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20779 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20780 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20781 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20782 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20783 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20784 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20785 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20786 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20787 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20789 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20790 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20791 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20792 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20793 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20810 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20811 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20812 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20813 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20814 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20815 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20816 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20817 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20818 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20819 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20828 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20829 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20830 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20831 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20832 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20833 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20834 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20835 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20837 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20839 * bits/floatn-common.h: Include <bits/long-double.h>.
20840 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20841 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
20842 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20843 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20844 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20845 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20846 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20847 (__builtin_huge_valf64): Use __builtin_huge_vall.
20848 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20849 (__builtin_inff64): Use __builtin_infl.
20850 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20851 (__builtin_nanf64): Use __builtin_nanl.
20852 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20853 (__builtin_nansf64): Use __builtin_nansl.
20855 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20856 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20857 Carlos O'Donnell <carlos@redhat.com>
20859 * elf/dl-tunables.list: Add elision parameters.
20860 * manual/tunables.texi: Add entries about elision tunable.
20861 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20862 Add callback functions to dynamically enable/disable elision.
20863 Add multiple callbacks functions to set elision parameters.
20864 Deleted __libc_enable_secure check.
20865 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20866 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20867 * configure: Regenerated.
20868 * configure.ac: Option enable_lock_elision was deleted.
20869 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20870 * config.make.in: Remove references to enable_lock_elision.
20871 * manual/install.texi: Elision configure option was removed.
20872 * INSTALL: Regenerated to remove enable_lock_elision.
20874 Disable elision so it can verify error case for destroying a mutex.
20875 * sysdeps/powerpc/nptl/elide.h:
20876 Cleanup ENABLE_LOCK_ELISION check.
20877 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20878 * sysdeps/s390/configure: Regenerated.
20879 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20880 * nptl/tst-mutex8.c:
20881 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20882 * sysdeps/powerpc/powerpc32/sysdep.h:
20883 Deleted all ENABLE_LOCK_ELISION checks.
20884 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20885 * sysdeps/powerpc/sysdep.h: Likewise.
20886 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20887 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20888 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20889 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20890 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20891 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20892 enable-lock-elision.
20894 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20896 * stdlib/strtod.c: Include <bits/floatn.h>.
20897 (BUILD_DOUBLE): New macro.
20898 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20899 (strtof64): Define and later undefine as macro. Define as weak
20900 alias if [!USE_WIDE_CHAR].
20901 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20902 (wcstof64): Define and later undefine as macro. Define as weak
20903 alias if [USE_WIDE_CHAR].
20904 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20905 (strtof32x): Define and later undefine as macro. Define as weak
20906 alias if [!USE_WIDE_CHAR].
20907 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20908 (wcstof32x): Define and later undefine as macro. Define as weak
20909 alias if [USE_WIDE_CHAR].
20910 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20911 (BUILD_DOUBLE): New macro.
20912 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20913 (strtof64_l): Define and later undefine as macro. Define as weak
20914 alias if [!USE_WIDE_CHAR].
20915 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20916 (wcstof64_l): Define and later undefine as macro. Define as weak
20917 alias if [USE_WIDE_CHAR].
20918 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20919 (strtof32x_l): Define and later undefine as macro. Define as weak
20920 alias if [!USE_WIDE_CHAR].
20921 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20922 (wcstof32x_l): Define and later undefine as macro. Define as weak
20923 alias if [USE_WIDE_CHAR].
20925 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20927 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20928 (reduced): Use ones as double instead of integer.
20930 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20932 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20934 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20936 * stdlib/strfromd.c: Include <bits/floatn.h>.
20937 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20938 and later undefine as macro and define as weak alias.
20939 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20942 * math/test-float32x.h: New file.
20943 * math/test-float64.h: Likewise.
20945 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20946 (libm_alias_double_other_r_f64): New macro.
20947 (libm_alias_double_other_r_f32x): Likewise.
20948 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20949 libm_alias_double_other_r_f32x.
20950 (libm_alias_double_r): Use semicolon before call to
20951 libm_alias_double_other_r.
20952 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20954 (libm_alias_double_other_r_f64): New macro.
20955 (libm_alias_double_other_r_f32x): Likewise.
20956 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20957 libm_alias_double_other_r_f32x.
20959 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20961 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20963 (SINF_FUNC): Likewise. Replace floor with simple casts.
20965 2017-12-05 Mike FABIAN <mfabian@redhat.com>
20968 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20969 and to the list of locales to be built for testing.
20970 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20971 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20972 and build the collation rules upon that.
20974 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20976 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20977 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20978 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20979 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20980 instead of __insn__xxx.
20981 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20982 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20983 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20984 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20985 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20986 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20988 2017-12-05 Florian Weimer <fweimer@redhat.com>
20990 Linux: Implement interfaces for memory protection keys
20991 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20993 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20994 * support/xunistd.h (xsysconf): Declare.
20995 * support/xraise.c: New file.
20996 * support/xsigaction.c: Likewise.
20997 * support/xsignal.c: Likewise.
20998 * support/xsysconf.c: Likewise.
20999 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21000 pkey_set, pkey_get, pkey_mprotect.
21001 [misc] (tests): Add tst-pkey.
21002 (tst-pkey): Link with -lpthread.
21003 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21004 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21005 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21006 (PKEY_DISABLE_WRITE): Define.
21007 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21009 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21010 (SEGV_PKUERR): Add.
21011 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21012 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21013 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21014 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21016 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21017 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21018 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21019 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21020 * sysdeps/unix/sysv/linux/**.abilist: Update.
21022 2017-12-05 Florian Weimer <fweimer@redhat.com>
21024 * support/tst-test_compare.c (subprocess): Use long long instead
21025 of long argument for consistent type width across 32-bit and
21026 64-bit architectures.
21027 (do_test): Adjust expected output.
21029 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21031 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21032 (cosf): Define using libm_alias_float.
21033 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21034 (fabsf): Define using libm_alias_float.
21035 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21036 (fmaf): Define using libm_alias_float.
21037 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21038 (rintf): Define using libm_alias_float.
21039 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21040 (sinf): Define using libm_alias_float.
21041 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21042 <libm-alias-float.h>.
21043 (modff): Define using libm_alias_float.
21044 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21045 <libm-alias-float.h>.
21046 (logbf): Define using libm_alias_float.
21047 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21048 <libm-alias-float.h>.
21049 (ceilf): Define using libm_alias_float.
21050 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21051 <libm-alias-float.h>.
21052 (copysignf): Define using libm_alias_float.
21053 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21054 <libm-alias-float.h>.
21055 (floorf): Define using libm_alias_float.
21056 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21057 <libm-alias-float.h>.
21058 (llrintf): Define using libm_alias_float.
21059 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21060 <libm-alias-float.h>.
21061 (llroundf): Define using libm_alias_float.
21062 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21063 <libm-alias-float.h>.
21064 (lrintf): Define using libm_alias_float.
21065 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21066 <libm-alias-float.h>.
21067 (lroundf): Define using libm_alias_float.
21068 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21069 <libm-alias-float.h>.
21070 (nearbyintf): Define using libm_alias_float.
21071 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21072 <libm-alias-float.h>.
21073 (rintf): Define using libm_alias_float.
21074 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21075 <libm-alias-float.h>.
21076 (roundf): Define using libm_alias_float.
21077 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21078 <libm-alias-float.h>.
21079 (truncf): Define using libm_alias_float.
21080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21081 Include <libm-alias-float.h>.
21082 (ceilf): Define using libm_alias_float.
21083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21084 Include <libm-alias-float.h>.
21085 (copysignf): Define using libm_alias_float.
21086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21087 Include <libm-alias-float.h>.
21088 (floorf): Define using libm_alias_float.
21089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21090 Include <libm-alias-float.h>.
21091 (llrintf): Define using libm_alias_float.
21092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21093 Include <libm-alias-float.h>.
21094 (llroundf): Define using libm_alias_float.
21095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21096 Include <libm-alias-float.h>.
21097 (logbf): Define using libm_alias_float.
21098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21099 Include <libm-alias-float.h>.
21100 (lrintf): Define using libm_alias_float.
21101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21102 Include <libm-alias-float.h>.
21103 (lroundf): Define using libm_alias_float.
21104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21105 Include <libm-alias-float.h>.
21106 (modff): Define using libm_alias_float.
21107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21108 Include <libm-alias-float.h>.
21109 (roundf): Define using libm_alias_float.
21110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21111 Include <libm-alias-float.h>.
21112 (truncf): Define using libm_alias_float.
21113 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21114 <libm-alias-float.h>.
21115 (llrintf): Define using libm_alias_float.
21116 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21117 <libm-alias-float.h>.
21118 (llroundf): Define using libm_alias_float.
21119 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21120 <libm-alias-float.h>.
21121 (ceilf): Define using libm_alias_float.
21122 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21123 <libm-alias-float.h>.
21124 (floorf): Define using libm_alias_float.
21125 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21126 <libm-alias-float.h>.
21127 (llroundf): Define using libm_alias_float.
21128 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21129 <libm-alias-float.h>.
21130 (lroundf): Define using libm_alias_float.
21131 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21132 <libm-alias-float.h>.
21133 (roundf): Define using libm_alias_float.
21134 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21135 <libm-alias-float.h>.
21136 (truncf): Define using libm_alias_float.
21137 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21138 <libm-alias-float.h>.
21139 (copysignf): Define using libm_alias_float.
21140 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21141 <libm-alias-float.h>.
21142 (llrintf): Define using libm_alias_float.
21143 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21144 <libm-alias-float.h>.
21145 (llroundf): Define using libm_alias_float.
21146 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21147 <libm-alias-float.h>.
21148 (lrintf): Define using libm_alias_float.
21149 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21150 <libm-alias-float.h>.
21151 (lroundf): Define using libm_alias_float.
21152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21153 <libm-alias-float.h>.
21154 (ceilf): Define using libm_alias_float.
21155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21156 <libm-alias-float.h>.
21157 (copysignf): Define using libm_alias_float.
21158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21159 <libm-alias-float.h>.
21160 (cosf): Define using libm_alias_float.
21161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21162 <libm-alias-float.h>.
21163 (floorf): Define using libm_alias_float.
21164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21165 <libm-alias-float.h>.
21166 (llrintf): Define using libm_alias_float.
21167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21168 <libm-alias-float.h>.
21169 (llroundf): Define using libm_alias_float.
21170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21171 <libm-alias-float.h>.
21172 (logbf): Define using libm_alias_float.
21173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21174 <libm-alias-float.h>.
21175 (modff): Define using libm_alias_float.
21176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21177 <libm-alias-float.h>.
21178 (roundf): Define using libm_alias_float.
21179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21180 <libm-alias-float.h>.
21181 (sinf): Define using libm_alias_float.
21182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21183 <libm-alias-float.h>.
21184 (truncf): Define using libm_alias_float.
21185 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21186 <libm-alias-float.h>.
21187 (ceilf): Define using libm_alias_float.
21188 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21189 <libm-alias-float.h>.
21190 (copysignf): Define using libm_alias_float.
21191 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21192 <libm-alias-float.h>.
21193 (floorf): Define using libm_alias_float.
21194 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21195 <libm-alias-float.h>.
21196 (llrintf): Define using libm_alias_float.
21197 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21198 <libm-alias-float.h>.
21199 (llroundf): Define using libm_alias_float.
21200 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21201 <libm-alias-float.h>.
21202 (nearbyintf): Define using libm_alias_float.
21203 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21204 <libm-alias-float.h>.
21205 (rintf): Define using libm_alias_float.
21206 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21207 <libm-alias-float.h>.
21208 (roundf): Define using libm_alias_float.
21209 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21210 <libm-alias-float.h>.
21211 (truncf): Define using libm_alias_float.
21212 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21213 <libm-alias-float.h>.
21214 (ceilf): Define using libm_alias_float.
21215 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21216 <libm-alias-float.h>.
21217 (floorf): Define using libm_alias_float.
21218 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21219 <libm-alias-float.h>.
21220 (llroundf): Define using libm_alias_float.
21221 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21222 <libm-alias-float.h>.
21223 (roundf): Define using libm_alias_float.
21224 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21225 <libm-alias-float.h>.
21226 (truncf): Define using libm_alias_float.
21227 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21228 <libm-alias-float.h>.
21229 (copysignf): Define using libm_alias_float.
21230 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21231 <libm-alias-float.h>.
21232 (llrintf): Define using libm_alias_float.
21233 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21234 <libm-alias-float.h>.
21235 (llroundf): Define using libm_alias_float.
21236 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21237 <libm-alias-float.h>.
21238 (cosf): Define using libm_alias_float.
21239 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21240 <libm-alias-float.h>.
21241 (llrintf): Define using libm_alias_float.
21242 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21243 <libm-alias-float.h>.
21244 (llroundf): Define using libm_alias_float.
21245 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21246 <libm-alias-float.h>.
21247 (sinf): Define using libm_alias_float.
21249 2017-12-04 Florian Weimer <fweimer@redhat.com>
21251 * support/check.h (TEST_COMPARE): Define.
21252 (support_test_compare_failure): Declare.
21253 * support/Makefile (libsupport-routines): Add
21254 support_test_compare_failure.
21255 (tests): Add tst-test_compare.
21256 * support /support_test_compare_failure.c: New file.
21257 * support/tst-test_compare.c: Likewise.
21259 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21262 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21263 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21264 available, this rewrite of the collation rules does reproduce
21265 the test file in the same order.
21267 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21270 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21271 digraphs in the month and day names. Using single code points for
21272 digraphs is deprecated. While there are dedicated Unicode
21273 codepoints, for the digraphs, these are included for backwards
21274 compatibility and modern texts use a sequence of Basic Latin
21275 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21276 This makes the month and day names agree exactly with CLDR now,
21277 CLDR does not use the single code points for the digraphs either.
21279 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21281 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21283 2017-12-04 Joseph Myers <joseph@codesourcery.com>
21285 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
21288 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
21290 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
21291 Define only for libc.so.
21293 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
21295 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21296 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
21297 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
21298 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
21299 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21301 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21304 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
21306 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
21309 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
21310 PREINIT_FUNCTION_WEAK is nonzero.
21311 (gmon_initializer): New function. Put procedure label for it in
21312 .init_array section.
21313 (_init): Don't call PREINIT_FUNCTION.
21314 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
21315 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
21316 value when map argument is null.
21318 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
21319 depi instruction from PIC pc-relative sequence.
21320 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
21321 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
21322 (elf_machine_load_address): Likewise.
21323 (elf_machine_runtime_setup): Likewise.
21325 2017-12-02 Joseph Myers <joseph@codesourcery.com>
21327 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
21328 <libm-alias-double.h>.
21329 (logb): Define using libm_alias_double.
21330 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21331 <libm-alias-double.h>.
21332 (copysign): Define using libm_alias_double.
21333 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
21334 <libm-alias-double.h>.
21335 (llrint): Define using libm_alias_double.
21336 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
21337 <libm-alias-double.h>.
21338 (llround): Define using libm_alias_double.
21339 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21340 <libm-alias-double.h>.
21341 (lrint): Define using libm_alias_double.
21342 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21343 <libm-alias-double.h>.
21344 (lround): Define using libm_alias_double.
21345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21346 Include <libm-alias-double.h>.
21347 (copysign): Define using libm_alias_double.
21348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
21349 Include <libm-alias-double.h>.
21350 (llrint): Define using libm_alias_double.
21351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
21352 Include <libm-alias-double.h>.
21353 (llround): Define using libm_alias_double.
21354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
21355 <libm-alias-double.h>.
21356 (logb): Define using libm_alias_double.
21357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
21358 Include <libm-alias-double.h>.
21359 (lrint): Define using libm_alias_double.
21360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
21361 Include <libm-alias-double.h>.
21362 (lround): Define using libm_alias_double.
21363 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
21364 <libm-alias-double.h>.
21365 (llrint): Define using libm_alias_double.
21366 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21367 <libm-alias-double.h>.
21368 (llround): Define using libm_alias_double.
21369 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21370 <libm-alias-double.h>.
21371 (llround): Define using libm_alias_double.
21372 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21373 <libm-alias-double.h>.
21374 (lround): Define using libm_alias_double.
21375 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21376 <libm-alias-double.h>.
21377 (copysign): Define using libm_alias_double.
21378 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
21379 <libm-alias-double.h>.
21380 (llrint): Define using libm_alias_double.
21381 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21382 <libm-alias-double.h>.
21383 (llround): Define using libm_alias_double.
21384 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21385 <libm-alias-double.h>.
21386 (lrint): Define using libm_alias_double.
21387 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21388 <libm-alias-double.h>.
21389 (lround): Define using libm_alias_double.
21390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
21391 <libm-alias-double.h>.
21392 (copysign): Define using libm_alias_double.
21393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
21394 <libm-alias-double.h>.
21395 (llrint): Define using libm_alias_double.
21397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
21398 <libm-alias-double.h>.
21399 (llround): Define using libm_alias_double.
21400 (lround): Likewise.
21401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
21402 <libm-alias-double.h>.
21403 (logb): Define using libm_alias_double.
21404 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21405 <libm-alias-double.h>.
21406 (copysign): Define using libm_alias_double.
21407 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21408 <libm-alias-double.h>.
21409 (llrint): Define using libm_alias_double.
21411 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21412 <libm-alias-double.h>.
21413 (llround): Define using libm_alias_double.
21414 (lround): Likewise.
21415 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21416 <libm-alias-double.h>.
21417 (llround): Define using libm_alias_double.
21418 (lround): Likewise.
21419 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21420 <libm-alias-double.h>.
21421 (copysign): Define using libm_alias_double.
21422 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21423 <libm-alias-double.h>.
21424 (llrint): Define using libm_alias_double.
21426 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21427 <libm-alias-double.h>.
21428 (llround): Define using libm_alias_double.
21429 (lround): Likewise.
21430 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21431 <libm-alias-double.h>.
21432 (llrint): Define using libm_alias_double.
21434 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21435 <libm-alias-double.h>.
21436 (llround): Define using libm_alias_double.
21437 (lround): Likewise.
21439 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21442 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21443 compat symbol based on llround.
21445 * sysdeps/powerpc/power7/fpu/s_logb.c
21446 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21447 symbol based on __logb, not on logb.
21448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21449 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21451 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21453 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21454 (rint): Define using libm_alias_double.
21455 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21456 <libm-alias-double.h>.
21457 (modf): Define using libm_alias_double.
21458 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21459 <libm-alias-double.h>.
21460 (ceil): Define using libm_alias_double.
21461 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21462 <libm-alias-double.h>.
21463 (floor): Define using libm_alias_double.
21464 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21465 <libm-alias-double.h>.
21466 (nearbyint): Define using libm_alias_double.
21467 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21468 <libm-alias-double.h>.
21469 (rint): Define using libm_alias_double.
21470 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21471 <libm-alias-double.h>.
21472 (round): Define using libm_alias_double.
21473 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21474 <libm-alias-double.h>.
21475 (trunc): Define using libm_alias_double.
21476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21477 <libm-alias-double.h>.
21478 (ceil): Define using libm_alias_double.
21479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21480 Include <libm-alias-double.h>.
21481 (floor): Define using libm_alias_double.
21482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
21483 <libm-alias-double.h>.
21484 (modf): Define using libm_alias_double.
21485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
21486 Include <libm-alias-double.h>.
21487 (round): Define using libm_alias_double.
21488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
21489 Include <libm-alias-double.h>.
21490 (trunc): Define using libm_alias_double.
21491 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
21492 <libm-alias-double.h>.
21493 (ceil): Define using libm_alias_double.
21494 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
21495 <libm-alias-double.h>.
21496 (floor): Define using libm_alias_double.
21497 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
21498 <libm-alias-double.h>.
21499 (round): Define using libm_alias_double.
21500 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
21501 <libm-alias-double.h>.
21502 (trunc): Define using libm_alias_double.
21503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
21504 <libm-alias-double.h>.
21505 (ceil): Define using libm_alias_double.
21506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
21507 <libm-alias-double.h>.
21508 (floor): Define using libm_alias_double.
21509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
21510 <libm-alias-double.h>.
21511 (modf): Define using libm_alias_double.
21512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
21513 <libm-alias-double.h>.
21514 (round): Define using libm_alias_double.
21515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
21516 <libm-alias-double.h>.
21517 (trunc): Define using libm_alias_double.
21518 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
21519 <libm-alias-double.h>.
21520 (ceil): Define using libm_alias_double.
21521 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
21522 <libm-alias-double.h>.
21523 (floor): Define using libm_alias_double.
21524 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
21525 <libm-alias-double.h>.
21526 (nearbyint): Define using libm_alias_double.
21527 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
21528 <libm-alias-double.h>.
21529 (rint): Define using libm_alias_double.
21530 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
21531 <libm-alias-double.h>.
21532 (round): Define using libm_alias_double.
21533 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
21534 <libm-alias-double.h>.
21535 (trunc): Define using libm_alias_double.
21536 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
21537 <libm-alias-double.h>.
21538 (ceil): Define using libm_alias_double.
21539 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
21540 <libm-alias-double.h>.
21541 (floor): Define using libm_alias_double.
21542 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
21543 <libm-alias-double.h>.
21544 (round): Define using libm_alias_double.
21545 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
21546 <libm-alias-double.h>.
21547 (trunc): Define using libm_alias_double.
21549 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
21550 (fabs): Define using libm_alias_double.
21551 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
21552 (fma): Define using libm_alias_double.
21553 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
21554 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
21555 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
21556 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
21558 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21560 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
21562 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
21563 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
21564 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
21567 due redirect macro.
21569 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
21571 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
21573 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21575 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
21576 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
21577 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
21578 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
21580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21581 (libm-sysdep_routines): Add s_nearbyintf-generic and
21582 s_nearbyint-generic.
21583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
21585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
21586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
21588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
21590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
21592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21596 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
21597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
21599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
21600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
21602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
21603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
21604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21607 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
21608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
21610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
21611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
21613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
21614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
21615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
21617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21618 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
21619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
21621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
21622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
21624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
21625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
21626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21629 (sysdep_calls): New rule.
21630 (sysdep_routines): Use sysdep_calls as base.
21631 (libm-sysdep_routines): Add generic rule for symbols shared with
21632 libc. Add s_copysign-generic and s_copysign-generic objects.
21633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
21635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
21636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
21638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
21639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
21640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
21642 2017-12-01 Mike FABIAN <mfabian@redhat.com>
21645 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
21646 the list of locales to be built for testing.
21647 * localedata/is_IS.UTF-8.in: New file.
21648 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
21651 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21653 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
21654 <libm-alias-float.h>.
21655 (fabsf): Define using libm_alias_float.
21657 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21659 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
21661 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21663 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
21664 <libm-alias-float.h>.
21665 (fabsf): Define using libm_alias_float.
21666 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
21667 <libm-alias-float.h>.
21668 (lrintf): Define using libm_alias_float.
21669 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
21670 <libm-alias-float.h>.
21671 (rintf): Define using libm_alias_float.
21673 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
21674 <libm-alias-double.h>.
21675 (fabs): Define using libm_alias_double.
21676 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
21677 <libm-alias-double.h>.
21678 (lrint): Define using libm_alias_double.
21679 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
21680 <libm-alias-double.h>.
21681 (rint): Define using libm_alias_double.
21683 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
21684 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
21685 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
21686 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
21687 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
21688 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
21689 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
21690 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
21691 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
21692 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
21693 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
21694 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
21695 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
21696 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
21697 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
21698 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
21699 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
21700 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
21702 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
21703 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
21704 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
21706 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
21707 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
21708 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
21710 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
21711 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
21712 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
21713 s_expm1_template.c.
21714 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
21715 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
21716 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
21718 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
21719 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
21720 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
21721 s_floor_template.c.
21722 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
21723 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
21724 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
21725 s_frexp_template.c.
21726 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
21727 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
21728 s_lrint_template.c.
21729 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
21730 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
21731 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
21733 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
21734 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
21735 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
21736 s_nearbyint_template.c.
21737 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
21738 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
21739 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
21740 s_remquo_template.c.
21741 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
21742 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
21743 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
21745 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
21746 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
21747 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
21749 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
21750 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
21751 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
21752 s_sincos_template.c.
21753 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
21754 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
21755 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
21757 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
21758 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
21759 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
21761 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
21762 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
21763 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
21764 s_trunc_template.c.
21765 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
21766 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
21767 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
21768 s_atan.c instead of including s_atan.c.
21769 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
21770 s_atanf.c instead of including s_atanf.c.
21771 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
21772 s_atanl.c instead of including s_atanl.c.
21773 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
21774 instead of s_atan.c.
21775 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
21776 instead of s_atanf.c.
21777 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
21778 instead of s_atanl.c.
21780 * scripts/update-copyrights: Do not handle intl/plural.c
21783 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
21786 * configure.ac (BISON): Require to be present.
21787 * configure: Regenerated.
21788 * intl/Makefile (generated): Add plural.c.
21789 [$(BISON) != no]: Make code unconditional.
21790 (plural.c): Change rule to $(objpfx)plural.c.
21791 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
21792 * intl/plural.c: Remove.
21793 * manual/install.texi (Tools for Compilation): Document bison as
21795 * INSTALL: Regenerated.
21797 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21799 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
21800 <libm-alias-double.h>.
21801 (llrint): Define using libm_alias_double.
21802 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
21803 <libm-alias-float.h>.
21804 (llrintf): Define using libm_alias_float.
21805 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
21806 <libm-alias-ldouble.h>.
21807 (llrintl): Define using libm_alias_ldouble.
21809 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
21810 declare_mgen_alias instead of weak_alias.
21811 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
21812 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
21813 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
21815 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21817 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21819 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
21820 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
21821 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
21823 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21824 Add submul_1-generic.
21825 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
21826 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
21827 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
21829 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21830 Add addmul_1-generic.
21831 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
21832 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
21833 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
21835 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21837 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
21838 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
21839 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
21841 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21843 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21844 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21845 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21847 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21849 According to CLDR, collation rules for Serbian and Bosnian
21850 should be the same as for Croatian.
21853 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21854 and to the list of locales to be built for testing.
21855 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21856 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21857 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21858 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21860 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21862 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21863 to make test case pass.
21864 * localedata/hr_HR.UTF-8.in: Add more test strings.
21866 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21868 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21870 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21872 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21873 the list of locales to built for testing.
21874 * localedata/hr_HR.UTF-8.in: New file.
21876 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21879 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21881 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21882 CLDR (except use ligatures for the digraphs, CLDR does not use
21883 the ligatures), add first_workday, some fixes in the date and time
21885 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21887 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21888 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21889 Add int_p_cs_precedes and int_n_cs_precedes.
21890 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21891 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21893 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21894 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21896 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21897 and lang_lib. Change postal_fmt.
21899 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21901 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21903 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21904 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21905 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21906 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21907 * sysdeps/generic/setjmpP.h: New file.
21908 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21909 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21910 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21911 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21912 Add jmp_buf-ssp.sym.
21913 (tests): Add tst-saved_mask-1.
21915 2017-11-30 Arjun Shankar <arjun@redhat.com>
21919 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21920 instead of request2size.
21922 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21925 (__lllrint): Remove alias.
21926 (lllrint): Likewise.
21927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21928 (__lllrintf): Likewise.
21929 (lllrintf): Likewise.
21931 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21932 <libm-alias-float.h>.
21933 (copysignf): Define using libm_alias_float.
21934 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21935 <libm-alias-float.h>.
21936 (fabsf): Define using libm_alias_float.
21937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21938 Include <libm-alias-float.h>.
21939 (copysignf): Define using libm_alias_float.
21940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21941 <libm-alias-float.h>.
21942 (fabsf): Define using libm_alias_float.
21943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21944 <libm-alias-float.h>.
21945 (fdimf): Define using libm_alias_float.
21946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21947 <libm-alias-float.h>.
21948 (fmaf): Define using libm_alias_float.
21949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21950 <libm-alias-float.h>.
21951 (llrintf): Define using libm_alias_float.
21952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21953 Include <libm-alias-float.h>.
21954 (nearbyintf): Define using libm_alias_float.
21955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21956 <libm-alias-float.h>.
21957 (rintf): Define using libm_alias_float.
21958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21959 <libm-alias-float.h>.
21960 (llrintf): Define using libm_alias_float.
21961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21962 <libm-alias-float.h>.
21963 (lrintf): Define using libm_alias_float.
21964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21965 <libm-alias-float.h>.
21966 (nearbyintf): Define using libm_alias_float.
21967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21968 <libm-alias-float.h>.
21969 (rintf): Define using libm_alias_float.
21970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21971 <libm-alias-float.h>.
21972 (ceilf): Define using libm_alias_float.
21973 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21974 <libm-alias-float.h>.
21975 (floorf): Define using libm_alias_float.
21976 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21977 <libm-alias-float.h>.
21978 (fmaf): Define using libm_alias_float.
21979 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21980 <libm-alias-float.h>.
21981 (lrintf): Define using libm_alias_float.
21982 (llrintf): Likewise.
21983 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21984 <libm-alias-float.h>.
21985 (nearbyintf): Define using libm_alias_float.
21986 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21987 <libm-alias-float.h>.
21988 (rintf): Define using libm_alias_float.
21989 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21990 <libm-alias-float.h>.
21991 (truncf): Define using libm_alias_float.
21992 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21993 <libm-alias-float.h>.
21994 (copysignf): Define using libm_alias_float.
21995 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21996 <libm-alias-float.h>.
21997 (fabsf): Define using libm_alias_float.
21998 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21999 <libm-alias-float.h>.
22000 (lrintf): Define using libm_alias_float.
22001 (llrintf): Likewise.
22002 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22003 <libm-alias-float.h>.
22004 (nearbyintf): Define using libm_alias_float.
22005 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22006 <libm-alias-float.h>.
22007 (rintf): Define using libm_alias_float.
22009 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22011 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22012 <libm-alias-double.h>.
22013 (copysign): Define using libm_alias_double.
22014 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22015 <libm-alias-double.h>.
22016 (fabs): Define using libm_alias_double.
22017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22018 Include <libm-alias-double.h>.
22019 (copysign): Define using libm_alias_double.
22020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22021 <libm-alias-double.h>.
22022 (fabs): Define using libm_alias_double.
22023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22024 <libm-alias-double.h>.
22025 (fdim): Define using libm_alias_double.
22026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22027 <libm-alias-double.h>.
22028 (fma): Define using libm_alias_double.
22029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22030 <libm-alias-double.h>.
22031 (llrint): Define using libm_alias_double.
22032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22033 Include <libm-alias-double.h>.
22034 (nearbyint): Define using libm_alias_double.
22035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22036 <libm-alias-double.h>.
22037 (rint): Define using libm_alias_double.
22038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22039 <libm-alias-double.h>.
22040 (fabs): Define using libm_alias_double.
22041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22042 <libm-alias-double.h>.
22043 (llrint): Define using libm_alias_double.
22044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22045 <libm-alias-double.h>.
22046 (nearbyint): Define using libm_alias_double.
22047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22048 <libm-alias-double.h>.
22049 (rint): Define using libm_alias_double.
22050 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22051 <libm-alias-double.h>.
22052 (ceil): Define using libm_alias_double.
22053 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22054 <libm-alias-double.h>.
22055 (floor): Define using libm_alias_double.
22056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22057 <libm-alias-double.h>.
22058 (fma): Define using libm_alias_double.
22059 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22060 <libm-alias-double.h>.
22061 (lrint): Define using libm_alias_double.
22062 (llrint): Likewise.
22063 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22064 <libm-alias-double.h>.
22065 (nearbyint): Define using libm_alias_double.
22066 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22067 <libm-alias-double.h>.
22068 (rint): Define using libm_alias_double.
22069 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22070 <libm-alias-double.h>.
22071 (trunc): Define using libm_alias_double.
22072 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22073 <libm-alias-double.h>.
22074 (copysign): Define using libm_alias_double.
22075 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22076 <libm-alias-double.h>.
22077 (fabs): Define using libm_alias_double.
22078 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22079 <libm-alias-double.h>.
22080 (lrint): Define using libm_alias_double.
22081 (llrint): Likewise.
22082 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22083 <libm-alias-double.h>.
22084 (nearbyint): Define using libm_alias_double.
22085 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22086 <libm-alias-double.h>.
22087 (rint): Define using libm_alias_double.
22090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22092 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22094 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22095 SPARC --disable-multi-arch glibc variants.
22097 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22098 <libm-alias-float.h>.
22099 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22101 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22102 <libm-alias-float.h>.
22103 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22105 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22106 <libm-alias-float.h>.
22107 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22109 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22110 <libm-alias-float.h>.
22111 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22113 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22114 <libm-alias-float.h>.
22115 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22117 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22118 <libm-alias-float.h>.
22119 (ceilf): Define using libm_alias_float.
22120 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22121 <libm-alias-float.h>.
22122 (floorf): Define using libm_alias_float.
22123 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22124 <libm-alias-float.h>.
22125 (fmaf): Define using libm_alias_float.
22126 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22127 <libm-alias-float.h>.
22128 (nearbyintf): Define using libm_alias_float.
22129 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22130 <libm-alias-float.h>.
22131 (rintf): Define using libm_alias_float.
22132 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22133 <libm-alias-float.h>.
22134 (truncf): Define using libm_alias_float.
22135 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22136 (copysignf): Define using libm_alias_float.
22137 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22138 (cosf): Define using libm_alias_float.
22139 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22140 (fabsf): Define using libm_alias_float.
22141 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22142 (fmaxf): Define using libm_alias_float.
22143 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22144 (fminf): Define using libm_alias_float.
22145 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22146 (llrintf): Define using libm_alias_float.
22147 [!__ILP32__] (lrintf): Likewise.
22148 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22149 (sincosf): Define using libm_alias_float.
22150 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22151 (sinf): Define using libm_alias_float.
22152 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22153 (lrintf): Define using libm_alias_float.
22155 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22156 <libm-alias-double.h>.
22157 (atan): Define using libm_alias_double.
22158 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22159 <libm-alias-double.h>.
22160 (ceil): Define using libm_alias_double.
22161 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22162 <libm-alias-double.h>.
22163 (floor): Define using libm_alias_double.
22164 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22165 <libm-alias-double.h>.
22166 (fma): Define using libm_alias_double.
22167 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22168 <libm-alias-double.h>.
22169 (nearbyint): Define using libm_alias_double.
22170 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22171 <libm-alias-double.h>.
22172 (rint): Define using libm_alias_double.
22173 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22174 <libm-alias-double.h>.
22175 (sin): Define using libm_alias_double.
22177 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22178 <libm-alias-double.h>.
22179 (tan): Define using libm_alias_double.
22180 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22181 <libm-alias-double.h>.
22182 (trunc): Define using libm_alias_double.
22183 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22184 (copysign): Define using libm_alias_double.
22185 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22186 (fabs): Define using libm_alias_double.
22187 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22188 (fmax): Define using libm_alias_double.
22189 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22190 (fmin): Define using libm_alias_double.
22191 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22192 (llrint): Define using libm_alias_double.
22193 [!__ILP32__] (lrint): Likewise.
22194 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22195 (lrint): Define using libm_alias_double.
22197 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22199 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22200 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22202 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22203 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22204 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22205 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22206 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22207 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22209 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22210 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22212 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22213 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22214 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22215 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22216 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22217 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22219 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22220 (libm-sysdep_routines): Add s_nearbyint-generic and
22221 s_nearbyintf-generic objects.
22222 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22223 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22224 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22225 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22226 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22227 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22229 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22230 Add s_finitef-generic and s_finite-generic objects.
22231 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22232 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22233 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22234 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22235 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22236 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22238 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22239 Add s_isinff-generic and s_isinf-generic objects.
22240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22243 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22244 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22247 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22248 Add s_isnanf-generic and s_isnan-generic objects.
22249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22256 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22258 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22260 (sysdep_routines): Use sysdep_calls as base.
22261 (libm-sysdep_routines): Add generic rule for symbols shared with
22262 libc. Add s_signbit-generic and s_signbitf-generic objects.
22263 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22264 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22265 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22266 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22267 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22268 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22270 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22272 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22273 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22274 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22275 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22276 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22277 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22278 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22279 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22280 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22281 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22282 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22283 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22284 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22285 libm_alias_float_r.
22286 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22287 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
22289 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
22290 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
22291 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
22292 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
22293 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
22294 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
22295 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
22296 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
22297 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
22298 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
22300 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
22302 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
22303 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
22304 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
22305 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
22306 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
22307 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
22308 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
22309 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
22310 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
22311 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
22312 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
22313 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
22314 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
22315 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
22316 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
22317 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
22318 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
22319 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
22320 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
22322 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
22323 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
22324 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
22325 * sysdeps/ia64/fpu/w_lgammaf_main.c
22326 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
22327 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
22329 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22330 Alexandre Oliva <aoliva@redhat.com>
22333 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
22334 * localedata/fr_CA.UTF-8.in: New file with test data for backward
22336 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
22338 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
22339 * localedata/locales/de_DE (LC_COLLATE): Likewise.
22340 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
22341 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
22342 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
22343 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
22344 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
22345 instead of “ifdef DIACRIT_BACKWARD”.
22347 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22349 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
22350 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
22351 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
22352 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
22353 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
22354 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
22355 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
22356 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
22357 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
22358 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
22359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
22360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
22361 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
22362 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
22363 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
22364 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22365 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
22366 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
22367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22368 ($(have-as-vis3) == yes): Remove conditional.
22369 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
22371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
22373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
22375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
22377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
22379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
22380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
22381 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
22382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
22383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
22384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
22385 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
22386 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
22388 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22390 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
22391 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
22392 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
22393 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
22394 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
22395 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
22396 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
22397 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
22398 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
22399 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
22400 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
22401 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
22402 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
22403 libm_alias_double_r.
22404 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22406 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22407 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22408 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22409 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22410 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22411 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22412 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22413 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22414 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22415 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22416 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22418 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22420 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22421 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22422 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22423 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22424 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22425 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22426 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22427 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22428 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22429 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22430 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22431 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22432 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22433 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22434 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22435 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22436 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22437 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22439 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22440 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22441 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22442 * sysdeps/ia64/fpu/w_lgamma_main.c
22443 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22444 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22446 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
22448 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22449 address of $global$ into %dp register earlier. Use pc-relative
22450 instruction sequence for PIC case.
22452 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22454 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22455 (asinhf): Define using libm_alias_float.
22456 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22457 (atanf): Define using libm_alias_float.
22458 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22459 (cbrtf): Define using libm_alias_float.
22460 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22461 (ceilf): Define using libm_alias_float.
22462 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22463 (copysignf): Define using libm_alias_float.
22464 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22465 (expm1f): Define using libm_alias_float.
22466 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22467 (fabsf): Define using libm_alias_float.
22468 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22469 (floorf): Define using libm_alias_float.
22470 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22471 (fmaxf): Define using libm_alias_float.
22472 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22473 (fminf): Define using libm_alias_float.
22474 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22475 (frexpf): Define using libm_alias_float.
22476 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22477 (llrintf): Define using libm_alias_float.
22478 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22479 (logbf): Define using libm_alias_float.
22480 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22481 (lrintf): Define using libm_alias_float.
22482 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
22483 (nearbyintf): Define using libm_alias_float.
22484 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
22485 (remquof): Define using libm_alias_float.
22486 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
22487 (rintf): Define using libm_alias_float.
22488 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
22489 (truncf): Define using libm_alias_float.
22490 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
22491 <libm-alias-float.h>.
22492 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22494 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
22495 <libm-alias-float.h>.
22496 (expf): Define using libm_alias_float, or libm_alias_float_other
22498 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
22499 <libm-alias-float.h>.
22500 (log2f): Define using libm_alias_float, or libm_alias_float_other
22502 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
22503 <libm-alias-float.h>.
22504 (logf): Define using libm_alias_float, or libm_alias_float_other
22506 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
22507 <libm-alias-float.h>.
22508 (powf): Define using libm_alias_float, or libm_alias_float_other
22510 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
22511 <libm-alias-float.h>.
22512 (cosf): Define using libm_alias_float.
22513 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
22514 <libm-alias-float.h>.
22515 (sincosf): Define using libm_alias_float.
22516 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
22517 <libm-alias-float.h>.
22518 (sinf): Define using libm_alias_float.
22519 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22520 (fmaxf): Define using libm_alias_float.
22521 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
22522 (fminf): Define using libm_alias_float.
22523 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22524 <libm-alias-float.h>.
22525 (fmaf): Define using libm_alias_float.
22527 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
22528 (asinh): Define using libm_alias_double.
22529 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
22530 (atan): Define using libm_alias_double.
22531 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
22532 (cbrt): Define using libm_alias_double.
22533 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
22534 (ceil): Define using libm_alias_double.
22535 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
22536 (copysign): Define using libm_alias_double.
22537 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
22538 (expm1): Define using libm_alias_double.
22539 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
22540 (fabs): Define using libm_alias_double.
22541 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
22542 (fdim): Define using libm_alias_double.
22543 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
22544 (floor): Define using libm_alias_double.
22545 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
22546 (fmax): Define using libm_alias_double.
22547 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
22548 (fmin): Define using libm_alias_double.
22549 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
22550 (frexp): Define using libm_alias_double.
22551 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
22552 (llrint): Define using libm_alias_double.
22553 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
22554 (logb): Define using libm_alias_double.
22555 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
22556 (lrint): Define using libm_alias_double.
22557 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
22558 (nearbyint): Define using libm_alias_double.
22559 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
22560 (remquo): Define using libm_alias_double.
22561 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
22562 (rint): Define using libm_alias_double.
22563 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
22564 (trunc): Define using libm_alias_double.
22565 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
22566 (fmax): Define using libm_alias_double.
22567 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
22568 (fmin): Define using libm_alias_double.
22569 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
22570 (fma): Define using libm_alias_double.
22572 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
22575 * elf/dl-hwcaps.c (ROUND): Removed.
22576 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
22577 and ELF_NOTE_NEXT_OFFSET.
22578 * elf/dl-load.c (ROUND): Removed.
22579 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22580 * elf/readelflib.c (ROUND): Removed.
22581 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22582 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
22583 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
22584 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
22586 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22588 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22589 [!__fmaf] (fmaf): Define using libm_alias_float.
22591 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
22592 [!__fma] (fma): Define using libm_alias_double.
22593 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
22595 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22598 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
22599 and implement the collation rules for cs from CLDR on top of that.
22600 * Makefile: Add cs_CZ.UTF-8 to test-input.
22601 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
22603 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
22605 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
22607 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22608 Icarus Sparry <icarus.w.sparry@intel.com>
22610 * benchtests/Makefile:Add BENCHSET to allow subsets of
22611 benchmarks to be run.
22612 * benchtests/README: Add documentation for: Running subsets of
22615 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22617 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
22618 range of tests names.
22620 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
22621 result from property and remove "max", min" and "mean" from
22622 required properties based on benchtests/bench-skeleton.c.
22624 2017-11-28 Florian Weimer <fweimer@redhat.com>
22627 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
22628 due to Internet requirement.
22629 * posix/Makefile (tests): Remove tst-getaddrinfo4,
22631 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
22633 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22635 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22636 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
22637 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22638 (sysdep_routines): Add memset-ultra1.
22639 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
22641 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
22642 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
22643 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
22644 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
22645 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
22646 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
22647 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
22648 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22650 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
22652 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
22653 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
22654 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
22655 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
22656 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
22657 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
22658 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
22660 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22661 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
22662 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22663 (sysdep_routines): Add memcpy-ultra1.
22664 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
22665 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
22667 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22669 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
22670 (cfloat_versions): Take function argument without trailing 'f'.
22671 Call libm_alias_float_other.
22672 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
22673 * sysdeps/alpha/fpu/cargf.c: Likewise.
22674 * sysdeps/alpha/fpu/cimagf.c: Likewise.
22675 * sysdeps/alpha/fpu/conjf.c: Likewise.
22676 * sysdeps/alpha/fpu/crealf.c: Likewise.
22677 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
22678 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
22679 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
22680 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
22681 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
22682 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
22683 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
22684 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
22685 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
22686 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
22687 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
22688 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
22689 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
22690 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
22691 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
22692 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
22693 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
22694 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
22695 (clog10f): Use libm_alias_float_other.
22696 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22697 (ceilf): Define using libm_alias_float.
22698 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
22699 (copysignf): Define using libm_alias_float.
22700 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22701 (fabsf): Define using libm_alias_float.
22702 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
22703 (floorf): Define using libm_alias_float.
22704 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
22705 (fmaxf): Define using libm_alias_float.
22706 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
22707 (fminf): Define using libm_alias_float.
22708 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22709 (lrintf): Define using libm_alias_float.
22710 (llrintf): Likewise.
22711 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22712 (lroundf): Define using libm_alias_float.
22713 (llroundf): Likewise.
22714 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
22715 (rintf): Define using libm_alias_float.
22716 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
22717 (truncf): Define using libm_alias_float.
22719 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22720 (ceilf): Define using libm_alias_float.
22721 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
22722 (floorf): Define using libm_alias_float.
22723 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22724 (fmaf): Define using libm_alias_float.
22725 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
22726 (fmaxf): Define using libm_alias_float.
22727 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
22728 (fminf): Define using libm_alias_float.
22729 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
22730 (llrintf): Define using libm_alias_float.
22731 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
22732 (llroundf): Define using libm_alias_float.
22733 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22734 (lrintf): Define using libm_alias_float.
22735 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22736 (lroundf): Define using libm_alias_float.
22737 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
22738 <libm-alias-float.h>.
22739 (nearbyintf): Define using libm_alias_float.
22740 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
22741 (rintf): Define using libm_alias_float.
22742 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
22743 (roundf): Define using libm_alias_float.
22744 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
22745 (truncf): Define using libm_alias_float.
22747 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
22748 (ceil): Define using libm_alias_double.
22749 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
22750 (copysign): Define using libm_alias_double.
22751 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
22752 (fabs): Define using libm_alias_double.
22753 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
22754 (floor): Define using libm_alias_double.
22755 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
22756 (fmax): Define using libm_alias_double.
22757 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
22758 (fmin): Define using libm_alias_double.
22759 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
22760 (lrint): Define using libm_alias_double.
22761 (llrint): Likewise.
22762 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
22763 (lround): Define using libm_alias_double.
22764 (llround): Likewise.
22765 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
22766 (rint): Define using libm_alias_double.
22767 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
22768 (trunc): Define using libm_alias_double.
22770 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
22771 (libm_alias_double_r): Add semicolon after weak_alias call.
22773 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22775 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
22776 (ceil): Define using libm_alias_double.
22777 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
22778 (floor): Define using libm_alias_double.
22779 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
22780 (fma): Define using libm_alias_double.
22781 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
22782 (fmax): Define using libm_alias_double.
22783 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
22784 (fmin): Define using libm_alias_double.
22785 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
22786 (llrint): Define using libm_alias_double.
22787 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
22788 (llround): Define using libm_alias_double.
22789 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
22790 (lrint): Define using libm_alias_double.
22791 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
22792 (lround): Define using libm_alias_double.
22793 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
22794 (nearbyint): Define using libm_alias_double.
22795 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
22796 (rint): Define using libm_alias_double.
22797 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
22798 (round): Define using libm_alias_double.
22799 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
22800 (trunc): Define using libm_alias_double.
22802 2017-11-27 Florian Weimer <fweimer@redhat.com>
22804 * sysdeps/unix/sysv/linux/mlock2.c: New file.
22805 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
22806 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
22807 (tests): Add tst-mlock2.
22808 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
22809 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
22810 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
22811 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
22812 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
22813 for mlock. Document mlock2.
22815 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22817 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
22818 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
22820 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
22822 * sysdeps/x86/Makeconfig: New file.
22823 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
22824 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22825 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
22826 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22827 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22828 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22829 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
22831 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22832 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22833 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22834 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22835 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22836 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22837 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22838 * manual/math.texi (Mathematics): Document support for _Float64x.
22839 * math/Versions (GLIBC_2.27): Add _Float64x functions.
22840 * stdlib/Versions (GLIBC_2.27): Likewise.
22841 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22842 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22843 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22844 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22845 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22846 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22847 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22848 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22849 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22850 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22851 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22852 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22857 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22858 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22859 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22860 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22861 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22862 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22863 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22864 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22865 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22866 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22867 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22868 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22869 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22870 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22872 2017-11-27 Andreas Schwab <schwab@suse.de>
22874 * elf/Makefile (dl-routines): Add dl-sort-maps.
22875 * elf/dl-sort-maps.c: New file.
22876 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22877 (_dl_sort_maps): Declare.
22878 * elf/dl-fini.c (_dl_sort_fini): Remove.
22879 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22880 * elf/dl-close.c (_dl_close_worker): Likewise.
22881 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22883 * elf/dl-open.c (dl_open_worker): Likewise.
22885 2017-11-24 Joseph Myers <joseph@codesourcery.com>
22887 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22888 using libm_alias_float128.
22889 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22891 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22893 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22894 (setpayloadsigf128): Likewise.
22895 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22897 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22900 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22901 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22902 -mfloat128 to CFLAGS.
22904 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22906 (CFLAGS-libm-test-support-float64x.c): New variable.
22907 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22908 $(f128-loader-link) to gnulib-tests.
22910 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22911 (libm_alias_float128_other_r): If
22912 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22914 (libm_alias_float128_r): Add semicolon after weak_alias call.
22915 * sysdeps/generic/libm-alias-ldouble.h
22916 (libm_alias_ldouble_other_r_f128): New macro.
22917 (libm_alias_ldouble_other_r_f64x): Likewise.
22918 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22919 and libm_alias_ldouble_other_r_f64x.
22920 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22921 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22922 (libm_alias_ldouble_other_r_f128): New macro.
22923 (libm_alias_ldouble_other_r_f64x): Likewise.
22924 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22925 and libm_alias_ldouble_other_r_f64x.
22927 * stdlib/strfroml.c: Always include <stdlib.h>.
22928 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22929 undefine as macro and define as weak alias.
22930 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22931 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22933 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22934 Define and later undefine as macro and define as weak alias.
22936 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22937 Define and later undefine as macro. Define as weak alias if
22939 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22940 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22941 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22942 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22943 Define and later undefine as macro. Define as weak alias if
22945 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22946 Define and later undefine as macro. Define as weak alias if
22948 * sysdeps/ieee754/float128/strtof128_l.c
22949 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22950 Define and later undefine as macro. Define as weak alias if
22952 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22953 Define and later undefine as macro. Define as weak alias if
22955 * sysdeps/ieee754/ldbl-128/strtold_l.c
22956 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22957 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22958 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22959 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22960 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22961 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22962 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22963 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22964 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22965 * sysdeps/ieee754/ldbl-96/strtold_l.c
22966 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22967 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22968 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22969 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22971 * math/test-float64x.h: New file.
22972 * math/Makefile (type-float64x-yes): New variable.
22973 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22975 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22976 function-like macro.
22977 (min_of_type_): Likewise.
22978 (min_of_type_l): Likewise.
22979 (min_of_type_f128): Likewise.
22980 (min_of_type): Pass () as last argument of __MATH_TG.
22982 * stdlib/tst-strtod-round-skeleton.c
22983 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22986 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22987 for combinations of long double with _Float64 and _Float64x.
22989 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22990 (__DECL_SIMD_cosf32): Likewise.
22991 (__DECL_SIMD_cosf64): Likewise.
22992 (__DECL_SIMD_cosf32x): Likewise.
22993 (__DECL_SIMD_cosf64x): Likewise.
22994 (__DECL_SIMD_cosf128x): Likewise.
22995 (__DECL_SIMD_sinf16): Likewise.
22996 (__DECL_SIMD_sinf32): Likewise.
22997 (__DECL_SIMD_sinf64): Likewise.
22998 (__DECL_SIMD_sinf32x): Likewise.
22999 (__DECL_SIMD_sinf64x): Likewise.
23000 (__DECL_SIMD_sinf128x): Likewise.
23001 (__DECL_SIMD_sincosf16): Likewise.
23002 (__DECL_SIMD_sincosf32): Likewise.
23003 (__DECL_SIMD_sincosf64): Likewise.
23004 (__DECL_SIMD_sincosf32x): Likewise.
23005 (__DECL_SIMD_sincosf64x): Likewise.
23006 (__DECL_SIMD_sincosf128x): Likewise.
23007 (__DECL_SIMD_logf16): Likewise.
23008 (__DECL_SIMD_logf32): Likewise.
23009 (__DECL_SIMD_logf64): Likewise.
23010 (__DECL_SIMD_logf32x): Likewise.
23011 (__DECL_SIMD_logf64x): Likewise.
23012 (__DECL_SIMD_logf128x): Likewise.
23013 (__DECL_SIMD_expf16): Likewise.
23014 (__DECL_SIMD_expf32): Likewise.
23015 (__DECL_SIMD_expf64): Likewise.
23016 (__DECL_SIMD_expf32x): Likewise.
23017 (__DECL_SIMD_expf64x): Likewise.
23018 (__DECL_SIMD_expf128x): Likewise.
23019 (__DECL_SIMD_powf16): Likewise.
23020 (__DECL_SIMD_powf32): Likewise.
23021 (__DECL_SIMD_powf64): Likewise.
23022 (__DECL_SIMD_powf32x): Likewise.
23023 (__DECL_SIMD_powf64x): Likewise.
23024 (__DECL_SIMD_powf128x): Likewise.
23026 * stdlib/Versions (libc): Move entries for wcstof128 and
23027 wcstof128_l to ....
23028 * wcsmbs/Versions (libc): ... here.
23029 Include <float128-abi.h>.
23031 2017-11-24 Florian Weimer <fweimer@redhat.com>
23033 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23034 bits/mman-shared.h.
23035 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23036 <bits/mman-shared.h>.
23037 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23039 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23040 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23041 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23042 <bits/mman-shared.h>.
23044 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23047 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23048 posix_memalign/free.
23049 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23051 2017-11-22 Mike FABIAN <mfabian@redhat.com>
23054 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23055 and implement the collation rules for pl from CLDR on top of that.
23056 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23057 of locales to be built for testing.
23058 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23060 2017-11-23 Joseph Myers <joseph@codesourcery.com>
23062 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23063 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23064 libm_alias_ldouble_other.
23065 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23066 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23067 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23068 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23069 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23070 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23071 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23072 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23073 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23074 libm_alias_ldouble_r.
23075 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23076 libm_alias_ldouble_other.
23077 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23078 (log10l): Likewise.
23079 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23080 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23081 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23082 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23083 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23084 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23085 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23086 (atan2l): Likewise.
23087 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23088 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23089 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23090 libm_alias_ldouble.
23091 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23093 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23094 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23095 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23097 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23098 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23099 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23100 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23101 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23102 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23103 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23104 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23105 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23106 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23107 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23108 libm_alias_ldouble.
23109 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23110 libm_alias_ldouble_other.
23111 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23112 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23113 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23114 libm_alias_ldouble.
23115 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23116 libm_alias_ldouble_other.
23117 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23118 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23119 * sysdeps/ia64/fpu/w_lgammal_main.c
23120 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23121 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23123 2017-11-23 Florian Weimer <fweimer@redhat.com>
23125 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23126 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23127 alike. Remove freeres marker.
23128 * malloc/arena.c (arena_thread_freeres): Call
23129 tcache_thread_shutdown.
23131 2017-11-23 Florian Weimer <fweimer@redhat.com>
23134 Export nscd hash function as __nss_hash.
23135 * include/nss.h (__nss_hash): Declare.
23136 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23138 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23139 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23141 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23142 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23143 * nss/Makefiles (routines): Add nss_hash.
23144 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23145 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23146 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23147 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23149 2017-11-23 Florian Weimer <fweimer@redhat.com>
23152 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23153 Return error code, not -1.
23154 * signal/tst-sigwait-eintr.c: New file.
23155 * signal/Makefile (tests): Add tst-sigwait-eintr.
23157 2017-11-23 Florian Weimer <fweimer@redhat.com>
23159 Linux: Add memfd_create system call wrapper
23160 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23162 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23163 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23164 [__USE_GNU] (memfd_create): Declare.
23165 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23166 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23167 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23168 * sysdeps/unix/sysv/linux/**.abilist: Update.
23169 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23171 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23173 * localedata/gen-locale.sh: Fix typo in variable name.
23175 * resolv/res_debug.c (p_secstodate): Condition definition on
23176 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23177 directly as __p_secstodate, and as a compat symbol. Do not use
23178 libresolv_hidden_def.
23179 * resolv/resolv.h (p_secstodate): Remove macro and function
23181 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23182 using p_secstodate.
23183 * include/resolv.h (__p_secstodate): Do not use
23184 libresolv_hidden_proto.
23185 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23186 (tests-internal): ... here.
23187 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23188 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23189 and declare and use __p_secstodate and use compat_symbol_reference
23191 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23192 implementation returning 77.
23195 * resolv/res_debug.c: Include <libc-diag.h>.
23196 (p_secstodate): Assert time_t at least as wide as u_long. On
23197 overflow, use integer seconds since the epoch as output, or use
23198 "<overflow>" as output and set errno to EOVERFLOW if integer
23199 seconds since the epoch would be 14 or more characters.
23200 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23202 * resolv/tst-p_secstodate.c: New file.
23203 * resolv/Makefile (tests): Add tst-p_secstodate.
23204 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23206 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23207 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23208 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23210 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23212 * posix/regcomp.c (init_word_char): Add comments.
23214 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23217 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23218 strlen to compute length of ut_user and set trailing NUL byte of
23221 2017-11-21 Mike FABIAN <mfabian@redhat.com>
23224 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23225 using “copy "iso14651_t1"” and then implementing the
23226 collation rules for lv from CLDR on top of that.
23227 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23228 of locales to be built for testing.
23229 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23232 2017-11-21 Joseph Myers <joseph@codesourcery.com>
23234 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23235 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23236 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23237 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23238 [__USE_MISC] (MADV_HWPOISON): New macro.
23239 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23241 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23243 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23244 -Wmissing-braces on GCC 4.9.
23246 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23248 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23249 * sysdeps/s390/s390-32/start.S (_start): Likewise
23250 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23251 (thread_start): Likewise.
23252 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23253 (thread_start): Likewise.
23254 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23255 (__makecontext_ret): Likewise.
23256 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23257 (__makecontext_ret): Likewise.
23259 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23261 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23262 __wcschrnul): Remove attribute_hidden.
23264 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23266 regex: don't assume uint64_t or uint32_t
23267 This avoids -Werror=overflow errors for 32-bit systems in
23268 the 64-bit case. Problem reported by Joseph Myers in:
23269 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23270 Also, when this code is used in Gnulib it ports to platforms
23271 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23272 them, and on some 32-bit compilers there is no uint64_t.
23273 Problem reported by Gianluigi Tiesi in:
23274 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23275 * posix/regcomp.c (init_word_char): Don't assume that the types
23276 uint64_t and uint32_t exist. Adapted from Gnulib patch
23277 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23278 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23280 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23282 * sysdeps/aarch64/memset-reg.h: New file.
23283 * sysdeps/aarch64/memset.S: Use it.
23284 (__memset): Rename to MEMSET macro.
23285 [ZVA_MACRO]: Use zva_macro.
23286 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23287 Add memset_generic and memset_falkor.
23288 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23289 (__libc_ifunc_impl_list): Add memset ifuncs.
23290 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
23291 local variable zva_size.
23292 * sysdeps/aarch64/multiarch/memset.c: New file.
23293 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
23294 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
23295 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
23296 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
23297 (DCZID_DZP_MASK): New macro.
23298 (DCZID_BS_MASK): Likewise.
23299 (init_cpu_features): Read and set zva_size.
23300 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
23301 (struct cpu_features): New member zva_size.
23303 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
23304 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
23305 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
23307 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
23308 backwards. Fix timing computation.
23309 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
23310 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
23311 on memset by N at a time. Fix timing computation.
23313 2017-11-20 Florian Weimer <fweimer@redhat.com>
23315 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
23316 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
23318 2017-11-19 Florian Weimer <fweimer@redhat.com>
23320 manual: Document mprotect
23321 * manual/memory.texi (Memory Protection): New section.
23322 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
23323 documentation of PROT_* flags and reference the Memory Protection
23326 2017-11-19 Florian Weimer <fweimer@redhat.com>
23328 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
23329 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
23330 (Scatter-Gather): ... to here. Remove misleading comment.
23332 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
23334 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
23337 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
23338 when /proc/<pid>/setgroups does not exist.
23340 2017-11-18 Florian Weimer <fweimer@redhat.com>
23342 * sysdeps/unix/sysv/linux/tst-ttyname.c
23343 (become_root_in_mount_ns): Remove.
23344 (do_in_chroot_1): Call support_enter_mount_namespace.
23345 (do_in_chroot_2): Likewise.
23346 (do_test): Call support_become_root early.
23348 2017-11-18 Florian Weimer <fweimer@redhat.com>
23350 * support/namespace.h (support_enter_mount_namespace): Declare.
23351 * support/support_enter_mount_namespace.c: New file.
23352 * support/Makefile (libsupport-routines): Add
23353 support_enter_mount_namespace.
23355 2017-11-18 Florian Weimer <fweimer@redhat.com>
23357 * support/temp_file.c (support_create_temp_directory): Use
23358 test_dir and do not rely on the presence of the XXXXXX suffix.
23359 * support/temp_file.h (support_create_temp_directory): Update
23361 * support/tst-xreadlink.c (do_test): Adjust.
23362 * support/support_chroot.c (support_chroot_create): Likewise.
23364 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23366 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
23368 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
23371 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23373 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23374 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23375 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23376 (ceill): Define using libm_alias_ldouble.
23377 * sysdeps/x86_64/fpu/s_copysignl.S: Include
23378 <libm-alias-ldouble.h>.
23379 (copysignl): Define using libm_alias_ldouble.
23380 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23381 (fabsl): Define using libm_alias_ldouble.
23382 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23383 (floorl): Define using libm_alias_ldouble.
23384 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23385 (fmaxl): Define using libm_alias_ldouble.
23386 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23387 (fminl): Define using libm_alias_ldouble.
23388 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23389 (llrintl): Define using libm_alias_ldouble.
23390 (lrintl): Likewise.
23391 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
23392 <libm-alias-ldouble.h>.
23393 (nearbyintl): Define using libm_alias_ldouble.
23394 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23395 (truncl): Define using libm_alias_ldouble.
23396 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
23397 <libm-alias-ldouble.h>.
23398 (lrintl): Define using libm_alias_ldouble.
23400 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23401 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23402 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
23403 (asinhl): Define using libm_alias_ldouble.
23404 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23405 (atanl): Define using libm_alias_ldouble.
23406 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23407 (cbrtl): Define using libm_alias_ldouble.
23408 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23409 (ceill): Define using libm_alias_ldouble.
23410 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23411 (copysignl): Define using libm_alias_ldouble.
23412 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23413 (fabsl): Define using libm_alias_ldouble.
23414 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23415 (floorl): Define using libm_alias_ldouble.
23416 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23417 (fmaxl): Define using libm_alias_ldouble.
23418 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23419 (fminl): Define using libm_alias_ldouble.
23420 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23421 (frexpl): Define using libm_alias_ldouble.
23422 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23423 (llrintl): Define using libm_alias_ldouble.
23424 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23425 (logbl): Define using libm_alias_ldouble.
23426 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23427 (lrintl): Define using libm_alias_ldouble.
23428 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23429 (nearbyintl): Define using libm_alias_ldouble.
23430 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23431 (nextafterl): Define using libm_alias_ldouble.
23432 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23433 (remquol): Define using libm_alias_ldouble.
23434 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23435 (rintl): Define using libm_alias_ldouble.
23436 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23437 (truncl): Define using libm_alias_ldouble.
23438 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23439 (fmaxl): Define using libm_alias_ldouble.
23440 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23441 (fminl): Define using libm_alias_ldouble.
23443 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23444 to C syntax instead of availability and properties of types.
23445 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23446 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23447 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23448 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23449 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23450 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23452 2017-11-17 Florian Weimer <fweimer@redhat.com>
23454 support_become_root: Enable file creation in namespaces.
23455 * support/support_become_root.c (setup_mapping): New function.
23456 (support_become_root): Call it.
23458 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23460 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23463 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23465 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23466 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23468 2017-11-16 Joseph Myers <joseph@codesourcery.com>
23470 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23472 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23475 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23477 * INSTALL: Fix botched up regeneration.
23479 * NEWS: Update sourceare link to https.
23480 * configure.ac: Likewise.
23481 * crypt/md5test-giant.c: Likewise.
23482 * dlfcn/bug-atexit1.c: Likewise.
23483 * dlfcn/bug-atexit2.c: Likewise.
23484 * localedata/README: Likewise.
23485 * malloc/tst-mallocfork.c: Likewise.
23486 * manual/install.texi: Likewise.
23487 * nptl/tst-pthread-getattr.c: Likewise.
23488 * stdio-common/tst-fgets.c: Likewise.
23489 * stdio-common/tst-fwrite.c: Likewise.
23490 * sunrpc/Makefile: Likewise.
23491 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
23492 * wcsmbs/tst-mbrtowc2.c: Likewise.
23493 * configure: Regenerate.
23494 * INSTALL: Regenerate.
23496 2017-11-15 Martin Sebor <msebor@redhat.com>
23498 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
23499 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
23500 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
23502 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23505 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
23506 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
23509 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
23510 Defer is_pty check until end of the function.
23511 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23514 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
23515 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
23516 (ttyname): Likewise.
23517 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
23518 (__ttyname_r): Likewise.
23520 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
23523 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
23525 * manual/terminal.texi (Is It a Terminal):
23526 Mention ENODEV for ttyname and ttyname_r.
23528 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23530 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
23531 constant and macro.
23533 * sysdeps/unix/sysv/linux/bits/mman-linux.h
23534 [__USE_MISC] (MADV_WIPEONFORK): New macro.
23535 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23536 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23537 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
23538 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23540 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23542 * signal/sigrelse.c (sigrelse): Optimize implementation.
23544 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
23545 (__sigpause): Rely on __sigsuspend to implement single thread
23546 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
23548 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23550 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23551 kernel version to 4.14.
23553 2017-11-15 Steve Ellcey <sellcey@cavium.com>
23556 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
23557 Check if ifname is too long.
23559 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23561 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
23563 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23565 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
23566 was accidentally lost.
23568 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23570 * localedata/locales/az_IR: Add standard copyright header.
23572 2017-11-15 Florian Weimer <fweimer@redhat.com>
23575 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
23576 not just the top one. Output a new "subheaps" statistic.
23578 2017-11-15 Florian Weimer <fweimer@redhat.com>
23581 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
23582 under the per-arena lock.
23583 * malloc/Makefile (tests): Add tst-malloc_info.
23584 (tst-malloc_info): Link with libpthread.
23585 * malloc/tst-malloc_info.c: New file.
23587 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23590 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
23591 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
23592 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
23593 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
23594 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
23595 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
23596 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
23597 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
23598 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
23599 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
23600 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
23601 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
23602 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
23603 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
23604 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
23605 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
23606 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
23607 (__floating_type): Likewise.
23608 (__real_integer_type): Likewise.
23609 (__complex_integer_type): Likewise.
23610 (__expr_is_real): Likewise.
23611 (__tgmath_real_type_sub): Likewise.
23612 (__tgmath_real_type): Likewise.
23613 (__tgmath_complex_type_sub): Likewise.
23614 (__tgmath_complex_type): Likewise.
23615 (__TGMATH_F128): Likewise.
23616 (__TGMATH_CF128): Likewise.
23617 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
23619 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
23620 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
23622 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
23624 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
23625 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23626 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23627 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
23629 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23630 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
23632 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
23633 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
23634 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
23636 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
23637 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
23638 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
23642 2017-11-14 Joseph Myers <joseph@codesourcery.com>
23644 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
23645 for stpncpy calls for GCC 8.
23646 (test_strncat): Disable -Wstringop-truncation warning for strncat
23647 calls for GCC 8. Disable -Wstringop-overflow= warning for one
23648 strncat call for GCC 7.
23649 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
23651 (test_memcmp): Use memcpy instead of strncpy for calls not copying
23654 * string/bug-strncat1.c: Include <libc-diag.h>.
23655 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
23657 2017-11-13 Claude Paroz <claude@2xlibre.net>
23660 * localedata/locales/aa_DJ: Improved readibility by replacing
23661 <Uxxxx> sequences in the ASCII printable range by their ASCII
23662 character equivalents.
23663 * localedata/locales/aa_ER: Likewise.
23664 * localedata/locales/aa_ER@saaho: Likewise.
23665 * localedata/locales/aa_ET: Likewise.
23666 * localedata/locales/af_ZA: Likewise.
23667 * localedata/locales/agr_PE: Likewise.
23668 * localedata/locales/ak_GH: Likewise.
23669 * localedata/locales/am_ET: Likewise.
23670 * localedata/locales/anp_IN: Likewise.
23671 * localedata/locales/ar_AE: Likewise.
23672 * localedata/locales/ar_BH: Likewise.
23673 * localedata/locales/ar_DZ: Likewise.
23674 * localedata/locales/ar_EG: Likewise.
23675 * localedata/locales/ar_IN: Likewise.
23676 * localedata/locales/ar_IQ: Likewise.
23677 * localedata/locales/ar_JO: Likewise.
23678 * localedata/locales/ar_KW: Likewise.
23679 * localedata/locales/ar_LB: Likewise.
23680 * localedata/locales/ar_LY: Likewise.
23681 * localedata/locales/ar_MA: Likewise.
23682 * localedata/locales/ar_OM: Likewise.
23683 * localedata/locales/ar_QA: Likewise.
23684 * localedata/locales/ar_SA: Likewise.
23685 * localedata/locales/ar_SD: Likewise.
23686 * localedata/locales/ar_SS: Likewise.
23687 * localedata/locales/ar_SY: Likewise.
23688 * localedata/locales/ar_TN: Likewise.
23689 * localedata/locales/ar_YE: Likewise.
23690 * localedata/locales/as_IN: Likewise.
23691 * localedata/locales/ast_ES: Likewise.
23692 * localedata/locales/ayc_PE: Likewise.
23693 * localedata/locales/az_AZ: Likewise.
23694 * localedata/locales/az_IR: Likewise.
23695 * localedata/locales/be_BY: Likewise.
23696 * localedata/locales/be_BY@latin: Likewise.
23697 * localedata/locales/bem_ZM: Likewise.
23698 * localedata/locales/ber_DZ: Likewise.
23699 * localedata/locales/ber_MA: Likewise.
23700 * localedata/locales/bg_BG: Likewise.
23701 * localedata/locales/bhb_IN: Likewise.
23702 * localedata/locales/bho_IN: Likewise.
23703 * localedata/locales/bi_VU: Likewise.
23704 * localedata/locales/bn_BD: Likewise.
23705 * localedata/locales/bn_IN: Likewise.
23706 * localedata/locales/bo_CN: Likewise.
23707 * localedata/locales/bo_IN: Likewise.
23708 * localedata/locales/br_FR: Likewise.
23709 * localedata/locales/brx_IN: Likewise.
23710 * localedata/locales/bs_BA: Likewise.
23711 * localedata/locales/byn_ER: Likewise.
23712 * localedata/locales/ca_AD: Likewise.
23713 * localedata/locales/ca_ES: Likewise.
23714 * localedata/locales/ca_FR: Likewise.
23715 * localedata/locales/ca_IT: Likewise.
23716 * localedata/locales/ce_RU: Likewise.
23717 * localedata/locales/chr_US: Likewise.
23718 * localedata/locales/cmn_TW: Likewise.
23719 * localedata/locales/crh_UA: Likewise.
23720 * localedata/locales/cs_CZ: Likewise.
23721 * localedata/locales/csb_PL: Likewise.
23722 * localedata/locales/cv_RU: Likewise.
23723 * localedata/locales/cy_GB: Likewise.
23724 * localedata/locales/da_DK: Likewise.
23725 * localedata/locales/de_AT: Likewise.
23726 * localedata/locales/de_BE: Likewise.
23727 * localedata/locales/de_CH: Likewise.
23728 * localedata/locales/de_DE: Likewise.
23729 * localedata/locales/de_IT: Likewise.
23730 * localedata/locales/de_LI: Likewise.
23731 * localedata/locales/de_LU: Likewise.
23732 * localedata/locales/doi_IN: Likewise.
23733 * localedata/locales/dv_MV: Likewise.
23734 * localedata/locales/dz_BT: Likewise.
23735 * localedata/locales/el_CY: Likewise.
23736 * localedata/locales/el_GR: Likewise.
23737 * localedata/locales/en_AG: Likewise.
23738 * localedata/locales/en_AU: Likewise.
23739 * localedata/locales/en_BW: Likewise.
23740 * localedata/locales/en_CA: Likewise.
23741 * localedata/locales/en_DK: Likewise.
23742 * localedata/locales/en_GB: Likewise.
23743 * localedata/locales/en_HK: Likewise.
23744 * localedata/locales/en_IE: Likewise.
23745 * localedata/locales/en_IL: Likewise.
23746 * localedata/locales/en_IN: Likewise.
23747 * localedata/locales/en_NG: Likewise.
23748 * localedata/locales/en_NZ: Likewise.
23749 * localedata/locales/en_PH: Likewise.
23750 * localedata/locales/en_SG: Likewise.
23751 * localedata/locales/en_US: Likewise.
23752 * localedata/locales/en_ZA: Likewise.
23753 * localedata/locales/en_ZM: Likewise.
23754 * localedata/locales/en_ZW: Likewise.
23755 * localedata/locales/eo: Likewise.
23756 * localedata/locales/es_AR: Likewise.
23757 * localedata/locales/es_BO: Likewise.
23758 * localedata/locales/es_CL: Likewise.
23759 * localedata/locales/es_CO: Likewise.
23760 * localedata/locales/es_CR: Likewise.
23761 * localedata/locales/es_CU: Likewise.
23762 * localedata/locales/es_DO: Likewise.
23763 * localedata/locales/es_EC: Likewise.
23764 * localedata/locales/es_ES: Likewise.
23765 * localedata/locales/es_GT: Likewise.
23766 * localedata/locales/es_HN: Likewise.
23767 * localedata/locales/es_MX: Likewise.
23768 * localedata/locales/es_NI: Likewise.
23769 * localedata/locales/es_PA: Likewise.
23770 * localedata/locales/es_PE: Likewise.
23771 * localedata/locales/es_PR: Likewise.
23772 * localedata/locales/es_PY: Likewise.
23773 * localedata/locales/es_SV: Likewise.
23774 * localedata/locales/es_US: Likewise.
23775 * localedata/locales/es_UY: Likewise.
23776 * localedata/locales/es_VE: Likewise.
23777 * localedata/locales/et_EE: Likewise.
23778 * localedata/locales/eu_ES: Likewise.
23779 * localedata/locales/eu_ES@euro: Likewise.
23780 * localedata/locales/fa_IR: Likewise.
23781 * localedata/locales/ff_SN: Likewise.
23782 * localedata/locales/fi_FI: Likewise.
23783 * localedata/locales/fil_PH: Likewise.
23784 * localedata/locales/fo_FO: Likewise.
23785 * localedata/locales/fr_BE: Likewise.
23786 * localedata/locales/fr_CA: Likewise.
23787 * localedata/locales/fr_CH: Likewise.
23788 * localedata/locales/fr_FR: Likewise.
23789 * localedata/locales/fr_LU: Likewise.
23790 * localedata/locales/fur_IT: Likewise.
23791 * localedata/locales/fy_DE: Likewise.
23792 * localedata/locales/fy_NL: Likewise.
23793 * localedata/locales/ga_IE: Likewise.
23794 * localedata/locales/gd_GB: Likewise.
23795 * localedata/locales/gez_ER: Likewise.
23796 * localedata/locales/gez_ET: Likewise.
23797 * localedata/locales/gl_ES: Likewise.
23798 * localedata/locales/gu_IN: Likewise.
23799 * localedata/locales/gv_GB: Likewise.
23800 * localedata/locales/ha_NG: Likewise.
23801 * localedata/locales/hak_TW: Likewise.
23802 * localedata/locales/he_IL: Likewise.
23803 * localedata/locales/hi_IN: Likewise.
23804 * localedata/locales/hif_FJ: Likewise.
23805 * localedata/locales/hne_IN: Likewise.
23806 * localedata/locales/hr_HR: Likewise.
23807 * localedata/locales/hsb_DE: Likewise.
23808 * localedata/locales/ht_HT: Likewise.
23809 * localedata/locales/hu_HU: Likewise.
23810 * localedata/locales/hy_AM: Likewise.
23811 * localedata/locales/i18n: Likewise.
23812 * localedata/locales/ia_FR: Likewise.
23813 * localedata/locales/id_ID: Likewise.
23814 * localedata/locales/ig_NG: Likewise.
23815 * localedata/locales/ik_CA: Likewise.
23816 * localedata/locales/is_IS: Likewise.
23817 * localedata/locales/it_CH: Likewise.
23818 * localedata/locales/it_IT: Likewise.
23819 * localedata/locales/iu_CA: Likewise.
23820 * localedata/locales/ja_JP: Likewise.
23821 * localedata/locales/ka_GE: Likewise.
23822 * localedata/locales/kk_KZ: Likewise.
23823 * localedata/locales/kl_GL: Likewise.
23824 * localedata/locales/kn_IN: Likewise.
23825 * localedata/locales/ko_KR: Likewise.
23826 * localedata/locales/kok_IN: Likewise.
23827 * localedata/locales/ks_IN: Likewise.
23828 * localedata/locales/ks_IN@devanagari: Likewise.
23829 * localedata/locales/ku_TR: Likewise.
23830 * localedata/locales/kw_GB: Likewise.
23831 * localedata/locales/ky_KG: Likewise.
23832 * localedata/locales/lb_LU: Likewise.
23833 * localedata/locales/lg_UG: Likewise.
23834 * localedata/locales/li_BE: Likewise.
23835 * localedata/locales/li_NL: Likewise.
23836 * localedata/locales/lij_IT: Likewise.
23837 * localedata/locales/ln_CD: Likewise.
23838 * localedata/locales/lo_LA: Likewise.
23839 * localedata/locales/lt_LT: Likewise.
23840 * localedata/locales/lv_LV: Likewise.
23841 * localedata/locales/lzh_TW: Likewise.
23842 * localedata/locales/mag_IN: Likewise.
23843 * localedata/locales/mai_IN: Likewise.
23844 * localedata/locales/mg_MG: Likewise.
23845 * localedata/locales/mhr_RU: Likewise.
23846 * localedata/locales/mi_NZ: Likewise.
23847 * localedata/locales/mk_MK: Likewise.
23848 * localedata/locales/ml_IN: Likewise.
23849 * localedata/locales/mn_MN: Likewise.
23850 * localedata/locales/mni_IN: Likewise.
23851 * localedata/locales/mr_IN: Likewise.
23852 * localedata/locales/ms_MY: Likewise.
23853 * localedata/locales/mt_MT: Likewise.
23854 * localedata/locales/my_MM: Likewise.
23855 * localedata/locales/nan_TW: Likewise.
23856 * localedata/locales/nan_TW@latin: Likewise.
23857 * localedata/locales/nb_NO: Likewise.
23858 * localedata/locales/nds_DE: Likewise.
23859 * localedata/locales/nds_NL: Likewise.
23860 * localedata/locales/ne_NP: Likewise.
23861 * localedata/locales/nhn_MX: Likewise.
23862 * localedata/locales/niu_NU: Likewise.
23863 * localedata/locales/niu_NZ: Likewise.
23864 * localedata/locales/nl_AW: Likewise.
23865 * localedata/locales/nl_BE: Likewise.
23866 * localedata/locales/nl_NL: Likewise.
23867 * localedata/locales/nn_NO: Likewise.
23868 * localedata/locales/nr_ZA: Likewise.
23869 * localedata/locales/nso_ZA: Likewise.
23870 * localedata/locales/oc_FR: Likewise.
23871 * localedata/locales/om_ET: Likewise.
23872 * localedata/locales/om_KE: Likewise.
23873 * localedata/locales/or_IN: Likewise.
23874 * localedata/locales/os_RU: Likewise.
23875 * localedata/locales/pa_IN: Likewise.
23876 * localedata/locales/pa_PK: Likewise.
23877 * localedata/locales/pap_AW: Likewise.
23878 * localedata/locales/pap_CW: Likewise.
23879 * localedata/locales/pl_PL: Likewise.
23880 * localedata/locales/ps_AF: Likewise.
23881 * localedata/locales/pt_BR: Likewise.
23882 * localedata/locales/pt_PT: Likewise.
23883 * localedata/locales/quz_PE: Likewise.
23884 * localedata/locales/raj_IN: Likewise.
23885 * localedata/locales/ro_RO: Likewise.
23886 * localedata/locales/ru_RU: Likewise.
23887 * localedata/locales/ru_UA: Likewise.
23888 * localedata/locales/rw_RW: Likewise.
23889 * localedata/locales/sa_IN: Likewise.
23890 * localedata/locales/sat_IN: Likewise.
23891 * localedata/locales/sc_IT: Likewise.
23892 * localedata/locales/sd_IN: Likewise.
23893 * localedata/locales/sd_IN@devanagari: Likewise.
23894 * localedata/locales/se_NO: Likewise.
23895 * localedata/locales/sgs_LT: Likewise.
23896 * localedata/locales/shs_CA: Likewise.
23897 * localedata/locales/si_LK: Likewise.
23898 * localedata/locales/sid_ET: Likewise.
23899 * localedata/locales/sk_SK: Likewise.
23900 * localedata/locales/sl_SI: Likewise.
23901 * localedata/locales/sm_WS: Likewise.
23902 * localedata/locales/so_DJ: Likewise.
23903 * localedata/locales/so_ET: Likewise.
23904 * localedata/locales/so_KE: Likewise.
23905 * localedata/locales/so_SO: Likewise.
23906 * localedata/locales/sq_AL: Likewise.
23907 * localedata/locales/sq_MK: Likewise.
23908 * localedata/locales/sr_ME: Likewise.
23909 * localedata/locales/sr_RS: Likewise.
23910 * localedata/locales/sr_RS@latin: Likewise.
23911 * localedata/locales/ss_ZA: Likewise.
23912 * localedata/locales/st_ZA: Likewise.
23913 * localedata/locales/sv_FI: Likewise.
23914 * localedata/locales/sv_SE: Likewise.
23915 * localedata/locales/sw_KE: Likewise.
23916 * localedata/locales/sw_TZ: Likewise.
23917 * localedata/locales/szl_PL: Likewise.
23918 * localedata/locales/ta_IN: Likewise.
23919 * localedata/locales/ta_LK: Likewise.
23920 * localedata/locales/tcy_IN: Likewise.
23921 * localedata/locales/te_IN: Likewise.
23922 * localedata/locales/tg_TJ: Likewise.
23923 * localedata/locales/th_TH: Likewise.
23924 * localedata/locales/the_NP: Likewise.
23925 * localedata/locales/ti_ER: Likewise.
23926 * localedata/locales/ti_ET: Likewise.
23927 * localedata/locales/tig_ER: Likewise.
23928 * localedata/locales/tk_TM: Likewise.
23929 * localedata/locales/tl_PH: Likewise.
23930 * localedata/locales/tn_ZA: Likewise.
23931 * localedata/locales/to_TO: Likewise.
23932 * localedata/locales/tpi_PG: Likewise.
23933 * localedata/locales/tr_CY: Likewise.
23934 * localedata/locales/tr_TR: Likewise.
23935 * localedata/locales/ts_ZA: Likewise.
23936 * localedata/locales/tt_RU: Likewise.
23937 * localedata/locales/tt_RU@iqtelif: Likewise.
23938 * localedata/locales/ug_CN: Likewise.
23939 * localedata/locales/uk_UA: Likewise.
23940 * localedata/locales/unm_US: Likewise.
23941 * localedata/locales/ur_IN: Likewise.
23942 * localedata/locales/ur_PK: Likewise.
23943 * localedata/locales/uz_UZ: Likewise.
23944 * localedata/locales/uz_UZ@cyrillic: Likewise.
23945 * localedata/locales/ve_ZA: Likewise.
23946 * localedata/locales/vi_VN: Likewise.
23947 * localedata/locales/wa_BE: Likewise.
23948 * localedata/locales/wae_CH: Likewise.
23949 * localedata/locales/wal_ET: Likewise.
23950 * localedata/locales/wo_SN: Likewise.
23951 * localedata/locales/xh_ZA: Likewise.
23952 * localedata/locales/yi_US: Likewise.
23953 * localedata/locales/yo_NG: Likewise.
23954 * localedata/locales/yue_HK: Likewise.
23955 * localedata/locales/yuw_PG: Likewise.
23956 * localedata/locales/zh_CN: Likewise.
23957 * localedata/locales/zh_HK: Likewise.
23958 * localedata/locales/zh_SG: Likewise.
23959 * localedata/locales/zh_TW: Likewise.
23960 * localedata/locales/zu_ZA: Likewise.
23962 2017-11-13 Florian Weimer <fweimer@redhat.com>
23964 * support/next_to_fault.h, support/next_to_fault.c: New files.
23965 * support/Makefile (libsupport-routines): Add next_to_fault.
23966 * resolv/tst-inet_pton.c (struct next_to_fault)
23967 (next_to_fault_allocate, next_to_fault_free): Remove.
23968 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23970 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23972 * elf/dl-support.c: Include <dl-procruntime.c>.
23973 * include/link.h: Include <link_map.h>.
23974 * sysdeps/generic/dl-procruntime.c: New file.
23975 * sysdeps/generic/link_map.h: Likewise.
23976 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23977 the writable ld.so namespace.
23979 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23981 timezone: pacify GCC -Wstringop-truncation
23982 Problem reported by Martin Sebor in:
23983 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23984 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23986 2017-11-12 Florian Weimer <fweimer@redhat.com>
23988 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23990 (tests): Add tst-xreadlink.
23991 * support/support.h (xstrndup): Declare.
23992 * support/xunistd.h (xunlink, xreadlink): Declare.
23993 * support/temp_file.h (support_create_temp_directory): Declare.
23994 * support/temp_file.c (support_create_temp_directory): New function.
23995 * support/support_chroot.c (support_chroot_create): Use it.
23996 * support/xreadlink.c: New file.
23997 * support/xstrndup.c: Likewise.
23998 * support/xunlink.c: Likewise.
23999 * support/tst-xreadlink.c: Likewise.
24001 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
24003 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24005 2017-11-11 Florian Weimer <fweimer@redhat.com>
24009 * resolv/res_comp.c (printable_string, binary_hnok)
24010 (binary_leading_dash): New functions.
24011 (res_hnok): Reimplement using these functions and ns_name_pton.
24012 (res_ownok): Likewise.
24013 (res_mailok): Reimplement using printable_string, ns_name_pton and
24015 (res_dnok): Reimplement using printable_string and ns_name_pton.
24016 * resolv/tst-res_hnok.c (tests): Add additional tests.
24017 (LETTERDIGITS, PRINTABLE): Define.
24018 (do_test): Adjust one_char results.
24020 2017-11-11 Florian Weimer <fweimer@redhat.com>
24023 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24024 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24026 2017-11-11 Florian Weimer <fweimer@redhat.com>
24028 * resolv/tst-ns_name_pton.c: New file.
24029 * resolv/Makefile (tests): Add tst-ns_name_pton.
24030 (tst-ns_name_pton): Link against libresolv.
24032 2017-11-11 Florian Weimer <fweimer@redhat.com>
24034 * resolv/tst-res_hnok.c: New file.
24035 * resolv/Makefile (tests): Add tst-res_hnok.
24036 (tst-res_hnok): Link against libresolv.
24038 2017-11-11 Florian Weimer <fweimer@redhat.com>
24040 * resolv/tst-resolv-network.c: Use test framework instead explicit
24043 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24045 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24046 <jmp_buf-macros.h>.
24047 [!_ISOMAC] (STR_HELPER): New.
24048 [!_ISOMAC] (STR): Likewise.
24049 [!_ISOMAC] (TEST_SIZE): Likewise.
24050 [!_ISOMAC] (TEST_ALIGN): Likewise.
24051 [!_ISOMAC] (TEST_OFFSET): Likewise.
24052 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24053 field offsets of jmp_buf as well as sigjmp_buf.
24054 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24055 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24056 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24057 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24058 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24059 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24060 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24061 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24062 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24063 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24065 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24067 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24072 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24073 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24074 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24075 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24076 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24081 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24082 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24083 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24085 2017-11-07 Joseph Myers <joseph@codesourcery.com>
24088 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24089 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24090 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24091 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24092 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24093 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24094 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24095 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24096 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24097 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24098 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24099 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24100 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24101 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24102 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24103 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24104 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24105 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24106 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24107 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24108 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24109 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24110 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24111 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24112 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24113 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24114 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24115 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24116 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24117 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24118 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24119 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24120 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24121 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24122 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24123 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24124 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24125 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24126 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24127 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24128 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24129 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24130 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24131 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24132 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24133 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24134 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24135 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24136 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24137 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24138 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24139 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24140 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24141 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24142 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24143 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24144 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24145 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24146 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24147 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24148 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24149 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24150 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24151 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24152 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24153 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24154 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24155 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24156 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24157 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24158 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24159 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24160 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24161 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24162 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24163 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24164 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24165 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24166 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24167 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24168 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24169 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24170 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24171 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24172 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24173 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24174 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24175 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24177 * stdlib/tst-strtod.h (F16): New macro.
24183 (IF_FLOAT16): Likewise.
24184 (IF_FLOAT32): Likewise.
24185 (IF_FLOAT64): Likewise.
24186 (IF_FLOAT32X): Likewise.
24187 (IF_FLOAT64X): Likewise.
24188 (IF_FLOAT128X): Likewise.
24189 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24190 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24191 (STRTOD_TEST_FOREACH): Likewise.
24192 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24193 (CHOOSE_f64): Likewise.
24194 (CHOOSE_f32x): Likewise.
24195 (CHOOSE_f64x): Likewise.
24197 2017-11-07 Andreas Schwab <schwab@suse.de>
24199 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24201 2017-11-07 Mike FABIAN <mfabian@redhat.com>
24204 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24206 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24209 2017-11-07 Claude Paroz <claude@2xlibre.net>
24212 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24214 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24216 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24219 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24222 * nptl/allocatestack.c (allocate_stack): Check if
24223 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24224 __PTHREAD_MUTEX_HAVE_PREV is defined.
24225 * nptl/descr.h (pthread): Likewise.
24226 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24228 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24229 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24230 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24231 * sysdeps/nptl/bits/thread-shared-types.h
24232 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24234 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24235 of __WORDSIZE for internal layout.
24236 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24237 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24238 instead of __WORDSIZE whether to use an union for __spins and __list
24240 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24242 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24243 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24245 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24246 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24248 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24249 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24251 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24252 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24254 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24255 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24257 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24258 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24260 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24261 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24263 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24264 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24266 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24267 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24269 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24270 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24272 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24273 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24275 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24276 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24278 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24279 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24281 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24282 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24284 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24285 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24288 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
24290 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
24291 checks for expected input type size.
24292 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24293 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24295 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24296 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
24297 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24298 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
24299 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24300 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
24301 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
24302 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
24303 superflous runtime assert check.
24304 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
24306 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
24308 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24310 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
24312 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
24314 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
24316 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
24317 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
24318 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24320 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24322 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24324 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
24326 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24328 * nptl/pthread_attr_setinheritsched.c
24329 (__pthread_attr_setinheritsched): Likewise.
24330 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
24332 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
24334 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
24335 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
24336 __old_pthread_attr_setstack): Likewise.
24337 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24339 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24341 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
24343 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24344 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24346 * nptl/tst-typesizes.c: Remove file.
24348 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
24349 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
24350 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
24351 checks for internal pthread_mutex_t offsets.
24352 * sysdeps/aarch64/nptl/pthread-offsets.h
24353 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
24354 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
24355 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
24356 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
24357 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
24358 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
24359 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
24360 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
24361 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
24362 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
24363 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
24364 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
24365 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
24366 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
24367 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
24368 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
24369 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
24370 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
24372 2017-11-07 Florian Weimer <fweimer@redhat.com>
24374 * bits/mman-linux.h: Move ...
24375 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
24377 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
24380 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24382 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
24383 Redefine STRNLEN as __strnlen_power8.
24385 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24387 * signal/sighold.c (sighold): Optimize implementation.
24389 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
24390 __NR_rt_sigqueueinfo.
24392 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
24394 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
24395 assume __NR_rt_sigtimedwait.
24396 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
24397 and add LIBC_CANCEL_HANDLED for cancellation marking.
24398 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24400 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24401 (sysdeps_routines): Add memchr_noneon.
24402 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
24403 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
24404 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24405 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24406 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24407 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24408 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24410 * sysdeps/arm/arm-ifunc.h: New file.
24411 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24412 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24413 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24414 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24415 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24416 (__memcpy_neon): Avoid create hidden alias.
24417 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24418 (__memcpy_vfp): Likewise.
24419 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24420 (sysdep_routines): Add memcpy_arm.
24421 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24423 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24426 * Makerules (make-link-multidir): New.
24427 * config.make.in (multidir): New.
24428 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24429 * configure: Regenerated.
24430 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24431 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24432 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24435 2017-11-06 Joseph Myers <joseph@codesourcery.com>
24438 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24439 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24441 2017-11-04 Mike FABIAN <mfabian@redhat.com>
24443 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24446 2017-11-04 Florian Weimer <fweimer@redhat.com>
24448 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24450 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24452 * math/math.h [__HAVE_DISTINCT_FLOAT16
24453 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24454 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24455 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24456 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24457 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24458 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24459 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24460 (__MATH_TG_F32): New macro.
24461 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24462 (__MATH_TG_F64X): Likewise.
24463 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24464 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24466 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24468 * po/de.po: Update translations.
24469 * po/ru.po: Likewise.
24471 2017-11-03 Florian Weimer <fweimer@redhat.com>
24473 * manual/filesys.texi (Hard Links): Document linkat.
24475 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24477 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24478 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24479 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24480 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24481 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24482 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24483 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
24484 the same as _Float128.
24485 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24486 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24487 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
24490 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
24492 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
24494 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
24496 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24497 (strtof32x): Likewise.
24498 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24499 (strtof64x): Likewise.
24500 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24501 (strtof128x): Likewise.
24502 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24503 (strfromf16): Likewise.
24504 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24505 (strfromf32): Likewise.
24506 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24507 (strfromf64): Likewise.
24508 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24509 (strfromf32x): Likewise.
24510 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24511 (strfromf64x): Likewise.
24512 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24513 (strfromf128x): Likewise.
24514 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
24515 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
24516 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
24517 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
24518 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
24519 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
24521 2017-11-03 Richard Henderson <rth@twiddle.net>
24523 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
24525 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24527 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
24529 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24531 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
24532 DT_TLSDESC_GOT initialization.
24533 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
24534 (_dl_tlsdesc_resolve_hold): Likewise.
24535 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
24536 (_dl_tlsdesc_resolve_hold): Likewise.
24537 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
24538 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24540 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24542 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
24544 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24547 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
24548 non-lazily for R_ARM_TLS_DESC.
24550 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24553 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
24554 R_ARM_TLS_DESC case.
24555 (elf_machine_lazy_rel): Remove the prelink check.
24557 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24559 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
24560 DT_TLSDESC_GOT initialization.
24561 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
24562 (_dl_tlsdesc_resolve_rela): Likewise.
24563 (_dl_tlsdesc_resolve_hold): Likewise.
24564 (_dl_tlsdesc_undefweak): Remove ldar.
24565 (_dl_tlsdesc_dynamic): Likewise.
24566 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
24567 (_dl_tlsdesc_resolve_rela): Likewise.
24568 (_dl_tlsdesc_resolve_hold): Likewise.
24569 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
24570 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24571 (_dl_tlsdesc_resolve_rela): Likewise.
24572 (_dl_tlsdesc_resolve_hold): Likewise.
24574 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24576 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
24577 binding and initialization non-lazily for R_AARCH64_TLSDESC.
24579 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24581 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
24582 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24584 2017-11-02 Joseph Myers <joseph@codesourcery.com>
24586 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
24588 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
24589 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
24590 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
24591 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
24592 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
24593 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
24594 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
24595 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
24596 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
24597 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
24598 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
24600 2017-11-02 Mike FABIAN <mfabian@redhat.com>
24603 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
24604 * localedata/locales/tpi_PG: Add standard header.
24606 2017-11-02 Florian Weimer <fweimer@redhat.com>
24608 test-errno-linux: quotactl can fail with EPERM in containers.
24609 * sysdeps/unix/sysv/linux/test-errno-linux.c
24610 (LIST, LIST_FORWARD): New macros.
24611 (check_error_in_list): New function.
24612 (test_wrp_rv): Accept list of permitted error codes.
24613 (test_wrp_rv2): Remove.
24614 (test_wrp): Call test_wrp_rv with list of error codes.
24615 (test_wrp2): Accept list of error codes.
24616 (do_test): Adjust. Allow EPERM for quotactl.
24618 2017-11-02 Florian Weimer <fweimer@redhat.com>
24620 * stdio-common/bug16.c (do_test): Use array_length.
24621 * stdio-common/errlist.c (_sys_nerr): Likewise.
24622 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
24623 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
24624 * stdio-common/psiginfo.c (psiginfo): Use array_length.
24625 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
24626 (do_test): Use array_length.
24627 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
24628 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
24629 * stdio-common/tst-printf-round.c (do_test): Likewise.
24630 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
24631 (CHECK): Use array_length.
24632 * stdio-common/tstdiomisc.c (t3, F): Likewise.
24633 * stdio-common/tstscanf.c (main): Likewise.
24634 * stdio-common/vfprintf.c (process_string_arg): Likewise.
24636 2017-11-02 Florian Weimer <fweimer@redhat.com>
24638 Add array_length and array_end macros.
24639 * include/array_length.h: New file.
24641 2017-11-02 Florian Weimer <fweimer@redhat.com>
24644 * posix/tst-glob-tilde.c (do_noescape): New variable.
24645 (one_test): Process it.
24646 (do_test): Set do_noescape. Add unescaping test case.
24648 2017-11-01 Joseph Myers <joseph@codesourcery.com>
24651 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
24652 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
24653 with appropriate macros defined and undefined.
24654 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
24655 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24656 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
24657 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24658 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
24659 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24660 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
24661 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24662 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
24663 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24666 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
24667 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
24668 that for long double. Do not condition define and undefine of
24669 _Mdouble_complex_ on [__CFLOAT128].
24671 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
24673 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24674 of <sysdeps/generic/sysdep.h>.
24675 (ALIGNARG): Removed.
24676 (ASM_SIZE_DIRECTIVE): Likewise.
24679 (ENTRY_CHK): Likewise.
24680 (END_CHK): Likewise.
24681 (syscall_error): Likewise.
24682 (mcount): Likewise.
24683 (PSEUDO_END): Likewise.
24685 (atom_text_section): Likewise.
24686 * sysdeps/x86/sysdep.h: New file.
24687 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24688 of <sysdeps/generic/sysdep.h>.
24689 (ALIGNARG): Removed.
24690 (ASM_SIZE_DIRECTIVE): Likewise.
24693 (ENTRY_CHK): Likewise.
24694 (END_CHK): Likewise.
24695 (syscall_error): Likewise.
24696 (mcount): Likewise.
24697 (PSEUDO_END): Likewise.
24699 (atom_text_section): Likewise.
24701 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
24703 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
24704 category of LC_CTYPE set to "i18n:2012".
24705 * localedata/locales/i18n_ctype: Regenerate.
24707 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
24709 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
24710 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
24711 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24712 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24714 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
24715 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
24716 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
24717 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
24719 2017-10-31 Joseph Myers <joseph@codesourcery.com>
24722 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
24724 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
24726 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
24728 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24729 (CMPLXF32X): Likewise.
24730 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24731 (CMPLXF64X): Likewise.
24732 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24733 (CMPLXF128X): Likewise.
24736 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
24737 (__MATH_EVAL_FMT2): Define to add 0.0f.
24739 2017-10-31 Alan Modra <amodra@gmail.com>
24741 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
24743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
24744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
24745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
24746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
24747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
24748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
24749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
24750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
24751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
24752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
24753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
24754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
24755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
24756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
24757 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
24758 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
24759 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
24760 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
24761 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
24762 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
24763 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
24764 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
24765 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
24766 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
24767 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24768 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
24769 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
24770 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
24771 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
24772 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
24773 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24774 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24775 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
24776 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
24777 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
24778 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
24779 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
24780 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
24781 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
24782 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24783 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
24784 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
24785 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
24786 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
24787 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
24788 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
24789 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
24790 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
24791 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24792 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24793 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
24794 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
24795 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
24796 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
24797 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24798 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
24799 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
24800 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
24801 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24802 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24803 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24804 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
24805 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
24806 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24807 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
24808 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
24809 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
24810 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
24811 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
24813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
24814 include sysdep.h and math_ldbl_opt.h.
24816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
24817 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
24818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
24819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
24820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
24821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
24822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
24823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
24824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
24825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
24826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
24827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
24828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
24829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
24830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
24831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
24832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
24833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
24834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
24835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
24836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
24837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
24838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
24839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
24840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
24841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
24843 2017-10-31 Alan Modra <amodra@gmail.com>
24845 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24846 string/strncase_l.c, not string/strncase.c.
24847 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24848 (libc_hidden_def): Redefine.
24850 2017-10-31 Alan Modra <amodra@gmail.com>
24852 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24853 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24854 (__strcasecmp): Don't define.
24856 2017-10-31 Alan Modra <amodra@gmail.com>
24858 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24860 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24861 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24862 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24864 2017-10-31 Alan Modra <amodra@gmail.com>
24866 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24869 2017-10-31 Alan Modra <amodra@gmail.com>
24871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24872 Redefine only when SHARED.
24874 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24876 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24877 Include <bits/math-finite.h> with appropriate macros defined and
24879 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24880 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24881 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24882 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24883 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24885 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24886 [!_Mlong_double_] (_Mlong_double_): Likewise.
24887 [!_Mfloat16_] (_Mfloat16_): Likewise.
24888 [!_Mfloat32_] (_Mfloat32_): Likewise.
24889 [!_Mfloat64_] (_Mfloat64_): Likewise.
24890 [!_Mfloat128_] (_Mfloat128_): Likewise.
24891 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24892 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24893 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24894 (_Mdouble_): Define without indirection through those macros.
24895 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24896 [!_Mfloat128_] (_Mfloat128_): Likewise.
24897 [_Mlong_double_] (_Mlong_double_): Likewise.
24898 (_Mdouble_): Define without indirection through those macros.
24899 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24900 not add -D_Mlong_double_=double.
24901 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24902 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24904 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24906 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24908 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24910 * sysdeps/x86/libc-start.c: Reformat.
24912 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24915 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24916 (1): Renamed to ...
24919 (L(Src2)): Likewise.
24920 (L(1)): Renamed to ...
24923 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24925 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24926 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24927 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24928 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24929 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24930 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24931 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24932 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24933 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24934 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24935 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24936 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24937 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24938 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24939 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24940 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24941 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24942 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24943 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24944 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24945 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24946 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24947 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24948 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24949 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24950 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24951 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24952 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24953 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24954 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24955 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24956 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24957 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24958 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24959 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24960 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24961 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24962 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24963 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24964 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24965 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24966 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24967 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24968 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24969 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24970 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24971 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24972 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24973 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24974 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24975 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24976 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24977 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24978 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24979 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24980 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24981 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24982 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24983 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24984 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24985 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24986 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24987 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24988 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24989 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24990 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24992 2017-10-30 Florian Weimer <fweimer@redhat.com>
24994 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24996 * io/tst-mkdirat.c (do_test): Likewise.
24997 * io/tst-mkfifoat.c (do_test): Likewise.
24998 * io/tst-mknodat.c (do_test): Likewise.
24999 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25000 * locale/programs/locale.c (select_dirs): Likewise.
25001 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25002 * posix/bug-glob2.c (my_readdir): Likewise.
25003 * posix/tst-dir.c (main): Likewise.
25004 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25005 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25007 2017-10-30 Florian Weimer <fweimer@redhat.com>
25009 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25012 2017-10-30 Florian Weimer <fweimer@redhat.com>
25014 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25015 Convert to support/test-driver.c.
25016 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25017 New macro parameters.
25018 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25019 * posix/tst-gnuglob.c: New file.
25020 * posix/tst-gnuglob64.c: Likewise.
25021 * posix/Makefile (tests): Add tst-gnuglob64.
25023 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
25026 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25027 and use a better translation for March in “mon”.
25028 * localedata/locales/csb_PL: Use more ASCII to improve the
25029 readability of the source.
25031 2017-10-30 Mike FABIAN <mfabian@redhat.com>
25034 * localedata/locales/km_KH: Use ASCII as much
25035 as possible for better readability of the source and
25036 remove useless comments.
25037 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25038 was commented out and apparently wrong anyway because it was
25039 using Lao characters. If Buddhist era should be used
25040 for km_KH, a native speaker should write the correct formaat
25042 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25043 (According to CLDR, the first weekday for Cambodia is Sunday).
25044 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25045 (These were using Lao characters which must be wrong. If we get
25046 the correct data from a native speaker, we could add it back, until
25047 then it is better not to have name_mr and name_mrs at all than
25050 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25052 * locale/loadlocale.c: Correct size of
25053 _nl_value_type_LC_<category> arrays.
25055 2017-10-27 Joseph Myers <joseph@codesourcery.com>
25057 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25058 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25059 with appropriate macros defined and undefined.
25060 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25061 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25062 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25063 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25064 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25066 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25068 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25071 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25073 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25074 with lowercase letters to make it agree with CLDR.
25076 2017-10-27 Mike FABIAN <mfabian@redhat.com>
25079 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25080 first letters of yesstr and nostr in yesexpr and noexpr,
25081 not for the full words.
25082 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25083 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25084 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25085 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25086 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25087 first letters of yesstr and nostr in yesexpr and noexpr,
25088 until now only English was matched in yesexpr and noexpr.
25089 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25090 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25091 fil but not for tl. As tl and fil are very similar, using fil
25092 is probably better than using English.
25094 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
25097 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25098 in yesstr and nostr.
25100 2017-10-26 Joseph Myers <joseph@codesourcery.com>
25102 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25103 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25104 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25106 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25108 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25110 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25112 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25113 (SNANF128X): Likewise.
25115 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25116 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25117 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25118 (HUGE_VAL_F32): Likewise.
25119 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25120 (HUGE_VAL_F64): Likewise.
25121 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25122 (HUGE_VAL_F32X): Likewise.
25123 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25124 (HUGE_VAL_F64X): Likewise.
25125 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25126 (HUGE_VAL_F128X): Likewise.
25128 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25130 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25131 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25132 for the br_FR locale.
25134 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
25137 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25139 2017-10-25 Carlos O'Donell <carlos@redhat.com>
25141 * locale/programs/record-status.h: Define globals, and function
25142 prototypes. Move function bodies...
25143 * locale/programs/record-status.c: ... to here. New file.
25144 * iconv/Makefile (iconv_prog-modules): Add record-status.
25145 * locale/Makefile (lib-modules): Likewise.
25146 * iconv/iconv_prog.c: Remove verbose.
25147 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25148 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25149 record a warning about ASCII compatibility.
25150 * locale/programs/ld-monetary.c (monetary_finish): If
25151 warn_int_curr_symbol is true then record a warning about the symbol
25152 not being in our ISO 4217 list.
25153 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25154 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25155 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25156 (OPT_NO_WARN): Define.
25157 (OPT_WARN): Define.
25158 (options): Add entry for --no-warnings, and --warnings.
25159 (set_warnings): New function to enable/disable warnings.
25160 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25161 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25162 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25163 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25164 Pass flags to generate_locale.
25165 (generate_locale): Accept new flag argument and pass it to localedef
25167 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25168 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25170 * localedata/Makefile (test-input-data): Use full file name.
25171 * localedata/da_DK.in: Rename to...
25172 * localedata/da_DK.ISO-8859-1.in: ...this.
25173 * localedata/de_DE.in: Rename to...
25174 * localedata/de_DE.ISO-8859-1.in: ...this.
25175 * localedata/en_US.in: Rename to...
25176 * localedata/en_US.ISO-8859-1.in: ...this.
25177 * localedata/fr_FR.in: Rename to...
25178 * localedata/fr_FR.UTF-8.in: ... this.
25179 * localedata/hr_HR.in: Rename to...
25180 * localedata/hr_HR.ISO-8859-2.in: ...this.
25181 * localedata/hu_HU.in: Rename to...
25182 * localedata/hu_HU.UTF-8.in: ...this.
25183 * localedata/si_LK.in: Rename to...
25184 * localedata/si_LK.UTF-8.in: ...this.
25185 * localedata/sv_SE.in: Rename to...
25186 * localedata/sv_SE.ISO-8859-1.in: ...this.
25187 * localedata/tr_TR.in: Rename to...
25188 * localedata/tr_TR.UTF-8.in: ...this.
25189 * localedata/uk_UA.in: Rename to...
25190 * localedata/uk_UA.UTF-8.in: ...this.
25191 * localedata/sort-test.sh: Test file is locale name with the
25194 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25195 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25197 * localedata/locales/i18n_ctype: Regenerate.
25198 * localedata/locales/tr_TR: Likewise.
25199 * localedata/locales/translit_circle: Likewise.
25200 * localedata/locales/translit_cjk_compat: Likewise.
25201 * localedata/locales/translit_combining: Likewise.
25202 * localedata/locales/translit_compat: Likewise.
25203 * localedata/locales/translit_font: Likewise.
25204 * localedata/locales/translit_fraction: Likewise.
25206 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25208 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25209 lxvd2x/stxvd2x with lvx/stvx.
25210 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25212 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25214 * include/alloc_buffer.h: Replace "if if " with "if " in
25216 * sysdeps/mips/memcpy.S: Likkewise.
25217 * sysdeps/mips/memset.S: Likewise.
25218 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25220 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25222 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25225 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25228 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25229 yesexpr and noexpr.
25230 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25231 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25232 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25233 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25234 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25235 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25236 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25238 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25240 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25241 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25242 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25243 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25244 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25245 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25246 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25247 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25248 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25249 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25250 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25251 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25253 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25255 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25256 as possible for better readability of the source.
25257 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25258 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25259 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25260 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25261 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25262 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25263 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25264 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25265 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25266 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25267 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25268 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25269 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25270 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25271 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25272 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25273 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25274 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25275 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25276 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25277 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25278 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25279 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25280 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25281 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25282 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25283 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25284 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25285 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25286 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25287 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
25288 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25289 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
25290 * localedata/locales/en_US (LC_MESSAGES): Likewise.
25291 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
25292 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
25293 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
25294 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
25295 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
25296 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
25297 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
25298 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
25299 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
25300 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
25301 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
25302 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
25303 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
25304 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
25305 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
25306 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
25307 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
25308 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
25309 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
25310 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25311 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25312 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
25313 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
25314 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25315 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
25316 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
25317 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
25318 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
25319 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
25320 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
25321 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
25322 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
25323 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
25324 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
25325 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
25326 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
25327 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
25328 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
25329 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
25330 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
25331 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25332 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
25333 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
25334 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
25335 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
25336 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
25337 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
25338 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
25339 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
25340 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25341 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
25342 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
25343 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
25344 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25345 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
25346 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
25347 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
25348 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
25349 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25350 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
25351 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
25352 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25353 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
25354 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25355 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
25356 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
25357 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
25358 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
25359 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
25360 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
25361 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
25362 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
25363 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
25364 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
25365 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
25366 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
25367 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
25368 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
25369 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25370 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
25371 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
25372 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
25373 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
25374 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
25375 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
25376 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
25377 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
25378 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
25379 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
25380 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
25381 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
25382 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
25383 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
25384 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
25385 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
25386 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
25387 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
25388 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
25389 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
25390 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
25391 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
25392 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
25393 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
25394 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
25395 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
25396 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
25397 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
25398 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
25399 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
25400 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
25401 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
25402 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25403 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
25404 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25405 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25406 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25407 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25408 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25409 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25410 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25411 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25412 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25413 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25414 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25415 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25416 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25417 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25418 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25419 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25420 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25421 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25422 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25423 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25424 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25425 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25426 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25427 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25428 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25429 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25430 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25432 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25434 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25435 (Use first letters of yesstr and nostr correctly instead of using
25438 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25440 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25441 (Use first letters of yesstr and nostr correctly).
25443 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25445 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25446 also check for the first characters of yesstr and nostr.
25447 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25448 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25450 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25452 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25453 also check for Chinese characters.
25455 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25457 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25458 match also for the contents of yesstr and nostr. As the first letter
25459 of yesstr and nostr is equal, checking only for the first letter
25462 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25464 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25465 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25467 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25469 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25470 of main contributor.
25472 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25474 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25475 instead of using English.
25477 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25479 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25480 by including the first letters of nostr and yesexpr in the regexp.
25481 Also make it more readable by using ASCII where possible.
25483 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25485 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
25486 the first letter of nostr in the regexp. It agrees with CLDR now.
25487 Also make it more readable by using ASCII where possible.
25489 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25491 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
25492 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
25493 these strings contain a U+17D6 (which somewhat looks like a colon)
25494 instead of a real colon to separate the full words for “yes”
25495 and “no” from the single letter responses.
25497 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25499 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
25500 it agree with CLDR (include the first letter of yesstr).
25501 Also make it more readable by using ASCII where possible.
25503 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25505 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
25506 and improve yesexpr and noexpr. The yesstr and nostr apparently
25507 came from CLDR. And CLDR has a bug there: these strings contain
25508 a U+0903 (which looks like a colon) instead of a real colon
25509 to separate the full words for “yes” and “no” from the single
25512 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25514 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
25515 letters of the full yesstr and nostr in yesexpr and noexpr.
25517 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25519 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
25520 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
25521 * localedata/locales/an_ES: Make source more readable by using ASCII
25524 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25527 * localedata/locales/yuw_PG: New file.
25528 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
25529 * locale/iso-639.def: Add Yau (Uruwa).
25531 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25533 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
25535 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25537 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
25538 (__libc_realloc): Likewise.
25539 (_mid_memalign): Likewise.
25540 (__libc_calloc): Likewise.
25542 2017-10-23 Mike FABIAN <mfabian@redhat.com>
25544 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
25545 by adding the generic +1 and -0 as in all other locales.
25546 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
25547 day names and make it more readable by using ASCII where possible.
25549 2017-10-24 Joseph Myers <joseph@codesourcery.com>
25551 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
25552 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
25554 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25556 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
25557 WNOHANG in waitpid call.
25559 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
25561 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
25562 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
25564 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
25565 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
25566 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
25567 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
25568 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
25569 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
25570 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
25571 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
25574 2017-10-23 Michael Collison <michael.collison@arm.com>
25576 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
25577 with __builtin_sqrt.
25578 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
25579 with __builtin_sqrtf.
25580 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
25581 with __builtin_ceil.
25582 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
25583 with __builtin_ceilf.
25584 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
25585 with __builtin_floor.
25586 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
25587 with __builtin_floorf.
25588 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
25589 with __builtin_fma.
25590 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
25591 with __builtin_fmaf.
25592 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
25593 with __builtin_fmax.
25594 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
25595 with __builtin_fmaxf.
25596 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
25597 with __builtin_fmin.
25598 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
25599 with __builtin_fminf.
25600 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
25601 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
25602 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
25603 with builtin_rint and conversion to int.
25604 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
25605 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
25606 with builtin_llround.
25607 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
25608 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
25609 with builtin_rint and conversion to long int.
25610 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
25611 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
25612 with builtin_lround.
25613 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
25614 with builtin_lroundf.
25615 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
25616 statements with __builtin_nearbyint.
25617 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
25618 statements with __builtin_nearbyintf.
25619 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
25620 with __builtin_rint.
25621 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
25622 with __builtin_rintf.
25623 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
25624 with __builtin_round.
25625 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
25626 with __builtin_roundf.
25627 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
25628 with __builtin_trunc.
25629 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
25630 with __builtin_truncf.
25631 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
25632 and s_l[l]round[f].c too.
25634 2017-10-23 Alan Modra <amodra@gmail.com>
25636 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
25637 Adjust stack after restoring regs. Add missing LR cfi_restore.
25639 2017-10-23 Alan Modra <amodra@gmail.com>
25641 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
25642 Move LR save and frame setup/teardown and LR restore to
25643 immediately around memset call. Provide cfi.
25645 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25647 * sysdeps/i386/fpu/e_powf.S: Removed.
25648 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
25649 * sysdeps/i386/fpu/w_powf.c: Likewise.
25650 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
25651 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25652 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25654 (CFLAGS-e_powf-sse2.c): New.
25655 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
25656 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
25658 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25660 * sysdeps/i386/fpu/e_log2f.S: Removed.
25661 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
25662 * sysdeps/i386/fpu/w_log2f.c: Likewise.
25663 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
25664 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25665 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25667 (CFLAGS-e_log2f-sse2.c): New.
25668 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
25669 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
25671 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25673 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25675 (CFLAGS-e_powf-fma.c): New.
25676 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
25677 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
25679 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25681 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25683 (CFLAGS-e_log2f-fma.c): New.
25684 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
25685 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
25687 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25689 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25691 (CFLAGS-e_logf-fma.c): New.
25692 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
25693 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
25695 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25697 * sysdeps/i386/fpu/e_logf.S: Removed.
25698 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
25699 * sysdeps/i386/fpu/w_logf.c: Likewise.
25700 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
25701 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
25702 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25703 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25705 (CFLAGS-e_logf-sse2.c): New.
25706 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
25707 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
25709 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25711 * sysdeps/i386/fpu/e_exp2f.S: Removed.
25712 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
25713 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
25714 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25715 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25717 (CFLAGS-e_exp2f-sse2.c): New.
25718 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
25719 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
25721 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25723 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25725 (CFLAGS-e_exp2f-fma.c): New.
25726 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
25727 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
25729 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25731 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
25732 * sysdeps/i386/fpu/e_expf.S: Likewise.
25733 * sysdeps/i386/fpu/math_errf.c: Likewise.
25734 * sysdeps/i386/fpu/w_expf.c: Likewise.
25735 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
25736 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25737 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
25738 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
25739 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25740 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25741 Remove e_expf-ia32.
25742 (CFLAGS-e_expf-sse2.c): New.
25743 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
25744 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
25746 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25748 * sysdeps/x86_64/fpu/e_expf.S: Removed.
25749 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
25750 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
25751 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
25753 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
25755 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
25756 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
25758 (__redirect_expf): This.
25759 (SYMBOL_NAME): Changed to expf.
25760 (__ieee754_expf): Renamed to ...
25762 (__GI___expf): This.
25763 (__ieee754_expf): Add strong_alias.
25764 (__expf_finite): Likewise.
25766 Include <sysdeps/ieee754/flt-32/e_expf.c>.
25768 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
25771 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
25774 2017-10-21 Florian Weimer <fweimer@redhat.com>
25776 * posix/Makefile (tests): Add tst-glob-tilde.
25777 (tests-special): Add tst-glob-tilde-mem.out
25778 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
25779 (tst-glob-tilde-mem.out): Add mtrace check.
25780 * posix/tst-glob-tilde.c: New file.
25782 2017-10-20 Joseph Myers <joseph@codesourcery.com>
25784 * bits/floatn-common.h: New file.
25785 * math/Makefile (headers): Add bits/floatn-common.h.
25786 * bits/floatn.h: Include <bits/floatn-common.h>.
25787 * sysdeps/ia64/bits/floatn.h: Likewise.
25788 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25789 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
25790 * sysdeps/powerpc/bits/floatn.h: Likewise.
25791 * sysdeps/x86/bits/floatn.h: Likewise.
25793 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25795 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
25796 indicates whether compiler emits an warning for alias for
25797 functions with incompatible types.
25800 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
25801 the auxiliary process is terminated by a signal before calling _exit
25804 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25807 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
25809 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
25810 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
25811 and bit_arch_XSAVEC_Usable if needed.
25812 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
25813 and bit_arch_Use_dl_runtime_resolve_opt.
25814 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
25816 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
25817 (bit_arch_Prefer_No_AVX512): Updated.
25818 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
25819 (bit_arch_XSAVEC_Usable): New.
25820 (STATE_SAVE_OFFSET): Likewise.
25821 (STATE_SAVE_MASK): Likewise.
25822 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
25823 (cpu_features): Add xsave_state_size and xsave_state_full_size.
25824 (index_arch_Use_dl_runtime_resolve_opt): Removed.
25825 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
25826 (index_arch_XSAVEC_Usable): New.
25827 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25828 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
25829 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
25831 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
25832 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
25833 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
25834 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
25835 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
25836 _dl_runtime_resolve_xsavec.
25837 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
25839 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
25840 instead of VEC_SIZE.
25841 (REGISTER_SAVE_BND0): Removed.
25842 (REGISTER_SAVE_BND1): Likewise.
25843 (REGISTER_SAVE_BND3): Likewise.
25844 (REGISTER_SAVE_RAX): Always defined to 0.
25846 (_dl_runtime_resolve_avx): Likewise.
25847 (_dl_runtime_resolve_avx_slow): Likewise.
25848 (_dl_runtime_resolve_avx_opt): Likewise.
25849 (_dl_runtime_resolve_avx512): Likewise.
25850 (_dl_runtime_resolve_avx512_opt): Likewise.
25851 (_dl_runtime_resolve_sse): Likewise.
25852 (_dl_runtime_resolve_sse_vex): Likewise.
25854 (_dl_runtime_resolve_fxsave): Likewise.
25855 (USE_XSAVE): Likewise.
25856 (_dl_runtime_resolve_xsave): Likewise.
25857 (USE_XSAVEC): Likewise.
25858 (_dl_runtime_resolve_xsavec): Likewise.
25859 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25861 (_dl_runtime_resolve_avx512_opt): Likewise.
25862 (_dl_runtime_resolve_avx): Likewise.
25863 (_dl_runtime_resolve_avx_opt): Likewise.
25864 (_dl_runtime_resolve_sse): Likewise.
25865 (_dl_runtime_resolve_sse_vex): Likewise.
25866 (_dl_runtime_resolve_fxsave): New.
25867 (_dl_runtime_resolve_xsave): Likewise.
25868 (_dl_runtime_resolve_xsavec): Likewise.
25870 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
25874 * posix/glob.c (__glob): Fix one-byte overflow.
25876 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25878 * malloc/malloc.c (sysdep-cancel.h): Add include.
25880 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25882 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25884 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25886 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25887 (tests): Remove $(objpfx)ga_test depdendency.
25888 * resolv/ga_test.c: Remove file.
25890 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25893 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25894 * localedata/locales/kab_DZ: New file.
25896 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25898 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25899 _dl_relocate_static_pie instead of _dl_start to compute load
25900 address in static PIE.
25902 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25904 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25906 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25909 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25910 * localedata/locales/shn_MM: New file.
25912 2017-10-20 Florian Weimer <fweimer@redhat.com>
25915 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25916 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25917 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25918 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25919 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25920 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25922 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25924 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25926 2017-10-19 Joseph Myers <joseph@codesourcery.com>
25928 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25931 * sysdeps/mips/bits/long-double.h: Move to ....
25932 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25934 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25936 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25938 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
25939 H.J. Lu <hongjiu.lu@intel.com>
25942 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25943 GLRO(dl_platform) to NULL.
25944 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25945 (modules-names): Add tst-platformmod-1 and
25946 x86_64/tst-platformmod-2.
25947 (CFLAGS-tst-platform-1.c): New.
25948 (CFLAGS-tst-platformmod-1.c): Likewise.
25949 (CFLAGS-tst-platformmod-2.c): Likewise.
25950 (LDFLAGS-tst-platformmod-2.so): Likewise.
25951 ($(objpfx)tst-platform-1): Likewise.
25952 ($(objpfx)tst-platform-1.out): Likewise.
25953 (tst-platform-1-ENV): Likewise.
25954 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25955 * sysdeps/x86_64/tst-platform-1.c: New file.
25956 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25957 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25959 2017-10-19 Mike FABIAN <mfabian@redhat.com>
25962 * locale/iso-639.def: Add Karbi.
25963 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25964 * localedata/locales/mjw_IN: New file.
25966 2017-10-18 Joseph Myers <joseph@codesourcery.com>
25968 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25969 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25970 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25971 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25972 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25973 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25974 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25976 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25977 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25978 * manual/math.texi (Mathematics): Document additional architecture
25979 support for _Float128.
25980 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25981 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25982 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25983 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25984 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25985 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25986 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25987 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25988 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25989 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25990 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25991 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25992 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25993 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25994 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25996 2017-10-18 Renlin Li <renlin.li@arm.com>
25998 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25999 _DYNAMIC symbol to calculate load address.
26001 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
26003 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26004 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26006 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26007 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26009 2017-10-18 Mike FABIAN <mfabian@redhat.com>
26012 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26013 and improve readability by using more ASCII.
26014 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26015 and improve readability by using more ASCII.
26017 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26019 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26020 not all targets support atomics on bool.
26022 2017-10-17 Joseph Myers <joseph@codesourcery.com>
26024 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26025 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26027 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26028 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26029 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26030 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26031 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26032 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26034 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26036 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26039 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26042 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26043 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26044 (do_check_remalloced_chunk): Fix build bug.
26045 (do_check_malloc_state): Add assert that checks arena->top.
26046 (malloc_consolidate): Remove initialization.
26047 (int_mallinfo): Remove call to malloc_consolidate.
26048 (__libc_mallopt): Clarify why malloc_consolidate is needed.
26050 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26052 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26053 (have_fastchunks): Remove.
26054 (clear_fastchunks): Remove.
26055 (set_fastchunks): Remove.
26056 (malloc_state): Add have_fastchunks.
26057 (malloc_init_state): Use have_fastchunks.
26058 (do_check_malloc_state): Remove incorrect invariant checks.
26059 (_int_malloc): Use have_fastchunks.
26060 (_int_free): Likewise.
26061 (malloc_consolidate): Likewise.
26063 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26065 * malloc/malloc.c (tcache_put): Inline.
26066 (tcache_get): Inline.
26068 2017-10-17 Jordi Mallach <jordi@gnu.org>
26070 Aurelien Jarno <aurelien@aurel32.net>
26072 * localedata/locales/ca_ES@valencia: New file.
26073 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26075 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26078 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26081 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26083 * scripts/build-many-glibcs.py (Context.add_all_configs):
26084 Add arm-linux-gnueabihf multiarch extra_glibcs.
26086 * sysdeps/generic/ifunc-init.h: New file.
26087 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26089 2017-10-17 Mike FABIAN <mfabian@redhat.com>
26092 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26093 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26094 * stdlib/tst-strfmon_l.c: adapt test case.
26096 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26098 * sysdeps/generic/float128-abi.h: New file.
26099 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26100 non-__prefixed symbols to ....
26101 * math/Versions: ... here. Include <float128-abi.h>.
26102 * stdlib/Versions ... and here. Include <float128-abi.h>
26104 2017-10-16 Florian Weimer <fweimer@redhat.com>
26106 * version.h (VERSION): Switch to ".9000" as the development
26109 2017-10-16 Florian Weimer <fweimer@redhat.com>
26112 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26113 compat_symbol_reference to access non-default version.
26115 2017-10-16 Florian Weimer <fweimer@redhat.com>
26117 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26119 2017-10-16 Carlos O'Donell <carlos@redhat.com>
26121 * include/shlib-compat.h (compat_symbol_reference): Update
26124 2017-10-16 Joseph Myers <joseph@codesourcery.com>
26126 * math/Makefile (test-types): Add
26127 $(type-float128-$(float128-alias-fcts)).
26128 * math/test-float128.h (TYPE_STR): Define conditional on
26129 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26130 (ULP_IDX): Likewise.
26131 (ULP_I_IDX): Likewise.
26133 * stdlib/strtold.c: Include <bits/floatn.h>
26134 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26135 and later undefine as macro. Define as weak alias if
26137 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26138 and later undefine as macro. Define as weak alias if
26140 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26141 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26142 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26143 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26144 Define and later undefine as macro. Define as weak alias if
26146 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26148 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26149 Define and later undefine as macro. Define as weak alias if
26151 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26152 Define and later undefine as macro. Define as weak alias if
26155 2017-10-15 Carlos O'Donell <carlos@redhat.com>
26157 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26158 record_verbose messages.
26160 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26163 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26164 to silence -O3 -Wall warning with GCC 7.
26166 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26168 * Makeconfig (+link-static-before-libc): Use the first of
26169 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26170 * gmon/Makefile (tests): Add tst-gmon-static.
26171 (tests-static): Likewise.
26172 (CFLAGS-tst-gmon-static.c): New.
26173 (CRT-tst-gmon-static): Likewise.
26174 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26175 (tst-gmon-static-ENV): Likewise.
26176 (tests-special): Likewise.
26177 ($(objpfx)tst-gmon-static.out): Likewise.
26178 (clean-tst-gmon-static-data): Likewise.
26179 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26180 * gmon/tst-gmon-static-gprof.sh: New file.
26181 * gmon/tst-gmon-static.c: Likewise.
26183 2017-10-13 Carlos O'Donell <carlos@redhat.com>
26186 * locale/programs/linereader.c (get_string): Don't warn on
26187 non-symbolic character.
26190 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26194 * locale/programs/record-status.h: New file
26195 * locale/programs/locale.c: Add comment.
26196 * locale/programs/charmap-dir.c: Don't include error.h.
26197 (charmap_opendir): Use record_error.
26198 * locale/programs/charmap.c: Don't include error.h.
26199 (charmap_read): Use record_error, and record_warning.
26200 (parse_charmap): Likewise.
26201 * locale/programs/ld-address.c: Don't include error.h.
26202 (address_finish): Use record_error, and record_warning.
26203 * locale/programs/ld-collate.c: Don't include error.h.
26204 (collate_finish): Use record_error, and record_error_at_line.
26205 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26206 (ctype_class_new): Likewise.
26207 (ctype_map_new): Likewise.
26208 (set_one_default): Likewise.
26209 (set_class_defaults): Likewise.
26210 (translit_flatten): Likewise.
26211 (allocate_arrays): Use record_error, and record_verbose.
26212 * locale/programs/ld-identification.c: Don't include error.h.
26213 (indentation_finish): Use record_error and record_warning.
26214 * locale/programs/ld-measurement.c: Don't include error.h.
26215 (measurement_finish): Use record_error.
26216 * locale/programs/ld-messages.c
26217 (message_finish): Likewise.
26218 * locale/programs/ld-monetary.c
26219 (monetary_finish): Likewise.
26220 * locale/programs/ld-name.c (name_finish): Use record_error
26221 and record_warning.
26222 * locale/programs/ld-numeric.c
26223 (numeric_finish): Use record_error.
26224 * locale/programs/ld-paper.c: Don't include error.h.
26225 (paper_finish): Use record_error.
26226 * locale/programs/ld-telephone.c: Don't include error.h.
26227 (telephone_finish): Use record_error.
26228 * locale/programs/ld-time.c (time_finish): Likewise.
26229 * locale/programs/linereader.h (lr_error): Make inline func.
26230 * locale/programs/localedef.c: Define recorded_warning_count,
26231 and recorded_error_count.
26232 (main): Use record_error. Use recorded_error_count and
26233 recorded_warning_count to issue correct error returns.
26234 (add_to_readlist): Use record_error.
26235 (find_locale): Likewise.
26236 (load_locale): Likewise.
26237 * locale/programs/localedef.h: Remove be_quiet
26238 and WITH_CUR_LOCALE.
26239 * locale/programs/locarchive.c (compare_from_file): Use
26241 * locale/programs/locfile.c (write_locale_data): Use
26243 * locale/programs/repertoire.c: Dont include error.h.
26244 (repertoire_complain): Use record_error.
26245 * localedata/tst-fmon.sh: Expect failures from localedef.
26246 * localedata/tst-locale.sh: Likewise.
26247 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26249 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26250 (REPORTS): Likewise.
26252 (i18n): Rename to...
26253 (i18n_ctype): ...this.
26254 (i18n-report): Rename to...
26255 (i18n_ctype-report): ...this.
26256 * localedata/locales/i18n_ctype: Regenerate.
26257 * localedata/locales/i18n: copy i18n_ctype.
26259 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26261 * stdlib/strfroml.c: Include <bits/floatn.h>.
26262 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26263 Define before include of <stdlib.h> and undefine afterwards, then
26264 define as weak alias.
26266 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26267 Undefine and restore default definition. Use
26268 libm_alias_ldouble_other.
26270 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26273 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26276 2017-10-13 James Clarke <jrtc27@jrtc27.com>
26278 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26279 Assign sym_map to be map for local symbols, as TLS relocations
26280 use sym_map to determine whether the symbol is defined and to
26281 extract the TLS information.
26282 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26283 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26285 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26288 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
26289 (math_force_eval): Add powerpc version.
26292 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
26294 (do_test): Likewise.
26295 * stdio-common/tst-printf.sh: Likewise.
26296 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
26297 ifdef clause in order to set the carry bit right. Replace r0 by
26298 0 without changing the behavior.
26300 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26302 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
26303 <libm-alias-ldouble.h>.
26304 (fabsl): Define using libm_alias_ldouble.
26305 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
26306 <libm-alias-ldouble.h>.
26307 (fabsl): Define using libm_alias_ldouble.
26309 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
26310 Remove conditional code.
26312 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
26313 Rename to __clog10_internal_l.
26314 (__clog10_internal_l): Define aliases using
26315 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
26318 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26320 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
26321 * benchtests/sincosf-inputs: New file.
26322 * benchtests/cosf-inputs: New file.
26323 * benchtests/sinf-inputs: New file.
26325 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
26327 * posix/tst-spawn.c (do_test): Wait for both children.
26329 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
26332 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
26333 tests-pie): Add tst-gmon-pie.
26334 (CFLAGS-tst-gmon-pie.c): New.
26335 (CRT-tst-gmon-pie): Likewise.
26336 (tst-gmon-pie-ENV): Likewise.
26337 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
26338 ($(objpfx)tst-gmon-pie.out): Likewise.
26339 (clean-tst-gmon-pie-data): Likewise.
26340 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
26341 * gmon/gmon.c [PIC]: Include <link.h>.
26342 [PIC] (callback): New function.
26343 (write_hist): Add an argument for load address. Subtract load
26345 (write_call_graph): Likewise.
26346 (write_gmon): Call __dl_iterate_phdr to get load address, pass
26347 it to write_hist and write_call_graph.
26348 * gmon/tst-gmon-pie.c: New file.
26350 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26352 * math/Makefile (test-types-basic): New variable.
26353 (test-types): Likewise.
26354 (libm-test-support): Use $(test-types) instead of $(types).
26355 (libm-tests-base-normal): Likewise.
26356 (libm-tests-base-finite): Likewise.
26357 (libm-tests-base-inline): Likewise.
26358 (generated): Likewise.
26359 ($(objpfx)libm-test-support-$(t).c): Likewise.
26360 (libm-tests-for-type iterator): Likewise.
26361 (libm-test-support iterator): Likewise.
26362 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
26363 (ulp_idx): Use ULP_IDX.
26364 * math/test-ldouble.h: Include <float.h>.
26365 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
26366 (ULP_IDX): New macro.
26367 (ULP_I_IDX): Likewise.
26368 * math/test-double.h (ULP_IDX): Likewise.
26369 (ULP_I_IDX): Likewise.
26370 * math/test-float.h (ULP_IDX): Likewise.
26371 (ULP_I_IDX): Likewise.
26372 * math/test-float128.h (ULP_IDX): Likewise.
26373 (ULP_I_IDX): Likewise.
26375 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26377 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
26378 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26379 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26380 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
26381 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26382 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
26383 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
26384 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26385 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26386 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26387 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
26388 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26389 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26390 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26391 (SINGLE_THREAD_BY_GLOBAL): Define.
26392 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26394 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26396 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26398 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26400 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
26401 (SINGLE_THREAD_BY_GLOBAL): Likewise.
26402 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26405 2017-10-11 Andreas Schwab <schwab@suse.de>
26407 * nis/Makefile (aux): Remove.
26408 * nscd/Makefile (aux): Add nscd_hash.
26409 (nscd-modules): Likewise.
26410 ($(objpfx)nscd): Don't depend on libnsl.
26411 * nscd/nscd_hash.c: New file.
26412 * nscd/nscd_hash.h: Likewise.
26413 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26414 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26415 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26416 instead of <nis/rpcsvc/nis.h>.
26417 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26419 2017-10-11 Florian Weimer <fweimer@redhat.com>
26422 Avoid large NSS buffers with many addresses, aliases.
26423 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26424 using dynarrays and struct alloc_buffer.
26425 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26426 (tst-nss-files-hosts-multi): Link with -ldl.
26427 * nss/tst-nss-files-hosts-multi.c: New file.
26429 2017-10-11 Florian Weimer <fweimer@redhat.com>
26432 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26433 scratch_buffer. Eliminate gotos.
26435 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26437 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26438 libm_alias_ldouble_other.
26439 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26440 undefine and redefine.
26441 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26442 (exp10l): Do not define here.
26443 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26444 (weak_alias): Undefine and redefine.
26445 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26446 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26447 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26448 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26450 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26451 [!__fma] (fma): Define using libm_alias_double.
26452 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26453 [!__fmaf] (fmaf): Define using libm_alias_float.
26454 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26455 (fmal): Define using libm_alias_ldouble.
26457 2017-10-10 Joseph Myers <joseph@codesourcery.com>
26459 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26461 (libm_alias_double_other): Likewise.
26462 (libm_alias_double_r): Use libm_alias_double_other_r.
26463 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26465 (libm_alias_float_other): Likewise.
26466 (libm_alias_float_r): Use libm_alias_float_other_r.
26467 * sysdeps/generic/libm-alias-float128.h
26468 (libm_alias_float128_other_r): New macro.
26469 (libm_alias_float128_other): Likewise.
26470 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26471 * sysdeps/generic/libm-alias-ldouble.h
26472 (libm_alias_ldouble_other_r): New macro.
26473 (libm_alias_ldouble_other): Likewise.
26474 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26475 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26476 (libm_alias_double_other_r): New macro.
26477 (libm_alias_double_other): Likewise.
26478 (libm_alias_double_r): Use libm_alias_double_other_r.
26479 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26480 (libm_alias_ldouble_other_r): New macro.
26481 (libm_alias_ldouble_other): Likewise.
26482 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26483 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
26484 [!USE_AS_COMPAT]: Use libm_alias_double_other.
26485 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
26486 [!USE_AS_COMPAT]: Use libm_alias_float_other.
26487 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
26488 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
26489 * math/w_exp2f.c: Use libm_alias_float_other.
26490 * math/w_expf.c: Likewise.
26491 * math/w_log2f.c: Likewise.
26492 * math/w_logf.c: Likewise.
26493 * math/w_powf.c: Likewise.
26494 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
26495 [!__exp2f]: Use libm_alias_float_other.
26496 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
26497 [!__expf]: Use libm_alias_float_other.
26498 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
26499 [!__log2f]: Use libm_alias_float_other.
26500 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
26501 [!__logf]: Use libm_alias_float_other.
26502 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
26503 [!__powf]: Use libm_alias_float_other.
26505 2017-10-10 Florian Weimer <fweimer@redhat.com>
26507 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
26509 (_nss_files_gethostbyname3_r): Call it.
26511 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26513 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
26514 error. Remove default definition of declare_mgen_alias.
26515 [!declare_mgen_alias_r]: Likewise.
26516 * sysdeps/generic/math-type-macros-double.h
26517 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
26518 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
26519 (declare_mgen_alias_r): Likewise.
26520 * sysdeps/generic/math-type-macros-float128.h
26521 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26522 * sysdeps/generic/math-type-macros-ldouble.h
26523 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26524 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
26526 (declare_mgen_alias_r_s): Likewise.
26527 (declare_mgen_alias_r): Likewise.
26528 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
26529 (lgamma_r): Define using libm_alias_double_r.
26530 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
26531 (lgammaf_r): Define using libm_alias_float_r.
26532 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
26533 (lgammal_r): Define using libm_alias_ldouble_r.
26534 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
26535 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26537 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26539 * lib/glob.c (__glob_pattern_type): Remove now-spurious
26540 extern declaration.
26542 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26544 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
26546 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
26549 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
26550 [__cplusplus >= 201103] (__USE_ISOC99): Define.
26551 * math/Makefile (test-math-cxx11): New test.
26552 * math/test-math-cxx11.cc: New file.
26554 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
26556 * login/openpty.c (openpty): Close slave pty file descriptor on error.
26558 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
26559 call to allocate the slave pty file descriptor.
26561 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26563 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
26564 [!__fma] (fma): Define using libm_alias_double.
26565 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
26566 [!__fma] (fma): Define using libm_alias_double.
26568 * sysdeps/ieee754/float128/float128_private.h: Include
26569 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
26570 (libm_alias_ldouble_r): Undefine and redefine.
26571 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
26572 <libm-alias-ldouble.h>.
26573 (asinhl): Define using libm_alias_ldouble.
26574 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
26575 <libm-alias-ldouble.h>.
26576 (atanl): Define using libm_alias_ldouble.
26577 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
26578 <libm-alias-ldouble.h>.
26579 (cbrtl): Define using libm_alias_ldouble.
26580 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
26581 <libm-alias-ldouble.h>.
26582 (ceill): Define using libm_alias_ldouble.
26583 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
26584 <libm-alias-ldouble.h>.
26585 (copysignl): Define using libm_alias_ldouble.
26586 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
26587 <libm-alias-ldouble.h>.
26588 (cosl): Define using libm_alias_ldouble.
26589 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
26590 <libm-alias-ldouble.h>.
26591 (erfl): Define using libm_alias_ldouble.
26593 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
26594 <libm-alias-ldouble.h>.
26595 (expm1l): Define using libm_alias_ldouble.
26596 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
26597 <libm-alias-ldouble.h>.
26598 (fabsl): Define using libm_alias_ldouble.
26599 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
26600 <libm-alias-ldouble.h>.
26601 (floorl): Define using libm_alias_ldouble.
26602 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
26603 <libm-alias-ldouble.h>.
26604 (fmal): Define using libm_alias_ldouble.
26605 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
26606 <libm-alias-ldouble.h>.
26607 (frexpl): Define using libm_alias_ldouble.
26608 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
26609 libm_alias_ldouble.
26610 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
26611 <libm-alias-ldouble.h>.
26612 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
26613 libm_alias_ldouble.
26614 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
26615 <libm-alias-ldouble.h>.
26616 (getpayloadl): Define using libm_alias_ldouble.
26617 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
26618 <libm-alias-ldouble.h>.
26619 (llrintl): Define using libm_alias_ldouble.
26620 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
26621 <libm-alias-ldouble.h>.
26622 (llroundl): Define using libm_alias_ldouble.
26623 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
26624 <libm-alias-ldouble.h>.
26625 (logbl): Define using libm_alias_ldouble.
26626 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
26627 <libm-alias-ldouble.h>.
26628 (lrintl): Define using libm_alias_ldouble.
26629 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
26630 <libm-alias-ldouble.h>.
26631 (lroundl): Define using libm_alias_ldouble.
26632 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
26633 <libm-alias-ldouble.h>.
26634 (modfl): Define using libm_alias_ldouble.
26635 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
26636 <libm-alias-ldouble.h>.
26637 (nearbyintl): Define using libm_alias_ldouble.
26638 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
26639 <libm-alias-ldouble.h>.
26640 (nextafterl): Define using libm_alias_ldouble.
26641 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
26642 <libm-alias-ldouble.h>.
26643 (nextupl): Define using libm_alias_ldouble.
26644 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
26645 <libm-alias-ldouble.h>.
26646 (remquol): Define using libm_alias_ldouble.
26647 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
26648 <libm-alias-ldouble.h>.
26649 (rintl): Define using libm_alias_ldouble.
26650 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
26651 <libm-alias-ldouble.h>.
26652 (roundevenl): Define using libm_alias_ldouble.
26653 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
26654 <libm-alias-ldouble.h>.
26655 (roundl): Define using libm_alias_ldouble.
26656 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
26657 using libm_alias_ldouble.
26658 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
26659 <libm-alias-ldouble.h>.
26660 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
26661 Define using libm_alias_ldouble.
26662 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
26663 <libm-alias-ldouble.h>.
26664 (sincosl): Define using libm_alias_ldouble.
26665 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
26666 <libm-alias-ldouble.h>.
26667 (sinl): Define using libm_alias_ldouble.
26668 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
26669 <libm-alias-ldouble.h>.
26670 (tanhl): Define using libm_alias_ldouble.
26671 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
26672 <libm-alias-ldouble.h>.
26673 (tanl): Define using libm_alias_ldouble.
26674 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
26675 <libm-alias-ldouble.h>.
26676 (totalorderl): Define using libm_alias_ldouble.
26677 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
26678 <libm-alias-ldouble.h>.
26679 (totalordermagl): Define using libm_alias_ldouble.
26680 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
26681 <libm-alias-ldouble.h>.
26682 (truncl): Define using libm_alias_ldouble.
26683 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
26684 libm_alias_ldouble.
26685 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
26686 libm_alias_ldouble.
26687 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
26688 <libm-alias-ldouble.h>.
26689 (weak_alias): Do not undefine and redefine.
26690 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26691 (copysignl): Define with long_double_symbol only if [IS_IN
26693 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
26694 <libm-alias-ldouble.h>.
26695 (weak_alias): Do not undefine and redefine.
26696 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26697 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
26698 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
26699 <libm-alias-ldouble.h>.
26700 (weak_alias): Do not undefine and redefine.
26701 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26702 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
26703 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
26704 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
26705 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
26706 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
26707 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
26708 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
26709 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
26710 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
26711 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
26712 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
26713 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
26714 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
26715 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
26716 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
26717 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
26718 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
26719 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
26720 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
26721 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
26722 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
26723 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
26724 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
26725 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
26726 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
26728 2017-10-06 Carlos O'Donell <carlos@redhat.com>
26731 * malloc/malloc.c (tcache_shutting_down): Use bool type.
26732 (tcache_thread_freeres): Set tcache_shutting_down before
26733 freeing the tcache.
26734 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
26735 * malloc/tst-malloc-tcache-leak.c: New file.
26737 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26739 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
26740 back to powerpc32 file.
26741 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26742 (memrchr): Add __memrchr_power8 to ifunc list.
26743 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
26744 extra bytes for unaligned inputs.
26746 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26748 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
26749 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
26750 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
26751 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26752 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26754 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26756 * sysdeps/arm/libm-test-ulps: Update.
26758 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
26759 <libm-alias-ldouble.h>.
26760 (asinhl): Define using libm_alias_ldouble.
26761 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
26762 <libm-alias-ldouble.h>.
26763 (cbrtl): Define using libm_alias_ldouble.
26764 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
26765 <libm-alias-ldouble.h>.
26766 (copysignl): Define using libm_alias_ldouble.
26767 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
26768 <libm-alias-ldouble.h>.
26769 (cosl): Define using libm_alias_ldouble.
26770 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
26771 <libm-alias-ldouble.h>.
26772 (erfl): Define using libm_alias_ldouble.
26774 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
26775 <libm-alias-ldouble.h>.
26776 (fmal): Define using libm_alias_ldouble.
26777 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
26778 <libm-alias-ldouble.h>.
26779 (frexpl): Define using libm_alias_ldouble.
26780 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
26781 libm_alias_ldouble.
26782 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
26783 <libm-alias-ldouble.h>.
26784 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
26785 libm_alias_ldouble.
26786 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
26787 <libm-alias-ldouble.h>.
26788 (getpayloadl): Define using libm_alias_ldouble.
26789 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
26790 <libm-alias-ldouble.h>.
26791 (llrintl): Define using libm_alias_ldouble.
26792 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
26793 <libm-alias-ldouble.h>.
26794 (llroundl): Define using libm_alias_ldouble.
26795 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
26796 <libm-alias-ldouble.h>.
26797 (lrintl): Define using libm_alias_ldouble.
26798 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
26799 <libm-alias-ldouble.h>.
26800 (lroundl): Define using libm_alias_ldouble.
26801 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
26802 <libm-alias-ldouble.h>.
26803 (modfl): Define using libm_alias_ldouble.
26804 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
26805 <libm-alias-ldouble.h>.
26806 (nextupl): Define using libm_alias_ldouble.
26807 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
26808 <libm-alias-ldouble.h>.
26809 (remquol): Define using libm_alias_ldouble.
26810 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
26811 <libm-alias-ldouble.h>.
26812 (roundevenl): Define using libm_alias_ldouble.
26813 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
26814 <libm-alias-ldouble.h>.
26815 (roundl): Define using libm_alias_ldouble.
26816 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
26817 using libm_alias_ldouble.
26818 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
26819 <libm-alias-ldouble.h>.
26820 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
26821 <libm-alias-ldouble.h>.
26822 (setpayloadsigl): Define using libm_alias_ldouble.
26823 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
26824 <libm-alias-ldouble.h>.
26825 (sincosl): Define using libm_alias_ldouble.
26826 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
26827 <libm-alias-ldouble.h>.
26828 (sinl): Define using libm_alias_ldouble.
26829 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
26830 <libm-alias-ldouble.h>.
26831 (tanhl): Define using libm_alias_ldouble.
26832 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
26833 <libm-alias-ldouble.h>.
26834 (tanl): Define using libm_alias_ldouble.
26835 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
26836 <libm-alias-ldouble.h>.
26837 (totalorderl): Define using libm_alias_ldouble.
26838 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
26839 <libm-alias-ldouble.h>.
26840 (totalordermagl): Define using libm_alias_ldouble.
26841 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
26842 libm_alias_ldouble.
26843 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26844 libm_alias_ldouble.
26846 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26848 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26850 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26851 (__libc_ifunc_impl_list): Likewise.
26852 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26853 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26855 * benchtests/bench-memmove-walk.c: New file.
26856 * benchtests/Makefile (string-benchset): Add it.
26858 * benchtests/bench-memset-walk.c: New file.
26859 * benchtests/Makefile (string-benchset): Add it.
26861 * benchtests/bench-memcpy-walk.c: New file.
26862 * benchtests/Makefile (string-benchset): Add it.
26864 2017-10-05 Florian Weimer <fweimer@redhat.com>
26866 nscd: Eliminate compilation time dependency in the build output.
26867 * nscd/nscd_stat.c (STATDATA_VERSION)
26868 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26869 (STATDATA_VERSION_FULL): New macro definitions.
26870 (compilation): Remove.
26871 (struct statdata): Adjust version member.
26872 (send_stats): Set version from STATDATA_VERSION_FULL.
26873 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26875 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26877 * configure.ac (--enable-add-ons): Remove option.
26878 (machine): Do not mention add-ons in comment.
26879 (LIBC_PRECONFIGURE): Likewise.
26880 (add_ons): Remove variable and sanity checks and logic to locate
26882 (add_ons_automatic): Remove variable.
26883 (configured_add_ons): Likewise.
26884 (add_ons_sfx): Likewise.
26885 (add_ons_pfx): Likewise.
26886 (add_on_subdirs): Likewise.
26887 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26888 consideration of add-ons in Implies handling.
26889 (sysdeps_add_ons): Likewise.
26890 * configure: Regenerated.
26891 * libidn/configure.ac: Remove.
26892 * libidn/configure: Likewise.
26893 * sysdeps/unix/inet/configure.ac: New file.
26894 * sysdeps/unix/inet/configure: New generated file.
26895 * sysdeps/unix/inet/Subdirs: Add libidn.
26896 * Makeconfig (sysdeps-srcdirs): Remove variable.
26897 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26898 ($(common-objpfx)config.status): Do not depend on add-on files.
26899 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26901 (all-subdirs): Do not include $(add-on-subdirs).
26902 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26903 * config.make.in (add-ons): Remove variable.
26904 (add-on-subdirs): Likewise.
26905 (sysdeps-add-ons): Likewise.
26906 * manual/Makefile (add-chapters): Remove.
26907 ($(objpfx)texis): Do not depend on $(add-chapters).
26908 (nonexamples): Do not handle $(add-chapters).
26909 (examples): Do not handle $(add-ons).
26910 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26912 * manual/install.texi (Installation): Do not mention add-ons.
26913 (--enable-add-ons): Do not document configure option.
26914 * INSTALL: Regenerated.
26915 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26916 * manual/maint.texi (Hierarchy Conventions): Do not mention
26918 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26920 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26922 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26923 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26925 2017-10-05 Andreas Schwab <schwab@suse.de>
26928 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26929 (_IO_flush_all_lockp): Always lock list_all_lock.
26930 (_IO_flush_all_linebuffered): Likewise.
26931 (_IO_unbuffer_all): Likewise.
26933 2017-10-05 Florian Weimer <fweimer@redhat.com>
26936 Do not flush stdio streams on abort.
26937 * stdlib/abort.c (fflush): Remove macro definition.
26938 (abort): Remove stages related to stdio flushing.
26940 2017-10-05 Florian Weimer <fweimer@redhat.com>
26942 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26944 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26946 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26948 2017-10-05 Florian Weimer <fweimer@redhat.com>
26950 * support/support_format_hostent.c (support_format_hostent): Add
26951 more error information for NETDB_INTERNAL.
26953 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26955 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26956 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26957 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26958 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26959 AC_DEFINE if multi-arch is enabled.
26960 * sysdeps/i386/configure: Regenerated.
26962 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26964 * Makeconfig (+link-static-before-libc): Use
26965 $(DEFAULT-LDFLAGS-$(@F)).
26966 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26967 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26968 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26970 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26972 * elf/Makefile (tests): Add tst-main1.
26973 (modules-names): Add tst-main1mod.
26974 ($(objpfx)tst-main1): New.
26975 (CRT-tst-main1): Likewise.
26976 (LDFLAGS-tst-main1): Likewise.
26977 (LDLIBS-tst-main1): Likewise.
26978 (tst-main1mod.so-no-z-defs): Likewise.
26979 * elf/tst-main1.c: New file.
26980 * elf/tst-main1mod.c: Likewise.
26982 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26984 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26986 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26988 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26989 (fma): Define using libm_alias_double.
26990 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26991 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26993 (fmal): Do not define as compat symbol here.
26994 * sysdeps/alpha/fpu/s_fma.c: New file.
26996 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26998 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27000 2017-10-04 Joseph Myers <joseph@codesourcery.com>
27003 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27005 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27007 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27008 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27009 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27010 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27012 Include <math_ldbl_opt.h>
27013 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27015 (compat_symbol): Undefine and redefine.
27016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27018 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27019 (compat_symbol): Undefine and redefine.
27020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27021 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27022 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27023 GLIBC_2_1 for libm.
27024 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27025 GLIBC_2.0 copysignl symbol.
27026 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27027 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27029 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27031 2017-10-04 Florian Weimer <fweimer@redhat.com>
27033 * scripts/check-local-headers.sh: Ignore nspr4 header file
27034 directory in addition to nspr.
27036 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
27039 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27040 * configure: Regenerate.
27041 * crypt/Makefile (nss-cpp-flags): New variable.
27042 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27043 (CPPFLAGS-md5-crypt.c): Use it.
27044 * scripts/check-local-headers.sh: Ignore nspr header file
27047 2017-10-04 Andreas Schwab <schwab@suse.de>
27049 * nis/Makefile (services): Remove compat.
27050 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27051 ($(objpfx)libnss_compat.so): Remove rule.
27052 * nis/Versions (libnss_compat): Remove.
27053 * nss/Makefile (services): Add compat.
27054 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27055 * nss/Versions (libnss_compat): Define.
27056 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27057 Don't include <rpc/types.h>. Replace bool_t by bool.
27058 * nss/nss_compat/compat-initgroups.c: Likewise.
27059 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27060 instead of <rpcsrv/ypclnt.h>.
27061 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27062 yp_get_default_domain.
27063 * nss/nss_compat/compat-pwd.c: Likewise.
27064 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27065 yp_get_default_domain.
27066 * nss/nss_compat/nisdomain.c: New file.
27067 * nss/nss_compat/nisdomain.h: Likewise.
27069 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27072 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27073 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27075 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27078 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27079 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27081 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27083 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27084 "movl main@GOTOFF(%ebx), %eax".
27086 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27088 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27089 allow undefined _DYNAMIC in PIE libc.a.
27090 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27093 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27095 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27098 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27100 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27103 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27105 * math/test-math-iscanonical.cc (error): Replace bool with int.
27107 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27109 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27110 (modf): Define using libm_alias_double, only if [!__modf].
27111 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27112 <libm-alias-double.h>.
27113 (modf): Define using libm_alias_double, only if [!__modf].
27114 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27115 compat symbol here.
27116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27117 (weak_alias): Do not undefine and redefine.
27118 (strong_alias): Likewise.
27119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27120 (weak_alias): Likewise.
27121 (strong_alias): Likewise.
27123 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27124 (logb): Define using libm_alias_double, only if [!__logb].
27125 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27126 <libm-alias-double.h>.
27127 (logb): Define using libm_alias_double, only if [!__logb].
27128 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27130 (weak_alias): Do not undefine and redefine.
27131 (strong_alias): Likewise.
27132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27133 (weak_alias): Likewise.
27134 (strong_alias): Likewise.
27136 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27138 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27139 Check SHARED instead PIC.
27141 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27143 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27144 [!__fmaf] (fmaf): Define using libm_alias_float.
27146 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27147 (frexp): Define using libm_alias_double.
27148 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27149 <libm-alias-double.h>.
27150 (frexp): Define using libm_alias_double.
27151 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27152 compat symbol here.
27154 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27157 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27158 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27159 (CFLAGS-test-math-iscanonical.cc): New variable.
27160 * math/test-math-iscanonical.cc: New file.
27161 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27162 Provide a C++ implementation based on function overloading,
27163 rather than using __MATH_TG, which uses C-only builtins.
27164 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27166 * sysdeps/powerpc/powerpc64le/Makefile
27167 (CFLAGS-test-math-iscanonical.cc): New variable.
27169 2017-10-03 Joseph Myers <joseph@codesourcery.com>
27171 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27172 (ceil): Define using libm_alias_double.
27173 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27174 (floor): Define using libm_alias_double.
27175 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27176 <libm-alias-double.h>.
27177 (llround): Define using libm_alias_double.
27178 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27179 <libm-alias-double.h>.
27180 (lround): Define using libm_alias_double.
27181 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27182 <libm-alias-double.h>.
27183 (nearbyint): Define using libm_alias_double.
27184 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27185 <libm-alias-double.h>.
27186 (remquo): Define using libm_alias_double.
27187 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27188 (rint): Define using libm_alias_double.
27189 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27190 (round): Define using libm_alias_double.
27191 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27192 (trunc): Define using libm_alias_double.
27193 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27194 <libm-alias-double.h>.
27195 (ceil): Define using libm_alias_double.
27196 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27197 <libm-alias-double.h>.
27198 (floor): Define using libm_alias_double.
27199 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27200 <libm-alias-double.h>.
27201 (llround): Define using libm_alias_double.
27202 [_LP64] (lround): Likewise.
27203 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27204 <libm-alias-double.h>.
27205 [!_LP64] (lround): Define using libm_alias_double.
27206 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27207 <libm-alias-double.h>.
27208 (nearbyint): Define using libm_alias_double.
27209 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27210 <libm-alias-double.h>.
27211 (remquo): Define using libm_alias_double.
27212 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27213 <libm-alias-double.h>.
27214 (rint): Define using libm_alias_double.
27215 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27216 <libm-alias-double.h>.
27217 (round): Define using libm_alias_double.
27218 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27219 <libm-alias-double.h>.
27220 (trunc): Define using libm_alias_double.
27221 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27222 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27223 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27224 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27225 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27226 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27227 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27228 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27229 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27231 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27233 * math/w_remainder.c: New file.
27234 * math/w_remainderf.c: New file.
27235 * math/w_remainderl.c: New file.
27237 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27239 * elf/rtld.c (BOOTSTRAP_MAP): New.
27240 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27241 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27243 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27245 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27248 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27250 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27251 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27252 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27253 rtld_hidden_data_ver): Define to empty.
27254 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27255 __assert_perror_fail): Likewise.
27256 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27257 (__rewinddir): Likewise.
27258 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27259 (__profile_frequency): Likewise.
27260 * include/setjmp.h (__sigsetjmp): Likewise.
27261 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27262 __libc_sigaction): Likewise.
27263 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27264 not set hidden attribute.
27265 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27266 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27267 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27268 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27269 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27270 __fxstatat64): Likewise.
27271 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27272 (__uname): Likewise.
27273 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27274 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27275 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27276 (NO_RTLD_HIDDEN): Set.
27277 * sysdeps/mach/hurd/configure: Refresh.
27278 * config.h.in: Refresh.
27280 2017-10-02 Joseph Myers <joseph@codesourcery.com>
27282 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27283 (atan): Define using libm_alias_double.
27284 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27285 (tan): Define using libm_alias_double.
27286 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27287 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
27289 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
27290 define as weak alias of __atan. Do not define any aliases if
27292 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
27293 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
27294 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
27295 as weak alias of __tan. Do not define any aliases if [__tan].
27296 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
27297 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
27298 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
27300 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
27301 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
27302 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
27303 and define as weak alias of __atan.
27304 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
27306 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
27307 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
27308 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
27309 define as weak alias of __tan.
27311 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27313 * math/w_lgamma.c: New file.
27314 * math/w_lgammaf.c: New file.
27315 * math/w_lgammal.c: New file.
27317 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27319 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
27320 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
27321 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
27322 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
27323 * sysdeps/ieee754/flt-32/w_logf.c: New file.
27324 * sysdeps/ieee754/flt-32/w_powf.c: New file.
27325 * sysdeps/i386/fpu/w_log2f.c: New file.
27326 * sysdeps/i386/fpu/w_logf.c: New file.
27327 * sysdeps/i386/fpu/w_powf.c: New file.
27328 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
27329 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
27330 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
27332 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27333 H.J. Lu <hongjiu.lu@intel.com>
27335 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
27336 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
27337 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
27338 * sysdeps/ieee754/flt-32/w_expf.c: New file.
27339 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
27341 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
27342 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
27343 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
27344 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
27345 * sysdeps/i386/fpu/w_exp2f.c: New file.
27346 * sysdeps/i386/fpu/w_expf.c: New file.
27347 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
27348 * sysdeps/x86_64/fpu/w_expf.c: New file.
27350 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27352 * math/Versions (logf): New libm symbol at GLIBC_2.27.
27355 * math/w_log2f.c: New file.
27356 * math/w_logf.c: New file.
27357 * math/w_powf.c: New file.
27358 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
27359 * math/w_logf_compat.c (__logf_compat): Likewise.
27360 * math/w_powf_compat.c (__powf_compat): Likewise.
27361 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
27362 * sysdeps/ia64/fpu/e_logf.S: Likewise.
27363 * sysdeps/ia64/fpu/e_powf.S: Likewise.
27364 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27365 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27366 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27367 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27368 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27369 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27370 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27371 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27372 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27373 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27374 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27375 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27384 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27385 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27386 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27387 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27388 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27393 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27394 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27395 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27397 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27399 * sysdeps/powerpc/powerpc64/multiarch/Makefile
27400 (sysdep_routines): Add memrchr_power8.
27401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27402 (memrchr): Add __memrchr_power8 to list of memrchr functions.
27403 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
27405 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27406 (memrchr): Add __memrchr_power8 to ifunc list.
27407 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27409 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27412 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27413 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27415 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27416 (__posix_fallocate64_l64): Likewise.
27418 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27421 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27422 (__sched_setaffinity_new): Add libc_hidden_proto and
27425 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27428 * include/glob.h (__glob64): Add libc_hidden_proto.
27429 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27432 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27435 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27438 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27441 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27443 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27446 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27449 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27452 * csu/version.c (__libc_print_version): Add attribute_hidden.
27454 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27457 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27459 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27462 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27464 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27467 * nscd/nscd_helper.c (__nis_hash): New prototype.
27469 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27472 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27473 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27475 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27476 * termios/tcgetattr.c (__tcgetattr): Likewise.
27478 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27481 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
27482 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
27483 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
27484 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
27485 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
27487 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27490 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
27492 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27495 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
27496 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
27498 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27501 * intl/hash-string.h (__hash_string): Add attribute_hidden.
27503 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27506 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
27507 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
27509 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27512 * include/ifreq.h: New file.
27513 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
27514 (__ifreq): Likewise.
27515 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
27516 (__ifreq): Likewise.
27518 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27521 * include/idna.h: New file.
27522 * inet/getnameinfo.c: Include <idna.h> instead of
27524 (__idna_to_unicode_lzlz): Removed.
27525 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
27527 (__idna_to_ascii_lz): Removed.
27528 (__idna_to_unicode_lzlz): Likewise.
27530 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27533 * include/plural-exp.h: New file.
27534 * intl/plural-exp.c: Include <plural-exp.h> instead of
27537 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27540 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
27541 "getsourcefilter.h".
27542 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
27543 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
27544 "getsourcefilter.h".
27545 (__get_sol): Removed.
27547 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27550 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
27552 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
27554 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27557 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
27560 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27563 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
27565 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27568 * include/search.h (__tdestroy): Add libc_hidden_proto.
27569 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
27571 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27574 * include/assert.h (__assert_fail_base): Add attribute_hidden.
27576 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27579 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
27582 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27585 * include/signal.h (__kill): Add libc_hidden_proto.
27586 (__sigblock): Likewise.
27587 (__sigprocmask): Likewise.
27588 (__sigaltstack): Likewise.
27589 * signal/kill.c (__kill): Add libc_hidden_def.
27590 * signal/sigblock.c (__sigblock): Likewise.
27591 * signal/sigprocmask.c (__sigprocmask): Likewise.
27592 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
27593 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27594 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27595 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27596 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
27598 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27600 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27601 (__sigprocmask): Likewise.
27602 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
27604 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27605 (__sigprocmask): Likewise.
27606 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27609 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27612 * include/string.h (__strsep): Add libc_hidden_proto.
27613 * string/strsep.c (__strsep): Add libc_hidden_def.
27615 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27618 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
27620 (__spawni): Likewise.
27622 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27625 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
27626 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
27629 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27632 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
27634 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27637 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
27638 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
27639 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
27640 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
27641 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
27643 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
27644 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
27646 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27649 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
27650 (__dcigettext): Likewise.
27652 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27655 * include/sys/sysinfo.h (__get_nprocs_conf): Add
27657 (__get_nprocs): Likewise.
27658 (__get_phys_pages): Likewise.
27659 (__get_avphys_pages): Likewise.
27660 (__get_child_max): Add attribute_hidden.
27661 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
27662 (__get_nprocs): Likewise.
27663 (__get_phys_pages): Likewise.
27664 (__get_avphys_pages): Likewise.
27665 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
27667 (__get_nprocs): Likewise.
27668 (__get_phys_pages): Likewise.
27669 (__get_avphys_pages): Likewise.
27670 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
27672 (__get_nprocs_conf): Likewise.
27673 (__get_phys_pages): Likewise.
27674 (__get_avphys_pages): Likewise.
27676 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27679 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
27681 (__netlink_close): Likewise.
27682 (__netlink_free_handle): Likewise.
27683 (__netlink_request): Likewise.
27685 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27688 * include/rpc/rpc.h (__rpc_thread_variables): Add
27690 (__rpc_thread_svc_cleanup): Likewise.
27691 (__rpc_thread_clnt_cleanup): Likewise.
27692 (__rpc_thread_key_cleanup): Likewise.
27694 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27697 * include/sys/uio.h (__readv): Add libc_hidden_proto.
27698 (__writev): Likewise.
27699 * misc/readv.c (__readv): Add libc_hidden_def.
27700 * misc/writev.c (__writev): Likewise.
27701 * sysdeps/posix/readv.c (__readv): Likewise.
27702 * sysdeps/posix/writev.c (__writev): Likewise.
27703 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
27704 (__readv): Likewise.
27705 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
27706 (__writev): Likewise.
27708 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27711 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
27712 (__regcomp): Add libc_hidden_proto.
27713 (__regexec): Likewise.
27714 (__regfree): Likewise.
27715 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
27716 (__regfree): Likewise.
27717 * posix/regexec.c (__regexec): Likewise.
27719 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27722 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
27723 (__getutent): Likewise.
27724 (__getutid): Likewise.
27725 (__getutline): Likewise.
27726 (__pututline): Likewise.
27727 (__getutent_r): Likewise.
27728 (__getutid_r): Likewise.
27729 (__getutline_r): Likewise.
27730 (__utmpname): Add attribute_hidden.
27731 (__setutent): Likewise.
27732 (__endutent): Likewise.
27733 * login/getutent.c (__getutent): Add libc_hidden_def.
27734 * login/getutent_r.c (__getutent_r): Likewise.
27735 (__pututline): Likewise.
27736 * login/getutid.c (__getutid): Likewise.
27737 * login/getutid_r.c (__getutid_r): Likewise.
27738 * login/getutline.c (__getutline): Likewise.
27739 * login/getutline_r.c (__getutline_r): Likewise.
27740 * login/updwtmp.c (__updwtmp): Likewise.
27742 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27745 * include/dirent.h (__opendir): Always add attribute_hidden.
27746 (__fdopendir): Likewise.
27747 (__closedir): Likewise.
27748 (__readdir): Likewise.
27749 (__readdir64): Add libc_hidden_proto.
27750 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
27751 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
27752 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
27753 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
27756 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27759 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
27760 * include/netdb.h (__gethostbyaddr_r): Likewise.
27761 (__gethostbyname_r): Likewise.
27762 (__gethostbyname2_r): Likewise.
27763 (__getnetbyaddr_r): Likewise.
27764 (__getnetbyname_r): Likewise.
27765 (__getservbyname_r): Likewise.
27766 (__getservbyport_r): Likewise.
27767 (__getprotobyname_r): Likewise.
27768 (__getprotobynumber_r): Likewise.
27769 (__getnetgrent_r): Likewise.
27770 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
27771 (__getrpcbynumber_r): Likewise.
27772 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
27774 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27777 * include/stdio.h (__fcloseall): Add attribute_hidden.
27778 (__getline): Likewise.
27779 (__path_search): Likewise.
27780 (__gen_tempname): Likewise.
27781 (__libc_message): Likewise.
27782 (__flockfile): Likewise.
27783 (__funlockfile): Likewise.
27784 (__fxprintf): Likewise.
27785 (__fxprintf_nocancel): Likewise.
27787 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27790 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
27791 (__sgetsgent_r): Likewise.
27793 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27796 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
27797 (__statfs64): Likewise.
27798 (__fstatfs64): Likewise.
27799 * include/sys/statvfs.h (__statvfs64): Likewise.
27800 (__fstatvfs64): Likewise.
27801 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
27802 (__statfs_filesize_max): Likewise.
27803 (__statfs_symlinks): Likewise.
27804 (__statfs_chown_restricted): Likewise.
27806 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27809 * include/time.h (__tzstring): Add attribute_hidden.
27810 (__tzfile_read): Likewise.
27811 (__tzfile_compute): Likewise.
27812 (__tzfile_default): Likewise.
27813 (__tzset_parse_tz): Likewise.
27814 (__offtime): Likewise.
27815 (__asctime_r): Likewise.
27816 (__tzset): Likewise.
27817 (__tz_convert): Likewise.
27818 (__getdate_r): Likewise.
27819 (__getclktck): Likewise.
27821 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27824 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
27825 (__nscd_unmap): Likewise.
27826 (__nscd_cache_search): Likewise.
27827 (__nscd_get_nl_timestamp): Likewise.
27828 (__nscd_getpwnam_r): Likewise.
27829 (__nscd_getpwuid_r): Likewise.
27830 (__nscd_getgrnam_r): Likewise.
27831 (__nscd_getgrgid_r): Likewise.
27832 (__nscd_gethostbyname_r): Likewise.
27833 (__nscd_gethostbyname2_r): Likewise.
27834 (__nscd_gethostbyaddr_r): Likewise.
27835 (__nscd_getai): Likewise.
27836 (__nscd_getgrouplist): Likewise.
27837 (__nscd_getservbyname_r): Likewise.
27838 (__nscd_getservbyport_r): Likewise.
27839 (__nscd_innetgr): Likewise.
27840 (__nscd_setnetgrent): Likewise.
27842 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27845 * include/gmp.h: Declare internal functions only if _ISOMAC is
27847 (__mpn_extract_double): Add attribute_hidden.
27848 (__mpn_extract_long_double): Likewise.
27849 (__mpn_extract_float128): Likewise.
27850 (__mpn_construct_float): Likewise.
27851 (__mpn_construct_double): Likewise.
27852 (__mpn_construct_long_double): Likewise.
27853 (__mpn_construct_float128): Likewise.
27854 (mpn_add_1): Likewise.
27855 (mpn_addmul_1): Likewise.
27856 (mpn_add_n): Likewise.
27857 (mpn_cmp): Likewise.
27858 (mpn_divrem): Likewise.
27859 (mpn_lshift): Likewise.
27860 (mpn_mul): Likewise.
27861 (mpn_mul_1): Likewise.
27862 (mpn_rshift): Likewise.
27863 (mpn_sub_1): Likewise.
27864 (mpn_submul_1): Likewise.
27865 (mpn_sub_n): Likewise.
27867 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27870 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27871 (__wcscat): Likewise.
27872 (__btowc): Likewise.
27873 (__wcrtomb): Likewise.
27874 (__mbsrtowcs): Likewise.
27875 (__wcsrtombs): Likewise.
27876 (__mbsnrtowcs): Likewise.
27877 (__wcsnrtombs): Likewise.
27878 (__wcsncpy): Likewise.
27879 (__wcpncpy): Likewise.
27880 (__wmemcpy): Likewise.
27881 (__wmempcpy): Likewise.
27882 (__wmemmove): Likewise.
27883 (__wcschrnul): Likewise.
27884 (__vfwscanf): Likewise.
27885 (__vswprintf): Likewise.
27886 (__fwprintf): Likewise.
27887 (__vfwprintf): Likewise.
27889 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27892 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27893 (__getgrgid_r): Likewise.
27894 (__getgrnam_r): Likewise.
27895 * include/pwd.h (__getpwuid_r): Likewise.
27896 (__getpwnam_r): Likewise.
27897 (__fgetpwent_r): Likewise.
27898 * include/shadow.h (__getspnam_r): Likewise.
27899 (__sgetspent_r): Likewise.
27900 (__fgetspent_r): Likewise.
27902 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27905 * include/unistd.h (__access): Add attribute_hidden.
27906 (__lseek64): Likewise.
27907 (__libc_pread64): Likewise.
27908 (__pipe2): Likewise.
27909 (__sleep): Likewise.
27910 (__chdir): Likewise.
27911 (__fchdir): Likewise.
27912 (__getcwd): Likewise.
27913 (__rmdir): Likewise.
27914 (__execvpe): Likewise.
27915 (__execve): Likewise.
27916 (__setsid): Likewise.
27917 (__getuid): Likewise.
27918 (__geteuid): Likewise.
27919 (__getgid): Likewise.
27920 (__getegid): Likewise.
27921 (__getgroups): Likewise.
27922 (__group_member): Likewise.
27923 (__ttyname_r): Likewise.
27924 (__isatty): Likewise.
27925 (__readlink): Likewise.
27926 (__unlink): Likewise.
27927 (__gethostname): Likewise.
27928 (__profil): Likewise.
27929 (__getdtablesize): Likewise.
27931 (__ftruncate): Likewise.
27932 (__ftruncate64): Likewise.
27934 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27937 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27938 * argp/argp-fs-xinl.c: Likewise.
27939 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27940 * argp/argp-parse.c: Include <argp.h>.
27941 * argp/argp-xinl.c: Likewise.
27942 * include/argp-fmtstream.h: New file.
27943 * include/argp.h (__argp_error): Add attribute_hidden.
27944 (__argp_failure): Likewise.
27945 (__argp_input): Likewise.
27946 (__argp_state_help): Likewise.
27948 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27951 * include/wchar.h (____wcstof_l_internal): New prototype.
27952 (____wcstod_l_internal): Likewise.
27953 (____wcstold_l_internal): Likewise.
27954 (____wcstol_l_internal): Likewise.
27955 (____wcstoul_l_internal): Likewise.
27956 (____wcstoll_l_internal): Likewise.
27957 (____wcstoull_l_internal): Likewise.
27958 (____wcstof128_l_internal): Likewise.
27959 * sysdeps/ieee754/float128/wcstof128.c
27960 (____wcstof128_l_internal): Removed.
27961 * sysdeps/ieee754/float128/wcstof128_l.c
27962 (____wcstof128_l_internal): Likewise.
27963 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27964 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27965 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27966 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27967 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27968 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27969 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27970 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27971 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27972 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27974 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27977 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27978 instead of <sys/statvfs.h>.
27979 (__internal_statvfs): Removed.
27980 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27981 instead of <sys/statvfs.h>.
27982 (__internal_statvfs64): Removed.
27983 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27984 "internal_statvfs.h" instead of <sys/statvfs.h>.
27985 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27986 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27987 instead of <sys/statvfs.h>.
27988 (__internal_statvfs): Removed.
27989 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27990 instead of <sys/statvfs.h>.
27991 (__internal_statvfs64): Removed.
27993 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27996 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27997 (__gconv_close): Likewise.
27998 (__gconv): Likewise.
27999 (__gconv_find_transform): Likewise.
28000 (__gconv_lookup_cache): Likewise.
28001 (__gconv_compare_alias_cache): Likewise.
28002 (__gconv_load_cache): Likewise.
28003 (__gconv_get_path): Likewise.
28004 (__gconv_close_transform): Likewise.
28005 (__gconv_release_cache): Likewise.
28006 (__gconv_find_shlib): Likewise.
28007 (__gconv_release_shlib): Likewise.
28008 (__gconv_get_builtin_trans): Likewise.
28009 (__gconv_compare_alias): Likewise.
28010 * include/dlfcn.h (_dlerror_run): Likewise.
28011 * include/stdio.h (__fortify_fail_abort): Likewise.
28012 * include/time.h (__tz_compute): Likewise.
28013 (__strptime_internal): Likewise.
28014 * intl/gettextP.h (_nl_find_domain): Likewise.
28015 (_nl_load_domain): Likewise.
28016 (_nl_find_msg): Likewise.
28017 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28018 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28019 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28020 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28021 (__gai_find_request): Likewise.
28022 (__gai_remove_request): Likewise.
28023 (__gai_notify): Likewise.
28024 (__gai_notify_only): Likewise.
28025 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28026 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28027 (_dl_non_dynamic_init): Likewise.
28028 (_dl_aux_init): Likewise.
28029 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28030 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28032 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28033 (__wcsmbs_clone_conv): Likewise.
28034 (__wcsmbs_named_conv): Likewise.
28036 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28039 * include/stdlib.h (__random): Add attribute_hidden.
28040 (__random_r): Likewise.
28041 (__srandom_r): Likewise.
28042 (__initstate_r): Likewise.
28043 (__setstate_r): Likewise.
28044 (__erand48_r): Likewise.
28045 (__nrand48_r): Likewise.
28046 (__jrand48_r): Likewise.
28047 (__srand48_r): Likewise.
28048 (__seed48_r): Likewise.
28049 (__lcong48_r): Likewise.
28050 (__drand48_iterate): Likewise.
28051 (__setenv): Likewise.
28052 (__unsetenv): Likewise.
28053 (__clearenv): Likewise.
28054 (__ptsname_r): Likewise.
28055 (__posix_openpt): Likewise.
28056 (__add_to_environ): Likewise.
28057 (__realpath): Add libc_hidden_proto.
28058 (__ecvt_r): Likewise.
28059 (__fcvt_r): Likewise.
28060 (__qecvt_r): Likewise.
28061 (__qfcvt_r): Likewise.
28062 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28063 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28065 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28068 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28069 * include/time.h (__mktime_internal): Likewise.
28070 * libio/iolibio.h (__fopen_internal): Likewise.
28072 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
28074 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28076 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28077 Correct offset used to restore PIC register.
28079 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
28082 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28083 code to load address of __getcontext_ret when generating PIC code.
28085 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28087 * elf/Makefile (tests-static-internal): Add
28088 tst-tls1-static-non-pie.
28089 (LDFLAGS-tst-tls1-static-non-pie): New.
28090 * elf/tst-tls1-static-non-pie.c: New file.
28092 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28094 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28095 (asinh): Define using libm_alias_double.
28096 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28097 (cbrt): Define using libm_alias_double.
28098 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28099 <libm-alias-double.h>.
28100 (copysign): Define using libm_alias_double.
28101 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28102 (erf): Define using libm_alias_double.
28104 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28105 (expm1): Define using libm_alias_double.
28106 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28107 (fabs): Define using libm_alias_double.
28108 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28110 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28111 <libm-alias-double.h>.
28112 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28114 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28115 <libm-alias-double.h>.
28116 (getpayload): Define using libm_alias_double.
28117 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28118 <libm-alias-double.h>.
28119 (llrint): Define using libm_alias_double.
28120 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28121 (lrint): Define using libm_alias_double.
28122 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28123 <libm-alias-double.h>.
28124 (nextup): Define using libm_alias_double.
28125 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28126 <libm-alias-double.h>.
28127 (roundeven): Define using libm_alias_double.
28128 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28130 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28131 <libm-alias-double.h>.
28132 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28133 using libm_alias_double.
28134 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28135 (cos): Define using libm_alias_double.
28137 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28138 <libm-alias-double.h>.
28139 (sincos): Define using libm_alias_double.
28140 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28141 (tanh): Define using libm_alias_double.
28142 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28143 <libm-alias-double.h>.
28144 (totalorder): Define using libm_alias_double.
28145 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28146 <libm-alias-double.h>.
28147 (totalordermag): Define using libm_alias_double.
28148 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28150 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28152 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28153 <libm-alias-double.h>.
28154 (getpayload): Define using libm_alias_double.
28155 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28156 <libm-alias-double.h>.
28157 (roundeven): Define using libm_alias_double.
28158 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28159 <libm-alias-double.h>.
28160 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28161 <libm-alias-double.h>.
28162 (totalorder): Define using libm_alias_double.
28163 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28164 <libm-alias-double.h>.
28165 (totalordermag): Define using libm_alias_double.
28166 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28167 libc compat symbol here.
28168 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28169 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28170 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28171 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28172 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28173 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28174 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28175 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28176 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28177 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28179 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28181 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28182 _dl_relocate_static_pie instead of _dl_start to compute load
28183 address in static PIE. Return 0 if _DYNAMIC is undefined for
28186 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28188 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28189 _DYNAMIC is undefined for static executable.
28191 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28193 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28195 2017-09-29 Joseph Myers <joseph@codesourcery.com>
28197 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28199 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28201 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28202 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28203 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28204 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28205 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28206 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28207 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28208 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28209 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28210 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28211 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28212 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28213 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28214 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28215 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28216 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28217 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28219 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28221 * math/bits/cmathcalls.h (cimag): Remove inline.
28222 (creal): Remove inline.
28223 (conj): Remove inline.
28225 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28227 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28228 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28229 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28230 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28231 (issignalingf_inline): Likewise.
28232 (POWF_LOG2_TABLE_BITS): Likewise.
28233 (POWF_LOG2_POLY_ORDER): Likewise.
28234 (POWF_SCALE_BITS): Likewise.
28235 (POWF_SCALE): Likewise.
28236 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28237 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28238 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28240 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28242 * math/Makefile (type-float-routines): Add e_log2f_data.
28243 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28244 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28245 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28246 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28247 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28248 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28249 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28251 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28253 * math/Makefile (type-float-routines): Add e_logf_data.
28254 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28255 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28256 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28257 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28258 * sysdeps/i386/fpu/e_logf_data.c: New file.
28259 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28260 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28262 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28264 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28265 undefined _DYNAMIC in PIE libc.a.
28266 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28269 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28271 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28272 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28273 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28274 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28275 (__signbit): Remove.
28276 (__signbitl): Remove.
28277 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28278 (__signbit): Remove.
28279 (__signbitl): Remove.
28280 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28281 (__signbit): Remove.
28282 (__signbitl): Remove.
28283 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28284 (__signbit): Remove.
28285 (__signbitl): Remove.
28286 * sysdeps/tile/bits/mathinline.h: Delete file.
28287 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
28288 (__signbit): Remove.
28289 (__signbitl): Remove.
28291 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28293 * math/math.h: Improve handling of C99 isgreater macros.
28294 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
28295 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28296 * sysdeps/powerpc/bits/mathinline.h: Likewise.
28297 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28298 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
28300 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
28302 * sysdeps/aarch64/libm-test-ulps: Update.
28304 2017-09-28 Joseph Myers <joseph@codesourcery.com>
28307 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28308 math_opt_barrier on argument when doing arithmetic on it.
28309 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28310 Likewise. Use math_force_eval not math_opt_barrier after
28312 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
28313 math_opt_barrier on argument when doing arithmetic on it.
28314 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28317 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
28319 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
28321 (__freeifaddrs): Likewise.
28323 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28325 * include/dirent.h (__dirfd): New declaration.
28326 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
28328 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
28329 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
28330 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
28331 * include/unistd.h (__revoke): New declaration.
28332 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
28334 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28335 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
28337 * include/dirent.h (__seekdir): New declaration.
28338 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
28339 redefine as weak alias.
28340 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
28342 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
28343 and use libc_hidden_def on them.
28344 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
28346 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
28347 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
28348 instead of getifaddrs and freeifaddrs.
28350 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28353 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
28354 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
28355 (__dso_handle): Remove declaration.
28356 * dlfcn/tstatexit.c (__dso_handle): Removed.
28357 (main): Don't check __dso_handle.
28358 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
28359 (main): Don't check __dso_handle.
28360 * include/dso_handle.h: New file.
28361 * malloc/mtrace.c: Include <dso_handle.h>.
28362 (mtrace): Pass __dso_handle directly.
28363 * nptl/pthread_atfork.c: Include <dso_handle.h>.
28364 (__dso_handle): Remove declaration.
28365 (__pthread_atfork): Pass __dso_handle directly.
28366 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
28367 (__dso_handle): Removed.
28368 * posix/wordexp-test.c: Include <dso_handle.h>.
28369 (__dso_handle): Remove declaration.
28370 (__app_register_atfork): Pass __dso_handle directly.
28371 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
28372 (__dso_handle): Remove declaration.
28373 (at_quick_exit): Pass __dso_handle directly.
28374 * stdlib/atexit.c: Include <dso_handle.h>.
28375 (__dso_handle): Remove declaration.
28376 (atexit): Pass __dso_handle directly.
28377 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
28378 (__dso_handle): Removed.
28380 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28382 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
28385 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
28387 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
28388 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
28389 values to correct default value for given type.
28391 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28394 * elf/Makefile (tests): Add tst-debug1.
28395 ($(objpfx)tst-debug1): New.
28396 ($(objpfx)tst-debug1.out): Likewise.
28397 ($(objpfx)tst-debug1mod1.so): Likewise.
28398 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
28399 with p_filesz == 0.
28400 * elf/tst-debug1.c: New file.
28402 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28404 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28405 Define using __ifunc.
28407 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28409 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28412 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28415 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28417 2017-09-26 Florian Weimer <fweimer@redhat.com>
28419 * resolv/Makefile (tests-internal): Fix typo in comment.
28421 2017-09-26 Florian Weimer <fweimer@redhat.com>
28423 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28425 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28427 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28428 Use an union instead of a max_align_t array for __space,
28429 so that __space is the same size on all platforms.
28430 * malloc/scratch_buffer_grow_preserve.c
28431 (__libc_scratch_buffer_grow_preserve): Likewise.
28434 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28436 * posix/Makefile (routines): Add glob-lstat-compat and
28437 glob64-lstat-compat.
28438 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28439 * posix/glob-lstat-compat.c: New file.
28440 * posix/glob64-lstat-compat.c: Likewise.
28441 * posix/tst-glob_lstat_compat.c: Likewise.
28442 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28443 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28444 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28445 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28447 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28448 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28449 * posix/glob.c (glob_lstat): New function.
28450 (glob): Rename to __glob and add versioned symbol to 2.27.
28451 (glob_in_dir): Use glob_lstat.
28452 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28453 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28454 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28456 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28457 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28458 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28459 gl_lstat on glob call.
28460 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28461 and glob64 symbols.
28462 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28463 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28464 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28465 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28466 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28467 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28468 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28469 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28470 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28471 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28472 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28473 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28476 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28478 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28479 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28480 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
28481 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28482 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
28484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
28485 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28486 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
28487 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
28489 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
28491 * configure.ac (AS): Require binutils 2.25 or later.
28492 * configure: Regenerated.
28494 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28497 * stdlib/test-atexit-race-common.c (do_test): Minimize required
28500 2017-09-25 DJ Delorie <dj@redhat.com>
28503 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
28506 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
28508 * sysdeps/ieee754/dbl-64/sincos32.h
28509 [SINCCOS32_H]: Remove define.
28510 [SINCOS32_H]: Define.
28512 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28514 * math/Versions (expf): New libm symbol at GLIBC_2.27.
28516 * math/w_exp2f.c: New file.
28517 * math/w_expf.c: New file.
28518 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
28519 * math/w_expf_compat.c (__expf_compat): Likewise.
28520 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
28521 * sysdeps/ia64/fpu/e_expf.S: Likewise.
28522 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28523 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28524 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28525 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28526 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28527 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28528 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28529 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28530 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28531 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28532 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28533 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28542 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28543 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28544 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28545 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28546 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28551 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28552 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28553 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28555 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28557 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
28558 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
28559 (roundtoint, converttoint): Likewise.
28560 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
28561 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
28562 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
28563 * sysdeps/ieee754/flt-32/math_config.h: New file.
28564 * sysdeps/ieee754/flt-32/math_errf.c: New file.
28565 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
28566 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
28567 * sysdeps/i386/fpu/math_errf.c: New file.
28568 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
28569 * sysdeps/ia64/fpu/math_errf.c: New file.
28570 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
28571 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
28573 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
28575 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
28576 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
28577 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
28578 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
28579 to make sure that these symbols are defined.
28580 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
28582 (__need_NULL): Do not define.
28583 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
28585 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
28586 CMGROUP_MAX, cmsgcred): Do not define.
28587 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
28589 * bits/socket.h: Likewise.
28590 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
28591 __gettimeofday instead of gettimeofday.
28592 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
28593 instead of settimeofday.
28595 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28597 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
28598 (asinhf): Define using libm_alias_float.
28599 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
28600 (atanf): Define using libm_alias_float.
28601 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
28602 (cbrtf): Define using libm_alias_float.
28603 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
28604 (ceilf): Define using libm_alias_float.
28605 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
28606 <libm-alias-float.h>.
28607 (copysignf): Define using libm_alias_float.
28608 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
28609 (cosf): Define using libm_alias_float.
28610 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
28611 (erff): Define using libm_alias_float.
28613 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
28614 (expm1f): Define using libm_alias_float.
28615 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
28616 (fabsf): Define using libm_alias_float.
28617 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
28618 (floorf): Define using libm_alias_float.
28619 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
28620 (frexpf): Define using libm_alias_float.
28621 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
28623 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
28624 <libm-alias-float.h>.
28625 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
28627 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
28628 <libm-alias-float.h>.
28629 (getpayloadf): Define using libm_alias_float.
28630 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
28631 <libm-alias-float.h>.
28632 (llrintf): Define using libm_alias_float.
28633 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
28634 <libm-alias-float.h>.
28635 (llroundf): Define using libm_alias_float.
28636 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
28637 (logbf): Define using libm_alias_float.
28638 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
28639 (lrintf): Define using libm_alias_float.
28640 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
28641 (lroundf): Define using libm_alias_float.
28642 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
28643 (modff): Define using libm_alias_float.
28644 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
28645 <libm-alias-float.h>.
28646 (nearbyintf): Define using libm_alias_float.
28647 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
28648 <libm-alias-float.h>.
28649 (nextafterf): Define using libm_alias_float.
28650 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
28651 <libm-alias-float.h>.
28652 (nextupf): Define using libm_alias_float.
28653 * sysdeps/ieee754/flt-32/s_remquof.c: Include
28654 <libm-alias-float.h>.
28655 (remquof): Define using libm_alias_float.
28656 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
28657 (rintf): Define using libm_alias_float.
28658 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
28659 <libm-alias-float.h>.
28660 (roundevenf): Define using libm_alias_float.
28661 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
28662 (roundf): Define using libm_alias_float.
28663 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
28664 using libm_alias_float.
28665 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
28666 <libm-alias-float.h>.
28667 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
28668 Define using libm_alias_float.
28669 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
28670 <libm-alias-float.h>.
28671 (sincosf): Define using libm_alias_float.
28672 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
28673 (sinf): Define using libm_alias_float.
28674 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
28675 (tanf): Define using libm_alias_float.
28676 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
28677 (tanhf): Define using libm_alias_float.
28678 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
28679 <libm-alias-float.h>.
28680 (totalorderf): Define using libm_alias_float.
28681 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
28682 <libm-alias-float.h>.
28683 (totalordermagf): Define using libm_alias_float.
28684 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
28685 (truncf): Define using libm_alias_float.
28686 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
28688 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
28691 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28694 math/math.h: Let fpclassify use the builtin in C++ mode, even
28695 when optimazing for size.
28697 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28699 * csu/Makefile (generated): Do not add version-info.h.
28700 (before-compile): Likewise.
28701 (all-Banner-files): Remove variable.
28702 ($(objpfx)version-info.h): Remove rule.
28703 * csu/version.c (banner): Do not include "version-info.h".
28704 * libidn/Banner: Remove.
28705 * manual/contrib.texi (Simon Josefsson): New entry.
28707 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28709 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28710 Remove conditionals on LDBL_MANT_DIG.
28711 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28712 (__ieee754_lgammal_r): Likewise.
28714 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28716 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
28718 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
28719 _Float128 and L(). Replace _Float128 with long double and L(x)
28720 with xL, throughout the file.
28721 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28722 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28723 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28724 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28726 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28728 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
28729 sysdeps/ieee754/ldbl-128ibm.
28730 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
28731 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
28732 of including it. Keep _Float128 and L() intact. These will be
28733 reviewed by a separate patch.
28734 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28735 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28736 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28737 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28739 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
28742 (__finitef128): Define to __redirect___finitef128.
28743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
28744 (__isinff128): Define to __redirect___isinff128.
28745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
28746 (__isnanf128): Define to __redirect___isnanf128.
28748 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28750 * sysdeps/powerpc/powerpc64le/Makefile
28751 (CFLAGS-tst-strtod-nan-locale.c): New variable.
28752 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
28754 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
28755 Carlos O'Donell <carlos@redhat.com>
28758 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
28759 * stdlib/test-dlclose-exit-race.c: New file.
28760 * stdlib/test-dlclose-exit-race-helper.c: New file.
28761 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
28763 2017-09-21 Joseph Myers <joseph@codesourcery.com>
28765 * crypt/Banner: Remove file.
28766 * nptl/Banner: Likewise.
28767 * resolv/Banner: Likewise.
28768 * soft-fp/Banner: Likewise.
28769 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
28770 ($(objpfx)version.d): Remove dependency on banner.h.
28771 ($(objpfx)version.os): Likewise.
28772 * nptl/version.c (banner): Do not include banner.h.
28773 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
28774 Jelinek and BIND code.
28776 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28777 Carlos O'Donell <carlos@redhat.com>
28779 * support/xdlfcn.h: New file.
28780 * support/xdlfcn.c: New file.
28781 * support/Makefile (libsupport-routines): Add xdlfcn.
28782 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
28784 2017-09-20 Joseph Myers <joseph@codesourcery.com>
28787 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28788 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
28789 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
28790 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
28791 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
28792 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
28793 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
28794 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
28796 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28797 Ricky Zhou <rickyz@google.com>
28798 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
28801 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
28803 (__new_exitfn): Fail registration when we finished at_exit processing.
28804 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28805 * stdlib/on_exit.c (__on_exit): Likewise.
28806 * stdlib/exit.c (__exit_funcs_done): New variable.
28807 (__run_exit_handlers): Use __exit_funcs_lock.
28808 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
28810 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
28811 (test-cxa_atexit-race, test-on_exit-race): New tests.
28812 * stdlib/test-atexit-race-common.c: New file.
28813 * stdlib/test-atexit-race.c: New file.
28814 * stdlib/test-at_quick_exit-race.c: New file.
28815 * stdlib/test-cxa_atexit-race.c: New file.
28816 * stdlib/test-on_exit-race.c: New file.
28818 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
28820 * benchtests/Makefile: Add exp2f and log2f benchmarks.
28821 * benchtests/exp2f-inputs: Copy of expf-inputs.
28822 * benchtests/log2f-inputs: Copy of logf-inputs.
28824 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28826 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
28827 Explicitly take address of first element of array arguments in
28828 call to INLINE_SYSCALL.
28830 2017-09-19 Andreas Schwab <schwab@suse.de>
28833 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
28835 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
28837 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
28838 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
28839 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28840 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
28841 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28842 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28843 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28844 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28845 * posix/Makefile (tests): Add tst-fexecve.
28846 * posix/tst-fexecve.c: New file.
28848 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28850 * benchtests/Makefile: Add logf benchmark.
28851 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28853 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28855 * benchtests/Makefile: Add expf benchmark.
28856 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28858 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28860 * csu/Makefile: Add -funwind-tables to libc-start.c.
28861 * debug/Makefile: Add -funwind-tables to backtrace.c.
28862 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28863 * sysdeps/arm/Makefile: Likewise.
28864 * sysdeps/i386/Makefile: Likewise.
28865 * sysdeps/m68k/Makefile: Likewise.
28866 * sysdeps/mips/Makefile: Likewise.
28867 * sysdeps/nios2/Makefile: Likewise.
28868 * sysdeps/sh/Makefile: Likewise.
28869 * sysdeps/sparc/Makefile: Likewise.
28871 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28873 * benchtests/Makefile (bench-math): Add trunc and truncf.
28874 (CFLAGS-bench-trunc.c): New variable.
28875 (CFLAGS-bench-truncf.c): Likewise.
28876 * benchtests/trunc-inputs: New file.
28877 * benchtests/truncf-inputs: Likewise.
28879 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28881 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28883 2017-09-18 Joseph Myers <joseph@codesourcery.com>
28885 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28886 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28888 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28889 (exp10l): Define as weak alias.
28890 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28891 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28893 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28894 (remainderl): Define as weak alias.
28896 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28897 (fmal): Define using libm_alias_ldouble.
28898 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28899 (acoshl): Define using libm_alias_ldouble.
28900 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28901 (acosl): Define using libm_alias_ldouble.
28902 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28903 (asinl): Define using libm_alias_ldouble.
28904 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28905 (atan2l): Define using libm_alias_ldouble.
28906 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28907 (atanhl): Define using libm_alias_ldouble.
28908 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28909 (coshl): Define using libm_alias_ldouble.
28910 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28911 (exp10l): Define using libm_alias_ldouble.
28912 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28913 (exp2l): Define using libm_alias_ldouble.
28914 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28915 (expl): Define using libm_alias_ldouble.
28916 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28917 (fmodl): Define using libm_alias_ldouble.
28918 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28919 (hypotl): Define using libm_alias_ldouble.
28920 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28921 (j0l): Define using libm_alias_ldouble.
28923 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28924 (j1l): Define using libm_alias_ldouble.
28926 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28927 (jnl): Define using libm_alias_ldouble.
28929 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28930 (log10l): Define using libm_alias_ldouble.
28931 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28932 (log2l): Define using libm_alias_ldouble.
28933 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28934 (logl): Define using libm_alias_ldouble.
28935 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28936 (powl): Define using libm_alias_ldouble.
28937 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28938 (remainderl): Define using libm_alias_ldouble.
28939 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28940 (sinhl): Define using libm_alias_ldouble.
28941 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28942 (sqrtl): Define using libm_alias_ldouble.
28943 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28944 (tgammal): Define using libm_alias_ldouble.
28945 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28946 (exp10l): Do not use long_double_symbol here.
28947 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28948 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28949 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28950 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28951 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28952 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28953 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28954 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28955 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28956 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28957 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28958 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28959 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28960 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28961 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28962 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28963 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28964 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28965 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28966 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28967 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28968 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28970 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28972 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28973 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28975 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28977 * io/read.c (read): Add libc_hidden_weak.
28978 * sysdeps/mach/hurd/read.c (read): Likewise.
28979 * io/write.c (write): Likewise.
28980 * sysdeps/mach/hurd/write.c (write): Likewise.
28981 * io/pread64.c (__pread64): Likewise.
28982 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28983 * posix/pread64.c (__pread64): Add libc_hidden_def.
28985 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28987 * benchtests/scripts/compare_strings.py: New option -g.
28988 (draw_graph): Print a message that a graph is being generated.
28989 (process_results): Generate graph only if -g is passed.
28990 (main): Process option -g.
28992 * benchtests/scripts/compare_strings.py (process_results):
28993 Better spacing for output.
28995 * benchtests/scripts/compare_strings.py: Use argparse.
28996 * benchtests/README: Document existence of compare_strings.py.
28998 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29000 * math/s_fma.c: Include <libm-alias-double.h>.
29001 (fma): Define using libm_alias_double.
29002 * math/s_nextafter.c: Include <libm-alias-double.h>.
29003 (nextafter): Define using libm_alias_double.
29004 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29005 (acos): Define using libm_alias_double.
29006 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29007 (aocsh): Define using libm_alias_double.
29008 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29009 (asin): Define using libm_alias_double.
29010 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29011 (atan2): Define using libm_alias_double.
29012 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29013 (atanh): Define using libm_alias_double.
29014 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29015 (cosh): Define using libm_alias_double.
29016 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29017 (exp10): Define using libm_alias_double.
29018 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29019 (exp2): Define using libm_alias_double.
29020 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29021 (exp): Define using libm_alias_double.
29022 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29023 (fmod): Define using libm_alias_double.
29024 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29025 (hypot): Define using libm_alias_double.
29026 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29027 (j0): Define using libm_alias_double.
29029 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29030 (j1): Define using libm_alias_double.
29032 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29033 (jn): Define using libm_alias_double.
29035 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29036 (log10): Define using libm_alias_double.
29037 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29038 (log2): Define using libm_alias_double.
29039 * math/w_log_compat.c: Include <libm-alias-double.h>.
29040 (log): Define using libm_alias_double.
29041 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29042 (pow): Define using libm_alias_double.
29043 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29044 (remainder): Define using libm_alias_double.
29045 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29046 (sinh): Define using libm_alias_double.
29047 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29048 (sqrt): Define using libm_alias_double.
29049 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29050 (tgamma): Define using libm_alias_double.
29051 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29052 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29053 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29054 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29055 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29056 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29057 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29058 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29059 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29060 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29061 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29062 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29063 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29064 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29065 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29066 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29067 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29068 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29069 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29070 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29071 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29072 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29073 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29074 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29075 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29077 * math/e_acoshl.c: Remove.
29078 * math/e_acosl.c: Likewise.
29079 * math/e_asinl.c: Likewise.
29080 * math/e_atan2l.c: Likewise.
29081 * math/e_atanhl.c: Likewise.
29082 * math/e_coshl.c: Likewise.
29083 * math/e_expl.c: Likewise.
29084 * math/e_fmodl.c: Likewise.
29085 * math/e_gammal_r.c: Likewise.
29086 * math/e_hypotl.c: Likewise.
29087 * math/e_j0l.c: Likewise.
29088 * math/e_j1l.c: Likewise.
29089 * math/e_jnl.c: Likewise.
29090 * math/e_lgammal_r.c: Likewise.
29091 * math/e_log10l.c: Likewise.
29092 * math/e_log2l.c: Likewise.
29093 * math/e_logl.c: Likewise.
29094 * math/e_powl.c: Likewise.
29095 * math/e_rem_pio2l.c: Likewise.
29096 * math/e_sinhl.c: Likewise.
29097 * math/e_sqrtf128.c: Likewise.
29098 * math/e_sqrtl.c: Likewise.
29099 * math/k_cosl.c: Likewise.
29100 * math/k_sinl.c: Likewise.
29101 * math/k_tanl.c: Likewise.
29102 * math/s_asinhl.c: Likewise.
29103 * math/s_atanl.c: Likewise.
29104 * math/s_cbrtl.c: Likewise.
29105 * math/s_erfl.c: Likewise.
29106 * math/s_expm1l.c: Likewise.
29107 * math/s_log1pl.c: Likewise.
29108 * math/s_tanhl.c: Likewise.
29110 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29113 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29114 [$(subdir) = math] (sysdep_calls): New variable. Has the
29115 previous contents of sysdep_routines, but re-sorted..
29116 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29118 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29119 defined in sysdep_calls and replace by the respective m_* names.
29120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29121 (compat_symbol): Undefine to avoid duplicated compat symbols in
29124 2017-09-15 Joseph Myers <joseph@codesourcery.com>
29126 * math/s_fmaf.c: Include <libm-alias-float.h>.
29127 (fmaf): Define using libm_alias_float.
29128 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29129 (acosf): Define using libm_alias_float.
29130 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29131 (acoshf): Define using libm_alias_float.
29132 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29133 (asinf): Define using libm_alias_float.
29134 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29135 (atan2f): Define using libm_alias_float.
29136 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29137 (atanhf): Define using libm_alias_float.
29138 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29139 (coshf): Define using libm_alias_float.
29140 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29141 (exp10f): Define using libm_alias_float.
29142 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29143 (fmodf): Define using libm_alias_float.
29144 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29145 (hypotf): Define using libm_alias_float.
29146 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29147 (j0f): Define using libm_alias_float.
29149 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29150 (j1f): Define using libm_alias_float.
29152 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29153 (jnf): Define using libm_alias_float.
29155 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29156 (log10f): Define using libm_alias_float.
29157 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29158 (log2f): Define using libm_alias_float.
29159 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29160 (logf): Define using libm_alias_float.
29161 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29162 (powf): Define using libm_alias_float.
29163 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29164 (remainderf): Define using libm_alias_float.
29165 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29166 (sinhf): Define using libm_alias_float.
29167 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29168 (sqrtf): Define using libm_alias_float.
29169 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29170 (tgammaf): Define using libm_alias_float.
29172 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29174 * include/math.h (roundeven): Change hidden_proto call to
29176 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29178 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29179 (y0): Rename to __y0 and define as weak alias.
29180 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29181 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29183 (y0f): Rename to __y0f and define as weak alias.
29184 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29186 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29187 (y1): Rename to __y1 and define as weak alias.
29188 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29189 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29191 (y1f): Rename to __y1f and define as weak alias.
29192 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29194 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29195 (yn): Rename to __yn and define as weak alias.
29196 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29197 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29199 (ynf): Rename to __ynf and define as weak alias.
29200 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29201 (fromfp): Define as weak alias.
29202 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29203 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29204 (fromfpx): Define as weak alias.
29205 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29206 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29207 __getpayload and define as weak alias.
29208 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29209 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29210 __roundeven and define as weak alias.
29211 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29212 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29214 (setpayload): Define as weak alias.
29215 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29216 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29218 (setpayloadsig): Define as weak alias.
29219 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29220 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29221 __totalorder and define as weak alias.
29222 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29223 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29224 to __totalordermag and define as weak alias.
29225 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29226 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29227 (ufromfp): Define as weak alias.
29228 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29229 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29231 (ufromfpx): Define as weak alias.
29232 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29233 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29234 Rename to __getpayload and define as weak alias.
29235 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29236 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29237 Rename to __roundeven and define as weak alias.
29238 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29239 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29240 Rename to __totalorder and define as weak alias.
29241 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29242 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29243 (totalordermag): Rename to __totalordermag and define as weak
29245 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29246 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29248 (__roundevenl): Likewise.
29249 (__totalorderl): Likewise.
29250 (__totalordermagl): Likewise
29251 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29253 (fromfpf128): Define as weak alias.
29254 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29256 (fromfpxf128): Define as weak alias.
29257 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29259 (setpayloadf128): Define as weak alias.
29260 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29261 __setpayloadsigf128.
29262 (setpayloadsigf128): Define as weak alias.
29263 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29265 (ufromfpf128): Define as weak alias.
29266 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29268 (ufromfpxf128): Define as weak alias.
29269 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29270 (fromfpf): Define as weak alias.
29271 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29273 (fromfpxf): Define as weak alias.
29274 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29275 __getpayloadf and define as weak alias.
29276 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29277 __roundevenf and define as weak alias.
29278 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29280 (setpayloadf): Define as weak alias.
29281 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29283 (setpayloadsigf): Define as weak alias.
29284 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29285 __totalorderf and define as weak alias.
29286 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29287 Rename to __totalordermagf and define as weak alias.
29288 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
29290 (ufromfpf): Define as weak alias.
29291 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
29293 (ufromfpxf): Define as weak alias.
29294 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
29296 (fromfpl): Define as weak alias.
29297 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
29299 (fromfpxl): Define as weak alias.
29300 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
29301 to __getpayloadl and define as weak alias.
29302 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
29303 __roundevenl and define as weak alias.
29304 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
29306 (setpayloadl): Define as weak alias.
29307 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
29309 (setpayloadsigl): Define as weak alias.
29310 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
29311 to __totalorderl and define as weak alias.
29312 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
29313 Rename to __totalordermagl and define as weak alias.
29314 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
29316 (ufromfpl): Define as weak alias.
29317 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
29319 (ufromfpxl): Define as weak alias.
29320 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
29322 (fromfpl): Define as weak alias.
29323 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
29325 (fromfpxl): Define as weak alias.
29326 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
29327 Rename to __getpayloadl and define as weak alias.
29328 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
29329 to __roundevenl and define as weak alias. Call __roundeven
29330 instead of roundeven.
29331 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
29333 (setpayloadl): Define as weak alias.
29334 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
29336 (setpayloadsigl): Define as weak alias.
29337 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
29338 Rename to __totalorderl and define as weak alias.
29339 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
29340 Rename to __totalordermagl and define as weak alias.
29341 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
29343 (ufromfpl): Define as weak alias.
29344 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
29346 (ufromfpxl): Define as weak alias.
29347 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
29349 (fromfpl): Define as weak alias.
29350 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
29352 (fromfpxl): Define as weak alias.
29353 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
29354 __getpayloadl and define as weak alias.
29355 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
29356 __roundevenl and define as weak alias.
29357 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
29359 (setpayloadl): Define as weak alias.
29360 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
29362 (setpayloadsigl): Define as weak alias.
29363 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
29364 __totalorderl and define as weak alias.
29365 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
29366 Rename to __totalordermagl and define as weak alias.
29367 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
29369 (ufromfpl): Define as weak alias.
29370 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
29372 (ufromfpxl): Define as weak alias.
29374 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
29376 * benchtests/bench-string.h (realloc_bufs): New function.
29377 (test_init): Call it.
29378 * benchtests/bench-memset-large.c (do_test): Likewise.
29379 * benchtests/bench-memset.c (do_test): Likewise.
29381 * benchtests/bench-memset-large.c: Print output in JSON
29383 * benchtests/bench-memset.c: Likewise.
29385 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29388 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
29389 * iconvdata/Makefile: Add IBM858.
29390 * iconvdata/gconv-modules: Likewise.
29391 * iconvdata/tst-tables.sh: Likewise.
29392 * iconvdata/ibm858.c: New file.
29393 * localedata/charmaps/IBM858: Likewise.
29395 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
29398 * locales/niu_NZ (LC_TIME): copy "niu_NU".
29399 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
29401 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29404 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29405 and add tel_int_fmt.
29407 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29409 * sysdeps/generic/libm-alias-float128.h: New file.
29410 * sysdeps/generic/math-type-macros-float128.h: Include
29411 <libm-alias-float128.h>.
29412 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29414 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29416 * sysdeps/generic/libm-alias-ldouble.h: New file.
29417 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29418 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29419 * sysdeps/generic/math-type-macros-ldouble.h: Include
29420 <libm-alias-ldouble.h>.
29421 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29422 libm_alias_ldouble.
29424 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29426 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29427 * math/w_exp_compat.c: ... here.
29428 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29429 * math/w_expf_compat.c: ... here.
29430 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29431 * math/w_expl_compat.c: ... here.
29432 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29433 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29434 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29435 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29437 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29439 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29441 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29443 (ldexpl): Only define as compat symbol for libc, not libm.
29444 (scalbnl): Define as compat symbol for libc here.
29445 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29446 define for [IS_IN (libc)].
29447 (__ldexpl_2): Remove alias.
29448 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29449 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29450 name in long_double_symbol call.
29451 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29452 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29453 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29454 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29455 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29457 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29458 Define as compat symbol.
29460 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29462 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29463 * sysdeps/unix/sysv/linux/alpha/Makefile
29464 [$(subdir) = csu] (sysdep_routines): Remove rule.
29466 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29468 * sysdeps/generic/libm-alias-double.h: New file.
29469 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29470 * sysdeps/generic/math-type-macros-double.h: Include
29471 <libm-alias-double.h>.
29472 [declare_mgen_alias] (declare_mgen_alias): Define to use
29474 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29475 (M_LIBM_NEED_COMPAT): Remove macro.
29476 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29477 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29478 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29480 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29481 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29482 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29483 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29484 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29485 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29486 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29487 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29488 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29489 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29490 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29491 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29492 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29493 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29494 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29495 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29496 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29497 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29498 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29499 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29500 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29501 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29502 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29503 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29504 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29505 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29506 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29507 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
29508 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
29510 (declare_mgen_alias): New macro.
29511 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
29512 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
29513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
29514 (M_LIBM_NEED_COMPAT): Remove macro.
29515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
29516 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
29517 <first-versions.h>.
29518 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
29519 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
29521 2017-09-12 Joseph Myers <joseph@codesourcery.com>
29523 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
29524 (declare_mgen_alias_2): Remove.
29525 * sysdeps/generic/math-type-macros-double.h
29526 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
29528 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
29530 (ldexp): Define with declare_mgen_alias.
29531 (scalbn): Likewise.
29533 2017-09-12 Steve Ellcey <sellcey@cavium.com>
29535 * grp/initgroups.c: Include config.h.
29536 (DEFAULT_CONFIG): New macro.
29537 (internal_getgrouplist): Use DEFAULT_CONFIG.
29538 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29539 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
29540 (DEFAULT_DEFCONFIG): New macro.
29541 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
29542 * nss/grp-lookup.c: Include config.h
29543 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
29544 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
29545 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
29546 * manual/nss.texi: Update default values section.
29548 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
29551 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
29553 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
29554 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29555 Handle MathVec_Prefer_No_AVX512.
29556 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
29557 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
29560 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
29562 * posix/sched_primax.c (__sched_get_priority_max): Add
29564 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
29565 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29566 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29567 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
29568 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
29569 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
29570 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
29571 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
29574 2017-09-11 Joseph Myers <joseph@codesourcery.com>
29576 * sysdeps/generic/libm-alias-float.h: New file.
29577 * sysdeps/generic/math-type-macros-float.h: Include
29578 <libm-alias-float.h>.
29579 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29581 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
29584 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
29585 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
29586 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
29587 (HWCAP_IMPORTANT): Likewise.
29588 (HWCAP_X86_64): New enum.
29589 (HWCAP_X86_AVX512_1): Updated.
29590 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
29591 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
29592 (modules-names): Add x86_64/tst-x86_64mod-1.
29593 (LDFLAGS-tst-x86_64mod-1.so): New.
29594 ($(objpfx)tst-x86_64-1): Likewise.
29595 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
29596 (tst-x86_64-1-clean): Likewise.
29597 * sysdeps/x86_64/tst-x86_64-1.c: New file.
29598 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
29600 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29602 * po/sv.po: Update translations.
29603 * po/fr.po: Likewise.
29605 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29607 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
29609 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
29611 * elf/rtld-Rules: Fix $(error) use.
29613 2017-09-09 Mike FABIAN <mfabian@redhat.com>
29616 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
29617 * locale/iso-639.def: Change “Bengali” to “Bangla”.
29618 * localedata/locales/bn_BD: “Bengali” was still used in some
29619 comments. Change it to “Bangla”.
29621 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
29623 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
29625 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29627 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
29628 thunderx2t99p1 to list of cpu names.
29629 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29630 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
29632 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29634 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
29635 Use strcmp instead of tunable_is_name.
29637 2017-09-08 Joseph Myers <joseph@codesourcery.com>
29639 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29640 (F_GET_RW_HINT): New macro.
29641 [__USE_GNU] (F_SET_RW_HINT): Likewise.
29642 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
29643 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
29644 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
29645 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
29646 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
29647 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
29648 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
29649 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
29651 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29652 (F_ADD_SEALS): New macro.
29653 [__USE_GNU] (F_GET_SEALS): Likewise.
29654 [__USE_GNU] (F_SEAL_SEAL): Likewise.
29655 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
29656 [__USE_GNU] (F_SEAL_GROW): Likewise.
29657 [__USE_GNU] (F_SEAL_WRITE): Likewise.
29659 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29661 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
29662 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
29663 * posix/glob_internal.h (__glob_pattern_type):
29664 * posix/glob.c (glob):
29665 * posix/glob_pattern_p.c (__glob_pattern_p):
29668 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
29669 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29670 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
29671 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
29672 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
29674 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
29675 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
29676 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29677 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29678 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29679 * sysdeps/wordsize-64/glob.c: Likewise.
29680 * sysdeps/wordsize-64/glob64.c: Likewise.
29681 * sysdeps/wordsize-64/globfree.c: Likewise.
29682 * sysdeps/wordsize-64/globfree64.c: Likewise.
29683 * sysdeps/unix/sysv/linux/glob.c: New file.
29684 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
29685 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
29686 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
29687 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29688 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
29689 adds !GLOB_NO_OLD_VERSION as an extra condition.
29690 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
29691 using relative path instead of absolute one.
29692 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
29693 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29694 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29695 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
29696 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
29697 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
29700 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
29701 (glob): Use the same scratch buffer for both getlogin_r and
29702 getpwnam_r. Don’t require preallocation of the login name. This
29703 simplifies storage allocation, and corrects the handling of
29707 * posix/glob.c (glob): Port recent patches to platforms
29708 lacking getpwnam_r.
29709 (glob): Fix longstanding misuse of errno after getpwnam_r, which
29710 returns an error number rather than setting errno.
29712 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
29713 instead of GCC extension.
29714 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
29715 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
29716 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
29720 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
29721 * posix/bug-glob1.c: Remove file.
29722 * posix/tst-glob_symlinks.c: New file.
29723 * posix/glob.c (__lstat64): New macro.
29724 (is_dir): New function.
29725 (glob, glob_in_dir): Match symlinks even if they are dangling.
29726 (link_stat, link_exists_p): Remove. All uses removed.
29730 * posix/glob.c (struct readdir_result): Remove skip_entry member.
29731 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
29736 * posix/Makefile (routines): Add globfree, globfree64, and
29738 * posix/flexmember.h: New file.
29739 * posix/glob_internal.h: Likewise.
29740 * posix/glob_pattern_p.c: Likewise.
29741 * posix/globfree.c: Likewise.
29742 * posix/globfree64.c: Likewise.
29743 * sysdeps/gnu/globfree64.c: Likewise.
29744 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
29745 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29746 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
29747 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29748 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29749 * sysdeps/wordsize-64/globfree.c: Likewise.
29750 * sysdeps/wordsize-64/globfree64.c: Likewise.
29751 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
29752 [NDEBUG): Remove comments.
29753 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
29754 (dirent_type): New type. Use uint_fast8_t not
29755 uint8_t, as C99 does not require uint8_t.
29756 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
29757 (struct readdir_result): Use dirent_type. Do not define skip_entry
29758 unless it is needed; this saves a byte on platforms lacking d_ino.
29759 (readdir_result_type, readdir_result_skip_entry):
29760 New functions, replacing ...
29761 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
29762 these functions, which were removed. This makes the callers
29763 easier to read. All callers changed.
29764 (D_INO_TO_RESULT): Now empty if there is no d_ino.
29765 (size_add_wrapv, glob_use_alloca): New static functions.
29766 (glob, glob_in_dir): Check for size_t overflow in several places,
29767 and fix some size_t checks that were not quite right.
29768 Remove old code using SHELL since Bash no longer
29770 (glob, prefix_array): Separate MS code better.
29771 (glob_in_dir): Remove old Amiga and VMS code.
29772 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
29774 (glob_in_dir): Do not rely on undefined behavior in accessing
29775 struct members beyond their bounds. Use a flexible array member
29777 (link_stat): Rename from link_exists2_p and return -1/0 instead of
29778 0/1. Caller changed.
29779 (glob): Fix memory leaks.
29780 * posix/glob64 (globfree64): Move to separate file.
29781 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
29782 (globfree64): Remove hidden alias.
29783 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
29785 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
29787 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
29789 Move compat code to separate file.
29790 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
29793 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
29795 * resolv/tst-resolv-qtypes.c (domain): Changed to
29796 "const char domain[] =".
29798 2017-09-07 Joseph Myers <joseph@codesourcery.com>
29800 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
29803 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
29804 (TCP_MD5SIG_EXT): Likewise.
29805 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
29806 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
29807 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
29809 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
29811 2017-09-07 Mike FABIAN <mfabian@redhat.com>
29813 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
29815 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
29818 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
29820 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29822 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
29823 before assuming that the file is empty. Avoid testing buffer content
29826 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29829 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29831 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
29833 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
29835 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
29837 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29839 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
29841 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29844 2017-09-06 Florian Weimer <fweimer@redhat.com>
29846 * malloc/dynarray_emplace_enlarge.c
29847 (__libc_dynarray_emplace_enlarge): Add missing else.
29849 2017-09-06 Florian Weimer <fweimer@redhat.com>
29852 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29853 case of failure to obtain the global conf object.
29855 2017-09-06 Florian Weimer <fweimer@redhat.com>
29858 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29859 dynarray allocation failure.
29861 2017-09-06 Florian Weimer <fweimer@redhat.com>
29863 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29864 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29865 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29867 (response): Call them. Add 'p', '6' flag processing.
29868 (test_reverse): New function.
29869 (test_get2_any): Call it.
29870 (test_no_inet6): Add 'p' test.
29871 (test_inet6): Likewise.
29873 2017-09-06 Florian Weimer <fweimer@redhat.com>
29875 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29876 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29878 (test_gai): Adjust query names. Add additional tests.
29879 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29880 test_get2. Adjust query names. Add additional tests.
29881 (test_no_inet6): New function, extracted from threadfunc.
29882 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29883 Add additional tests.
29885 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29888 * localedata/unicode-gen/utf8_gen.py: Set the width for
29889 characters with Prepended_Concatenation_Mark property to 1
29890 * localedata/charmaps/UTF-8: Updated using the improved script.
29892 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29895 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29896 use the range notation for all ranges of neighbouring characters
29897 with the same width.
29899 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29901 * sysdeps/generic/math-type-macros-double.h: Include
29902 <math-svid-compat.h>.
29903 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29904 * sysdeps/generic/math-type-macros-float.h: Include
29905 <math-svid-compat.h>.
29906 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29907 * sysdeps/generic/math-type-macros-ldouble.h: Include
29908 <math-svid-compat.h>.
29909 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29910 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29912 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29913 * math/w_acosf_compat.c: Likewise.
29914 * math/w_acosh_compat.c: Likewise.
29915 * math/w_acoshf_compat.c: Likewise.
29916 * math/w_acoshl_compat.c: Likewise.
29917 * math/w_acosl_compat.c: Likewise.
29918 * math/w_asin_compat.c: Likewise.
29919 * math/w_asinf_compat.c: Likewise.
29920 * math/w_asinl_compat.c: Likewise.
29921 * math/w_atan2_compat.c: Likewise.
29922 * math/w_atan2f_compat.c: Likewise.
29923 * math/w_atan2l_compat.c: Likewise.
29924 * math/w_atanh_compat.c: Likewise.
29925 * math/w_atanhf_compat.c: Likewise.
29926 * math/w_atanhl_compat.c: Likewise.
29927 * math/w_cosh_compat.c: Likewise.
29928 * math/w_coshf_compat.c: Likewise.
29929 * math/w_coshl_compat.c: Likewise.
29930 * math/w_exp10_compat.c: Likewise.
29931 * math/w_exp10f_compat.c: Likewise.
29932 * math/w_exp10l_compat.c: Likewise.
29933 * math/w_exp2_compat.c: Likewise.
29934 * math/w_exp2f_compat.c: Likewise.
29935 * math/w_exp2l_compat.c: Likewise.
29936 * math/w_fmod_compat.c: Likewise.
29937 * math/w_fmodf_compat.c: Likewise.
29938 * math/w_fmodl_compat.c: Likewise.
29939 * math/w_hypot_compat.c: Likewise.
29940 * math/w_hypotf_compat.c: Likewise.
29941 * math/w_hypotl_compat.c: Likewise.
29942 * math/w_j0_compat.c: Likewise.
29943 * math/w_j0f_compat.c: Likewise.
29944 * math/w_j0l_compat.c: Likewise.
29945 * math/w_j1_compat.c: Likewise.
29946 * math/w_j1f_compat.c: Likewise.
29947 * math/w_j1l_compat.c: Likewise.
29948 * math/w_jn_compat.c: Likewise.
29949 * math/w_jnf_compat.c: Likewise.
29950 * math/w_jnl_compat.c: Likewise.
29951 * math/w_lgamma_r_compat.c: Likewise.
29952 * math/w_lgammaf_r_compat.c: Likewise.
29953 * math/w_lgammal_r_compat.c: Likewise.
29954 * math/w_log10_compat.c: Likewise.
29955 * math/w_log10f_compat.c: Likewise.
29956 * math/w_log10l_compat.c: Likewise.
29957 * math/w_log2_compat.c: Likewise.
29958 * math/w_log2f_compat.c: Likewise.
29959 * math/w_log2l_compat.c: Likewise.
29960 * math/w_log_compat.c: Likewise.
29961 * math/w_logf_compat.c: Likewise.
29962 * math/w_logl_compat.c: Likewise.
29963 * math/w_pow_compat.c: Likewise.
29964 * math/w_powf_compat.c: Likewise.
29965 * math/w_powl_compat.c: Likewise.
29966 * math/w_remainder_compat.c: Likewise.
29967 * math/w_remainderf_compat.c: Likewise.
29968 * math/w_remainderl_compat.c: Likewise.
29969 * math/w_sinh_compat.c: Likewise.
29970 * math/w_sinhf_compat.c: Likewise.
29971 * math/w_sinhl_compat.c: Likewise.
29972 * math/w_sqrt_compat.c: Likewise.
29973 * math/w_sqrtf_compat.c: Likewise.
29974 * math/w_sqrtl_compat.c: Likewise.
29975 * math/w_tgamma_compat.c: Likewise.
29976 * math/w_tgammaf_compat.c: Likewise.
29977 * math/w_tgammal_compat.c: Likewise.
29978 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29979 [LIBM_SVID_COMPAT].
29980 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29981 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29982 [LIBM_SVID_COMPAT].
29983 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29984 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29985 [LIBM_SVID_COMPAT].
29986 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29987 * sysdeps/i386/fpu/w_sqrt.c: New file.
29988 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29989 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29990 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29991 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29992 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29993 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29994 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29995 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29996 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29997 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29998 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29999 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30000 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30001 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30002 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30003 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30004 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30005 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30006 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30007 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30008 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30009 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30010 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30011 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30012 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30013 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30014 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30015 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30016 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30017 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30018 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30019 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30020 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30021 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30022 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30023 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30024 * sysdeps/ia64/fpu/w_log.c: Likewise.
30025 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30026 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30027 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30028 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30029 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30030 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30031 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30032 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30033 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30034 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30035 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30036 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30037 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30038 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30039 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30040 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30041 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30042 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30043 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30044 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30045 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30046 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30047 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30048 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30049 [LIBM_SVID_COMPAT].
30050 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30051 * sysdeps/ieee754/k_standard.c: Likewise.
30052 * sysdeps/ieee754/k_standardf.c: Likewise.
30053 * sysdeps/ieee754/k_standardl.c: Likewise.
30054 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30055 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30056 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30057 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30058 long_double_symbol call on [LIBM_SVID_COMPAT].
30059 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30060 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30061 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30062 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30063 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30064 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30065 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30066 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30067 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30068 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30069 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30070 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30071 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30072 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30073 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30074 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30075 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30076 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30077 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30078 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30079 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30080 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30082 2017-09-05 Steve Ellcey <sellcey@cavium.com>
30084 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30085 * malloc/tst-mallocstate.c: Convert from test-skeleton
30086 to test-driver. Ifdef code using TEST_COMPAT macro.
30087 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30088 * math/test-matherr.c: Likewise.
30090 2017-09-05 Joseph Myers <joseph@codesourcery.com>
30093 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30094 comparing word with byte-swapped constant.
30096 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
30099 * locale/iso-639.def: add Miskito.
30100 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30101 * localedata/locales/miq_NI: New file.
30103 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30106 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30107 (__mkdir): Likewise.
30108 * io/chmod.c (__chmod): Add libc_hidden_def.
30109 * io/mkdir.c (__mkdir): Likewise.
30110 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30111 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30112 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30113 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30115 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30117 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30121 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30122 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30124 2017-09-04 Florian Weimer <fweimer@redhat.com>
30126 * math/math.h: Issue warning if log is defined.
30128 2017-09-04 Joseph Myers <joseph@codesourcery.com>
30130 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30131 kernel version to 4.13.
30133 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30135 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
30136 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30138 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30139 just <bits/types.h>.
30140 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
30141 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
30142 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
30143 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
30144 * misc/preadv2.c: Include <errno.h>.
30145 * misc/preadv64v2.c: Include <errno.h>.
30146 * misc/pwritev2.c: Include <errno.h>.
30147 * misc/pwritev64v2.c: Include <errno.h>.
30148 * sysdeps/posix/preadv2.c: Include <errno.h>.
30149 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30150 Fix <unistd.h> inclusion.
30151 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30152 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
30153 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30154 __strtoul_internal): New functions.
30155 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30156 * sysdeps/posix/system.c: Include <sigsetops.h>.
30157 * sysdeps/mach/hurd/i386/Makefile
30158 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30159 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30160 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
30161 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30162 __feraiseexcept_renamed to feraiseexcept instead of
30163 __GI_feraiseexcept.
30164 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
30165 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
30166 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30167 RWF_NOWAIT): Define to 0 if undefined already.
30168 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30170 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30171 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
30173 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30175 * manual/math.texi (pow10): Do not document.
30176 (pow10f): Likewise.
30177 (pow10l): Likewise.
30178 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30179 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30180 * math/libm-test-exp10.inc (pow10_test): Remove.
30181 (do_test): Do not call pow10.
30182 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30183 [NO_LONG_DOUBLE] (pow10l): Likewise.
30184 * math/w_exp10f_compat.c (pow10f): Likewise.
30185 * math/w_exp10l_compat.c (pow10l): Likewise.
30186 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30187 (pow10): Make into compat symbol.
30188 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30189 (pow10f): Make into compat symbol.
30190 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30191 (pow10l): Make into compat symbol.
30192 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30194 (CFLAGS-nldbl-pow10.c): Remove variable..
30195 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30196 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30197 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30198 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30199 Undefine and redefine.
30200 (pow10l): Make into compat symbol.
30201 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30202 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30203 * sysdeps/arm/libm-test-ulps: Likewise.
30204 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30205 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30206 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30207 * sysdeps/microblaze/libm-test-ulps: Likewise.
30208 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30209 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30210 * sysdeps/nios2/libm-test-ulps: Likewise.
30211 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30212 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30213 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30214 * sysdeps/sh/libm-test-ulps: Likewise.
30215 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30216 * sysdeps/tile/libm-test-ulps: Likewise.
30217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30219 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30221 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30223 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30225 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30226 "../ChangeLog.old/ChangeLog.8".
30227 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30228 "../ChangeLog.old/ChangeLog.14".
30230 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30232 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30235 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30237 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30239 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30241 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30242 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30244 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30246 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30247 32 atexit handlers.
30249 2017-09-01 Zack Weinberg <zackw@panix.com>
30251 * math/math.h (HUGE_VAL): Improve commentary.
30253 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30254 Andreas Schwab <schwab@suse.de>
30257 * include/stdio.h (__gen_tempfd): New function.
30258 * stdio-common/Makefile (routines): Add gentempfd.
30259 * stdio-common/gentempfd.c: New file.
30260 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30261 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30262 unnamed file first.
30264 2017-09-01 Florian Weimer <fweimer@redhat.com>
30268 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30269 result to determine success or failure, not the errno value.
30270 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30271 (tst-nss-files-hosts-erange): Link with -ldl.
30272 * nss/tst-nss-files-hosts-erange.c: New file.
30273 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30274 (do_test): Add NO_DATA tests.
30275 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30276 (do_test): Call it.
30278 2017-09-01 Florian Weimer <fweimer@redhat.com>
30281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30282 coming from gethostbyname2_r.
30284 2017-09-01 Florian Weimer <fweimer@redhat.com>
30286 * support/namespace.h (struct support_chroot_configuration): Add
30288 (struct support_chroot): Add path_hosts, path_host_conf.
30289 * support/support_chroot.c (write_file): New function.
30290 (support_chroot_create): Call it to process /etc/resolv.conf,
30291 /etc/hosts, /etc/host.conf.
30292 (support_chroot_free): Update.
30294 2017-09-01 Florian Weimer <fweimer@redhat.com>
30296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
30297 status indicates it is set.
30299 2017-09-01 Florian Weimer <fweimer@redhat.com>
30302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
30303 function lookup failures more reliable.
30305 2017-09-01 Florian Weimer <fweimer@redhat.com>
30307 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
30308 (getcanonname): Likewise.
30309 (gaih_inet): Likewise.
30311 2017-09-01 Florian Weimer <fweimer@redhat.com>
30313 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
30314 (getcanonname): Likewise.
30315 (gaih_inet): Likewise.
30317 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30318 Richard Henderson <rth@twiddle.net>
30320 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
30321 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
30322 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
30323 (IREG_SIZE, OREG_SIZE): New macros.
30324 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
30325 (IREG_SIZE, OREG_SIZE): New macros.
30326 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
30327 (IREG_SIZE): New macro.
30328 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
30329 (IREG_SIZE): New macro.
30330 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
30332 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
30333 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30334 (__CONCATX): Handle exceptions correctly on large values that may
30336 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
30337 Initialize if not already set.
30338 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30340 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30342 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
30343 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
30345 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
30347 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
30349 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
30351 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
30353 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
30355 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
30357 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
30358 (NO_CANCELLATION): Likewise.
30359 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
30361 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
30363 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
30365 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
30366 (NO_CANCELLATION): Likewise.
30367 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
30368 (NO_CANCELLATION): Likewise.
30369 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
30371 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
30373 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
30375 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
30377 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
30379 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
30380 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
30382 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30384 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
30387 2017-08-31 Florian Weimer <fweimer@redhat.com>
30389 * include/libc-symbols.h (internal_function): Remove.
30391 2017-08-31 Florian Weimer <fweimer@redhat.com>
30393 * stdlib/fmtmsg.c (internal_addseverity): Remove
30396 2017-08-31 Florian Weimer <fweimer@redhat.com>
30398 * stdio-common/printf_fp.c (group_number): Remove
30400 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
30402 2017-08-31 Florian Weimer <fweimer@redhat.com>
30404 * posix/fnmatch.c (internal_function): Remove definition.
30405 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30406 * posix/regcomp.c (peek_token, init_word_char)
30407 (duplicate_node_closure, fetch_token, peek_token)
30408 (peek_token_bracket, build_range_exp, build_collating_symbol):
30410 * posix/regex_internal.c (re_string_construct_common)
30411 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30412 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30413 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30414 (re_string_translate_buffer, re_string_reconstruct)
30415 (re_string_peek_byte_case, re_string_fetch_byte_case)
30416 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30417 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30418 (re_node_set_add_intersect, re_node_set_init_union)
30419 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30420 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30421 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30422 (re_acquire_state_context): Likewise.
30423 * posix/regex_internal.h (internal_function): Remove definition.
30424 (re_string_realloc_buffers, build_wcs_buffer)
30425 (build_wcs_upper_buffer, build_upper_buffer)
30426 (re_string_translate_buffer, re_string_context_at)
30427 (re_string_char_size_at, re_string_wchar_at)
30428 (re_string_elem_size_at): Likewise.
30429 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30430 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30431 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30432 (re_search_internal, re_search_2_stub, re_search_stub)
30433 (re_copy_regs, prune_impossible_nodes, check_matching)
30434 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30435 (free_fail_stack_return, sift_states_iter_mb)
30436 (sift_states_backward, build_sifted_states)
30437 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30438 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30439 (check_subexp_limits, sift_states_bkref, merge_state_array)
30440 (find_recover_state, transit_state, merge_state_with_log)
30441 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30442 (transit_state_mb, transit_state_bkref, get_subexp)
30443 (get_subexp_sub, find_subexp_node, check_arrival)
30444 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30445 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30446 (check_node_accept_bytes, find_collation_sequence_value)
30447 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30448 (acquire_init_state_context, check_halt_node_context)
30449 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30450 (sub_epsilon_src_nodes): Likewise.
30451 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30452 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30453 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30454 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30455 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30456 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30457 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30458 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30459 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30460 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30461 (PREADV): Likewise.
30462 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30463 (PREADV): Likewise.
30464 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30465 (PWRITEV): Likewise.
30466 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30467 (PWRITEV): Likewise.
30468 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30469 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30471 2017-08-31 Florian Weimer <fweimer@redhat.com>
30473 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30474 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30475 Remove internal_function.
30476 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30477 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30478 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30479 (__deallocate_stack, __libc_pthread_init)
30480 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
30481 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
30482 (__libc_disable_asynccancel, __librt_disable_asynccancel):
30484 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
30485 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
30486 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
30488 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
30489 (__pthread_mutex_unlock_usercnt): Likewise.
30491 2017-08-31 Florian Weimer <fweimer@redhat.com>
30493 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
30494 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
30495 (fts_safe_changedir): Remove internal_function.
30496 * io/ftw.c (internal_function): Remove definition.
30497 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
30499 2017-08-31 Florian Weimer <fweimer@redhat.com>
30501 * inet/deadline.c (__deadline_current_time)
30502 (__deadline_from_timeval, __deadline_to_ms): Remove
30504 * inet/getnameinfo.c (nrl_domainname): Likewise.
30505 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
30506 * inet/inet6_option.c (add_pad): Likewise.
30507 * inet/net-internal.h (__deadline_current_time)
30508 (__deadline_from_timeval, __deadline_to_ms): Likewise.
30509 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
30510 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
30511 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
30513 2017-08-31 Joseph Myers <joseph@codesourcery.com>
30515 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
30516 include <bits/nan.h>.
30517 * math/Makefile (headers): Remove bits/nan.h.
30518 * bits/nan.h: Remove.
30519 * sysdeps/ieee754/bits/nan.h: Likewise.
30520 * sysdeps/mips/bits/nan.h: Likewise.
30522 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
30523 not include <bits/inf.h>.
30524 * math/Makefile (headers): Remove bits/inf.h.
30525 * bits/inf.h: Remove.
30526 * sysdeps/ieee754/bits/inf.h: Likewise.
30528 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
30529 bits/huge_vall.h or bits/huge_val_flt128.h.
30530 (HUGE_VAL): Define directly here.
30531 [__USE_ISOC99] (HUGE_VALF): Likewise.
30532 [__USE_ISOC99] (HUGE_VALL): Likewise.
30533 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30534 (HUGE_VAL_F128): Likewise.
30535 * math/Makefile (headers): Remove bits/huge_val.h,
30536 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
30537 * bits/huge_val.h: Remove.
30538 * bits/huge_val_flt128.h: Likewise.
30539 * bits/huge_valf.h: Likewise.
30540 * bits/huge_vall.h: Likewise.
30541 * sysdeps/ia64/bits/huge_vall.h: Likewise.
30542 * sysdeps/ieee754/bits/huge_val.h: Likewise.
30543 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
30544 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
30545 * sysdeps/sh/bits/huge_val.h: Likewise.
30546 * sysdeps/sparc/bits/huge_vall.h: Likewise.
30547 * sysdeps/x86/bits/huge_vall.h: Likewise.
30549 2017-08-31 Florian Weimer <fweimer@redhat.com>
30551 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
30553 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
30555 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
30556 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30557 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
30558 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
30559 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30560 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30561 * elf/dl-libc.c (dlerror_run): Likewise.
30562 * elf/dl-load.c (add_name_to_object, decompose_rpath)
30563 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
30564 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
30565 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
30567 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
30568 (_dl_higher_prime_number, _dl_strtoul): Likewise.
30569 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
30570 * elf/dl-profile.c (_dl_start_profile): Likewise.
30571 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
30572 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
30574 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
30575 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
30576 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
30577 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
30578 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
30579 (_dl_allocate_tls_storage): Likewise.
30580 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
30581 (_dl_check_all_versions): Likewise.
30582 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
30583 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
30584 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
30585 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30586 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
30587 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
30588 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
30589 internal_function from __dl_start.
30590 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
30591 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
30592 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
30593 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
30594 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
30595 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
30596 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
30597 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
30598 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
30599 (_dl_next_ld_env_entry, _dl_important_hwcaps)
30600 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
30601 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
30602 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
30603 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
30604 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
30606 (struct rtld_global_ro): Remove internal_function from the
30607 _dl_lookup_symbol_x member.
30608 (_dl_symbol_value): Remove. No longer defined anywhere.
30609 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
30611 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30612 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30613 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
30614 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
30615 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
30616 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
30617 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
30618 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
30619 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
30620 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
30621 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30622 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30624 2017-08-31 Florian Weimer <fweimer@redhat.com>
30626 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
30627 Remove internal_function.
30628 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30630 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30633 2017-08-31 Florian Weimer <fweimer@redhat.com>
30635 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
30636 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
30637 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
30639 2017-08-31 Florian Weimer <fweimer@redhat.com>
30641 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
30642 (__gai_enqueue_request): Remove internal_function.
30643 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
30644 (__gai_remove_request, __gai_notify, __gai_notify_only)
30645 (__gai_sigqueue): Likewise.
30646 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
30647 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
30648 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
30649 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30652 2017-08-31 Florian Weimer <fweimer@redhat.com>
30654 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
30655 * include/dirent.h (__opendirat, __getdents, __getdents64)
30656 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
30657 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
30658 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30659 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30661 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
30663 2017-08-31 Florian Weimer <fweimer@redhat.com>
30665 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
30667 (GETCWD_RETURN_TYPE): Likewise.
30669 2017-08-31 Florian Weimer <fweimer@redhat.com>
30671 * include/time.h (__tz_compute, __strptime_internal): Remove
30673 * time/strptime_l.c (__strptime_internal): Likewise.
30674 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
30676 2017-08-31 Florian Weimer <fweimer@redhat.com>
30678 * iconv/gconv.c (__gconv): Remove internal_function.
30679 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
30680 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
30681 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
30682 (__gconv_release_cache): Likewise.
30683 * iconv/gconv_close.c (__gconv_close): Likewise.
30684 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
30685 (read_conf_file, __gconv_get_path): Likewise.
30686 * iconv/gconv_db.c (derivation_lookup, add_derivation)
30687 (__gconv_release_step, gen_steps, increment_counter)
30688 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
30689 (__gconv_close_transform, free_modules_db): Likewise.
30690 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
30692 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
30693 (__gconv_find_transform, __gconv_lookup_cache)
30694 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
30695 (__gconv_close_transform, __gconv_release_cache)
30696 (__gconv_loaded_object, __gconv_release_shlib)
30697 (__gconv_compare_alias): Likewise.
30698 * iconv/gconv_open.c (__gconv_open): Likewise.
30699 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
30700 * iconv/iconvconfig.c (add_module): Likewise.
30701 * intl/dcigettext.c (plural_lookup, guess_category_value)
30702 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
30703 * intl/eval-plural.h (plural_eval): Likewise.
30704 * intl/finddomain.c (_nl_find_domain): Likewise.
30705 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
30706 (_nl_load_domain, _nl_find_msg): Likewise.
30707 (internal_function): Remove definition.
30708 * intl/loadinfo.h (internal_function): Likewise.
30709 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
30711 * intl/localealias.c (internal_function): Remove definition.
30712 (read_alias_file): Remove internal_function.
30713 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
30714 * intl/plural-exp.h (internal_function): Remove definition.
30715 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
30717 * intl/plural.c: Regenerate.
30718 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
30719 * locale/coll-lookup.c (__collidx_table_lookup)
30720 (__collseq_table_lookup): Likewise.
30721 * locale/coll-lookup.h (__collidx_table_lookup)
30722 (__collseq_table_lookup): Likewise.
30723 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
30724 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30725 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
30726 (_nl_unload_locale): Likewise.
30727 * locale/localeinfo.h (struct __locale_data): Remove
30728 internal_function from cleanup member.
30729 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
30730 (_nl_remove_locale, _nl_load_locale_from_archive)
30731 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
30732 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
30733 (_nl_cleanup_time): Remove internal_function.
30734 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
30735 (_nl_parse_alt_digit): Likewise.
30736 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
30737 (_nl_select_era_entry): Likewise.
30738 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
30739 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30740 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30741 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30742 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30744 2017-08-31 Florian Weimer <fweimer@redhat.com>
30746 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
30747 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30748 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
30749 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
30751 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
30752 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
30753 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
30754 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30756 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
30758 2017-08-31 Florian Weimer <fweimer@redhat.com>
30760 * misc/getttyent.c (skip, value): Remove internal_function.
30761 * misc/syslog.c (openlog_internal): Likewise.
30762 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
30764 2017-08-31 Florian Weimer <fweimer@redhat.com>
30766 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
30767 (__nss_rewrite_field): Remove internal_function.
30768 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30769 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30770 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30771 * nss/nsswitch.c (nss_parse_file, nss_getline)
30772 (nss_parse_service_list, nss_new_service): Likewise.
30773 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
30774 * nss/valid_field.c (__nss_valid_field): Likewise.
30775 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30777 2017-08-31 Florian Weimer <fweimer@redhat.com>
30779 * malloc/arena.c (__malloc_fork_lock_parent)
30780 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
30781 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
30782 internal_function from defintions.
30783 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
30784 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
30785 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
30786 internal_function from declarations.
30787 * malloc/malloc.c (internal_function): Do not define.
30788 (mem2mem_check): Remove internal_function from declaration.
30789 (munmap_chunk, mremap_chunk): Remove internal_function.
30790 * malloc/mtrace.c (tr_where): Likewise.
30792 2017-08-31 Florian Weimer <fweimer@redhat.com>
30794 * include/rpc/pmap_clnt.h (__get_socket): Remove
30796 * sunrpc/auth_des.c (synchronize): Likewise.
30797 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
30798 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
30799 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
30800 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
30801 (key_call): Likewise.
30802 * sunrpc/pm_getport.c (__get_socket): Likewise.
30803 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
30804 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
30805 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
30806 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
30807 (invalidate): Likewise.
30808 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
30809 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
30810 (set_input_fragment, get_input_bytes): Likewise.
30812 2017-08-31 Florian Weimer <fweimer@redhat.com>
30814 * malloc/malloc.c (_int_free): Remove locked variable and related
30817 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
30820 * Makerules (build-module-helper-objlist): Filter out
30821 $(elf-objpfx)sofini.os.
30822 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
30825 2017-08-31 Florian Weimer <fweimer@redhat.com>
30827 * libio/fcloseall.c: Assume weak_alias is defined.
30828 * libio/feof.c: Likewise.
30829 * libio/fileno.c: Likewise.
30830 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
30831 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30833 (_IO_file_open): Call __open directly.
30834 (_IO_new_file_sync): Assume ESPIPE is defined.
30835 (_IO_file_seekoff_maybe_mmap): Call __read directly.
30836 (_IO_new_file_write): Call __write directly.
30837 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
30838 * libio/ftello64.c (__ftello64): Assume EIO is defined.
30839 * libio/genops.c: Assume _LIBC is defined.
30840 (save_for_backup): Remove internal_function.
30841 * libio/getc.c: Assume weak_alias is defined.
30842 * libio/getwc.c: Likewise.
30843 * libio/iofclose.c: Assume _LIBC is defined.
30844 * libio/iofdopen.c: Likewise.
30845 (_IO_fcntl): Remove macro definition.
30846 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30847 Call __fcntl directly.
30848 * libio/iofflush.c: Assume weak_alias is defined.
30849 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30851 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30852 * libio/iofgets.c: Likewise.
30853 * libio/iofopen.c: Assume _LIBC is defined.
30854 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30855 * libio/iofputs.c: Assume weak_alias is defined.
30856 * libio/iofread.c: Likewise.
30857 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30858 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30859 * libio/ioftell.c: Assume weak_alias is defined.
30860 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30861 * libio/iofwide.c: Assume _LIBC is defined.
30862 (_IO_fwide): Drop SHARED conditional because it is implied by
30864 * libio/iofwrite.c: Assume weak_alias is defined.
30865 * libio/iogetdelim.c: Likewise.
30866 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30867 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30868 (_IO_getwline): Call __wmemcpy directly.
30869 * libio/iopopen.c: Assume _LIBC is defined.
30870 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30871 (_IO_close): Remove macro definitions.
30872 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30874 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30876 * libio/ioputs.c: Assume weak_alias is defined.
30877 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30878 * libio/iosetbuffer.c: Assume weak_alias is defined.
30879 * libio/iosetvbuf.c: Likewise.
30880 * libio/ioungetc.c: Likewise.
30881 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30882 libc_hidden_def, libc_hidden_weak, NULL are defined.
30883 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30884 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30886 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30888 (_IO_old_file_init_internal): Drop SHARED conditional because it
30889 is implied by SHLIB_COMPAT.
30890 (_IO_old_file_fopen): Call __open directly.
30891 (_IO_old_file_sync): Assume ESPIPE is defined.
30892 (_IO_old_file_write): Call __write directly.
30893 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30894 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30895 Call __fcntl directly.
30896 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30897 (_IO_old_fgetpos): Assume EIO is defined.
30898 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30899 (_IO_old_fgetpos64): Assume EIO is defined.
30900 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30901 (_IO_old_fsetpos): Assume EIO is defined.
30902 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30903 (_IO_old_fsetpos64): Assume EIO is defined.
30904 * libio/oldiopopen.c: Assume _LIBC is defined.
30905 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30906 (_IO_close): Remove macro definitions.
30907 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30909 (_IO_old_proc_close): Call __close, __waitpid directly.
30910 * libio/put.c: Assume weak_alias is defined.
30911 * libio/stdfiles.c: Assume _LIBC is defined.
30912 * libio/stdio.c: Likewise.
30913 * libio/wfileops.c: Likewise.
30914 (_IO_wfile_sync): Assume ESPIPE is defined.
30915 * libio/wgenops.c: Assume _LIBC is defined.
30916 (save_for_wbackup): Remove internal_function.
30918 2017-08-31 Florian Weimer <fweimer@redhat.com>
30920 * malloc/malloc.c (top_check): Change return type to void. Remove
30922 * malloc/hooks.c (top_check): Likewise.
30923 (malloc_check, realloc_check, memalign_check): Adjust.
30925 2017-08-30 Joseph Myers <joseph@codesourcery.com>
30928 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30929 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30930 sigcontext and namespace requirements.
30931 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30932 * sysdeps/m68k/sys/ucontext.h: Likewise.
30933 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30934 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30935 <bits/sigcontext.h>.
30936 (__ctx): Define earlier.
30937 (mcontext_t): Define structure contents rather than using struct
30939 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30940 __glibc_reserved1 instead of __reserved.
30941 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30942 <bits/sigcontext.h>.
30943 (__ctx): Define earlier.
30944 (mcontext_t): Define structure contents rather than using struct
30946 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30947 mcontext_t instead of struct sigcontext.
30948 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30949 <bits/sigcontext.h>.
30950 (__ctx): Define earlier.
30951 (mcontext_t): Define structure contents rather than using struct
30953 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30954 <bits/sigcontext.h>.
30955 (__ctx): Define earlier.
30956 (mcontext_t): Define structure contents rather than using struct
30958 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30959 mcontext_t instead of struct sigcontext.
30960 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30961 mcontext_t instead of struct sigcontext.
30962 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30963 <bits/sigcontext.h>.
30964 (__ctx): New macro.
30965 (struct __ia64_fpreg_mcontext): New type.
30966 (mcontext_t): Define structure contents rather than using struct
30968 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30969 (uc_sigmask): Define using __ctx.
30970 (uc_stack): Likewise.
30971 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30972 <bits/sigcontext.h>.
30973 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30974 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30975 <bits/sigcontext.h>.
30976 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30977 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30978 <bits/sigcontext.h>.
30979 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30980 <bits/sigcontext.h>.
30981 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30982 <bits/sigcontext.h>.
30983 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30984 <bits/sigcontext.h>.
30985 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30986 <bits/sigcontext.h>.
30987 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30988 <bits/sigcontext.h>.
30989 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30990 <bits/sigcontext.h>.
30991 (__ctx): Define earlier.
30992 (mcontext_t): Define structure contents rather than using struct
30994 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30995 <bits/sigcontext.h>. Include <bits/types.h>.
30996 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30997 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30998 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30999 (test-xfail-UNIX98/signal.h/conform): Likewise.
31000 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31001 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31002 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31003 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31004 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31005 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31006 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31007 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31008 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31010 2017-08-30 Florian Weimer <fweimer@redhat.com>
31012 * malloc/dynarray_emplace_enlarge.c
31013 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31014 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31015 * malloc/tst-dynarray.c (test_long_overflow): New function.
31016 (do_test): Call it.
31018 2017-08-30 Florian Weimer <fweimer@redhat.com>
31020 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31021 (set_arena_corrupt): Remove definitions.
31022 (mtrim): Do not check for corrupt arena.
31023 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31026 2017-08-30 Florian Weimer <fweimer@redhat.com>
31029 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31031 (ptmalloc_init): Do not set or use check_action.
31032 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31033 call to malloc_printerr. Remove return statement.
31034 (free_check): Likewise. Remove arena unlock.
31035 (top_check): Update comment. Adjust call to malloc_printerr.
31036 Remove heap repair code.
31037 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31038 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31039 (sysmalloc): Adjust call to malloc_printerr.
31040 (munmap_chunk, __libc_realloc): Likewise. Remove return
31042 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31043 Remove errout label and corresponding gotos.
31044 (_int_free): Likewise. Remove arena unlock.
31045 (do_set_mallopt_check): Do not set check_action.
31046 (malloc_printerr): Adjust parameter list. Do not mark arena as
31048 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31050 * manual/probes.texi (Memory Allocation Probes): Remove
31051 memory_mallopt_check_action.
31053 2017-08-30 Steve Ellcey <sellcey@cavium.com>
31055 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31056 Use pointer to uint64_t instead of long int for sp.
31058 2017-08-30 Florian Weimer <fweimer@redhat.com>
31061 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31062 without printing a backtrace. Do not leak any information in the
31064 * manual/memory.texi (Heap Consistency Checking): Update.
31065 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31067 2017-08-30 Florian Weimer <fweimer@redhat.com>
31069 Do not scale NPTL tests with available number of CPUs.
31070 * nptl/tst-cond16.c (count): Set to constant value of 8.
31071 * nptl/tst-cond18.c (count): Likewise.
31073 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31076 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31077 Define to take a second argument that is a macro that
31078 concatentates a suffix, not the suffix itself.
31079 (__CONCAT_d): New macro.
31080 (__CONCAT_f): Likewise.
31081 (__CONCAT_l): Likewise.
31083 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31085 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31088 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31089 Aurelien Jarno <aurelien@aurel32.net>
31090 Maciej W. Rozycki <macro@imgtec.com>
31093 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31094 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31095 `mips16-syscall6' and `mips16-syscall7'.
31096 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31097 (CFLAGS-mips16-syscall7.c): Remove.
31098 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31099 Remove `__mips16_syscall5', `__mips16_syscall6' and
31100 `__mips16_syscall7'.
31101 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31102 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31103 `__mips_syscall_return'.
31104 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31105 (__mips16_syscall1): Likewise.
31106 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31107 (__mips16_syscall2): Likewise.
31108 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31109 (__mips16_syscall3): Likewise.
31110 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31111 (__mips16_syscall4): Likewise.
31112 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31114 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31116 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31118 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31119 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31120 `__mips16_syscall5'. Remove prototype.
31121 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31122 `__mips16_syscall6'. Remove prototype.
31123 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31124 `__mips16_syscall7'. Remove prototype.
31125 (__nomips16, __mips16_syscall_return): Move to...
31126 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31127 (__nomips16, __mips_syscall_return): ... here.
31128 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31129 `__mips16_syscall_return' to `__mips_syscall_return'.
31130 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31131 `internal_syscall##nr'.
31132 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31133 `internal_syscall##nr'.
31134 (FORCE_FRAME_POINTER): Remove.
31135 (__mips_syscall5): New prototype.
31136 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31137 (__mips_syscall6): New prototype.
31138 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31139 (__mips_syscall7): New prototype.
31140 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31141 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31142 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31143 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31144 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31145 (sysdep_routines): Add libc-do-syscall.
31146 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31147 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31149 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31152 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31153 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31154 (advise_stack_range): New function.
31155 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31156 stack non required to advise_stack_range at allocatestack.c
31158 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31160 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31162 2017-08-29 Florian Weimer <fweimer@redhat.com>
31165 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31166 __end_fct. Mangle __end_fct after setting it to NULL.
31167 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31168 (modules-names, modules-names-tests): Add
31169 tst-gconv-init-failure-mod.
31170 (gconv-modules): New target.
31171 (tst-gconv-init-failure-mod.so): Link against libsupport.
31172 (tst-gconv-init-failure): Depend on gconv-modules,
31173 tst-gconv-init-failure-mod.so.
31174 * iconv/tst-gconv-init-failure-mod.c: New file.
31175 * iconv/tst-gconv-init-failure.c: Likewise.
31176 * iconv/test-gconv-modules: Likewise.
31178 2017-08-29 Florian Weimer <fweimer@redhat.com>
31181 * iconv/gconv_db.c (free_derivation): Remove redundant
31183 (gen_steps): Unconditionally mangle __btowc_fct after
31185 (increment_counter): Likewise. Do not call init_fct for internal
31188 2017-08-29 Joseph Myers <joseph@codesourcery.com>
31191 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31192 (_MSUF_): Remove macro.
31193 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31195 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31196 (__REDIRFROM_X): New macro.
31197 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31199 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31200 (__REDIRTO_X): Likewise.
31201 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31203 (__MATH_REDIRCALL_2): Likewise.
31204 (__MATH_REDIRCALL_INTERNAL): Likewise.
31205 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31206 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31207 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31208 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31209 * math/test-finite-macros.c: New file.
31210 * math/Makefile (tests): Add test-finite-macros.
31211 (CFLAGS-test-finite-macros.c): New variable.
31213 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
31214 Jeff Law <law@redhat.com>
31217 Mangle NULL pointers in iconv/gconv.
31218 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31219 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31220 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31221 is non-NULL before demangling the end_fct. Check for NULL
31222 end_fct after demangling.
31223 (__gconv_release_step): Demangle the end_fct before checking
31224 it for NULL. Remove assert on __shlibc_handle != NULL.
31225 (gen_steps): Don't check btowc_fct for NULL before mangling.
31226 Demangle init_fct before checking for NULL.
31227 (increment_counter): Likewise.
31228 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31229 end_fct for NULL before mangling.
31230 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31233 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
31236 * locale/iso-639.def: add Morisyen.
31238 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31241 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31242 (iszero): New C++ implementation that does not use
31243 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31244 signaling nans are enabled, since __builtin_types_compatible_p
31245 is a C-only feature.
31246 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31247 defined, include ieee754_float128.h for access to the union and
31248 member ieee854_float128.ieee.
31249 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31250 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31251 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31252 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31253 options of test-math-zero on powerpc64le.
31255 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31257 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31258 Change double to float.
31260 2017-08-28 Joseph Myers <joseph@codesourcery.com>
31262 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31264 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31265 conditional code; define contents only for [LIBM_SVID_COMPAT].
31267 2017-08-28 Florian Weimer <fweimer@redhat.com>
31269 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31270 (abi-lp64_be-options): Remove.
31271 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31272 (abi-hard-options): Likewise.
31273 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31274 (abi-o32_hard-options, abi-o32_soft_2008-options)
31275 (abi-o32_hard_2008-options, abi-n32_soft-options)
31276 (abi-n32_hard-options, abi-n32_soft_2008-options)
31277 (abi-n32_hard_2008-options, abi-n64_soft-options)
31278 (abi-n64_hard-options, abi-n64_soft_2008-options)
31279 (abi-n64_hard_2008-options): Likewise.
31280 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31281 (abi-64-v1-options, abi-64-v2-options): Likewise.
31282 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31283 (abi-64-options): Likewise.
31284 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31285 (abi-64-options): Likewise.
31286 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31287 (abi-64-options): Likewise.
31288 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
31289 (abi-64-options, abi-x32-options): Likewise.
31291 2017-08-28 Florian Weimer <fweimer@redhat.com>
31293 Store supported list of SYS_* system calls in the source tree.
31294 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
31295 (bits/syscall.h): Generate from list file.
31296 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
31297 [$(subdir) = misc] (tests): Add tst-syscall-list.
31298 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
31299 [$(subdir) = misc] (tst-syscall-list-macros.list)
31300 [$(subdir) = misc] (tst-syscall-list-nr.list)
31301 (tst-syscall-list-sys.list): Helper targets for new
31302 tst-syscall-list test.
31303 [$(subdir) = misc] (tst-syscall-list.out): Run test script
31304 tst-syscall-list.sh.
31305 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
31306 target. Do not include bits/syscall.d.
31307 [$(subdir) = misc] (generated): Do not update.
31308 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
31309 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
31310 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
31311 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
31313 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
31315 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
31316 (tst-cxa_atexit, tst-on_exit): Likewise.
31317 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
31318 tst-cxa_atexit, and tst-on_exit.
31319 * stdlib/tst-atexit-common.c: New file.
31320 * stdlib/tst-atexit.c: New file.
31321 * stdlib/tst-at_quick_exit.c: New file.
31322 * stdlib/tst-cxa_atexit.c: New file.
31323 * stdlib/tst-on_exit.c: New file.
31325 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31327 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
31328 * mach/stack_chk_fail_local.c: New file.
31329 * hurd/stack_chk_fail_local.c: New file.
31330 * mach/Machrules ($(interface-library)-routines): Add
31331 stack_chk_fail_local.
31332 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
31333 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
31334 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
31335 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
31336 * hurd/Makefile (CFLAGS-hurdstartup.o,
31337 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
31339 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
31341 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31342 (index_cpu_*, index_arch_*): Removed.
31344 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31346 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
31347 Use uint64_t instead of unsigned long.
31349 2017-08-25 Joseph Myers <joseph@codesourcery.com>
31351 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
31352 [__HAVE_DISTINCT_FLOAT128].
31354 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
31355 of <bits/math-finite.h>.
31356 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
31357 inclusion of <bits/math-finite.h>.
31358 * math/bits/math-finite.h (__REDIRTO_X): Do not define
31359 conditionally on [__MATH_DECLARING_LDOUBLE && defined
31360 __NO_LONG_DOUBLE_MATH].
31361 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
31362 (__MATH_REDIRCALL_2): Likewise.
31363 (__MATH_REDIRCALL_INTERNAL): Likewise.
31364 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31365 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
31366 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
31370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
31372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
31374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
31376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
31378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
31380 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31381 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31382 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31383 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
31385 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
31386 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
31387 w_sqrtf_compat-ppc32.
31389 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31391 * math/math.h [defined __cplusplus] (issignaling): In the long
31392 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
31393 is not defined. Call __issignaling, otherwise.
31395 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31397 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
31398 syscall definitions and replace __builtin_expect with __glibc_likely.
31399 * sysdeps/unix/syscall-template.S: Update comment about cancellable
31401 (SYSCALL_CANCELLABLE): Removedefinition
31402 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
31404 (PSEUDO_END): Likewise.
31405 [IS_IN (libpthread)] (CENABLE): Likewise.
31406 [IS_IN (libpthread)] (CDISABLE): Likewise.
31407 [IS_IN (libc)] (CENABLE): Likewise.
31408 [IS_IN (libc)] (CENABLE): Likewise.
31409 [IS_IN (librt)] (CDISABLE): Likewise.
31410 [IS_IN (librt)] (CDISABLE): Likewise.
31411 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31412 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31414 (PSEUDO_END): Likewise.
31415 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31416 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31417 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31418 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31419 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31420 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31421 (CENABLE): Likewise.
31422 (CDISABLE): Likewise.
31423 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31424 * sysdeps/unix/sysv/linux/arm/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/hppa/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/i386/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/ia64/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/m68k/sysdep-cancel.h (PSEUDO): Remove
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 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31474 * sysdeps/unix/sysv/linux/microblaze/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/mips/mips64/sysdep-cancel.h (PSEUDO):
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 (SINGLE_THREAD_P): Likewise.
31494 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
31496 (PSEUDO_END): Likewise.
31497 [IS_IN (libpthread)] (CENABLE): Likewise.
31498 [IS_IN (libpthread)] (CDISABLE): Likewise.
31499 [IS_IN (libc)] (CENABLE): Likewise.
31500 [IS_IN (libc)] (CENABLE): Likewise.
31501 [IS_IN (librt)] (CDISABLE): Likewise.
31502 [IS_IN (librt)] (CDISABLE): Likewise.
31503 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31504 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
31506 (PSEUDO_END): Likewise.
31507 [IS_IN (libpthread)] (CENABLE): Likewise.
31508 [IS_IN (libpthread)] (CDISABLE): Likewise.
31509 [IS_IN (libc)] (CENABLE): Likewise.
31510 [IS_IN (libc)] (CENABLE): Likewise.
31511 [IS_IN (librt)] (CDISABLE): Likewise.
31512 [IS_IN (librt)] (CDISABLE): Likewise.
31513 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31514 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
31515 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31516 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
31517 * sysdeps/unix/sysv/linux/s390/s390-32/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/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
31529 (PSEUDO_END): Likewise.
31530 [IS_IN (libpthread)] (CENABLE): Likewise.
31531 [IS_IN (libpthread)] (CDISABLE): Likewise.
31532 [IS_IN (libc)] (CENABLE): Likewise.
31533 [IS_IN (libc)] (CENABLE): Likewise.
31534 [IS_IN (librt)] (CDISABLE): Likewise.
31535 [IS_IN (librt)] (CDISABLE): Likewise.
31536 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31537 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
31539 (PSEUDO_END): Likewise.
31540 [IS_IN (libpthread)] (CENABLE): Likewise.
31541 [IS_IN (libpthread)] (CDISABLE): Likewise.
31542 [IS_IN (libc)] (CENABLE): Likewise.
31543 [IS_IN (libc)] (CENABLE): Likewise.
31544 [IS_IN (librt)] (CDISABLE): Likewise.
31545 [IS_IN (librt)] (CDISABLE): Likewise.
31546 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31547 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
31548 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31549 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
31550 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
31552 (PSEUDO_END): Likewise.
31553 [IS_IN (libpthread)] (CENABLE): Likewise.
31554 [IS_IN (libpthread)] (CDISABLE): Likewise.
31555 [IS_IN (libc)] (CENABLE): Likewise.
31556 [IS_IN (libc)] (CENABLE): Likewise.
31557 [IS_IN (librt)] (CDISABLE): Likewise.
31558 [IS_IN (librt)] (CDISABLE): Likewise.
31559 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31560 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
31562 (PSEUDO_END): Likewise.
31563 [IS_IN (libpthread)] (CENABLE): Likewise.
31564 [IS_IN (libpthread)] (CDISABLE): Likewise.
31565 [IS_IN (libc)] (CENABLE): Likewise.
31566 [IS_IN (libc)] (CENABLE): Likewise.
31567 [IS_IN (librt)] (CDISABLE): Likewise.
31568 [IS_IN (librt)] (CDISABLE): Likewise.
31569 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31571 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
31573 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
31575 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31577 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31579 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31582 * string/stratcliff.c (do_test): Declare size, nchars, inner,
31583 middle and outer with size_t instead of int. Repleace %d and
31584 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
31585 "MAX (outer, nchars - 64)" to support unsigned outer and
31586 nchars. Also exit loop when outer == 0.
31588 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31590 * include/fcntl.h (__fcntl_nocancel): Remove definition.
31591 * include/signal.h (__sigsuspend_nocancel): Likewise.
31592 * include/time.h (__nanosleep_nocancel): Likewise.
31593 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
31594 * login/utmp_file.c: Include non cancellable syscall header.
31595 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
31598 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31600 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
31601 .byte sequences with AVX512F instructions.
31602 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
31603 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
31604 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31605 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
31607 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
31610 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
31611 Steve Ellcey <sellcey@cavium.com>
31613 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
31614 Use PTR_REG macro in cmp instruction.
31616 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31618 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
31619 Change the return type of the ifunc resolver to match the return
31620 type of the target function.
31622 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31624 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
31625 (preadv64): Likewise.
31626 (pwrite64(: Likewise.
31627 (pwritev64): Likewise.
31629 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31630 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
31631 (LOAD_ARGS_0): Likewise.
31632 (LOAD_ARGS_1): Likewise.
31633 (LOAD_ARGS_2): Likewise.
31634 (LOAD_ARGS_3): Likewise.
31635 (LOAD_ARGS_4): Likewise.
31636 (LOAD_ARGS_5): Likewise.
31637 (LOAD_ARGS_6): Likewise.
31638 (LOAD_REGS_0): Likewise.
31639 (LOAD_REGS_1): Likewise.
31640 (LOAD_REGS_2): Likewise.
31641 (LOAD_REGS_3): Likewise.
31642 (LOAD_REGS_4): Likewise.
31643 (LOAD_REGS_5): Likewise.
31644 (LOAD_REGS_6): Likewise.
31645 (ASM_ARGS_0): Likewise.
31646 (ASM_ARGS_1): Likewise.
31647 (ASM_ARGS_2): Likewise.
31648 (ASM_ARGS_3): Likewise.
31649 (ASM_ARGS_4): Likewise.
31650 (ASM_ARGS_5): Likewise.
31651 (ASM_ARGS_6): Likewise.
31652 (LOAD_ARGS_TYPES_1): Likewise.
31653 (LOAD_ARGS_TYPES_2): Likewise.
31654 (LOAD_ARGS_TYPES_3): Likewise.
31655 (LOAD_ARGS_TYPES_4): Likewise.
31656 (LOAD_ARGS_TYPES_5): Likewise.
31657 (LOAD_ARGS_TYPES_6): Likewise.
31658 (LOAD_REGS_TYPES_1): Likewise.
31659 (LOAD_REGS_TYPES_2): Likewise.
31660 (LOAD_REGS_TYPES_3): Likewise.
31661 (LOAD_REGS_TYPES_4): Likewise.
31662 (LOAD_REGS_TYPES_5): Likewise.
31663 (LOAD_REGS_TYPES_6): Likewise.
31664 (TYPEFY): New define.
31665 (ARGIFY): Likewise.
31666 (internal_syscall0): Likewise.
31667 (internal_syscall1): Likewise.
31668 (internal_syscall2): Likewise.
31669 (internal_syscall3): Likewise.
31670 (internal_syscall4): Likewise.
31671 (internal_syscall5): Likewise.
31672 (internal_syscall6): Likewise.
31673 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
31674 (INTERNAL_SYSCALL_NCS): Remove define.
31675 (internal_syscall1): Add define.
31677 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31679 * math/w_remainder_compat.c: Remove duplicate inclusion of
31680 math-svid-compat.h.
31681 * math/w_remainderf_compat.c: Likewise.
31682 * math/w_remainderl_compat.c: Likewise.
31684 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31688 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31691 * math/tgmath.h (__floating_type): Simplify definitions.
31692 (__real_integer_type): New macro.
31693 (__complex_integer_type): Likewise.
31694 (__expr_is_real): Likewise.
31695 (__tgmath_real_type_sub): Update comment to describe handling of
31697 (__tgmath_complex_type_sub): New macro.
31698 (__tgmath_complex_type): Likewise.
31699 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31700 (__TGMATH_CF128): Use __expr_is_real.
31701 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
31703 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31704 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
31705 * math/gen-tgmath-tests.py (Type.create_type): Create complex
31708 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31710 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
31712 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
31714 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
31717 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
31718 nanosleep_not_cancel with __nanosleep_nocancel.
31719 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
31720 (__nanosleep_nocancel): New macro.
31721 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
31723 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
31725 (__nanosleep_nocancel): New prototype.
31727 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
31728 pause_not_cancel with __pause_nocancel.
31729 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
31730 (__pause_nocancel): New macro.
31731 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
31733 (__pause_nocancel): New prototype.
31734 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
31736 2017-08-22 Martin Sebor <msebor@redhat.com>
31738 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
31739 to return a pointer to the same type as the target function.
31741 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31745 * include/printf.h (__printf_fphex): Add attribute_hidden.
31746 (__guess_grouping): New prototype.
31747 * stdio-common/printf_fp.c (__guess_grouping): Removed.
31748 * stdio-common/reg-printf.c (__register_printf_specifier): Add
31749 libc_hidden_proto and libc_hidden_def.
31750 * stdlib/strfmon_l.c (__guess_grouping): Removed.
31751 (__vstrfmon_l): Remove the third argument passed to
31754 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31756 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
31757 definition for issignaling that does not rely on __MATH_TG,
31758 since __MATH_TG uses __builtin_types_compatible_p, which is only
31759 available in C mode.
31760 (CFLAGS-test-math-issignaling.cc): New variable.
31761 * math/Makefile [CXX] (tests): Add test-math-issignaling.
31762 * math/test-math-issignaling.cc: New test for C++ implementation
31763 of type-generic issignaling.
31764 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31765 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
31766 options of test-math-issignaling on powerpc64le.
31768 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31770 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31772 (hidden_proto): Likewise.
31773 (hidden_tls_proto): Likewise.
31774 (__hidden_proto): Likewise.
31776 2017-08-22 Florian Weimer <fweimer@redhat.com>
31778 math: Statically link tests of internal functionality.
31779 * math/Makefile (tests): Remove atest-exp, atest-sincos,
31781 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
31782 (gmp-objs): Remove assignment.
31783 (atest-exp, atest-sincos, atest-exp2): Remove targets.
31785 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31788 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
31790 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
31792 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
31795 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
31796 variable definitions above inclusion of ../Rules.
31798 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31800 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
31801 case calling __builtin_unreachable.
31803 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31805 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
31806 __waitpid_nocancel.
31807 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
31808 (__waitpid_nocancel): New macro.
31809 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
31811 (__waitpid_nocancel): Replace macro with a function.
31812 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
31815 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
31817 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
31818 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
31820 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
31821 __writev_nocancel_nostatus.
31822 (write_call_graph): Likewise.
31823 (write_bb_counts): Likewise.
31824 * resolv/herror.c (herror): Likewise.
31825 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
31827 (__writev_nocancel_nostatus): New macro.
31828 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
31830 (__writev_nocancel_nostatus): New function.
31832 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31835 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31837 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31839 (hidden_proto): Likewise.
31840 (hidden_tls_proto): Likewise.
31841 (__hidden_proto): Likewise.
31844 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31845 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31854 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31855 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31856 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31857 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31858 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31859 GLIBC_2.0 sqrtl symbol.
31861 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31862 [__USE_MISC] (_LIB_VERSION): Likewise.
31863 [__USE_MISC] (struct exception): Likewise.
31864 [__USE_MISC] (matherr): Likewise.
31865 [__USE_MISC] (DOMAIN): Likewise.
31866 [__USE_MISC] (SING): Likewise.
31867 [__USE_MISC] (OVERFLOW): Likewise.
31868 [__USE_MISC] (UNDERFLOW): Likewise.
31869 [__USE_MISC] (TLOSS): Likewise.
31870 [__USE_MISC] (PLOSS): Likewise.
31871 [__USE_MISC] (HUGE): Likewise.
31872 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31873 * math/math-svid-compat.h: New file.
31874 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31876 * include/math.h [!_ISOMAC] (__matherr): Remove.
31877 * manual/arith.texi (FP Exceptions): Do not document matherr.
31878 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31879 (tests-internal): New variable.
31880 (install-lib): Do not add libieee.a.
31881 (non-lib.a): Likewise.
31882 (extra-objs): Do not add libieee.a and ieee-math.o.
31883 (CPPFLAGS-s_lib_version.c): Remove variable.
31884 ($(objpfx)libieee.a): Remove rule.
31885 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31886 * math/ieee-math.c: Remove.
31887 * math/libm-test-support.c (matherr): Remove.
31888 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31889 and license notices. Include <math-svid-compat.h> and
31891 (matherr): Undefine as macro. Use compat_symbol_reference.
31892 (_LIB_VERSION): Likewise.
31893 * math/test-matherr-2.c: New file.
31894 * math/test-matherr-3.c: Likewise.
31895 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31897 (__kernel_standard_f): Likewise.
31898 (__kernel_standard_l): Likewise.
31899 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31900 <math_private.h>. Include <math-svid-compat.h>.
31901 (_LIB_VERSION): Undefine as macro.
31902 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31903 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31904 [LIBM_SVID_COMPAT], use compat_symbol.
31905 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31906 <math_private.h>. Include <math-svid-compat.h>.
31907 (matherr): Undefine as macro.
31908 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31910 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31911 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31912 compat_symbol_reference.
31913 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31914 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31915 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31916 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31917 (MATHERR_D): Remove declaration.
31918 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31919 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31920 [LIBM_BUILD] (pmatherrf): Likewise.
31921 [LIBM_BUILD] (pmatherr): Likewise.
31922 [LIBM_BUILD] (pmatherrl): Likewise.
31923 (DOMAIN): Likewise.
31925 (OVERFLOW): Likewise.
31926 (UNDERFLOW): Likewise.
31929 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31930 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31932 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31933 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31935 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31936 * math/w_acos_compat.c: Likewise.
31937 * math/w_acosf_compat.c: Likewise.
31938 * math/w_acosh_compat.c: Likewise.
31939 * math/w_acoshf_compat.c: Likewise.
31940 * math/w_acoshl_compat.c: Likewise.
31941 * math/w_acosl_compat.c: Likewise.
31942 * math/w_asin_compat.c: Likewise.
31943 * math/w_asinf_compat.c: Likewise.
31944 * math/w_asinl_compat.c: Likewise.
31945 * math/w_atan2_compat.c: Likewise.
31946 * math/w_atan2f_compat.c: Likewise.
31947 * math/w_atan2l_compat.c: Likewise.
31948 * math/w_atanh_compat.c: Likewise.
31949 * math/w_atanhf_compat.c: Likewise.
31950 * math/w_atanhl_compat.c: Likewise.
31951 * math/w_cosh_compat.c: Likewise.
31952 * math/w_coshf_compat.c: Likewise.
31953 * math/w_coshl_compat.c: Likewise.
31954 * math/w_exp10_compat.c: Likewise.
31955 * math/w_exp10f_compat.c: Likewise.
31956 * math/w_exp10l_compat.c: Likewise.
31957 * math/w_exp2_compat.c: Likewise.
31958 * math/w_exp2f_compat.c: Likewise.
31959 * math/w_exp2l_compat.c: Likewise.
31960 * math/w_fmod_compat.c: Likewise.
31961 * math/w_fmodf_compat.c: Likewise.
31962 * math/w_fmodl_compat.c: Likewise.
31963 * math/w_hypot_compat.c: Likewise.
31964 * math/w_hypotf_compat.c: Likewise.
31965 * math/w_hypotl_compat.c: Likewise.
31966 * math/w_j0_compat.c: Likewise.
31967 * math/w_j0f_compat.c: Likewise.
31968 * math/w_j0l_compat.c: Likewise.
31969 * math/w_j1_compat.c: Likewise.
31970 * math/w_j1f_compat.c: Likewise.
31971 * math/w_j1l_compat.c: Likewise.
31972 * math/w_jn_compat.c: Likewise.
31973 * math/w_jnf_compat.c: Likewise.
31974 * math/w_jnl_compat.c: Likewise.
31975 * math/w_lgamma_main.c: Likewise.
31976 * math/w_lgamma_r_compat.c: Likewise.
31977 * math/w_lgammaf_main.c: Likewise.
31978 * math/w_lgammaf_r_compat.c: Likewise.
31979 * math/w_lgammal_main.c: Likewise.
31980 * math/w_lgammal_r_compat.c: Likewise.
31981 * math/w_log10_compat.c: Likewise.
31982 * math/w_log10f_compat.c: Likewise.
31983 * math/w_log10l_compat.c: Likewise.
31984 * math/w_log2_compat.c: Likewise.
31985 * math/w_log2f_compat.c: Likewise.
31986 * math/w_log2l_compat.c: Likewise.
31987 * math/w_log_compat.c: Likewise.
31988 * math/w_logf_compat.c: Likewise.
31989 * math/w_logl_compat.c: Likewise.
31990 * math/w_pow_compat.c: Likewise.
31991 * math/w_powf_compat.c: Likewise.
31992 * math/w_powl_compat.c: Likewise.
31993 * math/w_remainder_compat.c: Likewise.
31994 * math/w_remainderf_compat.c: Likewise.
31995 * math/w_remainderl_compat.c: Likewise.
31996 * math/w_scalb_compat.c: Likewise.
31997 * math/w_scalbf_compat.c: Likewise.
31998 * math/w_scalbl_compat.c: Likewise.
31999 * math/w_sinh_compat.c: Likewise.
32000 * math/w_sinhf_compat.c: Likewise.
32001 * math/w_sinhl_compat.c: Likewise.
32002 * math/w_sqrt_compat.c: Likewise.
32003 * math/w_sqrtf_compat.c: Likewise.
32004 * math/w_sqrtl_compat.c: Likewise.
32005 * math/w_tgamma_compat.c: Likewise.
32006 * math/w_tgammaf_compat.c: Likewise.
32007 * math/w_tgammal_compat.c: Likewise.
32008 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32009 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32010 * sysdeps/ieee754/k_standard.c: Likewise.
32011 * sysdeps/ieee754/k_standardf.c: Likewise.
32012 * sysdeps/ieee754/k_standardl.c: Likewise.
32013 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32014 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32015 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32016 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32017 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32018 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32019 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32020 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32021 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32026 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32027 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32028 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32029 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32031 2017-08-21 Florian Weimer <fweimer@redhat.com>
32034 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32035 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32036 Move before inclusion of ../Rules.
32038 2017-08-21 Florian Weimer <fweimer@redhat.com>
32041 * assert/assert.h (assert): Use static_cast (bool) for C++.
32042 Use the ternary operator in the warning branch for GNU C.
32043 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32044 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32045 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32046 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32047 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32049 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32052 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32053 (__syscall_clock_gettime): Add attribute_hidden.
32054 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32055 (__start_context): Likewise.
32057 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32059 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32061 (hidden_proto): Likewise.
32062 (hidden_tls_proto): Likewise.
32063 (__hidden_proto): Likewise.
32065 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32067 * include/libc-symbols.h (attribute_hidden): Enable hidden
32068 visibility in libc.a compiled with PIE.
32070 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32073 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32074 Add attribute_hidden.
32076 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32079 * Makerules (all-nonlib): Add $(others-extras).
32080 * catgets/Makefile (others-extras): New.
32081 * elf/Makefile (others-extras): Likewise.
32082 * nss/Makefile (others-extras): Likewise.
32084 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32087 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32088 * elf/dl-open.c: Include <libc-internal.h>.
32089 (__libc_multiple_libcs): Removed.
32090 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32092 * include/libc-internal.h (__libc_multiple_libcs): New.
32093 * misc/sbrk.c: Include <libc-internal.h>.
32094 (__libc_multiple_libcs): Removed.
32096 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32099 * grp/initgroups.c (__nss_group_database): Removed.
32100 (__nss_initgroups_database): Likewise.
32101 * nscd/gai.c (__nss_hosts_database): Likewise.
32102 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32103 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32104 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32105 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32106 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32107 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32109 * nss/nsswitch.c (__nss_database_custom): Define only if
32110 USE_NSCD is defined.
32111 (__nss_configure_lookup): Use __nss_database_custom only if
32112 USE_NSCD is defined.
32113 * nss/nsswitch.h (__nss_database_custom): Declare only if
32114 USE_NSCD is defined. Add attribute_hidden.
32115 (__nss_setent): Add attribute_hidden.
32116 (__nss_endent): Likewise.
32117 (__nss_getent_r): Likewise.
32118 (__nss_getent): Likewise.
32119 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32121 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32124 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32125 libc_hidden_proto and libc_hidden_def.
32127 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32130 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32131 Add libc_hidden_proto.
32132 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32133 Add libc_hidden_def.
32135 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32138 * gmon/Makefile (routines): Remove bb_init_func and
32140 (elide-routines.os): Removed.
32141 * gmon/bb_exit_func.c: Likewise.
32142 * gmon/bb_init_func.c: Likewise.
32143 * include/sys/gmon.h (__bb): Likewise.
32144 (__bb_init_func): Likewise.
32145 (__bb_exit_func): Likewise.
32146 * sysdeps/alpha/bb_init_func.S: Likewise.
32148 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32150 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32151 * include/setjmp.h (____longjmp_chk): Here. Add
32154 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32157 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32159 (__strspn_sse2): Likewise.
32161 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32163 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32164 (close_not_cancel_no_status): Likewise.
32165 (__close_nocancel): New macro.
32166 (__close_nocancel_nostatus): Likewise.
32167 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32169 (close_not_cancel): Likewise.
32170 (close_not_cancel_no_status): Likewise.
32171 (__close_nocancel): New prototype.
32172 (__close_nocancel_nostatus): New function.
32173 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32174 * catgets/open_catalog.c (__open_catalog): Replace
32175 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32176 * gmon/gmon.c (write_gmon): Likewise.
32177 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32178 * intl/loadmsgcat.c (close): Likewise.
32179 * io/ftw.c (open_dir_stream): Likewise.
32180 (ftw_startup): Likewise.
32181 * libio/fileops.c (_IO_file_open): Likewise.
32182 (_IO_file_close_mmap): Likewise.
32183 (_IO_file_close): Likewise.
32184 * libio/iopopen.c (_IO_dup2): Likewise.
32185 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32186 * locale/loadlocale.c (_nl_load_locale): Likewise.
32187 * login/utmp_file.c (pututline_file): Likewise.
32188 (endutent_file): Likewise.
32189 * misc/daemon.c (daemon): Likewise.
32190 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32191 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32192 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32193 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32194 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32195 * nscd/nscd_helper.c (open_socket): Likewise.
32196 (__nscd_open_socket): Likewise.
32197 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32198 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32199 (__nscd_innetgr): Likewise.
32200 * nss/nss_db/db-open.c (internal_setent): Likewise.
32201 * resolv/res-close.c (__res_iclose): Likewise.
32202 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32203 * sysdeps/posix/closedir.c (__closedir): Likewise.
32204 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32205 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32206 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32207 (opendir_tail): Likewise.
32208 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32209 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32210 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32211 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32212 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32213 (gethostid): Likewise.
32214 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32215 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32217 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32218 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32219 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32220 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32222 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32223 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32224 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32226 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32227 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32229 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32231 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32232 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32233 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32236 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32237 (openat_not_cancel_3): Likewise.
32238 (openat64_not_cancel_3): Likewise).
32239 (openat_not_cancel_3): Likewise).
32240 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32242 (openat_not_cancel_3): Likewise.
32243 (openat64_not_cancel): Likewise.
32244 (openat64_not_cancel_3): Likewise.
32245 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32246 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32247 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32248 __open{64}_nocancel.
32249 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32250 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32251 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32253 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32256 * include/argz.h (__argz_create_sep): New function prototype.
32257 (__argz_append): Likewise.
32258 (__argz_add): Likewise.
32259 (__argz_add_sep): Likewise.
32260 (__argz_delete): Likewise.
32261 (__argz_insert): Likewise.
32262 (__argz_replace): Likewise.
32263 * string/argz.h (__argz_create_sep): Removed.
32264 (__argz_append): Likewise.
32265 (__argz_add): Likewise.
32266 (__argz_add_sep): Likewise.
32267 (__argz_delete): Likewise.
32268 (__argz_insert): Likewise.
32269 (__argz_replace): Likewise.
32271 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32273 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32274 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32275 (GNU_PROPERTY_STACK_SIZE): Likewie.
32276 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32277 (GNU_PROPERTY_LOPROC): Likewise.
32278 (GNU_PROPERTY_HIPROC): Likewise.
32279 (GNU_PROPERTY_LOUSER): Likewise.
32280 (GNU_PROPERTY_HIUSER): Likewise.
32281 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32282 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32283 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32284 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32285 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32286 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32287 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
32288 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
32289 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
32290 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
32291 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
32292 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
32293 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
32294 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
32295 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
32296 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
32297 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
32298 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
32299 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
32300 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
32301 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
32302 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
32303 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
32305 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32307 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
32310 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32313 * math/math.h (isinf): Check if in C or C++ mode before using
32314 __builtin_types_compatible_p, since this is a C mode feature.
32316 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32318 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
32319 (__write_nocancel): New macro.
32320 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
32321 Rewrite as a function prototype.
32322 (write_not_cancel): Remove macro.
32323 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
32324 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
32325 (write_gmon): Likewise.
32326 * libio/fileops.c (_IO_new_file_write): Likewise.
32327 * login/utmp_file.c (pututline_file): Likewise.
32328 (updwtmp_file): Likewise.
32329 * stdio-common/psiginfo.c (psiginfo): Likewise.
32330 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32331 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32332 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32334 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32337 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
32338 (__read_nocancel): New macro.
32339 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32341 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
32343 (__read_nocancel): New prototype.
32344 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
32345 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
32346 with __read_nocancel.
32347 * intl/loadmsgcat.c (read): Likewise.
32348 * libio/fileops.c (_IO_file_read): Likewise.
32349 * locale/loadlocale.c (_nl_load_locale): Likewise.
32350 * login/utmp_file.c (getutent_r_file): Likewise.
32351 (internal_getut_r): Likewise.
32352 (getutline_r_file): Likewise.
32353 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32354 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32355 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32356 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32358 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
32359 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32360 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32362 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32364 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32366 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32368 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32370 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32373 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
32374 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
32377 2017-08-17 DJ Delorie <dj@redhat.com>
32379 * bug17079.c: Update to new test harness.
32380 * test-digits-dots.c: Likewise.
32381 * test-netdb.c: Likewise.
32382 * tst-field.c: Likewise.
32383 * tst-nss-getpwent.c: Likewise.
32384 * tst-nss-static.c: Likewise.
32385 * tst-nss-test1.c: Likewise.
32386 * tst-nss-test2.c: Likewise.
32387 * tst-nss-test3.c: Likewise.
32388 * tst-nss-test4.c: Likewise.
32389 * tst-nss-test5.c: Likewise.
32391 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32393 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
32394 (open_not_cancel_2): Likewise.
32395 (open_nocancel): New macro.
32396 (open64_nocancel): Likewise.
32397 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
32398 (open_not_cancel_2): Likewise.
32399 (__open_nocancel): New prototype.
32400 (__open64_nocancel): Likewise.
32401 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32403 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
32404 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32405 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32406 with __open_nocancel.
32407 * csu/check_fds.c (check_one_fd): Likewise.
32408 * gmon/gmon.c (write_gmon): Likewise.
32409 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32410 * intl/loadmsgcat.c (open): Likewise.
32411 * libio/fileops.c (_IO_file_open): Likewise.
32412 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32413 * locale/loadlocale.c (_nl_load_locale): Likewise.
32414 * login/utmp_file.c (setutent_file): Likewise.
32415 * misc/daemon.c (daemon): Likewise.
32416 * nss/nss_db/db-open.c (internal_setent): Likewise.
32417 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32418 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32419 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32420 (__opendir): Likewise.
32421 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32422 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32423 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32424 (gethostid): Likewise.
32425 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32426 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32428 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32429 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32430 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32431 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32433 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32435 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32437 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32439 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32441 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32443 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32444 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32446 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32448 * benchtests/bench-skeleton.c (main): Add support for
32449 latency benchmarking.
32450 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32452 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32454 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32455 the startup object.
32457 2017-08-17 Florian Weimer <fweimer@redhat.com>
32459 * include/sys/socket.h (__opensock): Remove internal_function.
32460 * socket/opensock.c (__opensock): Likewise.
32461 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32463 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32466 * signal/bits/types/__sigval_t.h: New file.
32467 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32468 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32469 and define sigval_t using __sigval_t.
32470 * include/bits/types/__sigval_t.h: New file.
32471 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32472 instead of <bits/types/__sigval_t.h>.
32473 (struct sigevent): Use __sigval_t instead of sigval_t.
32474 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32475 instead of <bits/types/__sigval_t.h>.
32476 (siginfo_t): Use __sigval_t instead of sigval_t.
32477 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32478 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32479 (struct sigevent): Use __sigval_t instead of sigval_t.
32480 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
32481 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32482 (siginfo_t): Use __sigval_t instead of sigval_t.
32483 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
32485 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32487 * NEWS: Remove "[Add new features here]" for 2.27.
32489 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32491 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
32494 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32496 * NEWS: Mention x86-64 FMA optimization.
32498 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32501 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32503 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
32504 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
32505 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
32507 2017-08-16 Andreas Schwab <schwab@suse.de>
32511 * elf/ldd.bash.in: Never run file directly.
32513 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
32516 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
32517 (L(SP_INF_0)): Likewise.
32519 2017-08-15 Florian Weimer <fweimer@redhat.com>
32521 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
32524 2017-08-15 Florian Weimer <fweimer@redhat.com>
32526 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
32527 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
32528 BROKEN_THREAD_SIGNALS code.
32529 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
32530 request_list): Remove caller_pid member used for
32531 BROKEN_THREAD_SIGNALS.
32532 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
32533 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32534 Remove BROKEN_THREAD_SIGNALS support.
32535 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
32536 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
32538 2017-08-15 Florian Weimer <fweimer@redhat.com>
32540 * gmon/Makefile (tests): Add tst-gmon.
32541 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
32543 (tests-special): Add tst-gmon-prof.out.
32544 (tst-gmon.out): Depend on clean-tst-gmon-data.
32545 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
32546 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
32547 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
32549 * aclocal.m4 (GPROF): Set and substitute.
32550 * config.amke.in (GPROF): Set.
32551 * configure: Regenerate.
32553 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
32555 * elf/elf.h A (NT_PPC_TAR): New macro.
32556 (NT_PPC_PPR): Likewise.
32557 (NT_PPC_DSCR): Likewise.
32558 (NT_PPC_EBB): Likewise.
32559 (NT_PPC_PMU): Likewise.
32560 (NT_PPC_TM_CGPR): Likewise.
32561 (NT_PPC_TM_CFPR): Likewise.
32562 (NT_PPC_TM_CVMX): Likewise.
32563 (NT_PPC_TM_CVSX): Likewise.
32564 (NT_PPC_TM_SPR): Likewise.
32565 (NT_PPC_TM_CTAR): Likewise.
32566 (NT_PPC_TM_CPPR): Likewise.
32567 (NT_PPC_TM_CDSCR): Likewise.
32569 2017-08-15 Florian Weimer <fweimer@redhat.com>
32571 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
32572 regparm (2) instead of internal_function.
32573 (_MCOUNT_DECL): Adjust.
32575 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32577 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
32578 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32580 2017-08-14 Joseph Myers <joseph@codesourcery.com>
32582 * conform/data/sys/wait.h-data (si_value): Do not expect for
32585 2017-08-14 Florian Weimer <fweimer@redhat.com>
32588 NSS: Create stubs for accidentally exported lookup functions.
32589 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
32590 Remove declaration.
32591 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
32592 (ether_hostton): Call __nss_ethers_lookup2 instead.
32593 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
32594 (ether_ntohost): Call __nss_ethers_lookup2 instead.
32595 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
32596 (setup): Call __nss_netgroup_lookup2 instead.
32597 * nss/Makefile (routines): Add compat-lookup.
32598 * nss/Versions (GLIBC_2.27): Add symbol version.
32599 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
32600 (DB_COMPAT_FCT): Remove.
32601 * nss/compat-lookup.c: New file.
32602 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
32603 from databases.def.
32604 * nss/service-lookup.c (NO_COMPAT): Remove definition.
32605 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
32606 (netname2user): Call __nss_publickey_lookup2 instead.
32607 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
32608 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
32611 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32612 Sergei Trofimovich <slyfox@inbox.ru>
32615 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
32616 Rename to MMAP2_PAGE_UNIT.
32617 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
32618 __OFF_T_MATCHES_OFF64_T is not defined.
32619 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
32621 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
32622 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
32624 2017-08-14 Florian Weimer <fweimer@redhat.com>
32626 i386: Do not set internal_function.
32627 * config.h.in (USE_REGPARMS, internal_function): Remove.
32628 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
32629 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
32631 2017-08-14 Florian Weimer <fweimer@redhat.com>
32633 * elf/dl-init.c (_dl_init): Remove internal_function.
32634 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
32635 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
32637 2017-08-14 Florian Weimer <fweimer@redhat.com>
32639 * elf/rtld.c (_dl_start): Remove internal_function.
32640 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
32643 2017-08-14 Florian Weimer <fweimer@redhat.com>
32645 * elf/dl-fini.c (_dl_fini): Remove internal_function
32646 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32648 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
32650 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
32651 (bit_cpu_SHSTK): Likewise.
32652 (index_cpu_IBT): Likewise.
32653 (index_cpu_SHSTK): Likewise.
32654 (reg_IBT): Likewise.
32655 (reg_SHSTK): Likewise.
32656 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32657 Handle index_cpu_IBT and index_cpu_SHSTK.
32659 2017-08-14 Mike FABIAN <mfabian@redhat.com>
32662 * po/fr.po: Fix spelling mistake.
32664 2017-08-13 Florian Weimer <fweimer@redhat.com>
32666 * elf/dl-addr.c (_dl_addr): Remove internal_function.
32667 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
32668 (_dl_catch_error, _dl_receive_error): Likewise.
32669 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
32670 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
32671 (_dl_deallocate_tls): Likewise.
32672 * include/dlfcn.h (_dl_addr): Likewise.
32673 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
32674 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
32675 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
32678 2017-08-13 Florian Weimer <fweimer@redhat.com>
32680 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
32681 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
32683 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
32685 2017-08-13 Florian Weimer <fweimer@redhat.com>
32687 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
32689 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
32690 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
32691 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
32692 internal_function from _dl_make_stack_executable_hook member.
32693 (_dl_make_stack_executable): Remove internal_function.
32694 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
32696 * sysdeps/unix/sysv/linux/dl-execstack.c
32697 (_dl_make_stack_executable): Likewise.
32699 2017-08-13 Florian Weimer <fweimer@redhat.com>
32701 * sysdeps/unix/sysv/linux/netlinkaccess.h
32702 (__netlink_assert_response): Remove internal_function.
32703 * sysdeps/unix/sysv/linux/netlink_assert_response.c
32704 (__netlink_assert_response): Likewise.
32706 2017-08-13 Florian Weimer <fweimer@redhat.com>
32708 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
32710 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
32712 2017-08-13 Florian Weimer <fweimer@redhat.com>
32714 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
32716 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
32717 * inet/netgroup.h (__internal_setnetgrent)
32718 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32719 * inet/getnetgrent_r.c (__internal_setnetgrent)
32720 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32721 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
32722 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
32723 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
32724 * nss/nsswitch.h (db_lookup_function): Likewise.
32726 2017-08-13 Florian Weimer <fweimer@redhat.com>
32728 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
32729 Remove internal_function.
32730 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
32731 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
32732 message argument on the stack.
32733 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
32736 2017-08-12 Mike FABIAN <mfabian@redhat.com>
32738 Adapt test case data to the changes in the thousands
32742 * localedata/tst-langinfo.sh: Adapt test case data.
32743 * stdlib/tst-strfmon_l.c: Likewise.
32744 * stdlib/tst-strtod4.c: Likewise.
32745 * stdlib/tst-strtod5i.c: Likewise.
32747 2017-08-11 Florian Weimer <fweimer@redhat.com>
32750 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
32751 Suppress pedantic warning resulting from statement expression.
32752 (__ASSERT_FUNCTION): Add missing __extension__.
32754 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32756 * benchtests/bench-memmove-large.c: Print output in JSON
32758 * benchtests/bench-memmove.c: Likewise.
32760 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
32761 * benchtests/bench-memchr.c (do_one_test): Likewise.
32762 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
32763 * benchtests/bench-memcpy.c (do_one_test): Likewise.
32764 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
32765 * benchtests/bench-memmove.c (do_one_test): Likewise.
32766 * benchtests/bench-memset-large.c (do_one_test): Likewise.
32767 * benchtests/bench-memset.c (do_one_test): Likewise.
32768 * benchtests/bench-string.h (test_init): Remove memsets.
32770 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32773 (Computing the Width of an Integer Data Type): Rename section to
32774 "Width of an Integer Type". Remove inaccurate statement regarding
32775 lack of C language facilities for determining width of integer
32776 types, and reorder content to improve flow and context of
32779 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32781 * lang.texi (va_copy): Change standard from ISO to C99.
32782 (__va_copy): Add standard and header annotation.
32783 Update description for clarity of origins and current use.
32785 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32788 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
32789 xssqrtqp requires operands to be in Vector Registers
32790 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
32791 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
32792 (__ieee754_sqrtf128): Likewise.
32794 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
32796 * sysdeps/aarch64/memcmp.S (memcmp):
32797 Rewrite of optimized memcmp.
32799 2017-08-10 Florian Weimer <fweimer@redhat.com>
32801 Introduce ld.so exceptions.
32802 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
32803 (_dl_exception_create, _dl_exception_create_format)
32804 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
32805 (_dl_catch_exception): Declare.
32806 (_dl_catch_error): Update comment.
32807 * elf/dl-error-skeleton.c (struct catch): Replace objname,
32808 errstring, malloced members with exception member.
32809 (_dl_out_of_memory): Remove.
32810 (fatal_error): New function, extracted from _dl_signal_error.
32811 (_dl_signal_exception, _dl_signal_cexception): New functions.
32812 (_dl_signal_error): Call _dl_exception_create to allocate an
32814 (_dl_catch_exception): New function, based on _dl_catch_error.
32815 (_dl_catch_error): Implement using _dl_catch_exception.
32816 * elf/dl-exception.c: New file.
32817 * elf/Makefile (dl-routines): Add dl-exception.
32818 (elide-routines.os): Likewise.
32819 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
32820 _dl_exception_create_format, _dl_exception_free.
32821 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
32822 _dl_signal_exception.
32823 * elf/dl-lookup.c (make_string): Remove.
32824 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
32825 _dl_signal_cexception, _dl_exception_free.
32826 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
32827 _dl_signal_exception.
32828 * elf/dl-sym.c (do_sym): Likewise.
32829 * elf/dl-version.c (make_string): Remove.
32830 (match_symbol): Use _dl_exception_create_format,
32831 _dl_signal_cexception, _dl_exception_free.
32832 (_dl_check_map_versions): Likewise.
32833 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
32834 _dl_catch_exception.
32835 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
32836 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
32837 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
32838 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
32839 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
32840 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
32841 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
32842 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32844 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32851 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32852 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32853 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32855 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32857 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32859 2017-08-10 Florian Weimer <fweimer@redhat.com>
32861 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32862 attribute_hidden, internal_function.
32863 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32866 2017-08-10 Florian Weimer <fweimer@redhat.com>
32868 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32869 function which calls __builtin_unreachable.
32871 2017-08-10 Mike FABIAN <mfabian@redhat.com>
32873 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32874 Indian monetary formatting
32875 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32878 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32880 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32881 Fix typo in comment.
32884 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32885 PTRACE_SEIZE_DEVEL): Remove.
32886 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32887 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32888 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32889 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32890 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32892 2017-08-09 Joseph Myers <joseph@codesourcery.com>
32894 * posix/bits/types.h (__qaddr_t): Remove.
32897 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32898 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32900 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32901 (ucontext_t): Use __ctx with uc_flags.
32902 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32903 (__ctxt): Likewise.
32904 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32906 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32907 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32909 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32910 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32912 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32914 (ucontext_t): Use __ctx with uc_flags.
32915 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32916 (ucontext_t): Use __ctx with uc_flags.
32917 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32918 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32919 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32920 (ucontext_t): Use __ctx with uc_flags.
32921 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32922 undefine further down.
32923 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32925 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32926 undefine further down.
32927 (ucontext_t): Use __ctx with uc_flags.
32928 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32929 undefine further down.
32930 (ucontext_t): Use __ctx with uc_flags.
32931 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32932 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32933 Rename uc_pad to __glibc_reserved1.
32934 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32935 undefine further down.
32936 (ucontext_t): Use __ctx with uc_flags.
32937 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32939 (ucontext_t): Use __ctx with uc_flags.
32940 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32941 __ctx with uc_flags.
32942 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32943 (ucontext_t): Use __ctx with uc_flags.
32944 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32945 __ctx with uc_flags.
32947 2017-08-09 Florian Weimer <fweimer@redhat.com>
32950 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32951 before early return.
32953 2017-08-09 Andreas Schwab <schwab@suse.de>
32956 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32960 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32961 tst-compat-forwarder.
32962 (modules-names): Add tst-compat-forwarder-mod.
32963 ($(objpfx)tst-compat-forwarder): Depend on
32964 $(objpfx)tst-compat-forwarder-mod.so.
32965 * nptl/tst-compat-forwarder.c: New file.
32966 * nptl/tst-compat-forwarder-mod.c: New file.
32968 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32970 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32973 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32974 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32976 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32978 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32979 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32980 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32981 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32983 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32986 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32989 * manual/setjmp.texi (getcontex): Document uc_stack value
32990 compatibility differences.
32992 2017-08-08 Joseph Myers <joseph@codesourcery.com>
32994 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32995 (old_malloc_hook): Likewise.
32996 (old_memalign_hook): Likewise.
32997 (old_realloc_hook): Likewise.
32998 (struct hdr): Likewise.
33000 (freehook): Likewise.
33001 (mallochook): Likewise.
33002 (memalignhook): Likewise.
33003 (reallochook): Likewise.
33004 (mprobe): Likewise.
33005 * malloc/mtrace.c (mallwatch): Likewise.
33006 (tr_old_free_hook): Likewise.
33007 (tr_old_malloc_hook): Likewise.
33008 (tr_old_realloc_hook): Likewise.
33009 (tr_old_memalign_hook): Likewise.
33010 (tr_where): Likewise.
33011 (lock_and_info): Likewise.
33012 (tr_freehook): Likewise.
33013 (tr_mallochook): Likewise.
33014 (tr_reallochook): Likewise.
33015 (tr_memalignhook): Likewise.
33016 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33017 * misc/mmap.c (__mmap): Likewise.
33018 * misc/mmap64.c (__mmap64): Likewise.
33019 * misc/mprotect.c (__mprotect): Likewise.
33020 * misc/msync.c (msync): Likewise.
33021 * misc/munmap.c (__munmap): Likewise.
33022 * posix/posix_madvise.c (posix_madvise): Likewise.
33023 * socket/send.c (__send): Likewise.
33024 * socket/sendto.c (__sendto): Likewise.
33025 * socket/setsockopt.c (__setsockopt): Likewise.
33026 * string/memcmp.c (__ptr_t): Remove macro.
33027 (MEMCMP): Use void * instead of ptr_t.
33028 * string/memrchr.c (__ptr_t): Remove macro.
33029 (__memrchr): Use void * instead of ptr_t.
33030 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33031 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33032 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33033 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33034 * sysdeps/mach/msync.c (msync): Likewise.
33035 * sysdeps/mach/munmap.c (__munmap): Likewise.
33036 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33038 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33039 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33040 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33041 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33042 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33043 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33044 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33045 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33047 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33048 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33049 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33050 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33051 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33052 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33053 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33054 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33055 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33057 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33058 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33059 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33060 (MEMCMP): Use void * instead of ptr_t.
33061 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33062 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33064 2017-08-08 Florian Weimer <fweimer@redhat.com>
33066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33069 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33072 * csu/libc-tls.c: Include <startup.h> first.
33073 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33074 * elf/dl-tunables.c: Include <startup.h> first.
33075 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33076 * sysdeps/generic/startup.h: New file.
33077 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33078 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33079 (I386_USE_SYSENTER): New. Defined to 0.
33081 2017-08-08 Andreas Schwab <schwab@suse.de>
33084 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33085 * nptl/pt-system.c (system): Likewise.
33087 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33090 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33092 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33093 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33094 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33095 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33096 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33097 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33098 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33100 2017-08-07 Joseph Myers <joseph@codesourcery.com>
33103 * bits/sigaction.h (struct sigaction): Define sa_handler and
33104 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33105 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33106 [__USE_XOPEN_EXTENDED].
33107 (SA_RESTART): Likewise.
33108 (SA_NODEFER): Likewise.
33109 (SA_RESETHAND): Likewise.
33110 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33111 (struct sigaction): Define sa_handler and sa_sigaction using union
33112 also for [__USE_XOPEN_EXTENDED].
33113 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33114 [__USE_XOPEN_EXTENDED].
33115 (SA_RESTART): Likewise.
33116 (SA_NODEFER): Likewise.
33117 (SA_RESETHAND): Likewise.
33118 * sysdeps/unix/sysv/linux/bits/sigaction.h
33119 (struct sigaction): Define sa_handler and sa_sigaction using union
33120 also for [__USE_XOPEN_EXTENDED].
33121 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33122 [__USE_XOPEN_EXTENDED].
33123 (SA_RESTART): Likewise.
33124 (SA_NODEFER): Likewise.
33125 (SA_RESETHAND): Likewise.
33126 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33127 (struct sigaction): Define sa_handler and sa_sigaction using union
33128 also for [__USE_XOPEN_EXTENDED].
33129 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33130 [__USE_XOPEN_EXTENDED].
33131 (SA_RESTART): Likewise.
33132 (SA_NODEFER): Likewise.
33133 (SA_RESETHAND): Likewise.
33134 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33135 (struct sigaction): Define sa_handler and sa_sigaction using union
33136 also for [__USE_XOPEN_EXTENDED].
33137 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33138 [__USE_XOPEN_EXTENDED].
33139 (SA_RESTART): Likewise.
33140 (SA_NODEFER): Likewise.
33141 (SA_RESETHAND): Likewise.
33142 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33143 (struct sigaction): Define sa_handler and sa_sigaction using union
33144 also for [__USE_XOPEN_EXTENDED].
33145 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33146 [__USE_XOPEN_EXTENDED].
33147 (SA_RESTART): Likewise.
33148 (SA_NODEFER): Likewise.
33149 (SA_RESETHAND): Likewise.
33150 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33151 (struct sigaction): Define sa_handler and sa_sigaction using union
33152 also for [__USE_XOPEN_EXTENDED].
33153 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33154 [__USE_XOPEN_EXTENDED].
33155 (SA_RESTART): Likewise.
33156 (SA_NODEFER): Likewise.
33157 (SA_RESETHAND): Likewise.
33158 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33159 (struct sigaction): Define sa_handler and sa_sigaction using union
33160 also for [__USE_XOPEN_EXTENDED].
33161 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33162 [__USE_XOPEN_EXTENDED].
33163 (SA_RESTART): Likewise.
33164 (SA_NODEFER): Likewise. Define directly rather than as alias.
33165 (SA_RESETHAND): Likewise.
33166 (SA_INTERRUPT): Define only for [__USE_MISC].
33167 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33168 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33170 (SA_STACK): Define only for [__USE_MISC].
33171 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33172 (struct sigaction): Define sa_handler and sa_sigaction using union
33173 also for [__USE_XOPEN_EXTENDED].
33174 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33175 [__USE_XOPEN_EXTENDED].
33176 (SA_RESTART): Likewise.
33177 (SA_NODEFER): Likewise.
33178 (SA_RESETHAND): Likewise.
33179 (SA_NOPTRACE): Define only for [__USE_MISC].
33181 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33182 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33183 (struct catalog_info): Likewise.
33184 * inet/htontest.c (lo): Likewise.
33186 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33187 * inet/inet_net.c (inet_network): Likewise.
33188 * inet/inet_netof.c (inet_netof): Likewise.
33189 * inet/rcmd.c (__ivaliduser): Likewise.
33190 (iruserok): Likewise.
33191 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33192 * locale/programs/locale-spec.c (locale_special): Likewise.
33193 * nis/nis_findserv.c (struct findserv_req): Likewise.
33194 (__nis_findfastest_with_timeout): Likewise.
33195 * nss/test-netdb.c (test_network): Likewise.
33196 * resolv/inet_neta.c (inet_neta): Likewise.
33197 * resolv/ns_date.c (ns_datetosecs): Likewise.
33198 (SECS_PER_DAY): Likewise.
33199 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33201 * resolv/res_comp.c (__putlong): Likewise.
33202 (__putshort): Likewise.
33203 (_getlong): Likewise.
33204 (_getshort): Likewise.
33205 * resolv/res_debug.c (p_time): Likewise.
33206 (precsize_ntoa): Likewise.
33207 (precsize_aton): Likewise.
33208 (latlon2ul): Likewise.
33209 (loc_aton): Likewise.
33210 (loc_ntoa): Likewise.
33211 * resolv/res_hconf.c (struct netaddr): Likewise.
33212 (_res_hconf_reorder_addrs): Likewise.
33213 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33214 (clnttcp_control): Likewise.
33215 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33216 (clntudp_control): Likewise.
33217 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33218 (clntunix_control): Likewise.
33219 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33220 * sunrpc/rpc/auth.h (union des_block): Likewise.
33221 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33222 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33223 (xdrrec_create): Likewise.
33224 (xdrrec_endofrecord): Likewise.
33225 (flush_out): Likewise.
33226 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33227 (xdrstdio_putlong): Likewise.
33228 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33231 * misc/sys/cdefs.h (__long_double_t): Remove.
33232 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33233 instead of __long_double_t,
33234 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33236 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33238 * benchtests/scripts/compare_strings.py: Avoid display error when
33239 running on a text terminal.
33241 * benchtests/scripts/compare_strings.py (main): Add an
33242 optional -base option.
33243 (process_results): New argument base_func.
33245 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33247 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33248 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33250 2017-08-07 Andreas Schwab <schwab@suse.de>
33252 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33253 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33254 * intl/Makefile ($(objpfx)tst-gettext.out)
33255 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33256 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33257 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33258 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33259 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33260 * posix/Makefile ($(objpfx)globtest.out)
33261 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33262 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33263 ($(objpfx)tst-printf.out): Likewise.
33264 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33265 ($(objpfx)tst-setcontext3.out): Likewise.
33267 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33269 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33270 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33271 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33272 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33273 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33275 (CFLAGS-doasin-fma.c): New.
33276 (CFLAGS-dosincos-fma.c): Likewise.
33277 (CFLAGS-e_asin-fma.c): Likewise.
33278 (CFLAGS-e_atan2-fma.c): Likewise.
33279 (CFLAGS-e_exp-fma.c): Likewise.
33280 (CFLAGS-e_log-fma.c): Likewise.
33281 (CFLAGS-e_pow-fma.c): Likewise.
33282 (CFLAGS-halfulp-fma.c): Likewise.
33283 (CFLAGS-mpa-fma.c): Likewise.
33284 (CFLAGS-mpatan-fma.c): Likewise.
33285 (CFLAGS-mpatan2-fma.c): Likewise.
33286 (CFLAGS-mpexp-fma.c): Likewise.
33287 (CFLAGS-mplog-fma.c): Likewise.
33288 (CFLAGS-mpsqrt-fma.c): Likewise.
33289 (CFLAGS-mptan-fma.c): Likewise.
33290 (CFLAGS-s_atan-fma.c): Likewise.
33291 (CFLAGS-sincos32-fma.c): Likewise.
33292 (CFLAGS-slowexp-fma.c): Likewise.
33293 (CFLAGS-slowpow-fma.c): Likewise.
33294 (CFLAGS-s_sin-fma.c): Likewise.
33295 (CFLAGS-s_tan-fma.c): Likewise.
33296 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
33297 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
33298 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
33299 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
33300 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
33301 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
33302 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
33303 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
33304 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
33305 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
33306 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
33307 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
33308 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
33309 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
33310 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
33311 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
33312 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
33313 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
33314 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
33315 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
33316 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
33317 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
33318 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
33319 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
33320 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33321 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33322 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33323 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33324 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33325 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33326 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33328 2017-08-04 Joseph Myers <joseph@codesourcery.com>
33330 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
33331 (min_of_type_f): New macro.
33332 (min_of_type_): Likewise.
33333 (min_of_type_l): Likewise.
33334 (min_of_type_f128): Likewise.
33335 (min_of_type): Define using __MATH_TG and taking an expression
33337 (math_check_force_underflow): Pass expression instead of type to
33339 (math_check_force_underflow_nonneg): Likewise.
33341 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33343 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33344 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
33345 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
33347 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33349 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33350 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
33351 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
33352 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
33353 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
33354 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
33355 memcpy_chk-nonshared, mempcpy_chk-nonshared,
33356 memmove_chk-nonshared and memset_chk-nonshared
33357 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
33358 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
33359 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
33360 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
33361 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
33362 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
33363 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
33364 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
33365 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
33366 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
33367 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
33368 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
33369 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
33370 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
33371 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
33372 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
33373 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
33374 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
33375 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
33376 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
33377 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
33378 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
33379 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
33380 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
33381 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
33382 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
33383 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
33384 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
33385 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
33386 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
33387 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
33388 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
33389 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
33390 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33391 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33392 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
33393 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
33394 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
33395 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
33396 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
33397 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
33398 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
33399 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
33400 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
33401 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
33402 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
33403 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
33404 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33405 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33406 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33407 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33408 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33409 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33410 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33411 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33412 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33413 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33414 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33415 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33416 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33417 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33418 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33419 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33420 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33421 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33422 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33423 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33424 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33425 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33426 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33427 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33428 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33429 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33430 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33431 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33432 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33433 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33434 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33435 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33436 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33437 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33438 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33439 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33440 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33441 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33442 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33443 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33444 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33445 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33446 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33447 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33448 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33449 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33450 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33451 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33452 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33453 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33454 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33455 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33456 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33457 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33458 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33459 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33460 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33461 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33462 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33463 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33464 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33466 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33468 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33469 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33470 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33471 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33472 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33473 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33474 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33475 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33476 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33477 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33478 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33479 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33480 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
33481 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
33482 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
33483 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
33484 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
33485 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
33486 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
33487 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
33488 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
33489 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
33490 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
33491 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
33492 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
33493 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
33494 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
33495 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
33496 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
33497 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
33498 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
33499 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
33500 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
33501 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
33502 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
33503 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
33504 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
33505 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
33506 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
33507 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
33508 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
33509 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
33510 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
33511 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
33512 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
33513 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
33514 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
33515 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
33516 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
33517 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
33518 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
33519 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
33520 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
33521 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
33522 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
33523 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
33524 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
33525 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
33526 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
33528 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
33529 Don't include <sysdep.h> nor <init-arch.h>.
33530 (_ZGVbN2v_cos): Removed.
33531 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
33533 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
33534 Don't include <sysdep.h> nor <init-arch.h>.
33535 (_ZGVdN4v_cos): Removed.
33536 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
33538 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
33539 Don't include <sysdep.h> nor <init-arch.h>.
33540 (_ZGVeN8v_cos): Removed.
33541 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
33543 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
33544 Don't include <sysdep.h> nor <init-arch.h>.
33545 (_ZGVbN2v_exp): Removed.
33546 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
33548 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
33549 Don't include <sysdep.h> nor <init-arch.h>.
33550 (_ZGVdN4v_exp): Removed.
33551 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
33553 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
33554 Don't include <sysdep.h> nor <init-arch.h>.
33555 (_ZGVeN8v_exp): Removed.
33556 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
33558 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
33559 Don't include <sysdep.h> nor <init-arch.h>.
33560 (_ZGVbN2v_log): Removed.
33561 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
33563 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
33564 Don't include <sysdep.h> nor <init-arch.h>.
33565 (_ZGVdN4v_log): Removed.
33566 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
33568 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
33569 Don't include <sysdep.h> nor <init-arch.h>.
33570 (_ZGVeN8v_log): Removed.
33571 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
33573 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
33574 Don't include <sysdep.h> nor <init-arch.h>.
33575 (_ZGVbN2vv_pow): Removed.
33576 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
33578 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
33579 Don't include <sysdep.h> nor <init-arch.h>.
33580 (_ZGVdN4vv_pow): Removed.
33581 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
33583 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
33584 Don't include <sysdep.h> nor <init-arch.h>.
33585 (_ZGVeN8vv_pow): Removed.
33586 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
33588 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
33589 Don't include <sysdep.h> nor <init-arch.h>.
33590 (_ZGVbN2v_sin): Removed.
33591 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
33593 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
33594 Don't include <sysdep.h> nor <init-arch.h>.
33595 (_ZGVbN4v_sin): Removed.
33596 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
33598 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
33599 Don't include <sysdep.h> nor <init-arch.h>.
33600 (_ZGVbN8v_sin): Removed.
33601 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
33603 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
33604 Don't include <sysdep.h> nor <init-arch.h>.
33605 (_ZGVbN2vvv_sincos): Removed.
33606 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
33608 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
33609 Don't include <sysdep.h> nor <init-arch.h>.
33610 (_ZGVdN4vvv_sincos): Removed.
33611 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
33613 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
33614 Don't include <sysdep.h> nor <init-arch.h>.
33615 (_ZGVeN8vvv_sincos): Removed.
33616 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
33618 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
33619 Don't include <sysdep.h> nor <init-arch.h>.
33620 (_ZGVeN16v_cosf): Removed.
33621 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
33623 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
33624 Don't include <sysdep.h> nor <init-arch.h>.
33625 (_ZGVbN4v_cosf): Removed.
33626 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
33628 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
33629 Don't include <sysdep.h> nor <init-arch.h>.
33630 (_ZGVdN8v_cosf): Removed.
33631 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
33633 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
33634 Don't include <sysdep.h> nor <init-arch.h>.
33635 (_ZGVeN16v_expf): Removed.
33636 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
33638 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
33639 Don't include <sysdep.h> nor <init-arch.h>.
33640 (_ZGVbN4v_expf): Removed.
33641 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
33643 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
33644 Don't include <sysdep.h> nor <init-arch.h>.
33645 (_ZGVdN8v_expf): Removed.
33646 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
33648 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
33649 Don't include <sysdep.h> nor <init-arch.h>.
33650 (_ZGVeN16v_logf): Removed.
33651 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
33653 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
33654 Don't include <sysdep.h> nor <init-arch.h>.
33655 (_ZGVbN4v_logf): Removed.
33656 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
33658 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
33659 Don't include <sysdep.h> nor <init-arch.h>.
33660 (_ZGVdN8v_logf): Removed.
33661 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
33663 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
33664 Don't include <sysdep.h> nor <init-arch.h>.
33665 (_ZGVeN16vv_powf): Removed.
33666 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
33668 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
33669 Don't include <sysdep.h> nor <init-arch.h>.
33670 (_ZGVbN4vv_powf): Removed.
33671 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
33673 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
33674 Don't include <sysdep.h> nor <init-arch.h>.
33675 (_ZGVdN8vv_powf): Removed.
33676 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
33678 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
33679 Don't include <sysdep.h> nor <init-arch.h>.
33680 (_ZGVeN16vvv_sincosf): Removed.
33681 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
33683 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
33684 Don't include <sysdep.h> nor <init-arch.h>.
33685 (_ZGVbN4vvv_sincosf): Removed.
33686 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
33688 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
33689 Don't include <sysdep.h> nor <init-arch.h>.
33690 (_ZGVdN8vvv_sincosf): Removed.
33691 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
33693 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
33694 Don't include <sysdep.h> nor <init-arch.h>.
33695 (_ZGVeN16v_sinf): Removed.
33696 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
33698 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
33699 Don't include <sysdep.h> nor <init-arch.h>.
33700 (_ZGVbN4v_sinf): Removed.
33701 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
33703 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
33704 Don't include <sysdep.h> nor <init-arch.h>.
33705 (_ZGVdN8v_sinf): Removed.
33707 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33709 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33710 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
33711 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
33712 s_rint-sse4_1 and s_rintf-sse4_1.
33713 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
33714 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
33715 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
33716 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
33717 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
33718 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
33719 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
33720 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
33721 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
33722 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
33723 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
33724 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33726 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
33727 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
33728 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33729 (__ceilf): Removed.
33730 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
33731 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
33732 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33733 (__floor): Removed.
33734 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
33735 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
33736 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33737 (__floorf): Removed.
33738 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
33739 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
33740 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33741 (__nearbyint): Removed.
33742 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
33743 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
33744 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33745 (__nearbyintf): Removed.
33746 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
33747 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
33748 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33750 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
33751 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
33752 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33753 (__rintf): Removed.
33755 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33757 * sysdeps/i386/start.S (_start): Check Check PIC instead of
33758 SHARED. Avoid dynamic relocation against main in static PIE.
33760 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33763 * elf/Makefile (CFLAGS-tst-prelink.c): New.
33764 (LDFLAGS-tst-prelink): Likewise.
33766 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33768 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
33769 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
33770 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
33771 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
33772 (INTERNAL_SYSCALL_NCS): Likewise.
33773 (LOADARGS_1): Likewise.
33774 (LOADARGS_5): Likewise.
33775 (RESTOREARGS_1): Likewise.
33776 (RESTOREARGS_5): Likewise.
33778 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33780 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
33781 (MEMPCPY_SYMBOL): Likewise.
33782 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33783 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
33784 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
33786 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33787 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
33789 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
33790 (__hidden_ver1): Don't use in libc.a.
33791 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
33792 (__mempcpy): Don't create a weak alias in libc.a.
33793 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
33795 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
33796 (__hidden_ver1): Don't use in libc.a.
33798 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33800 * config.make.in (have-insert): New.
33801 * configure.ac (libc_cv_insert): New. Set to yes if linker
33802 supports INSERT in linker script.
33803 (AC_SUBST(libc_cv_insert): New.
33804 * configure: Regenerated.
33805 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
33806 if $(have-insert) == yes.
33808 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33810 * elf/Makefile (tests): Add vismain only if
33811 $(have-protected-data) == yes.
33812 (tests-pie): Likewise.
33814 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33817 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
33818 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
33820 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33823 * sysdeps/i386/i586/memset.S
33824 (__memset_zero_constant_len_parameter): Removed.
33825 * sysdeps/i386/i686/memset.S
33826 (__memset_zero_constant_len_parameter): Likewise.
33827 * sysdeps/i386/i686/multiarch/memset_chk.S
33828 (__memset_zero_constant_len_parameter): Likewise.
33829 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
33832 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33834 * stdlib/getentropy.c (getentropy): Change return type to int.
33836 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33838 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
33840 2017-08-03 Joseph Myers <joseph@codesourcery.com>
33842 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33844 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33845 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33847 (ieee_float_shape_type): Likewise.
33848 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33849 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33850 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33851 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33852 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33853 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33854 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33855 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33856 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33858 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33859 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33860 (__ieee754_yn): Likewise.
33861 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33862 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33863 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33865 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33866 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33867 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33868 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33869 (__erfc): Likewise.
33870 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33871 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33872 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33873 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33874 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33875 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33877 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33878 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33879 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33880 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33881 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33882 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33883 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33884 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33885 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33886 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33887 (__issignaling): Likewise.
33888 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33889 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33890 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33892 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33893 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33894 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33895 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33897 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33899 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33900 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33901 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33902 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33903 (__erfcf): Likewise.
33904 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33905 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33906 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33907 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33909 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33910 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33912 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33913 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33914 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33915 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33916 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33917 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33918 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33919 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33921 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33923 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33925 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33926 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33928 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33930 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33931 (__ieee754_ynl): Likewise.
33932 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33933 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33935 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33937 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33938 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33939 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33941 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33942 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33943 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33944 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33945 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33946 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33947 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33948 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33950 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33951 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33952 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33954 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33955 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33956 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33957 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33958 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33959 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33961 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33963 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33965 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33967 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33968 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33969 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33970 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33971 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33972 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33973 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33975 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33977 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33978 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33980 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33981 (__ieee754_remainderl): Likewise.
33982 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33983 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33984 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33985 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33987 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33988 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33990 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33991 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33992 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33993 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33994 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33995 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33997 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33998 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33999 (__ieee754_y0l): Likewise.
34002 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34003 (__ieee754_y1l): Likewise.
34006 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34007 (__ieee754_ynl): Likewise.
34008 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34009 (__ieee754_lgammal_r): Likewise.
34010 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34012 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34013 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34014 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34015 (__erfcl): Likewise.
34016 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34017 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34019 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34020 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34021 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34022 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34023 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34024 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34025 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34027 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34028 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34029 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34030 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34031 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34033 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34034 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34036 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34037 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34038 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34039 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34040 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34042 2017-08-03 Florian Weimer <fweimer@redhat.com>
34045 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34046 on memory allocation failure.
34048 2017-08-03 Alan Modra <amodra@gmail.com>
34050 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34051 tst-tlsopt-powerpc.c with function name change and no test harness.
34052 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34053 Call tls_get_addr_opt_test.
34054 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34055 (modules-names): Add mod-tlsopt-powerpc.
34056 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34057 (tst-tlsopt-powerpc): Depend on .so.
34058 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34059 define. Expand use in TLS_GD and TLS_LD.
34061 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34063 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34065 * sysdeps/posix/shm_open.c: Include <pthread.h>.
34067 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34070 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34071 comparing size with that of double.
34072 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34073 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34074 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34075 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34076 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34077 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34078 unsigned __int128 types.
34080 2017-08-02 Steve Ellcey <sellcey@cavium.com>
34082 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34083 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34084 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34085 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34086 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34088 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34090 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34092 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34094 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34096 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34097 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34098 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34099 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34100 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34101 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34102 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34104 2017-08-02 Joseph Myers <joseph@codesourcery.com>
34107 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34108 bit-field expressions passed to sizeof or typeof.
34109 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34110 (__TGMATH_F128): Likewise.
34111 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34112 (__TGMATH_CF128): Likewise.
34113 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34114 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34115 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34116 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34117 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34118 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34119 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34120 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34121 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34122 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34123 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34124 (__TGMATH_UNARY_IMAG): Likewise.
34125 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34126 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34127 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34129 (define_vars_for_type): Handle bit_field type specially.
34130 (Tests.__init__): Declare structure with bit-field element.
34132 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34135 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34136 (MEMCPY_CHK): Define only if SHARED is defined.
34137 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34139 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34142 See ChangeLog.18 for earlier changes.