1 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
3 * benchtests/bench-math-inlines.c: Increase iterations.
4 * benchtests/bench-memcmp.c: Likewise.
5 * benchtests/bench-rawmemchr.c: Likewise.
6 * benchtests/bench-strcmp.c: Likewise.
7 * benchtests/bench-strcpy_chk.c: Likewise.
8 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
9 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
10 (INNER_LOOP_ITERS_SMALL): Likewise.
11 * benchtests/bench-strncat.c: Increase iterations.
12 * benchtests/bench-strncmp.c: Increase iterations.
13 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
14 * benchtests/bench-strrchr.c: Increase iterations.
15 * benchtests/bench-strstr.c: Keep iterations unchanged.
16 * benchtests/bench-strtod.c: Increase iterations.
18 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
20 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
21 with INNER_LOOP_ITERS_LARGE.
22 * benchtests/bench-memchr.c: Likewise.
23 * benchtests/bench-rawmemchr.c: Likewise.
24 * benchtests/bench-strcat.c: Likewise.
25 * benchtests/bench-strchr.c: Likewise.
26 * benchtests/bench-string.h: Likewise.
27 * benchtests/bench-strlen.c: Likewise.
28 * benchtests/bench-strncpy.c: Likewise.
29 * benchtests/bench-strnlen.c: Likewise.
31 2019-06-28 Florian Weimer <fweimer@redhat.com>
33 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
34 Use mmap instead of malloc. malloc with M_PERTURB writes to the
35 entire allocated memory range.
37 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
39 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
40 (prepare_version_base): New helper inline function.
41 (prepare_version): New macro replacing PREPARE_VERSION.
42 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
44 2019-06-28 Florian Weimer <fweimer@redhat.com>
47 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
48 mismatch in a versioned symbol reference.
49 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
50 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
51 tst-sonamemove-dlopen.
52 (module-names): Add tst-sonamemove-linkmod1,
53 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
54 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
55 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
56 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
57 (tst-sonamemove-runmod1.so): Link against
58 tst-sonamemove-runmod2.so.
59 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
60 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
61 tst-sonamemove-runmod2.so.
62 (tst-sonamemove-dlopen): Link with -ldl.
63 (tst-sonamemove-dlopen.out): Likewise.
64 * elf/tst-sonamemove-link.c: New file.
65 * elf/tst-sonamemove-dlopen.c: Likewise.
66 * elf/tst-sonamemove-linkmod1.c: Likewise.
67 * elf/tst-sonamemove-linkmod1.map: Likewise.
68 * elf/tst-sonamemove-runmod1.c: Likewise.
69 * elf/tst-sonamemove-runmod1.map: Likewise.
70 * elf/tst-sonamemove-runmod2.c: Likewise.
71 * elf/tst-sonamemove-runmod2.map: Likewise.
73 2019-06-28 Florian Weimer <fweimer@redhat.com>
75 * support/xdlfcn.h (xdlvsym): Declare function.
76 * support/xdlfcn.c (xdlvsym): Define funciton.
78 2019-06-28 Florian Weimer <fweimer@redhat.com>
81 io: Remove the copy_file_range emulation.
82 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
83 not define and call copy_file_range_compat.
84 * io/Makefile (tests-static, tests-internal): Do not add
85 tst-copy_file_range-compat.
86 * io/copy_file_range-compat.c: Remove file.
87 * io/copy_file_range.c (copy_file_range): Define as stub.
88 * io/tst-copy_file_range-compat.c: Remove file.
89 * io/tst-copy_file_range.c (xdevfile): Remove variable.
90 (typical_sizes): Update comment. Remove 16K sizes.
91 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
93 (find_maximum_offset, pipe_as_source, pipe_as_destination)
94 (delayed_write_failure_beginning, delayed_write_failure_end)
95 (cross_device_failure, enospc_failure_1, enospc_failure)
96 (oappend_failure): Remove functions.
97 (tests): Adjust test case list.
98 (do_test): Remove file system search code. Check for ENOSYS from
99 copy_file_range. Do not free xdevfile.
100 * manual/llio.texi (Copying File Data): Document ENOSYS error from
101 copy_file_range. Do not document the EXDEV error, which future
102 kernels may not report. Update the wording to reflect that
103 further errors are possible.
104 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
105 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
107 * sysdeps/unix/sysv/linux/arm/kernel-features.h
108 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
110 * sysdeps/unix/sysv/linux/kernel-features.h
111 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
113 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
114 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
116 * sysdeps/unix/sysv/linux/sh/kernel-features.h
117 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
120 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
122 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
123 used as a mask for the mode argument of __vfprintf_internal.
124 * stdio-common/printf-parse.h (printf_arg): New union member:
126 * stdio-common/vfprintf-internal.c
127 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
128 (PARSE_FLOAT_VA_ARG): Likewise.
129 (SETUP_FLOAT128_INFO): Likewise.
130 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
132 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
133 floating-point value to the new union member, pa_float128.
134 (printf_positional): Zero-initialize args_value[cnt] with memset.
136 2019-06-27 Florian Weimer <fweimer@redhat.com>
139 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
140 buffer size if necessary.
141 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
143 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
145 (large_buffer_checks): Likewise.
146 (do_test): Call large_buffer_checks.
148 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
150 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
151 * sysdeps/x86/dl-lookupcfg.h: Here.
152 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
154 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
156 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
157 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
158 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
160 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
161 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
162 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
163 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
164 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
166 * sysdeps/powerpc/powerpc32/fpu/Makefile
167 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
168 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
169 and fctidz optimization.
170 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
171 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
173 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
174 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
175 CFLAGS-s_lround-power5+.c): New rule.
176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
196 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
197 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
198 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
199 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
200 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
201 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
202 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
204 2019-06-26 Vincent Chen <vincentc@andestech.com>
206 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
207 specific system calls, fp_udfiex_crtl and udftrap.
209 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
211 * nptl/tst-eintr1.c (tf1): Add return statement.
212 (do_test): Remove unused th variable.
214 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
216 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
217 Return error if get_character fails.
219 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
221 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
223 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
226 * localedata/locales/szl_PL (day): Use the correct Unicode
227 sequences instead of non-ASCII characters.
229 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
232 * localedata/locales/szl_PL (abday): Spelling corrections.
236 (alt_mon): This, then apply spelling corrections.
237 (mon): New entry, month names in the genitive case.
239 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
242 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
243 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
244 (thousands_sep): Likewise.
245 (grouping): Set to 3;3.
247 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
249 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
250 PREPARE_VERSION_KNOWN.
251 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
252 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
254 (VDSO_HASH_LINUX_2_6_39): Likewise.
255 (VDSO_NAME_LINUX_4_9): Likewise.
256 (VDSO_HASH_LINUX_4_9): Likewise.
257 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
258 * sysdeps/unix/sysv/linux/powerpc/init-first.c
259 (_libc_vdso_platform_setup): Likewise.
260 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
261 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
263 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
266 2019-06-20 Mike Crowe <mac@mcrowe.com>
268 * nptl/eintr.c: Use libsupport.
269 * nptl/tst-eintr1.c: Likewise.
270 * nptl/tst-eintr2.c: Likewise.
271 * nptl/tst-eintr3.c: Likewise.
272 * nptl/tst-eintr4.c: Likewise.
273 * nptl/tst-eintr5.c: Likewise.
274 * nptl/tst-mutex-errorcheck.c: Likewise.
275 * nptl/tst-mutex5.c: Likewise.
277 * support/test-driver.h: Add verbose_printf macro.
279 * support/xtime.h: Add xclock_now() helper function.
281 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
282 Florian Weimer <fweimer@redhat.com>
285 * libio/genops.c (_IO_unbuffer_all)
286 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
287 buffers and access _IO_FILE_complete members of legacy libio streams.
288 * libio/tst-bz24228.c: New file.
289 * libio/tst-bz24228.map: Likewise.
290 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
291 [build-shared] (generated): Add tst-bz24228.mtrace and
293 [run-built-tests && build-shared] (tests-special): Add
294 $(objpfx)tst-bz24228-mem.out.
295 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
296 ($(objpfx)tst-bz24228-mem.out): New rule.
298 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
300 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
301 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
302 (__FPU_MFFSL): Likewise.
303 (_FPU_SETCW): Likewise.
305 2019-06-19 Stan Shebs <stanshebs@google.com>
306 Raoni Fassina Firmino <raoni@linux.ibm.com>
309 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
310 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
311 static-linking version.
312 * sysdeps/unix/sysv/linux/powerpc/Makefile
313 (tests-static): Add test-gettimebasefreq-static.
315 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
318 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
321 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
322 between the currency symbol and the minus sign).
323 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
325 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
328 * string/test-strcasestr.c (check_result): Add NULL check.
329 * nss/tst-field.c (check_rewrite): Likewise.
330 * benchtests/bench-strstr.c (do_one_test): Likewise.
331 * string/test-strstr.c (check_result): Likewise.
332 * argp/argp-test.c (popt): Increase size of buf to 12.
333 * benchtests/bench-malloc-simple.c (bench):
334 Do not initialize tests array out of bounds.
336 2019-06-19 Florian Weimer <fweimer@redhat.com>
339 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
342 2019-06-18 Florian Weimer <fweimer@redhat.com>
345 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
346 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
347 fail when called from dlopen.
348 * elf/Makefile [have-fpie && build-shared] (tests): Add
350 (tst-dlopen-pie): Link with -ldl.
351 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
352 * elf/tst-dlopen-pie.c (do_test): New file.
354 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
357 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
358 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
359 between the currency symbol and the minus sign).
360 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
361 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
363 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
365 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
366 sysdep-rtld-routines): Remove rules.
367 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
368 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
369 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
370 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
371 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
372 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
373 vDSO path for SHARED.
374 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
375 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
376 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
377 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
378 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
379 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
381 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
382 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
383 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
384 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
385 CFLAGS-s_llround-power5+.c): New rule.
386 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
388 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
390 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
392 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
394 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
397 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
399 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
401 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
402 * sysdeps/powerpc/powerpc64/fpu/Makefile
403 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
404 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
405 (libm-sysdep_routines): Remove s_llround-* objects.
406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
416 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
417 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
418 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
419 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
420 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
421 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
422 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
423 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
424 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
425 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
426 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
427 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
428 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
429 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
431 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
432 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
433 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
434 * sysdeps/powerpc/powerpc32/fpu/Makefile
435 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
436 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
438 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
439 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
440 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
442 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
443 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
444 CFLAGS-s_lrint-ppc32.c): New rule.
445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
455 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
456 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
457 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
458 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
470 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
471 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
473 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
474 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
476 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
478 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
481 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
483 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
485 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
486 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
487 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
488 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
489 (libm-sysdep_routines): Remove s_llrint-* objects.
490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
495 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
496 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
497 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
498 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
499 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
500 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
501 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
502 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
503 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
505 2019-06-14 Florian Weimer <fweimer@redhat.com>
507 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
508 argument to __glibc_has_include to inhibit macro expansion.
510 2019-06-14 Florian Weimer <fweimer@redhat.com>
512 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
513 function-like macro, so that __has_include can inhibit expansion
516 2019-06-13 Joseph Myers <joseph@codesourcery.com>
518 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
522 Allow memset in libc.so.
524 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
526 * sysdeps/aarch64/dl-dtprocnum.h: New file.
527 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
528 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
529 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
530 symbols at load time.
531 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
533 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
535 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
536 (DT_AARCH64_VARIANT_PCS): Define.
538 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
541 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
551 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
552 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
553 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
554 Remove s_finite* objects.
555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
561 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
562 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
563 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
564 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
566 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
567 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
570 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
580 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
581 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
582 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
583 Remove s_isinf* and s_isinf* objects.
584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
590 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
591 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
592 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
593 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
595 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
596 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
598 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
599 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
600 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
602 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
618 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
619 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
620 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
621 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
622 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
623 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
624 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
625 Remove s_isnan-* and s_isnanf-* objects.
626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
635 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
636 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
637 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
638 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
639 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
640 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
641 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
642 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
644 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
645 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
647 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
648 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
649 CFLAGS-bench-isfinite.c): New rule.
650 * benchtests/isnan-input: New file.
651 * benchtests/isinf-input: New file.
652 * benchtests/isfinite-input: New file.
654 * sysdeps/powerpc/fpu/s_copysign.c: New file.
655 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
656 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
657 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
659 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
669 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
670 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
671 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
672 Remove s_copysign-power6 s_copysign-ppc64.
673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
679 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
680 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
681 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
682 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
684 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
685 round_to_integer_float, round_mode): Add RINT handling.
686 (reset_fenv_mode): New symbol.
687 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
688 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
689 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
690 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
691 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
692 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
694 2019-06-12 Florian Weimer <fweimer@redhat.com>
697 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
698 * libio/freopen.c (freopen): Use it.
700 2019-06-12 Florian Weimer <fweimer@redhat.com>
702 Linux: Deprecate sysctl.
703 * include/sysctl.h (__sysctl): Remove declaration.
704 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
706 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
707 (sysctl): Add deprecation attribute.
708 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
709 directly, to avoid the deprecation warning. Do not include
711 (__sysctl): Remove hidden alias.
713 2019-06-12 Florian Weimer <fweimer@redhat.com>
715 Linux: Use kernel headers for statx definitions if available.
716 * include/bits/statx-generic.h: New file.
717 * include/bits/types/struct_statx.h: Likewise.
718 * include/bits/types/struct_statx_timestamp.h: Likewise.
719 * io/Makefile (headers): Add bits/statx-generic.h.
720 * io/bits/statx-generic.h: New file. Partly copied from
722 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
723 define original_statx.
724 * io/bits/types/struct_statx.h: Likewise.
725 * io/bits/types/struct_statx_timestamp.h: Likewise.
726 (statx_generic): Use original_statx.
727 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
728 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
730 2019-06-12 Florian Weimer <fweimer@redhat.com>
732 * misc/sys/cdefs.h (__glibc_has_include): Define.
734 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
736 * string/memmem.c (__memmem): Rewrite to improve performance.
738 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
740 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
742 (two_way_long_needle): Block inlining.
743 * string/strstr.c (strstr2): Add new function.
745 (STRSTR): Completely rewrite strstr to improve performance.
747 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
749 * benchtests/bench-strstr.c (test_hard_needle): New function.
751 2019-06-10 Joseph Myers <joseph@codesourcery.com>
753 * malloc/tst-calloc.c: Include <libc-diag.h>.
754 (null_test): Ignore -Wunused-result around calls to calloc.
755 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
756 (do_test): Ignore -Wunused-result around call to malloc.
758 2019-06-07 Florian Weimer <fweimer@redhat.com>
760 Linux: Add getdents64 system call.
761 * include/dirnent.h (getdents): Add comment and change buffer
762 argument type to void *.
763 (getdents64): Likewise. Add hidden prototype.
764 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
766 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
768 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
769 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
770 argument type to void *.
771 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
772 Add hidden definition and getdents64 alias.
773 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
775 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
776 * manual/filesys.texi (Accessing Directories): Add Low-level
777 Directory Access node reference.
778 (Opening a Directory): Cross-reference it.
779 (Low-level Directory Access): New node.
780 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
782 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
784 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
785 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
787 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
789 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
791 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
793 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
795 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
797 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
799 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
800 (GLIBC_2.30): Likewise.
801 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
802 (GLIBC_2.30): Likewise.
803 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
804 (GLIBC_2.30): Likewise.
805 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
806 (GLIBC_2.30): Likewise.
807 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
810 (GLIBC_2.30): Likewise.
811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
812 (GLIBC_2.30): Likewise.
813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
814 (GLIBC_2.30): Likewise.
815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
816 (GLIBC_2.30): Likewise.
817 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
819 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
821 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
823 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
824 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
826 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
828 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
830 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
833 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
835 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
839 (_FPU_GETCW): Use __FPU_MFFS().
840 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
842 2019-06-06 Florian Weimer <fweimer@redhat.com>
844 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
845 internal GCC preprocessor identifier __has_include__.
847 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
849 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
850 with call to equivalent function.
852 2019-06-04 Florian Weimer <fweimer@redhat.com>
854 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
855 (do_release_shlib): Adjust for __twalk_r.
856 (__gconv_release_shlib): Call __twalk_r.
858 2019-06-04 Andreas Schwab <schwab@suse.de>
861 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
862 no irreversible characters occurred.
863 * iconv/gconv_simple.c (internal_ucs4_loop)
864 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
865 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
866 (ucs4_internal_loop_single, internal_ucs4le_loop)
867 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
868 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
869 (ucs4le_internal_loop_single): Add const to outend.
870 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
871 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
872 * iconv/Makefile (tests): Add tst-iconv7.
873 * iconv/tst-iconv7.c: New file.
875 2019-06-03 Joseph Myers <joseph@codesourcery.com>
877 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
879 2019-06-01 Florian Weimer <fweimer@redhat.com>
881 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
882 * sysdeps/unix/sysv/linux/arm/Makefile
883 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
884 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
885 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
886 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
887 compatibility symbols.
889 2019-05-31 Florian Weimer <fweimer@redhat.com>
891 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
892 system calls for the arm architecture: breakpoint, get_tls,
893 set_tls, usr26, usr32.
895 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
897 * sysdeps/powerpc/Makefile
898 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
899 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
900 Declare '.machine power7' to get support for ldbrx.
901 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
902 directive based on the directory of the file.
903 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
904 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
905 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
906 '.machine' directive.
907 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
908 (VADDUQM_V7_V8): Remove.
909 (__STRCASECMP): Replace macros with actual instructions.
910 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
911 '.machine' directive.
912 (VCLZD_V8_v7): Remove.
913 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
915 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
917 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
919 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
921 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
923 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
925 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
926 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
927 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
928 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
929 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
930 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
932 2019-05-28 mansayk <6688000@gmail.com>
935 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
937 2019-05-28 mansayk <6688000@gmail.com>
940 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
941 (abmon): Likewise, but remove the trailing dots.
943 2019-05-28 Joseph Myers <joseph@codesourcery.com>
945 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
947 2019-05-27 Florian Weimer <fweimer@redhat.com>
949 * nptl/nptl-init.c: Add comment.
951 2019-05-24 Florian Weimer <fweimer@redhat.com>
953 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
954 struct in_addr/struct in6_addr alignment.
956 2019-05-23 Joseph Myers <joseph@codesourcery.com>
958 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
959 (F_SEAL_FUTURE_WRITE): New macro.
961 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
963 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
964 * elf/tst-ldconfig-bad-aux-cache.c: New file.
965 * elf/tst-ldconfig_aux-cache.root: New directory.
966 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
967 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
968 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
970 2019-05-22 Zack Weinberg <zackw@panix.com>
972 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
974 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
975 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
977 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
982 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
983 Issue an #error if used with a compiler in SPE-float mode.
984 * sysdeps/powerpc/powerpc32/__longjmp_common.S
985 * sysdeps/powerpc/powerpc32/setjmp_common.S
986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
992 Remove code to preserve SPE register state.
994 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
995 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
996 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
997 Remove __SPE__ ifndefs.
999 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
1001 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
1002 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
1003 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
1004 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
1005 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
1006 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
1007 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
1008 (INNER_LOOP_ITERS_MEDIUM): New define.
1009 (INNER_LOOP_ITERS_SMALL): New define.
1010 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
1011 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
1012 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
1013 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
1014 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
1016 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
1018 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
1020 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
1021 (SEMTIMEDOP_IPC_ARGS): Likewise.
1023 2019-05-21 Florian Weimer <fweimer@redhat.com>
1026 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
1027 before updating __counter field and release it afterwards. Add
1029 * iconv/gconv.h (struct __gconv_step): Mention synchronization
1030 requirement for __counter member.
1032 2019-05-21 Florian Weimer <fweimer@redhat.com>
1035 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
1036 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
1037 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
1038 instead of __gconv_release_step.
1039 * libio/Makefile (tests): Add tst-wfile-gconv.
1040 (tests-container): Add tst-wfile-ascii.
1041 (tst-wfile-gconv-ENV): Enable mtrace.
1042 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
1043 (tests-special): Add tst-wfile-gconv-mem.out.
1044 (tst-wfile-gconv.out): Depend on locales.
1045 (tst-wfile-gconv-mem.out): Add mtrace rule.
1046 * libio/tst-wfile-ascii.c: New file.
1047 * libio/tst-wfile-gconv.c: Likewise.
1049 2019-05-20 Florian Weimer <fweimer@redhat.com>
1052 libio: Remove codecvt vtable.
1053 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
1055 * libio/iofgetpos.c (_IO_new_fgetpos): Call
1056 __libio_codecvt_encoding.
1057 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
1058 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1059 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
1060 * libio/iofwide.c (__libio_codecvt): Remove variable.
1061 (_IO_fwide): Do not copy __libio_codecvt.
1062 (__libio_codecvt_out): Rename from do_out and export.
1063 (do_unshift): Remove function.
1064 (__libio_codecvt_in): Rename from do_in and export.
1065 (__libio_codecvt_encoding): Rename from do_encoding and export.
1066 (do_always_noconv): Remove function.
1067 (__libio_codecvt_length): Rename from do_length and export.
1068 (do_max_length): Remove function.
1069 * libio/libio.h (enum __codecvt_result): Remove definition; moved
1071 (struct _IO_codecvt): Remove fields __codecvt_destr,
1072 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
1073 __codecvt_do_encoding, __codecvt_do_always_noconv,
1074 __codecvt_do_length, __codecvt_do_max_length.
1075 * libio/libioP.h (enum __codecvt_result): Define; moved from
1077 (__libio_codecvt_out, __libio_codecvt_in)
1078 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
1080 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
1081 (_IO_wfile_underflow): Call __libio_codecvt_in.
1082 (_IO_wfile_underflow): Likewise.
1083 (_IO_wfile_underflow_mmap): Likewise.
1084 (_IO_wfile_sync): Call __libio_codecvt_encoding,
1085 __libio_codecvt_length.
1086 (adjust_wide_data): Call __libio_codecvt_encoding,
1088 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
1089 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
1090 __libio_codecvt_length.
1092 2019-05-20 Florian Weimer <fweimer@redhat.com>
1094 * support/support.h (support_sbindir_prefix): Declare.
1095 (support_install_rootsbindir): Update comment.
1096 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
1097 * support/support_paths.c (support_sbindir_prefix): Define.
1099 2019-05-20 Mike Crowe <mac@mcrowe.com>
1101 * support/timespec.c: Add backslash to correct newline in failure
1104 * support/timespec.h: Correct confusing comment.
1106 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1108 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
1110 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
1111 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
1112 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
1113 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
1116 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
1119 2019-05-20 Joseph Myers <joseph@codesourcery.com>
1121 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
1122 (NT_ARM_PACG_KEYS): Likewise.
1124 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
1126 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
1127 (tcache_put): Remove redundant assert.
1128 (tcache_get): Remove redundant asserts.
1129 (__libc_malloc): Check tcache count is not zero.
1130 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
1132 2019-05-17 Florian Weimer <fweimer@redhat.com>
1134 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
1136 2019-05-16 Joseph Myers <joseph@codesourcery.com>
1138 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1139 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
1141 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
1143 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1144 (__ASSUME_STATX): Likewise.
1146 2019-05-16 Florian Weimer <fweimer@redhat.com>
1148 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
1150 (LINE_PARSER): Do not map IPv4 addresses.
1151 (internal_nis_gethostent_r): Remove flags argument. Adjust call
1153 (_nss_nis_gethostent_r): Always pass AF_INET to
1154 internal_nis_gethostent_r.
1155 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1157 (_nss_nis_gethostbyname2_r): Adjust call to
1158 internal_nis_gethostent_r.
1159 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
1160 call to internal_nis_gethostent_r.
1161 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
1163 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
1164 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
1165 Remove flags argument. Do not map IPv4 addresses.
1166 (internal_nisplus_gethostent_r): Adjust call to
1167 _nss_nisplus_parse_hostent.
1168 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1169 to _nss_nisplus_parse_hostent.
1170 (_nss_nisplus_gethostbyname2_r): Adjust call to
1171 internal_gethostbyname2_r.
1172 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
1173 Adjust call to internal_gethostbyname2_r.
1174 (_nss_nisplus_gethostbyaddr_r): Adjust call to
1175 _nss_nisplus_parse_hostent.
1176 (_nss_nisplus_gethostbyname4_r): Adjust call to
1177 internal_gethostbyname2_r.
1179 2019-05-16 Florian Weimer <fweimer@redhat.com>
1181 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
1183 (LINE_PARSER): Remove address mapping.
1184 (EXTRA_ARGS_VALUE): Remove flags argument.
1185 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
1186 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
1187 gethostbyname3_multi.
1188 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
1189 _nss_files_gethostbyname3_r.
1190 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
1192 2019-05-16 Florian Weimer <fweimer@redhat.com>
1194 * support/support_test_compare_blob.c (report_blob): Report
1195 incorrect NULL blobs.
1197 2019-05-15 Mark Wielaard <mark@klomp.org>
1200 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
1201 __libc_once_get (once) and static_buf == NULL.
1202 (__dlerror): Check we have a valid key, set result to static_buf
1205 2019-05-15 Andreas Schwab <schwab@suse.de>
1208 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
1209 __codecvt_do_length.
1210 * libio/Makefile (tests): Add tst-wfile-sync.
1211 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
1212 * libio/tst-wfile-sync.c: New file.
1213 * libio/tst-wfile-sync.input: New file.
1215 2019-05-15 Florian Weimer <fweimer@redhat.com>
1217 nss: Turn __nss_database_lookup into a compatibility symbol.
1218 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
1219 __nss_database_lookup.
1220 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
1221 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
1222 __nss_database_lookup.
1223 (__nss_next): Move to …
1224 * nss/compat-lookup.c (nss_next): … here. Change it to fail
1226 (__nss_database_lookup): New function.
1227 * nss/Versions (GLIBC_2.0): Update comment.
1228 (GLIBC_PRIVATE): Export __nss_database_lookup2.
1229 * grp/initgroups.c (internal_getgrouplist): Call
1230 __nss_database_lookup2 instead of __nss_database_lookup.
1231 * nscd/aicache.c (addhstaiX): Likewise.
1232 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1233 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1234 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
1235 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
1236 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
1238 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
1239 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
1240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1242 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
1244 * support/support.h (support_install_rootsbindir): New variable.
1245 * support/support_paths.c: Likewise.
1246 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
1248 2019-05-15 Florian Weimer <fweimer@redhat.com>
1250 * iconv/gconv.h (__gconv_transliterate): Move declaration …
1251 * iconv/gconv_int.h (__gconv_transliterate): … here.
1252 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
1253 * iconv/skeleton.c: Likewise.
1255 2019-05-14 Florian Weimer <fweimer@redhat.com>
1257 Linux: Add the tgkill function.
1258 * bits/signal_ext.h: New file.
1259 * manual/signal.texi (Signaling Another Process): Document tgkill.
1260 * signal/Makefile (headers): Add bits/signal_ext.h.
1261 * signal/signal.h: Include <bits/signal_ext.h>.
1262 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
1263 (tst-tgkill): Link with libpthread.
1264 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
1265 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
1266 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
1267 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1269 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1270 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1271 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1272 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1273 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1274 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1275 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1276 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1277 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1278 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1279 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1281 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1282 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1283 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
1290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
1292 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1293 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1294 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1295 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1296 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1297 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1298 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1299 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1301 2019-05-14 Carlos O'Donell <carlos@redhat.com>
1303 * manual/search.texi (Tree Search Function): Adjust twalk_r
1306 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1309 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
1312 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
1313 * support/support.h (support_bindir_prefix): New variable.
1314 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
1316 * config.make.in (bindir): New variable.
1318 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
1319 (lll_trylock): Call __lll_trylock.
1320 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
1321 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
1322 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1323 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1324 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
1325 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
1326 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1327 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1328 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
1329 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
1330 lowlevellock-futex.h.
1332 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1333 initialization for LLL_LOCK_INITIALIZER different than 0.
1334 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
1335 Assume LLL_LOCK_INITIALIZER being 0.
1336 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
1337 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
1339 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
1340 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
1342 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
1343 Optimize futex call and add systemtap probe.
1345 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
1346 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
1347 __libc_disable_asynccancel, __librt_enable_asynccancel,
1348 __libc_disable_asynccancel, __librt_enable_asynccancel,
1349 __librt_disable_asynccancel): Move to ...
1350 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
1351 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
1352 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
1353 * sysdeps/generic/single-thread.h: New file.
1354 * sysdeps/unix/sysdep.h: Include single-thread.h.
1355 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
1356 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1358 2019-05-08 Mike FABIAN <mfabian@redhat.com>
1361 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
1362 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1364 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1365 * localedata/unicode-gen/PropList.txt: Likewise.
1366 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1367 * localedata/charmaps/UTF-8: Regenerate.
1368 * localedata/locales/i18n_ctype: Likewise.
1369 * localedata/locales/tr_TR: Likewise.
1370 * localedata/locales/translit_circle: Likewise.
1371 * localedata/locales/translit_cjk_compat: Likewise.
1372 * localedata/locales/translit_combining: Likewise.
1373 * localedata/locales/translit_compat: Likewise.
1374 * localedata/locales/translit_font: Likewise.
1375 * localedata/locales/translit_fraction: Likewise.
1377 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
1380 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
1381 (do_set_tcache_count): Only update if count is small enough.
1382 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
1384 2019-05-10 Florian Weimer <fweimer@redhat.com>
1386 * nptl/sem_close.c (struct walk_closure): Define.
1387 (walker): Adjust for __twalk_r.
1388 (sem_close): Call __twalk_r.
1390 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1392 * support/timespec.c (test_timespec_before_impl,
1393 test_timespec_equal_or_after_impl): print timespec member as intmax_t
1396 2019-05-09 Mike Crowe <mac@mcrowe.com>
1398 * nptl/tst-abstime.c: Use libsupport.
1400 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
1401 small bug where only tv.tv_usec was checked which could cause an
1402 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
1405 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
1408 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
1409 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
1411 * nptl/tst-cond11.c: Use libsupport.
1413 * support/timespec.h: New file. Provide timespec helper functions
1414 along with macros in the style of those in check.h.
1415 * support/timespec.c: New file. Implement check functions declared
1416 in support/timespec.h.
1417 * support/timespec-add.c: New file from gnulib containing
1418 timespec_add implementation that handles overflow.
1419 * support/timespec-sub.c: New file from gnulib containing
1420 timespec_sub implementation that handles overflow.
1421 * support/README: Mention timespec.h.
1423 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1426 * nptl/Makefile: Move tst-eintr1 to xtests.
1428 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1430 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
1432 (round_mode): Add definition for TRUNC.
1433 * sysdeps/powerpc/fpu/s_trunc.c: New file.
1434 * sysdeps/powerpc/fpu/s_truncf.c: New file.
1435 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
1436 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1437 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
1439 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
1441 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
1443 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1445 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
1447 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
1449 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
1451 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
1453 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
1454 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
1455 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1456 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
1457 s_truncf-power5+, and s_truncf-ppc64.
1458 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
1459 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
1461 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
1462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
1463 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
1464 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
1466 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
1468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
1469 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
1470 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1471 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
1472 s_truncf-power5+, and s_truncf-ppc64.
1473 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
1475 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1476 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
1478 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1479 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1480 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1481 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1482 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1484 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1486 (round_mode): Add definition for ROUND.
1487 (round_to_integer_float): Likewise.
1488 * sysdeps/powerpc/fpu/s_round.c: New file.
1489 * sysdeps/powerpc/fpu/s_roundf.c: New file.
1490 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
1491 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1492 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
1494 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
1496 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
1498 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1500 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
1502 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
1504 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
1506 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
1508 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
1509 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
1510 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1511 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
1512 s_roundf-power5+, and s_roundf-ppc64.
1513 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
1514 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
1516 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
1517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
1518 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
1519 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
1521 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
1523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
1524 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
1525 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1526 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
1527 s_roundf-power5+, and s_roundf-ppc64.
1528 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
1530 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1531 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
1533 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1534 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1535 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1536 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1537 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1539 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
1541 (round_mode): Add definition for FLOOR.
1542 * sysdeps/powerpc/fpu/s_floor.c: New file.
1543 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
1544 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
1545 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
1550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
1556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
1558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
1560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
1562 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
1563 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
1564 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1565 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
1566 s_floorf-power5+, and s_floorf-ppc64.
1567 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
1568 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
1570 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
1571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
1572 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
1573 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
1575 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
1577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
1578 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
1579 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1580 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
1581 s_floorf-power5+, and s_floorf-ppc64.
1582 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
1584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
1586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
1588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
1590 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1591 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1592 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1593 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1595 2019-05-08 Mike Crowe <mac@mcrowe.com>
1597 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1598 clock_gettime wrapper for use in tests that fails the test rather
1599 than returning failure.
1601 * support/xtime.h: New file to declare xclock_gettime.
1603 * support/Makefile: Add xclock_gettime.c.
1605 * support/README: Mention xtime.h.
1607 2019-05-08 Florian Weimer <fweimer@redhat.com>
1609 malloc/tst-mallocfork2: Use process-shared barriers.
1610 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1611 (signal_count, sigusr1_sender_pid): Remove.
1612 (iterations): Define constant.
1613 (shared): New variable.
1614 (sigusr1_received): Update comment.
1615 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1616 (signal_sender): Optional use barriers to avoid sending signals
1617 during irrelevant times.
1618 (do_it): Initialize variable shared. Use xfork for error
1619 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1620 the iteration count, independent of signal delivery. Check for
1621 deadlocks in fork. Introduce barriers for reducing signal
1622 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1623 replaced by the barriers. Count signals during fork/free/malloc
1625 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1627 2019-05-07 Joseph Myers <joseph@codesourcery.com>
1629 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1631 (clock_adjtime64) New syscall.
1632 (clock_getres_time64) Likewise.
1633 (clock_gettime64) Likewise.
1634 (clock_nanosleep_time64) Likewise.
1635 (clock_settime64) Likewise.
1636 (futex_time64) Likewise.
1637 (io_pgetevents_time64) Likewise.
1638 (io_uring_enter) Likewise.
1639 (io_uring_register) Likewise.
1640 (io_uring_setup) Likewise.
1641 (mq_timedreceive_time64) Likewise.
1642 (mq_timedsend_time64) Likewise.
1643 (pidfd_send_signal) Likewise.
1644 (ppoll_time64) Likewise.
1645 (pselect6_time64) Likewise.
1646 (recvmmsg_time64) Likewise.
1647 (rt_sigtimedwait_time64) Likewise.
1648 (sched_rr_get_interval_time64) Likewise.
1649 (semtimedop_time64) Likewise.
1650 (timer_gettime64) Likewise.
1651 (timer_settime64) Likewise.
1652 (timerfd_gettime64) Likewise.
1653 (timerfd_settime64) Likewise.
1654 (utimensat_time64) Likewise.
1656 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
1657 version to 9 branch.
1659 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1661 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
1662 __memmove_thunderx2 to the list of implementations
1663 * sysdeps/aarch64/multiarch/memmove.c: Likewise
1664 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
1665 (__memmove_thunderx2): Rewritten using SIMD ld/st
1666 (__memcpy_thunderx2): Fixed handling overlapping cases.
1667 Used ldp/stp instead of ldr/str if possible. Made loops
1670 2019-05-03 Florian Weimer <fweimer@redhat.com>
1672 * misc/tst-tsearch.c (walk_tree): Add more error checking.
1674 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1677 * elf/tst-pldd.c (in_str_list): New function.
1678 (do_test): Add default names for ld and libc as one option.
1680 2019-05-02 Florian Weimer <fweimer@redhat.com>
1682 misc: Add twalk_r function.
1683 * include/search.h (__twalk_r): Declare.
1684 * manual/examples/twalk.c: New file.
1685 * manual/search.texi (Tree Search Function): Document twalk_r.
1686 * misc/Versions (2.30): Export twalk_r.
1687 (GLIBC_PRIVATE): Export __twalk_r.
1688 * misc/search.h [__USE_GNU] (twalk_r): Declare.
1689 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
1690 (twalk_r): Add weak alias.
1691 * misc/tst-tsearch.c (struct walk_trace_element): Define.
1692 (walk_trace): New variable.
1693 (struct twalk_with_twalk_r_closure): Define.
1694 (twalk_with_twalk_r_action): New function.
1695 (twalk_with_twalk_r): Likewise.
1696 (walk_action): Call walk_trace_add.
1697 (walk_tree_with): Rename from walk_tree. Add walk argument.
1698 (walk_tree): New function.
1699 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
1700 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1702 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1704 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1705 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
1706 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
1707 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
1708 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
1709 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1711 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1713 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1715 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1716 (GLIBC_2.30): Likewise.
1717 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1718 (GLIBC_2.30): Likewise.
1719 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1720 (GLIBC_2.30): Likewise.
1721 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1722 (GLIBC_2.30): Likewise.
1723 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1726 (GLIBC_2.30): Likewise.
1727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1728 (GLIBC_2.30): Likewise.
1729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1730 (GLIBC_2.30): Likewise.
1731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1732 (GLIBC_2.30): Likewise.
1733 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1735 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1737 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1739 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1740 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1742 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1744 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1746 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1749 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1751 Make mktime etc. compatible with __time64_t
1752 Keep these functions compatible with Gnulib while adding
1753 __time64_t support. The basic idea is to move private API
1754 declarations from include/time.h to time/mktime-internal.h, since
1755 the former file cannot easily be shared with Gnulib whereas the
1757 Also, do some other minor cleanup while in the neighborhood.
1758 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1759 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1760 since Gnulib needs it.
1761 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1762 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1763 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1764 (in_time_t_range): New static function.
1765 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1766 so that glibc users are not tempted to use __time64_t.
1767 * time/mktime-internal.h: Rewrite so that it does both glibc
1768 and Gnulib work. Include time.h if not _LIBC.
1769 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1770 (__time64_t): New type or macro, moved here from
1772 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1773 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1774 from include/time.h.
1775 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1776 New macros, taken from GNulib.
1777 (__mktime_internal): New prototype, moved here from include/time.h.
1778 * time/mktime.c (mktime_min, mktime_max, convert_time)
1779 (ranged_convert, __mktime_internal, __mktime64):
1780 * time/timegm.c (__timegm64):
1781 Use __time64_t, not time_t.
1782 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1783 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1785 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1786 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1787 for libc_hidden_def.
1789 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1791 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1793 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
1796 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1797 from `-Wmaybe-uninitialized'.
1798 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1800 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1802 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1804 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1805 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1806 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1807 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1808 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1810 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1827 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1828 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1829 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1830 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1832 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1835 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1836 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1838 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1841 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1843 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1844 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1845 s_ceilf-power5+, and s_ceilf-ppc64.
1846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1851 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1852 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1853 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1854 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1856 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1857 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1858 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1860 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1862 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1863 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1864 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1865 (sem_getvalue): Likewise.
1867 2019-04-26 Florian Weimer <fweimer@redhat.com>
1869 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1870 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1872 2019-04-26 Florian Weimer <fweimer@redhat.com>
1874 Makeconfig: Move -Wl,-rpath-link options before library references.
1875 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1876 (link-libc): Remove $(link-libc-rpath-link).
1878 2019-04-25 Florian Weimer <fweimer@redhat.com>
1880 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1881 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1882 (+link-static-before-libc): Remove $(CC).
1883 (+link-static, +link-static-tests): Add $(CC).
1884 (+link-before-libc): Remove $(CC).
1885 (+link, +link-pie, +link-pie-printers): Add $(CC).
1887 2019-04-26 Florian Weimer <fweimer@redhat.com>
1889 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1890 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1891 (+link-static-before-libc): Remove $(CC).
1892 (+link-static, +link-static-tests): Add $(CC).
1893 (+link-before-libc): Remove $(CC).
1894 (+link, +link-pie, +link-pie-printers): Add $(CC).
1896 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1899 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1901 2019-04-25 Florian Weimer <fweimer@redhat.com>
1903 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1904 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1905 (bench-link-targets): New variable.
1906 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1908 2019-04-25 Florian Weimer <fweimer@redhat.com>
1910 Also enable BIND_NOW for programs if --enable-bind-now.
1911 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1912 (+link-pie): Use $(link-extra-flags).
1913 (+link-static): Likewise.
1914 [! $(build-pie-default)] (+link): Likewise.
1915 * manual/install.texi (Configuring and compiling): Update
1916 --enable-bind-now description.
1917 * INSTALL: Regenerated.
1919 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1921 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1922 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1924 2019-04-24 Mike Frysinger <vapier@gentoo.org>
1927 * malloc/Makefile (others): Add memusagestat.
1928 ($(objpfx)memusagestat): Delete rule.
1929 (LDLIBS-memusagestat): New variable.
1931 2019-04-24 Florian Weimer <fweimer@redhat.com>
1933 * locale/Makefile (tests-special): Guard setting by
1934 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1935 to run while cross-compiling.
1937 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1940 * elf/Makefile (tests-container): Add tst-pldd.
1941 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1942 (E(find_maps)): Avoid use alloca, use default read file operations
1943 instead of explicit LFS names, and fix infinite loop.
1944 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1945 (get_process_info): Use _Static_assert instead of assert, use default
1946 directory operations instead of explicit LFS names, and free some
1948 * elf/tst-pldd.c: New file.
1950 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1952 * malloc/arena.c (do_set_mallopt_check): Removed.
1954 2019-04-23 Florian Weimer <fweimer@redhat.com>
1956 locale: Add LOCPATH diagnostics to the locale program.
1957 * locale/programs/locale.c (setlocale_failed): New variable.
1958 (try_setlocale): New function.
1959 (quote_string): Likewise.
1960 (setlocale_diagnostics): Likewise.
1961 (main): Call try_setlocale instead of setlocale. Call
1962 setlocale_diagnostics.
1963 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1964 (tst-locale-locpath.out): New target.
1965 * locale/tst-locale-locpath.sh: New file.
1967 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1969 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1972 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1975 * malloc/hooks.c (malloc_check, realloc_check): Use
1976 __builtin_add_overflow on overflow check and adapt to
1977 checked_request2size change.
1978 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1979 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1980 allocation size to PTRDIFF_MAX.
1981 (REQUEST_OUT_OF_RANGE): Remove macro.
1982 (checked_request2size): Change to inline function and limit maximum
1983 requested size to PTRDIFF_MAX.
1984 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1985 maximum allocation size to PTRDIFF_MAX.
1986 (_mid_memalign): Use _int_memalign call for overflow check.
1987 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1988 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1989 limit maximum requested size to PTRDIFF_MAX.
1990 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1991 valloc, pvalloc): Add __attribute_alloc_size__.
1992 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1993 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1994 larger than PTRDIFF_MAX.
1995 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1996 around tests of malloc with negative sizes.
1997 * malloc/tst-posix_memalign.c (do_test): Likewise.
1998 * malloc/tst-pvalloc.c (do_test): Likewise.
1999 * malloc/tst-valloc.c (do_test): Likewise.
2000 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
2001 with resulting size allocation larger than PTRDIFF_MAX with
2002 reallocarray_nowarn.
2003 (reallocarray_nowarn): New function.
2004 * NEWS: Mention the malloc function semantic change.
2006 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2008 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
2009 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2011 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
2012 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2013 * sysdeps/powerpc/fpu/s_fma.c: New file.
2014 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2016 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
2017 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
2019 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
2020 the magic flag store.
2021 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2023 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
2025 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
2026 Remove rt_sigreturn call.
2028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2029 Remove rt_sigreturn call.
2030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
2033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2035 * support/Makefile (libsupport-routines): Add support_subprocess,
2036 xposix_spawn, xposix_spawn_file_actions_addclose, and
2037 xposix_spawn_file_actions_adddup2.
2038 (tst-support_capture_subprocess-ARGS): New rule.
2039 * support/capture_subprocess.h (support_capture_subprogram): New
2041 * support/support_capture_subprocess.c (support_capture_subprocess):
2042 Refactor to use support_subprocess and support_capture_poll.
2043 (support_capture_subprogram): New function.
2044 * support/tst-support_capture_subprocess.c (write_mode_to_str,
2045 str_to_write_mode, test_common, parse_int, handle_restart,
2046 do_subprocess, do_subprogram, do_multiple_tests): New functions.
2047 (do_test): Add support_capture_subprogram tests.
2048 * support/subprocess.h: New file.
2049 * support/support_subprocess.c: Likewise.
2050 * support/xposix_spawn.c: Likewise.
2051 * support/xposix_spawn_file_actions_addclose.c: Likewise.
2052 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
2053 * support/xspawn.h: Likewise.
2055 2019-04-17 Mike Gerow <gerow@google.com>
2057 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
2060 2019-04-11 Florian Weimer <fweimer@redhat.com>
2062 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
2063 domain with empty string.
2064 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2066 2019-04-11 Florian Weimer <fweimer@redhat.com>
2068 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
2070 (alloc_buffer_next): Change return type to non-const. Update
2073 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
2075 * manual/time.texi (Formatting Calendar Time): Add missing percent
2076 sign to conversion specifier.
2078 2019-04-09 Carlos O'Donell <carlos@redhat.com>
2079 Kwok Cheung Yeung <kcy@codesourcery.com>
2082 * malloc/mtrace.c: Define prototypes for all hooks.
2083 (set_default_hooks): New function.
2084 (set_trace_hooks): Likewise.
2085 (save_default_hooks): Likewise.
2086 (tr_freehook): Use new s*_hooks functions.
2087 (tr_mallochook): Likewise.
2088 (tr_reallochook): Likewise.
2089 (tr_memalignhook): Likewise.
2091 (muntrace): Likewise.
2093 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2095 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
2096 (generic_stpcpy): New function.
2097 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
2098 (generic_stpncpy): New function.
2099 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
2100 (generic_strcat): New function.
2101 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
2102 (generic_strcpy): New function.
2103 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
2104 (STUPID_STRNCAT): Remove function.
2105 (generic_strncat): New function.
2106 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
2107 (STUPID_STRNCPY): Remove function.
2108 (generic_strncpy): New function.
2109 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
2110 (generic_strnlen): New function.
2111 (memchr_strnlen): New function.
2112 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
2113 (memchr_strlen): Likewise.
2115 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2117 * benchtests/bench-strstr.c (input): Add realistic input text.
2118 (stupid_strstr): Remove function.
2119 (basic_strstr): Add function.
2120 (twoway_strstr): Add function.
2121 (do_one_test): Add result checking.
2122 (do_test): Use new input text. Remove accidental early matches.
2123 (test_main): Improve range of tests, reduce unaligned cases.
2125 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2127 * benchtests/bench-memmem.c (simple_memmem): Remove function.
2128 (basic_memmem): Add function.
2129 (twoway_memmem): Add function.
2131 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2133 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
2134 * benchtests/bench-malloc-thread.c: Likewise.
2135 * benchtests/bench-skeleton.c: Likewise.
2136 * benchtests/bench-strtod.c: Likewise.
2137 * benchtests/bench-timing.h: Likewise.
2139 2019-04-08 Florian Weimer <fweimer@redhat.com>
2141 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
2143 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
2144 RES_INSECURE2 security checks.
2145 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
2146 RES_INSECURE2 handling.
2148 2019-04-08 Florian Weimer <fweimer@redhat.com>
2150 resolv: Remove support for RES_USE_INET6 and the inet6 option.
2151 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
2152 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
2154 * resolv/Makefile (tests): Remove tst-res_use_inet6.
2155 (tests-internal): Update justification for tst-resolv-res_init,
2156 tst-resolv-res_init-thread.
2157 (tst-res_use_inet6): Remove target.
2158 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
2159 * resolv/res_debug.c (p_option): Remove "inet6" support.
2160 * resolv/res_init.c (res_setoptions): Likewise.
2161 * resolv/res_use_inet6.h: Remove file.
2162 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
2164 (res_use_inet6): Always return false.
2165 * resolv/resolv.h (RES_USE_INET6): Remove definition.
2166 * resolv/resolv_context.h: Adjust file comment.
2167 (struct resolv_context): Update comment on __next field.
2168 (__resolv_context_put): Update comment.
2169 * resolv/tst-res_use_inet6.c: Remove file.
2170 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
2172 (test_cases): Adjust test case.
2173 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
2174 (thread_byname2_af_inet6): Use old byname_inet6 code.
2175 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
2176 (gai): Remove do_inet6 argument.
2177 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
2178 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
2179 (thread_gai_unspec_inet6): Remove functions.
2180 (do_test): Adjust thread_funcs.
2181 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
2183 (gaih_inet): Do not disable RES_USE_INET6 flag.
2185 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2187 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
2188 and remove redundant code.
2190 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2192 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
2194 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
2195 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
2197 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
2199 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
2201 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2202 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
2203 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
2204 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
2205 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2206 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
2207 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2208 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
2210 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
2211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2213 Remove wcsrchr optimizations.
2214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2216 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
2219 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
2221 * sysdeps/powerpc/power6/wcschr.c: Remove file.
2222 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
2224 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
2226 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
2228 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2229 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
2230 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
2231 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
2232 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2233 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
2234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2235 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
2237 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
2238 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2239 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2240 Remove wcschr optimizations.
2241 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2243 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
2246 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
2248 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
2249 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
2251 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
2253 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
2255 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2256 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
2257 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
2258 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
2259 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2260 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
2261 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2262 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
2264 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
2265 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2267 Remove wcscpy optimizations.
2268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2270 * include/loop_unroll.h: New file.
2271 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
2272 besides generic implementation.
2274 2019-04-03 DJ Delorie <dj@redhat.com>
2276 * time/tst-strftime3.c (tm_to_printed): Disable warning about
2277 snprintf truncating output.
2279 2019-04-02 DJ Delorie <dj@redhat.com>
2281 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
2284 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2287 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
2289 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
2290 (mkreftable): Add rules for the new Japanese era and the new dates.
2292 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2293 Rafal Luzynski <digitalfreak@lingonborough.com>
2295 * time/tst-strftime2.c (date_t): Explicitly define the type.
2296 (dates): Use natural month and year numbers to express a date.
2297 (is_before): New function to compare dates.
2298 (mkreftable): Minor improvements to simplify maintenance.
2299 (do_test): Reflect the changes in dates array.
2302 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
2303 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
2304 * time/tst-strftime2.c (locales): Likewise.
2305 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
2306 2010-04-01, and 2011-04-01.
2307 (mkreftable): Add rules for the new locales and the new dates.
2309 2019-04-01 Carlos O'Donell <carlos@redhat.com>
2311 * localedata/locales/ja_JP: Add comments to era entries.
2313 2019-04-01 DJ Delorie <dj@redhat.com>
2316 * time/strptime_l.c (%Ey): Fix fencepost error.
2317 * time/tst-strftime3.c: New.
2318 * time/Makefile (tests): Add tst-strftime3.
2320 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
2322 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
2323 conditional branch to DIVBYZERO. Fix unwind info.
2324 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
2325 excb after conditional branch to $powerof2. Add missing unop
2326 instructions and .align directives and reorder instructions to
2329 2019-04-01 Richard Henderson <rth@twiddle.net>
2331 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
2333 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
2336 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
2338 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
2339 $libc_cv_riscv_float_abi in `test' invocation.
2340 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
2342 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
2344 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
2346 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
2348 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2349 (_GET_SI_FPSCR): Likewise.
2350 (_SET_SI_FPSCR): Likewise.
2352 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2354 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
2356 (signbit): Use builtin for clang 3.3.
2357 (isinf): Use builtin for clang 3.7.
2359 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2361 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
2363 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
2365 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
2368 2019-03-25 Mike Crowe <mac@mcrowe.com>
2370 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
2371 pthread_rwlock_timedrdlock with calls to
2372 pthread_rwlock_timedwrlock to ensure that the latter is tested
2373 too. Use new function name in diagnostic messages too.
2375 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
2376 (do_test) Use libsupport test macros rather than hand-coded
2377 conditionals and error messages. Ensure that sem_init returns zero
2378 rather than not -1. Use <support/test-driver.c> rather than
2381 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
2382 test macros rather than hand-coded conditionals and error messages.
2383 Use <support/test-driver.c> rather than test-skeleton.c.
2385 2019-03-25 Joseph Myers <joseph@codesourcery.com>
2387 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
2389 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
2390 (NT_MIPS_MSA): Likewise.
2392 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2394 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
2395 * benchtests/README: Update description.
2396 * benchtests/bench-timing.h: Default to hp-timing.
2397 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
2398 HP_TIMING_PRINT): Remove.
2399 (HP_TIMING_NOW): Add generic implementation.
2400 (hp_timing_t): Change to uint64_t.
2402 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
2404 * nptl/descr.h: Likewise.
2405 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
2406 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
2407 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
2408 Abstract hp-timing usage with RTLD_* macros.
2409 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
2410 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
2411 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
2412 HP_TIMING_NONAVAIL): Likewise.
2413 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2415 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
2416 HP_SMALL_TIMING_AVAIL): Likewise.
2417 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
2418 HP_SMALL_TIMING_AVAIL): Likewise.
2419 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
2420 HP_SMALL_TIMING_AVAIL): Likewise.
2421 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
2422 HP_SMALL_TIMING_AVAIL): Likewise.
2423 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2425 * sysdeps/generic/hp-timing-common.h: Update comment with
2426 HP_TIMING_AVAIL removal.
2428 * include/random-bits.h: New file.
2429 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
2430 (__res_context_mkquery): Remove usage hp-timing usage and replace with
2432 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
2433 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
2436 * include/libc-internal.h (__get_clockfreq): Remove prototype.
2437 * rt/Makefile (clock-routines): Remove get_clockfreq.
2438 * rt/get_clockfreq.c: Remove file.
2439 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2440 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
2441 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
2442 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
2443 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
2445 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
2446 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
2447 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
2448 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
2449 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
2451 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
2452 pthread_clock_settime.
2453 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
2454 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
2455 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
2456 * elf/rtld.c (_dl_start_final): Likewise.
2457 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
2458 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
2460 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
2461 (_dl_cpuclock_offset): Remove.
2462 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
2463 cpuclock_offset_ununsed.
2464 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2465 cpuclock_offset set.
2466 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2467 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2468 * nptl/pthread_clock_gettime.c: Remove file.
2469 * nptl/pthread_clock_settime.c: Likewise.
2470 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
2471 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
2472 and CLOCK_PROCESS_CPUTIME_ID support.
2473 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
2474 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
2475 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
2476 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
2477 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
2479 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
2481 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2483 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
2484 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
2485 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
2487 * sysdeps/s390/memmem-arch13.S: New file.
2488 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
2489 if it is only used as fallback.
2490 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
2491 * sysdeps/s390/multiarch/ifunc-impl-list.c
2492 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
2494 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2496 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
2497 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
2498 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
2500 * sysdeps/s390/multiarch/ifunc-impl-list.c
2501 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
2502 * sysdeps/s390/strstr-arch13.S: New file.
2503 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
2504 if it is only used as fallback.
2505 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
2507 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2509 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
2510 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
2511 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
2512 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
2514 * sysdeps/s390/multiarch/ifunc-impl-list.c
2515 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
2516 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
2517 S390_IS_ARCH13_MIE3): New defines.
2519 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2521 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
2522 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
2523 * sysdeps/s390/configure.ac: Add checks for arch13 support.
2524 * sysdeps/s390/configure: Regenerated.
2526 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2528 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
2529 Add vxe2, vxp, dflt, sort flags.
2530 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
2531 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
2533 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
2534 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
2535 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
2536 HWCAP_S390_DFLT): Define.
2538 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2541 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
2542 of compiler warning.
2543 * locale/programs/ld-collate.c (collate_output): Likewise.
2545 2019-03-21 DJ Delorie <dj@redhat.com>
2548 * iconv/iconvconfig.c (write_output): Replace floating point math
2549 with integer math to avoid imprecise results.
2550 * locale/programs/ld-collate.c (collate_output): Likewise.
2552 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
2554 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
2555 Add HWCAP_S390_VX and HWCAP_S390_VXE.
2557 2019-03-20 mansayk <6688000@gmail.com>
2560 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
2561 (abday): Likewise, but remove the trailing dots.
2563 2019-03-19 Joseph Myers <joseph@codesourcery.com>
2565 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
2567 (HWCAP_PACA): Likewise.
2568 (HWCAP_PACG): Likewise.
2569 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2571 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
2573 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2575 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
2578 2019-03-15 Joseph Myers <joseph@codesourcery.com>
2580 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2582 (old_getpagesize): New syscall.
2584 2019-03-15 Felix Yan <felixonmars@archlinux.org>
2587 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
2588 * localedata/locales/cmn_TW (era): Likewise.
2589 * localedata/locales/hak_TW (era): Likewise.
2590 * localedata/locales/lzh_TW (era): Likewise.
2591 * localedata/locales/nan_TW (era): Likewise.
2593 2019-03-14 Adam Maris <amaris@redhat.com>
2595 * malloc/malloc.c (_int_malloc): Check for large bin list
2596 corruption when inserting unsorted chunk.
2598 2019-03-14 Florian Weimer <fweimer@redhat.com>
2600 Remove obsolete, never-implemented XSI STREAMS declarations.
2601 * manual/terminal.texi (Allocation): Remove portability note and
2603 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2605 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2606 * sysdeps/unix/inet/Subdirs (streams): Remove.
2607 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2608 (conformtest-headers-UNIX98): Likewise.
2609 (conformtest-headers-XOPEN2K): Likewise.
2610 (conformtest-headers-POSIX2008): Likewise.
2611 * posix/compat-streams.c: New file.
2612 * posix/Makefile (routines): Add it.
2613 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2614 getpmsg, isastream, putmsg, putpmsg.
2615 (GLIBC_2.30): New section.
2616 * bits/stropts.h: Remove file.
2617 * bits/xtitypes.h: Likewise.
2618 * conform/data/stropts.h-data: Likewise.
2619 * include/stropts.h: Likewise.
2620 * include/sys/stropts.h: Likewise.
2621 * include/xtitypes.h: Likewise.
2622 * streams/Makefile: Likewise.
2623 * streams/fattach.c: Likewise.
2624 * streams/fdetach.c: Likewise.
2625 * streams/getmsg.c: Likewise.
2626 * streams/getpmsg.c: Likewise.
2627 * streams/isastream.c: Likewise.
2628 * streams/putmsg.c: Likewise.
2629 * streams/putpmsg.c: Likewise.
2630 * streams/stropts.h: Likewise.
2631 * streams/sys/stropts.h: Likewise.
2632 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2633 * sysdeps/s390/bits/xtitypes.h: Likewise.
2634 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2635 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2636 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2637 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2638 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2639 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2640 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2641 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2642 * sysdeps/x86/bits/xtitypes.h: Likewise.
2644 2019-03-14 Florian Weimer <fweimer@redhat.com>
2646 * nss/tst-nss-files-alias-truncated.c (do_test): Load
2648 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
2649 but not with libnss_files.
2650 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
2652 2019-03-14 Zack Weinberg <zackw@panix.com>
2654 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
2655 Specify encoding="utf-8" when opening headers to check.
2657 2019-03-13 Joseph Myers <joseph@codesourcery.com>
2659 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2661 (Context.checkout_tar): Handle variable major version for Linux
2664 2019-03-13 Florian Weimer <fweimer@redhat.com>
2667 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
2669 2019-03-13 Zack Weinberg <zackw@panix.com>
2671 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
2673 * include/inttypes.h: Adjust to match.
2674 * include/stdint.h: New wrapper.
2676 2019-03-13 Zack Weinberg <zackw@panix.com>
2678 * scripts/check-obsolete-constructs.py: New test script.
2679 * scripts/check-installed-headers.sh: Remove tests for
2680 obsolete typedefs, superseded by check-obsolete-constructs.py.
2681 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
2682 as a special test. Update commentary.
2683 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
2684 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
2686 * posix/sys/types.h (__u_intN_t): Remove.
2687 (u_int8_t): Typedef using __uint8_t.
2688 (u_int16_t): Typedef using __uint16_t.
2689 (u_int32_t): Typedef using __uint32_t.
2690 (u_int64_t): Typedef using __uint64_t.
2692 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
2694 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
2696 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
2697 Ignore types other than AT_HWCAP.
2698 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
2699 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
2701 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
2702 in the case of falling back to generic output mechanism.
2703 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
2706 2019-03-12 Florian Weimer <fweimer@redhat.com>
2708 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
2710 2019-03-12 Florian Weimer <fweimer@redhat.com>
2713 resolv: Enable full ICMP errors for UDP DNS sockets
2714 * resolv/res_enable_icmp.c: New file.
2715 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
2716 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
2717 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
2720 2019-03-11 Mao Han <han_mao@c-sky.com>
2722 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
2723 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
2725 2019-03-11 Mao Han <han_mao@c-sky.com>
2727 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
2728 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2729 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2731 2019-03-11 Mao Han <han_mao@c-sky.com>
2733 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
2735 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
2738 2019-03-11 Mao Han <han_mao@c-sky.com>
2740 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
2741 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
2744 2019-03-08 Mike FABIAN <mfabian@redhat.com>
2747 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2748 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2750 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2751 * localedata/unicode-gen/PropList.txt: Likewise.
2752 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2753 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2754 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2755 * localedata/charmaps/UTF-8: Regenerate.
2756 * localedata/locales/i18n_ctype: Likewise.
2757 * localedata/locales/tr_TR: Likewise.
2758 * localedata/locales/translit_circle: Likewise.
2759 * localedata/locales/translit_cjk_compat: Likewise.
2760 * localedata/locales/translit_combining: Likewise.
2761 * localedata/locales/translit_compat: Likewise.
2762 * localedata/locales/translit_font: Likewise.
2763 * localedata/locales/translit_fraction: Likewise.
2765 2019-03-07 Joseph Myers <joseph@codesourcery.com>
2767 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2768 than after operators.
2769 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2770 (setitimer_locked): Likewise.
2771 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2772 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2773 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2774 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2775 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2776 (PPC_CPU_SUPPORTED): Likewise.
2777 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2778 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2779 (stat_overflow): Likewise.
2780 (statfs_overflow): Likewise.
2781 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2782 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2783 (eq_ttyname_r): Likewise.
2784 (run_chroot_tests): Likewise.
2786 2019-03-07 Florian Weimer <fweimer@redhat.com>
2788 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2791 2019-03-07 Martin Liska <mliska@suse.cz>
2793 * math/Makefile: Change location where math-vector-fortran.h is
2795 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2796 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2797 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2798 * scripts/check-installed-headers.sh: Skip Fortran header files.
2799 * scripts/check-wrapper-headers.py: Likewise.
2801 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2803 * nptl/nptl-init.c (__have_futex_clock_realtime,
2804 __have_futex_clock_realtime): Remove definition.
2805 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2806 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2807 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2808 __ASSUME_FUTEX_CLOCK_REALTIME support.
2809 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2810 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2811 * sysdeps/unix/sysv/linux/kernel-features.h
2812 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2813 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2816 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2818 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2819 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2820 __GI___wcscpy and wcscpy.
2822 2019-03-04 Florian Weimer <fweimer@redhat.com>
2824 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2826 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2829 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
2831 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2832 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2834 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2837 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2838 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2840 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2842 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2844 (do_test): Likewise.
2845 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2846 (do_test_call_varg): Likewise.
2847 (do_test_call_rarg): Likewise.
2848 * sysdeps/ieee754/ldbl-opt/Makefile
2849 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2851 ($(objpfx)tst-nldbl-warn.c): New rule.
2852 ($(objpfx)tst-nldbl-error.c): Likewise.
2853 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2856 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2859 * include/bits/error-ldbl.h: New file.
2860 * include/error.h: Include stdarg.h. Declare internal functions
2861 __error_internal and __error_at_line_internal.
2862 * misc/Makefile (headers): Add bits/error-ldbl.h.
2863 * misc/bits/error-ldbl.h: New file.
2864 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2865 avoid the inclusion of bits/error.h.
2866 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2867 and __nldbl_error_at_line.
2868 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2869 (__nldbl_error, __ndlbl_error_at_line): New functions.
2870 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2871 Redirect error and error_at_line.
2872 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2881 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2882 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2883 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2885 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2888 * include/bits/err-ldbl.h: New file.
2889 * include/err.h: Add prototypes for the internal functions:
2890 __vwarnx_internal and __vwarn_internal.
2891 * misc/Makefile (headers): Add bits/err-ldbl.h.
2892 * misc/bits/err-ldbl.h: New file.
2893 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2894 defined, i.e.: when -mlong-double-64 is in use.
2895 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2896 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2897 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2898 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2899 (VA_CALL): New macro.
2900 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2901 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2903 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2904 declare prototypes for the new functions.
2905 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2914 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2915 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2916 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2918 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2920 * sysdeps/ieee754/ldbl-opt/Makefile
2921 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2922 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2923 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2925 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2928 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2929 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2930 * argp/bits/argp-ldbl.h: New file.
2931 * include/argp.h: Include stdarg.h. Add prototypes for internal
2932 functions: __argp_error_internal and __argp_failure_internal.
2933 * include/bits/argp-ldbl.h: New file.
2934 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2935 __nldbl_argp_error and __nldbl_argp_failure.
2936 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2937 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2938 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2939 Redirect argp_error and argp_failure calls.
2940 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2949 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2950 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2951 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2953 2019-03-01 Florian Weimer <fweimer@redhat.com>
2956 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2957 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2958 code, to avoid creating an ABI tag note.
2959 (modules-names-nobuild): Add tst-big-note-lib.
2961 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
2963 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2964 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2966 2019-03-01 Florian Weimer <fweimer@redhat.com>
2969 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2970 (__netlink_assert_response): Add additional missing newlines.
2972 2019-02-28 Joseph Myers <joseph@codesourcery.com>
2974 * sysdeps/powerpc/powerpc32/dl-machine.c
2975 (__elf_machine_fixup_plt): Use space before '('.
2976 (__process_machine_rela): Likewise.
2977 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2979 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2981 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2983 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2984 (pattern): Likewise.
2986 (check_result): Likewise.
2987 (check_excepts): Likewise.
2988 (check_op): Likewise.
2989 (fail_xr): Likewise.
2990 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2991 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2993 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2996 (__makecontext): Likewise.
2997 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
3000 2019-02-28 Florian Weimer <fweimer@redhat.com>
3003 elf: Add test with a local IFUNC resolver.
3004 * elf/ifuncmain9.c: New file.
3005 * elf/ifuncmain9pic.c: Likewise.
3006 * elf/ifuncmain9picstatic.c: Likewise.
3007 * elf/ifuncmain9pie.c: Likewise.
3008 * elf/ifuncmain9static.c: Likewise.
3009 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
3010 ifuncmain9static, ifuncmain9picstatic.
3011 * elf/Makefile [multi-arch && build-shared] (tests-internal):
3012 Add ifuncmain9, ifuncmain9pic.
3013 * elf/Makefile [multi-arch && build-shared && have-fpie]
3014 (ifunc-pie-tests): Add ifuncmain9pie.
3015 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
3016 (CFLAGS-ifuncmain9picstatic.c): Likewise.
3017 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
3019 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
3021 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
3022 * configure: Regenerated.
3023 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
3025 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3027 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
3028 symbol as __wcspcy instead of wcscpy.
3030 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3032 * include/stdio.h (__renameat2): New hidden prototype.
3033 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
3034 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
3035 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
3036 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
3038 2019-02-27 Joseph Myers <joseph@codesourcery.com>
3040 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
3043 * benchtests/bench-strcpy.c (do_test): Use space before '('.
3044 * benchtests/bench-string.h (cmdline_process_function): Likewise.
3045 * benchtests/bench-strlen.c (do_test): Likewise.
3046 (test_main): Likewise.
3047 * catgets/gencat.c (read_old): Likewise.
3048 * elf/cache.c (load_aux_cache): Likewise.
3049 * iconvdata/bug-iconv8.c (do_test): Likewise.
3050 * math/test-tgmath-ret.c (do_test): Likewise.
3051 * nis/nis_call.c (rec_dirsearch): Likewise.
3052 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3053 * nptl/tst-audit-threads.c (do_test): Likewise.
3054 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
3055 * nss/nss_test1.c (init): Likewise.
3056 * nss/test-netdb.c (test_hosts): Likewise.
3057 * posix/execvpe.c (maybe_script_execute): Likewise.
3058 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
3059 * stdio-common/tst-printf.c (do_test): Likewise.
3060 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
3061 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
3062 * stdlib/qsort.c (STACK_SIZE): Likewise.
3063 * stdlib/test-canon.c (do_test): Likewise.
3064 * stdlib/tst-swapcontext1.c (do_test): Likewise.
3065 * string/memcmp.c (OPSIZ): Likewise.
3066 * string/test-strcpy.c (do_test): Likewise.
3067 (do_random_tests): Likewise.
3068 * string/test-strlen.c (do_test): Likewise.
3069 (test_main): Likewise.
3070 * string/test-strrchr.c (do_test): Likewise.
3071 (do_random_tests): Likewise.
3072 * string/tester.c (test_memrchr): Likewise.
3073 (test_memchr): Likewise.
3074 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
3075 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
3076 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
3077 (read_encoded_value_with_base): Likewise.
3078 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
3079 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
3080 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
3081 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3082 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
3083 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
3085 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
3087 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
3088 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
3089 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
3091 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
3093 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
3095 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3097 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
3098 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3099 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3100 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
3101 * time/test_time.c (main): Likewise.
3103 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3105 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
3107 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
3110 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
3113 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3115 * include/wchar.h (__wcscpy): New prototype.
3116 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
3117 (__wcscpy): Route internal symbol to generic implementation.
3118 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
3119 Add internal __wcscpy alias.
3120 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
3121 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
3122 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
3123 * wcsmbs/wcscpy.c (wcscpy): Add
3124 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
3125 use generic implementation.
3126 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
3128 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
3131 * sysdeps/m68k/wcpcpy.c: Remove file.
3132 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3134 2019-02-26 Joseph Myers <joseph@codesourcery.com>
3136 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
3137 than after operators.
3138 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3139 * sysdeps/mach/hurd/getcwd.c
3140 (__hurd_canonicalize_directory_name_internal): Likewise.
3141 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
3142 (pthread_mutex_consistent): Likewise.
3143 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
3145 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
3146 (__pthread_mutex_transfer_np): Likewise.
3147 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
3148 (__pthread_mutex_unlock): Likewise.
3149 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
3150 (mtx_owned_p): Likewise.
3151 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
3152 (pthread_mutexattr_getrobust): Likewise.
3153 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
3154 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
3156 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3157 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
3158 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
3159 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
3160 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3161 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3162 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
3164 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
3166 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
3167 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
3168 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
3169 (____longjmp_chk): Likewise.
3170 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
3172 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3173 (INTERNAL_SYSCALL): Likewise.
3174 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3175 (INTERNAL_SYSCALL): Likewise.
3176 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3177 (__get_clockfreq_via_cpuinfo): Likewise.
3179 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
3181 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
3182 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
3183 (WORD_COPY_BWD): Likewise.
3184 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3185 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3187 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
3188 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
3190 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
3192 2019-02-25 Joseph Myers <joseph@codesourcery.com>
3194 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
3195 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
3196 rather than after operators.
3197 * elf/cache.c (print_cache): Likewise.
3198 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
3199 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
3200 * hurd/hurdinit.c (_hurd_setproc): Likewise.
3201 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
3202 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
3203 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3204 (reauth_proc): Likewise.
3205 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
3206 (__file_name_split_at): Likewise.
3207 (__directory_name_split_at): Likewise.
3208 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3209 * hurd/port2fd.c (_hurd_port2fd): Likewise.
3210 * iconv/gconv_dl.c (do_print): Likewise.
3211 * inet/netinet/in.h (struct sockaddr_in): Likewise.
3212 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
3213 * locale/setlocale.c (new_composite_name): Likewise.
3214 * malloc/memusagestat.c (main): Likewise.
3215 * misc/fstab.c (fstab_convert): Likewise.
3216 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3218 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
3219 (getgrent_next_file): Likewise.
3220 (internal_getgrnam_r): Likewise.
3221 (internal_getgrgid_r): Likewise.
3222 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
3224 (internal_getgrent_r): Likewise.
3225 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
3226 (getpwent_next_nss): Likewise.
3227 (getpwent_next_file): Likewise.
3228 (internal_getpwnam_r): Likewise.
3229 (internal_getpwuid_r): Likewise.
3230 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
3232 (getspent_next_nss): Likewise.
3233 (internal_getspnam_r): Likewise.
3234 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
3235 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
3236 * string/strchr.c (STRCHR): Likewise.
3237 * string/strchrnul.c (STRCHRNUL): Likewise.
3238 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
3239 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3240 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
3241 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
3242 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
3244 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
3245 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3246 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3247 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
3248 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
3249 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
3250 (open_file): Likewise.
3251 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
3252 (pthread_mutexattr_setprotocol): Likewise.
3253 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3254 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3255 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3256 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3257 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3259 (elf_machine_rela): Likewise.
3260 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3261 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3262 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
3263 * sysdeps/posix/rename.c (rename): Likewise.
3264 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
3265 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
3266 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
3267 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
3268 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3269 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
3270 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
3272 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
3274 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
3275 * time/tzfile.c (__tzfile_compute): Likewise.
3277 2019-02-22 Joseph Myers <joseph@codesourcery.com>
3279 * benchtests/bench-memmem.c (simple_memmem): Break lines before
3280 rather than after operators.
3281 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
3282 * crypt/md5.c (md5_finish_ctx): Likewise.
3283 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
3284 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
3285 * elf/cache.c (load_aux_cache): Likewise.
3286 * elf/dl-load.c (open_verify): Likewise.
3287 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
3288 * elf/readelflib.c (process_elf_file): Likewise.
3289 * elf/rtld.c (dl_main): Likewise.
3290 * elf/sprof.c (generate_call_graph): Likewise.
3291 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
3292 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3293 * hurd/dtable.c (reauth_dtable): Likewise.
3294 * hurd/getdport.c (__getdport): Likewise.
3295 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
3296 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
3297 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
3299 * hurd/hurdioctl.c (fioctl): Likewise.
3300 * hurd/hurdselect.c (_hurd_select): Likewise.
3301 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
3302 (STOPSIGS): Likewise.
3303 * hurd/hurdstartup.c (_hurd_startup): Likewise.
3304 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
3305 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3306 * hurd/msgportdemux.c (msgport_server): Likewise.
3307 * hurd/setauth.c (_hurd_setauth): Likewise.
3308 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
3309 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
3310 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
3311 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
3312 * login/tst-utmp.c (do_check): Likewise.
3313 (simulate_login): Likewise.
3314 * mach/lowlevellock.h (lll_lock): Likewise.
3315 (lll_trylock): Likewise.
3316 * math/test-fenv.c (ALL_EXC): Likewise.
3317 * math/test-fenvinline.c (ALL_EXC): Likewise.
3318 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
3319 * nis/nis_call.c (__do_niscall3): Likewise.
3320 * nis/nis_callback.c (cb_prog_1): Likewise.
3321 * nis/nis_defaults.c (searchaccess): Likewise.
3322 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3323 * nis/nis_ismember.c (internal_ismember): Likewise.
3324 * nis/nis_local_names.c (nis_local_principal): Likewise.
3325 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
3326 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
3328 * nis/ypclnt.c (yp_match): Likewise.
3329 (yp_first): Likewise.
3330 (yp_next): Likewise.
3331 (yp_master): Likewise.
3332 (yp_order): Likewise.
3333 * nscd/hstcache.c (cache_addhst): Likewise.
3334 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3335 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
3336 (internal_getpwuid_r): Likewise.
3337 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
3338 * posix/glob.h (__GLOB_FLAGS): Likewise.
3339 * posix/regcomp.c (peek_token): Likewise.
3340 (peek_token_bracket): Likewise.
3341 (parse_expression): Likewise.
3342 * posix/regexec.c (sift_states_iter_mb): Likewise.
3343 (check_node_accept_bytes): Likewise.
3344 * posix/tst-spawn3.c (do_test): Likewise.
3345 * posix/wordexp-test.c (testit): Likewise.
3346 * posix/wordexp.c (parse_tilde): Likewise.
3347 (exec_comm): Likewise.
3348 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
3349 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
3350 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
3351 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
3352 * stdio-common/tst-fileno.c (do_test): Likewise.
3353 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
3354 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
3355 * stdlib/strtod_l.c (round_and_return): Likewise.
3356 (____STRTOF_INTERNAL): Likewise.
3357 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
3358 * string/strcspn.c (STRCSPN): Likewise.
3359 * string/test-memmem.c (simple_memmem): Likewise.
3360 * termios/tcsetattr.c (tcsetattr): Likewise.
3361 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
3362 * time/asctime.c (asctime_internal): Likewise.
3363 * time/strptime_l.c (__strptime_internal): Likewise.
3364 * time/sys/time.h (timercmp): Likewise.
3365 * time/tzfile.c (__tzfile_compute): Likewise.
3367 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
3370 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
3372 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3374 * argp/argp-help.c (__argp_error_internal): New function,
3375 renamed from __argp_error, but that takes a 'mode_flags'
3376 parameter to control the format of long double parameters.
3377 (__argp_error): Converted into a call __argp_error_internal.
3378 (__argp_failure_internal): New function, renamed from
3379 __argp_failure, but that takes a 'mode_flags' parameter.
3380 (__argp_failure): Converted into a call __argp_failure_internal.
3381 * misc/err.c (__vwarnx_internal): New function, renamed from
3382 vwarnx, but that takes a 'mode_flags' parameter.
3383 (vwarnx): Converted into a call to __vwarnx_internal.
3384 (__vwarn_internal): New function, renamed from vwarn, but that
3385 takes a 'mode_flags' parameter.
3386 (vwarn): Converted into a call to __vwarn_internal.
3387 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
3388 call to __vfxprintf with 'mode_flags'.
3389 (__error_internal): New function, renamed from error, but that
3390 takes a 'mode_flags' parameter.
3391 (error): Converted into a call to __error_internal.
3392 (__error_at_line_internal): New function, renamed from
3393 error_at_line, but that takes a 'mode_flags' parameter.
3394 (error_at_line): Converted into a call to
3395 __error_at_line_internal.
3396 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
3397 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
3400 2019-02-20 Martin Liska <mliska@suse.cz>
3402 * math/Makefile: Install math-vector-fortran.h.
3403 * bits/math-vector-fortran.h: New file.
3404 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
3406 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3408 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
3409 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
3411 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
3413 * nptl/pthread_mutex_trylock.c: Fix comment.
3415 2019-02-19 Carlos O'Donell <carlos@redhat.com>
3417 * nptl/pthread_tryjoin.c: Fix comment.
3419 2019-02-18 Joseph Myers <joseph@codesourcery.com>
3422 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
3423 after R_SPARC_H34 case.
3425 2019-02-18 Florian Weimer <fweimer@redhat.com>
3427 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
3428 (getanswer): Do not call Dprintf.
3429 (res_gethostbyname2_context): Likewise.
3430 (res_gethostbyaddr_context): Likewise.
3432 2019-02-18 Florian Weimer <fweimer@redhat.com>
3434 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
3436 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
3438 * libio/stdfiles.c: Update comment.
3439 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
3440 set _IO_stdin, _IO_stdout, _IO_stderr.
3441 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
3442 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
3444 (_IO_deallocate_file): New inline function.
3445 * libio/iolibio.h (_IO_vprintf): Remove definition.
3446 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
3447 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3448 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
3450 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
3451 __builtin_expect. Use _IO_legacy_file.
3453 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
3455 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
3456 Initialize ctid with a known value and remove update of ctid
3458 (wait_tid): Adjust arguments and call futex_wait with ctid_val
3459 as assumed current value of ctid_ptr.
3461 2019-02-16 Florian Weimer <fweimer@redhat.com>
3463 Check that non-sysdeps headers have wrapper headers.
3464 * scripts/check-wrapper-headers.py: New file.
3465 * Makefile (tests-special): Add check-wrapper-headers.out.
3466 (check-wrapper-headers.out): New target.
3467 * Rules (tests-special): Add check-wrapper-headers.out.
3468 (check-wrapper-headers.out): New target.
3470 2019-02-16 Florian Weimer <fweimer@redhat.com>
3472 Add missing header wrappers under include/.
3473 * include/ar.h: New file.
3474 * include/bits/mqueue2.h: Likewise.
3475 * include/bits/stdio.h: Likewise.
3476 * include/bits/stdio2.h: Likewise.
3477 * include/fstab.h: Likewise.
3478 * include/fts.h: Likewise.
3479 * include/lastlog.h: Likewise.
3480 * include/netinet/icmp6.h: Likewise.
3481 * include/netinet/igmp.h: Likewise.
3482 * include/netinet/ip6.h: Likewise.
3483 * include/re_comp.h: Likewise.
3484 * include/regexp.h: Likewise.
3485 * include/rpcsvc/bootparam.h: Likewise.
3486 * include/rpcsvc/yp_prot.h: Likewise.
3487 * include/sys/random.h: Likewise.
3488 * include/sys/stropts.h: Likewise.
3489 * include/sys/ttychars.h: Likewise.
3490 * include/sys/vfs.h: Likewise.
3491 * include/wait.h: Likewise.
3493 2019-02-16 Florian Weimer <fweimer@redhat.com>
3495 * nptl_db/proc_service.h: Move to ...
3496 * sysdeps/nptl/proc_service.h: ... here.
3497 * nptl_db/thread_db.h: Move to ...
3498 * sysdeps/nptl/thread_db.h: ... here.
3499 * nptl/descr.h: Include <thread_db.h>.
3501 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3503 * io/Makefile (tests): Add tst-lockf.
3504 * io/lockf.c (lockf): Use __fcntl and only define for
3505 !__OFF_T_MATCHES_OFF64_T.
3506 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
3507 __OFF_T_MATCHES_OFF64_T case.
3508 * io/tst-lockf.c: New file.
3509 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
3510 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
3511 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
3512 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
3513 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
3514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
3515 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
3516 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
3517 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
3519 2019-02-15 Florian Weimer <fweimer@redhat.com>
3522 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
3523 pd->result after the thread descriptor has been freed.
3525 2019-02-15 Joseph Myers <joseph@codesourcery.com>
3527 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
3528 from function return type.
3530 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
3532 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3534 * scripts/test_printers_common.py: Set TERM to a known harmless
3537 2019-02-14 Joseph Myers <joseph@codesourcery.com>
3539 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
3540 (xdr_u_int): Likewise.
3541 (xdr_enum): Likewise.
3542 (xdr_bytes): Reword fall-through comment.
3543 (xdr_string): Likewise.
3545 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3548 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
3549 (tests): Add tst-join8 tst-join9.
3550 * nptl/lll_timedwait_tid.c: Remove file.
3551 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
3552 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
3553 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
3554 * nptl/pthread_join_common.c (timedwait_tid): New function.
3555 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
3557 * nptl/tst-join5.c (thread_join): New function.
3558 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
3560 * nptl/tst-join8.c: New file.
3561 * nptl/tst-join9.c: Likewise.
3562 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
3563 lll_futex_timed_wait_cancel): Add generic macros.
3564 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
3566 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3567 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3568 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3569 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
3571 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
3573 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3574 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3575 (lll_futex_timed_wait_cancel): New macro.
3577 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
3579 * benchtests/Makefile: Add malloc-simple benchmark.
3580 * benchtests/bench-malloc-simple.c: New benchmark.
3582 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3584 * benchtests/bench-memmove.c (do_one_test): Remove unused
3587 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
3591 2019-01-13 Jim Wilson <jimw@sifive.com>
3594 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3595 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3597 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3599 * nptl/Makefile (tests): Add tst-unwind-thread.
3600 (CFLAGS-tst-unwind-thread.c): Define.
3601 * nptl/tst-unwind-thread.c: New file.
3602 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3605 2019-02-13 Joseph Myers <joseph@codesourcery.com>
3607 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3609 * nis/nis_call.c (__do_niscall3): Likewise.
3611 * catgets/gencat.c (normalize_line): Use braces around empty
3613 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3614 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3615 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3616 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3617 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3618 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3619 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3622 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3625 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3627 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3628 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3629 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3630 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3631 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3632 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3633 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3634 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3635 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3636 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3637 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3638 * benchtests/bench-bcopy.c: Delete file.
3639 * benchtests/bench-bzero.c: Likewise.
3640 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3641 (simple_memccpy): Remove.
3642 (generic_memccpy): Add function.
3643 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3644 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3645 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3646 (generic_mempcpy): Add new function.
3647 * benchtests/bench-memset.c (simple_bzero): Remove.
3648 (builtin_bzero): Remove.
3649 (builtin_memset): Remove.
3650 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
3651 (generic_rawmemchr): Add new function.
3653 2019-02-12 Florian Weimer <fweimer@redhat.com>
3655 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
3657 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3660 * elf/Makefile (tests): Add tst-audit13.
3661 (modules-names): Add tst-audit13mod1.
3662 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3664 * elf/tst-audit13.c: New file.
3665 * elf/tst-audit13mod1.c: Likewise.
3667 2019-02-12 Florian Weimer <fweimer@redhat.com>
3670 * elf/rtld.c (unload_audit_module): New function.
3671 (report_audit_module_load_error): Likewise.
3672 (load_audit_module): Likewise. Extracted from dl_main. Call
3673 _dl_close if the laversion symbol cannot be found. Use early
3674 returns for error handling. Add malloc error check. Check for a
3675 zero return value from la_version. Remove spurious comment about
3676 static TLS initialization. Remove useless casts.
3677 (notify_audit_modules_of_loaded_object): New function. Extracted
3679 (load_audit_module): Likewise.
3680 (dl_main): Call load_audit_modules.
3682 2019-02-12 Joseph Myers <joseph@codesourcery.com>
3684 * elf/dl-exception.c (_dl_exception_create_format): Add
3685 fall-through comments.
3686 * elf/ldconfig.c (parse_conf_include): Likewise.
3687 * elf/rtld.c (print_statistics): Likewise.
3688 * locale/programs/charmap.c (parse_charmap): Likewise.
3689 * misc/mntent_r.c (__getmntent_r): Likewise.
3690 * posix/wordexp.c (parse_arith): Likewise.
3691 (parse_backtick): Likewise.
3692 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
3693 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3694 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3696 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
3698 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
3699 Use float instead of double.
3701 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3703 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
3705 2019-02-08 Joseph Myers <joseph@codesourcery.com>
3707 * sysdeps/powerpc/bits/mathinline.h: Remove.
3709 2019-02-08 Florian Weimer <fweimer@redhat.com>
3711 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
3712 * math/bits/math-finite.h: Move to ...
3713 * bits/math-finite.h: ... here.
3715 2019-02-08 Florian Weimer <fweimer@redhat.com>
3717 * sysdeps/generic/bits/unistd_ext.h: Move to ...
3718 * bits/unistd_ext.h: here.
3720 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
3723 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
3724 * nss/tst-nss-files-hosts-long.c: New file.
3725 * nss/tst-nss-files-hosts-long.root: New directory.
3726 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
3727 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
3729 2019-02-08 Florian Weimer <fweimer@redhat.com>
3731 * include/bits/unistd_ext.h: Remove file.
3732 * posix/bits/unistd_ext.h: Move to ...
3733 * sysdeps/generic/bits/unistd_ext.h: ... here.
3735 2019-02-08 Florian Weimer <fweimer@redhat.com>
3737 * include/bits/unistd_ext.h: New file.
3739 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
3741 * time/tst-strftime2.c: Use array_length macros instead of magic
3744 2019-02-08 Florian Weimer <fweimer@redhat.com>
3747 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3749 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3750 locking if the new do_locking argument is true.
3751 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3752 __run_fork_handlers.
3754 2019-02-08 Florian Weimer <fweimer@redhat.com>
3757 Linux: Add gettid system call wrapper.
3758 * posix/Makefile (headers): Add bits/unistd_ext.h.
3759 * posix/bits/unistd_ext.h: New file.
3760 * posix/unistd.h: Include it.
3761 * manual/process.texi (Process Identification): Document gettid.
3762 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3763 tst-gettid, tst-gettid-kill.
3764 (tst-gettid): Link with $(shared-thread-library).
3765 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3766 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3767 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3768 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3769 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3770 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3772 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3774 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3775 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3777 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3779 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3781 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3783 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3785 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3787 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3789 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3790 (GLIBC_2.30): Likewise.
3791 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3792 (GLIBC_2.30): Likewise.
3793 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3794 (GLIBC_2.30): Likewise.
3795 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3796 (GLIBC_2.30): Likewise.
3797 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3800 (GLIBC_2.30): Likewise.
3801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3802 (GLIBC_2.30): Likewise.
3803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3804 (GLIBC_2.30): Likewise.
3805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3806 (GLIBC_2.30): Likewise.
3807 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3809 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3811 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3813 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3814 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3816 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3818 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3820 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3822 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3824 2019-02-08 Florian Weimer <fweimer@redhat.com>
3826 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3827 compatibility symbols.
3829 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
3832 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3833 Add compiler barriers and comments.
3835 2019-02-07 Florian Weimer <fweimer@redhat.com>
3837 * include/array_length.h (array_length): Do not use a statement
3838 expression and _Static_assert, so that array_length can be used at
3839 file scope and as a constant expression.
3841 2019-02-07 Florian Weimer <fweimer@redhat.com>
3843 * support/xdlfcn.h (xdlmopen): Declare.
3844 * support/xdlmopen.c: New file.
3845 * support/Makefile (libsupport-routines): Add xdlmopen.
3847 2019-02-06 Joseph Myers <joseph@codesourcery.com>
3849 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3850 before return type, without separate inline.
3851 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3852 * elf/dl-tunables.h (tunable_is_name): Likewise.
3853 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3854 (do_set_top_pad): Likewise.
3855 (do_set_mmap_threshold): Likewise.
3856 (do_set_mmaps_max): Likewise.
3857 (do_set_mallopt_check): Likewise.
3858 (do_set_perturb_byte): Likewise.
3859 (do_set_arena_test): Likewise.
3860 (do_set_arena_max): Likewise.
3861 (do_set_tcache_max): Likewise.
3862 (do_set_tcache_count): Likewise.
3863 (do_set_tcache_unsorted_limit): Likewise.
3864 * nis/nis_subr.c (count_dots): Likewise.
3865 * nptl/allocatestack.c (advise_stack_range): Likewise.
3866 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3868 (reduce_sincos): Likewise.
3869 (do_sincos): Likewise.
3870 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3871 (do_set_elision_enable): Likewise.
3872 (TUNABLE_CALLBACK_FNDECL): Likewise.
3874 2019-02-06 Florian Weimer <fweimer@redhat.com>
3876 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3877 (xdlsym): Use dlerror to detect a NULL symbol.
3879 2019-02-06 Florian Weimer <fweimer@redhat.com>
3881 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3883 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3885 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3887 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3889 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3891 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3892 __wmemcmp and weak alias to wmemcmp.
3894 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3897 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3898 TLS_TCB_AT_TP tls variant.
3899 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3900 Add alignment checks.
3901 * support/Makefile (libsupport-routines): Add xposix_memalign and
3903 * support/support.h: Add xposix_memalign.
3904 * support/xthread.h: Add xpthread_attr_setstack.
3905 * support/xposix_memalign.c: New File.
3906 * support/xpthread_attr_setstack.c: Likewise.
3908 2019-02-05 Florian Weimer <fweimer@redhat.com>
3911 arm: Use "nr" constraint for Systemtap probes, to avoid the
3912 compiler using memory operands for constants, due to the "o"
3913 alternative in the default "nor" constraint.
3914 * include/stap-probe.h [USE_STAP_PROBE]: Include
3915 <stap-probe-machine.h>
3916 * sysdeps/generic/stap-probe-machine.h: New file.
3917 * sysdeps/arm/stap-probe-machine.h: Likewise.
3919 2019-02-04 Joseph Myers <joseph@codesourcery.com>
3921 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3922 with 0, not tcache->entries[tc_idx].
3924 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3927 2019-02-04 Andreas Schwab <schwab@suse.de>
3931 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3932 looking up collating elements match against (wide) character
3933 sequence instead of name. Correct alignment adjustment.
3934 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3935 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3936 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3937 (LOCALES): Add cs_CZ.ISO-8859-2.
3938 * posix/tst-fnmatch4.c: New file.
3939 * posix/tst-fnmatch5.c: New file.
3940 * include/wchar.h (__wmemcmp): Declare.
3941 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3942 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3943 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3944 * sysdeps/s390/wmemcmp.c: Likewise.
3946 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3950 * NEWS: Updated for CVE-2019-7309.
3951 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3952 upper 32 bits of RDX register for x32. Use unsigned Jcc
3953 instructions, instead of signed.
3954 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3955 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3957 2019-02-04 Florian Weimer <fweimer@redhat.com>
3959 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3960 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3961 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3963 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3964 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3965 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3966 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3968 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3970 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3972 (posix_spawn_file_actions_addopen): Likewise.
3973 (posix_spawn_file_actions_addclose): Likewise.
3974 (posix_spawn_file_actions_adddup2): Likewise.
3975 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3977 (posix_spawn_file_actions_addfchdir_np): Likewise.
3979 2019-02-04 David Newall <glibc@davidnewall.com>
3981 elf: Implement --preload option for the dynamic linker.
3982 * elf/rtld.c (preloadarg): New variable.
3983 (handle_preload_list): Pass through “where” argument to
3985 (dl_main): Handle "--preload" and add second call to
3986 handle_preload_list.
3987 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3988 (tst-rtld-preload-OBJS): Set variable.
3989 (tst-rtld-preload.out): New target.
3990 * elf/tst-rtld-preload.sh: New file.
3992 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3994 * Makefile (testrun.sh): Exit in case of incorrect argument.
3996 2019-02-04 Florian Weimer <fweimer@redhat.com>
3998 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
4001 2019-02-03 Florian Weimer <fweimer@redhat.com>
4003 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
4004 implicit overflow checks.
4006 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
4008 * stdlib/isomac.c: Include <unistd.h>.
4010 2019-02-03 Florian Weimer <fweimer@redhat.com>
4012 * include/time.h (__tzfile_default): Use int, not long int, for
4014 * time/tzfile.c (struct ttinfo): Change type of the offset member
4016 (__tzfile_read): Remove useless cast.
4017 (__tzfile_default): Adjust prototype.
4018 * time/tzset.c (tz_rule): Change type of the offset member to int.
4019 (parse_offset): Change the type of the sign variable to int.
4021 2019-02-03 Florian Weimer <fweimer@redhat.com>
4024 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
4025 * libio/getchar.c (getchar): Likewise.
4026 * libio/getchar_u.c (getchar_unlocked): Likewise.
4027 * libio/getwchar.c (getwchar): Likewise.
4028 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4029 * libio/iogets.c (_IO_gets): Likewise.
4030 * libio/vscanf.c (_IO_vscanf): Likewise.
4031 * libio/vwscanf.c (__vwscanf): Likewise.
4032 * libio/tst-bz24153.c: New file.
4033 * libio/Makefile (tests): Add it.
4035 2019-02-02 Florian Weimer <fweimer@redhat.com>
4038 * manual/resource.texi (Basic Scheduling Functions): Add
4039 portability note. Change process to task throughout the section.
4040 Remove incorrect comment about sched_yield as it affects
4041 tasks/threads, not entire processes.
4042 * sysdeps/unix/sysv/linux/bits/posix_opt.h
4043 (_POSIX_PRIORITY_SCHEDULING): Update comment.
4045 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4047 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
4048 * configure: Regenerated.
4049 * manual/install.texi (Tools for Compilation): Update minimum GCC
4051 * INSTALL: Regenerated.
4053 2019-02-01 Florian Weimer <fweimer@redhat.com>
4055 * support/support_test_compare_string.c
4056 (support_test_compare_string): Use "string" in error message.
4057 * support/tst-test_compare_string.c (do_test): Adjust.
4059 2019-02-01 Florian Weimer <fweimer@redhat.com>
4061 * support/support_format_address_family.c
4062 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
4064 2019-02-01 Florian Weimer <fweimer@redhat.com>
4066 * manual/socket.texi (Internet Address Formats): Clarify the byte
4067 order of struct sockaddr_in, struct sockaddr_in6. Document
4068 sin6_flowinfo and sin6_scope_id.
4070 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
4072 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
4073 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
4074 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
4075 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
4076 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
4077 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
4079 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4081 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
4082 [!MEMCHR](MEMCHR): Set to __memchr.
4083 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4084 Add memchr_generic and memchr_nosimd.
4085 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4086 (__libc_ifunc_impl_list): Add memchr ifuncs.
4087 * sysdeps/aarch64/multiarch/memchr.c: New file.
4088 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
4089 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
4091 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4093 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4095 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4096 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
4097 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
4098 Add IS_EMAG check for ifunc dispatch.
4099 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
4100 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
4102 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4104 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
4105 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4107 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
4110 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
4112 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
4114 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
4116 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
4117 syscall-template file.
4119 2019-01-31 Carlos O'Donell <carlos@redhat.com>
4120 Torvald Riegel <triegel@redhat.com>
4121 Rik Prohaska <prohaska7@gmail.com>
4124 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
4125 tst-rwlock-trywrlock-stall.
4126 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4127 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
4128 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
4129 Set __wrphase_fute to 1 only if we started the write phase.
4130 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
4131 * nptl/tst-rwlock-trywrlock-stall.c: New file.
4132 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
4133 * support/xpthread_rwlock_destroy.c: New file.
4134 * support/xthread.h: Declare xpthread_rwlock_destroy.
4136 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4138 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4141 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4144 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
4145 * libio/fileops.c (_IO_new_file_underflow): Likewise
4146 * libio/wfileops.c (_IO_wfile_underflow): Likewise
4147 * libio/putchar.c (putchar): Likewise.
4148 * libio/putchar_u.c (putchar_unlocked): Likewise.
4149 * libio/putwchar.c (putchar): Likewise.
4150 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4151 * libio/tst-bz24051.c: New test.
4152 * libio/Makefile (tests): Add tst-bz24051
4154 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
4157 regex: fix read overrun [BZ #24114]
4158 Problem found by AddressSanitizer, reported by Hongxu Chen in:
4159 https://debbugs.gnu.org/34140
4160 * posix/regexec.c (proceed_next_node):
4161 Do not read past end of input buffer.
4163 2019-01-31 Florian Weimer <fweimer@redhat.com>
4166 * nss/nss_files/files-alias.c (get_next_alias): Handle
4167 continuation line without newline at the end.
4168 * nss/tst-nss-files-alias-truncated.c: New file.
4169 * nss/Makefile [$(build-shared)] (tests): Add
4170 tst-nss-files-alias-truncated.
4171 (tst-nss-files-alias-truncated): Link with libnss_files.so.
4172 * support/namespace.h (struct support_chroot_configuration): Add
4174 (struct support_chroot): Add path_aliases member.
4175 * support/support_chroot.c (support_chroot_create): Handle
4177 (support_chroot_free): Free path_aliases.
4179 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
4181 * version.h (RELEASE): Set to "development".
4182 (VERSION): Set to "2.29.9000".
4183 * NEWS: Add section for 2.30.
4185 * version.h (RELEASE): Set to "stable".
4186 (VERSION): Set to "2.29".
4187 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
4189 * NEWS: Add the list of bugs fixed in 2.29.
4190 * manual/contrib.texi: Update contributors list with some more
4192 * manual/install.texi: Update latest versions of packages
4194 * INSTALL: Regenerated.
4196 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4198 * po/be.po: Update translations.
4199 * po/bg.po: Likewise.
4200 * po/ca.po: Likewise.
4201 * po/cs.po: Likewise.
4202 * po/da.po: Likewise.
4203 * po/de.po: Likewise.
4204 * po/el.po: Likewise.
4205 * po/eo.po: Likewise.
4206 * po/es.po: Likewise.
4207 * po/fi.po: Likewise.
4208 * po/fr.po: Likewise.
4209 * po/gl.po: Likewise.
4210 * po/hr.po: Likewise.
4211 * po/hu.po: Likewise.
4212 * po/ia.po: Likewise.
4213 * po/id.po: Likewise.
4214 * po/it.po: Likewise.
4215 * po/ja.po: Likewise.
4216 * po/ko.po: Likewise.
4217 * po/lt.po: Likewise.
4218 * po/nb.po: Likewise.
4219 * po/nl.po: Likewise.
4220 * po/pl.po: Likewise.
4221 * po/pt_BR.po: Likewise.
4222 * po/ru.po: Likewise.
4223 * po/rw.po: Likewise.
4224 * po/sk.po: Likewise.
4225 * po/sl.po: Likewise.
4226 * po/sv.po: Likewise.
4227 * po/tr.po: Likewise.
4228 * po/uk.po: Likewise.
4229 * po/vi.po: Likewise.
4230 * po/zh_CN.po: Likewise.
4231 * po/zh_TW.po: Likewise.
4233 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
4236 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
4237 of $f3 register on $y_is_neg path.
4239 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
4242 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
4243 sigaltstack.ss_flags.
4245 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
4248 * manual/time.texi (strftime): Document "%Ey".
4249 * time/strftime_l.c (__strftime_internal): Set the default width
4250 padding with zero of "%Ey" to 2.
4253 * manual/time.texi (strftime): Document "%EC" and "%EY".
4254 * time/Makefile (tests): Add tst-strftime2.
4255 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
4256 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
4257 override padding for "%Ey".
4258 If an optional flag ('_' or '-') is specified to "%EY", interpret the
4259 "%Ey" in the subformat as if decorated with that flag.
4260 * time/tst-strftime2.c: New file.
4262 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4264 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
4268 * elf/Makefile (tests): Add tst-audit13.
4269 (modules-names): Add tst-audit13mod1.
4270 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4272 * elf/rtld.c (dl_main): Handle invalid audit module version.
4273 * elf/tst-audit13.c: New file.
4274 * elf/tst-audit13mod1.c: Likewise.
4276 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4278 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
4279 returned by __hurd_at_flags.
4280 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
4281 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
4282 directly instead of __hurd_file_name_lookup.
4284 2019-01-21 Joseph Myers <joseph@codesourcery.com>
4286 * scripts/build-many-glibcs.py (Context.checkout): Default
4287 binutils version to 2.32 branch.
4289 2019-01-21 Florian Weimer <fweimer@redhat.com>
4293 resolv: Reject trailing characters in host names
4294 * include/arpa/inet.h (__inet_aton_exact): Declare.
4295 (inet_aton): Remove hidden prototype. No longer used internally.
4296 * nscd/gai.c (__inet_aton): Do not define.
4297 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
4298 * nss/digits_dots.c (__inet_aton): Likewise.
4299 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
4300 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
4301 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
4302 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
4303 (tst-resolv-trailing): Likewise.
4304 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
4306 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
4307 Make static. Add endp parameter.
4308 (__inet_aton_exact): New function.
4309 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
4310 (__inet_addr): Call inet_aton_end.
4311 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
4312 not just IPv6. Call __inet_aton_exact.
4313 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
4314 (tests): Make const. Add additional test cases with trailing
4316 (do_test): Use array_length.
4317 * resolv/tst-inet_aton_exact.c: New file.
4318 * resolv/tst-resolv-trailing.c: Likewise.
4319 * resolv/tst-resolv-nondecimal.c: Likewise.
4320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
4322 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4326 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
4327 Clear the upper 32 bits of RSI register.
4328 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
4329 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
4330 and tst-size_t-wcsnlen.
4331 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
4332 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
4334 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4338 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
4339 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4340 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4341 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
4342 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
4344 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4348 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
4349 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4350 * sysdeps/x86_64/strcmp.S: Likewise.
4351 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
4352 tst-size_t-strncmp and tst-size_t-wcsncmp.
4353 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
4354 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
4355 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
4357 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4361 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
4362 RDX_LP for length. Clear the upper 32 bits of RDX register.
4363 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
4364 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
4365 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
4366 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
4368 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4372 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
4373 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
4374 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
4375 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
4377 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4381 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
4382 length. Clear the upper 32 bits of RDX register.
4383 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4384 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4386 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4388 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
4390 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
4392 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4396 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
4397 length. Clear the upper 32 bits of RDX register.
4398 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4399 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4400 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
4402 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
4403 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
4405 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4409 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
4410 upper 32 bits of RDX register.
4411 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
4412 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
4414 * sysdeps/x86_64/x32/test-size_t.h: New file.
4415 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
4416 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
4418 2019-01-18 Florian Weimer <fweimer@redhat.com>
4421 resolv: Do not send queries for non-host-names in nss_dns.
4422 * resolv/nss_dns/dns-host.c (check_name): New function.
4423 (_nss_dns_gethostbyname2_r): Use it.
4424 (_nss_dns_gethostbyname_r): Likewise.
4425 (_nss_dns_gethostbyname4_r): Likewise.
4427 2019-01-21 Florian Weimer <fweimer@redhat.com>
4429 * resolv/inet_addr.c: Reformat to GNU style.
4430 (__inet_addr, __inet_aton): Update comment.
4432 2019-01-18 Florian Weimer <fweimer@redhat.com>
4434 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
4435 ("malloc: Use current (C11-style) atomics for fastbin access").
4436 This commit introduces a substantial performance regression on
4438 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
4439 (REMOVE_FB): Define.
4440 (_int_malloc): Use it and reindent.
4441 (_int_free): Use CAS loop with
4442 catomic_compare_and_exchange_val_rel.
4443 (malloc_consolidate): Use atomic_exchange_acq.
4446 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
4448 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
4450 (LDFLAGS-tst-minsigstksz-2): Likewise.
4451 (LDFLAGS-tst-minsigstksz-3): Likewise.
4452 (LDFLAGS-tst-minsigstksz-3a): Likewise.
4453 (LDFLAGS-tst-minsigstksz-4): Likewise.
4455 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
4457 * manual/time.texi (strftime): Fix the wording to "alternative" rather
4460 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
4462 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
4464 2019-01-16 Zack Weinberg <zackw@panix.com>
4466 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
4467 (xget_sigstack_location): New test support functions.
4468 * support/xsigstack.c: New file, implementing them.
4469 * support/tst-xsigstack.c: New test for them.
4470 * support/Makefile: Update.
4472 * signal/tst-minsigstksz-1.c
4473 * signal/tst-minsigstksz-2.c
4474 * signal/tst-minsigstksz-3.c
4475 * signal/tst-minsigstksz-3a.c
4476 * signal/tst-minsigstksz-4.c: New tests.
4477 * signal/Makefile: Run them.
4479 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4481 * po/libc.pot: Regenerate.
4483 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4485 * math/libm-test-fma.inc (fma_test_data): Set
4486 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
4488 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4490 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
4491 (do_test): Changed __vector __int128_t to __vector unsigned int.
4493 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4496 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
4497 stpcpy-avx2 and stpncpy-avx2.
4498 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
4499 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
4500 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
4502 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
4503 ifunc-strcpy.h}: rename header for a more generic name.
4504 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
4505 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
4506 AVX unaligned load is fast and vzeroupper is preferred.
4507 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
4508 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
4509 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
4510 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
4511 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
4512 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
4514 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
4516 * argp/argp-help.c: Fix typo in comment.
4517 * misc/sys/cdefs.h: Likewise.
4518 * posix/regexec.c (sift_states_iter_mb): Likewise.
4519 * socket/sockatmark.c: Likewise.
4520 * socket/sys/socket.h: Likewise.
4521 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4522 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4523 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4524 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4525 * sysdeps/unix/sockatmark.c: Likewise.
4526 * time/strptime_l.c: Likewise.
4528 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4530 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
4531 missing space after the cast of "_NL_CURRENT".
4533 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4535 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
4536 ifdef to fix read of VSCR.
4537 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
4538 tst-ucontext-ppc64-vscr.c to test list.
4539 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
4541 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
4543 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
4546 2019-01-09 Jim Wilson <jimw@sifive.com>
4548 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4550 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
4552 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
4553 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
4554 __memcpy_falkor for ares.
4555 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
4557 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4560 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
4563 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4564 4_FP_W_TYPEs are used for IEEE quad precision.
4565 * soft-fp/extendhftf2.c: Likewise.
4566 * soft-fp/extendsftf2.c: Likewise.
4567 * soft-fp/extendxftf2.c: Likewise.
4568 * soft-fp/trunctfdf2.c: Likewise.
4569 * soft-fp/trunctfhf2.c: Likewise.
4570 * soft-fp/trunctfsf2.c: Likewise.
4571 * soft-fp/trunctfxf2.c: Likewise.
4572 * sysdeps/alpha/ots_cvttx.c: Likewise.
4573 * sysdeps/alpha/ots_cvtxt.c: Likewise.
4574 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
4575 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4576 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4577 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4578 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
4579 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4580 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4581 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4582 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
4583 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
4584 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
4585 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
4586 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
4587 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
4588 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
4589 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
4591 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4594 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4595 code with -fmath-errno.
4596 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4597 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4598 * string/test-strerror-errno.c: New file.
4600 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4603 * localedata/locales/en_US (date_fmt): Add, set to
4604 "%a %d %b %Y %r %Z".
4606 2019-01-07 Florian Weimer <fweimer@redhat.com>
4609 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4610 instead of @var{errno}.
4611 (Parsing of Integers): Likewise.
4612 (Parsing of Floats): Likewise.
4613 * manual/filesys.texi (Working with Directory Trees): Likewise.
4614 (Temporary Files): Likewise.
4615 * manual/job.texi (Terminal Access Functions): Likewise.
4616 * manual/llio.texi (Synchronizing I/O): Likewise.
4617 * manual/math.texi (SVID Random): Likewise.
4618 * manual/message.texi (The catgets Functions): Likewise.
4619 (Translation with gettext): Likewise.
4620 (Locating gettext catalog): Likewise.
4621 (Charset conversion in gettext): Likewise.
4622 * manual/nss.texi (NSS Module Function Internals): Likewise.
4623 * manual/search.texi (Hash Search Function): Likewise.
4624 * manual/setjmp.texi (System V contexts): Likewise.
4625 * manual/time.texi (Sleeping): Likewise.
4626 * manual/users.texi (Lookup User): Likewise.
4627 (Lookup Group): Likewise.
4629 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4631 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4634 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
4637 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4638 __builtin_unreachable for default case in switch.
4639 (__ieee754_yn): Likewise.
4640 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4641 (__ieee754_ynl): Likewise.
4642 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4643 (__ieee754_ynl): Likewise.
4644 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4645 (__ieee754_ynl): Likewise.
4647 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4649 * manual/maint.texi: Use @{ and @}.
4651 2019-01-04 Florian Weimer <fweimer@redhat.com>
4653 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
4655 (do_in_chroot_1): Call it.
4657 Improve error reporting in case it is not possible to create a
4658 collision for the PTY name required by the test.
4660 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4662 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
4663 lll_wait_tid with timeout.
4664 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
4665 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
4666 futex_reltimed_wait_cancelable for cancelabla mode.
4667 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
4668 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
4670 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
4671 * sysdeps/posix/waitid.c (__sigwait): Likewise.
4672 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
4673 SYSCALL_CANCEL_NCS): New macro.
4674 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
4675 (lll_timedwait_tid): Remove macro.
4676 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
4678 (lll_timedwait_tid): Likewise.
4679 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
4681 (lll_timedwait_tid): Likewise.
4682 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
4684 (lll_timedwait_tid): Likewise.
4685 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
4686 Use INTERNAL_SYSCALL_CANCEL.
4687 * sysdeps/unix/sysv/linux/futex-internal.h
4688 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
4689 instead of __pthread_{enable,disable}_asynccancel.
4690 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4691 (lll_futex_wait_cancel): New macro.
4693 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4694 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4696 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4697 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4699 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
4700 in backtrace analysis.
4701 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
4703 (tf_send): Likewise.
4705 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
4706 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
4707 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
4708 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
4709 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4710 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4711 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
4712 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
4713 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
4714 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
4715 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
4716 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
4718 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
4719 tst-cancel-wrappers.sh.
4720 (generated): Remove tst-cancel-wrappers.out.
4721 (tst-cancel-wrappers.out): Remove rule.
4722 * nptl/tst-cancel-wrappers.sh: Remove file.
4724 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4726 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
4727 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4730 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4733 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
4734 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
4735 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
4736 close-on-exec reset for adddup2 file action.
4737 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4739 2019-01-03 Zack Weinberg <zackw@panix.com>
4741 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4742 parameter. Only use deprecated scanf when __USE_GNU is defined
4743 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
4744 than 201103L, whichever is relevant for the language being compiled.
4746 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4747 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4748 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4749 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4750 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4754 * libio/iovswscanf.c
4759 * stdio-common/fscanf.c
4760 * stdio-common/scanf.c
4761 * stdio-common/vfscanf.c
4762 * stdio-common/vfwscanf.c
4763 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4764 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4765 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4766 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4767 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4768 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4769 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4770 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4771 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4772 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4773 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4774 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4775 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4776 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4777 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4779 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4780 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4781 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4783 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4784 with a preprocessor macro.
4786 * stdio-common/bug21.c, stdio-common/scanf14.c:
4787 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4788 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4789 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4790 to xscanf, xfscanf, xsscanf.
4792 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4793 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4794 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4795 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4797 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4798 override feature selection macros or provide definitions of u_char etc.
4799 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4800 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4801 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4804 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4807 bits/termios-misc.h.
4808 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4809 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4810 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4811 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4812 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4813 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4815 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4816 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4817 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4818 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4819 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4820 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4822 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4823 (sysdep_headers): Add termios-misc.h.
4825 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4826 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4827 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4831 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4832 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4833 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4834 TCSAFLUSH): Move to termios-tcflow.h.
4835 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4836 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4837 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4838 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4840 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4842 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4843 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4844 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4845 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4846 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4847 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4848 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4849 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4851 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4852 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4853 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4854 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4858 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4859 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4860 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4861 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4862 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4864 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4865 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4866 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4867 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4870 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4872 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4873 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4874 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4875 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4876 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4877 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4878 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4879 __MAX_BAUD): Move to termios-baud.h.
4880 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4881 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4882 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4883 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4884 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4886 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4888 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4889 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4890 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4891 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4892 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4893 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4895 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4896 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4898 [USE_MISC] (XTABS): Likewise.
4899 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4900 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4901 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4902 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4904 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4906 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4907 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4908 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4909 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4910 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4911 IUTF8): Move to termios-c_iflag.h.
4912 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4913 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4914 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4915 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4917 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4919 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4920 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4921 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4922 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4923 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4924 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4925 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4926 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4927 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4928 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4929 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4930 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4932 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4933 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4934 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4935 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4936 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4938 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4940 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4942 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4944 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4946 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4948 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4949 _HAVE_C_OSPEED): Define.
4950 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4951 _HAVE_C_OSPEED): Likewise.
4952 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4953 _HAVE_C_OSPEED): Likewise.
4954 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4955 (cfsetospeed): Check for define value instead of existence.
4956 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4957 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4958 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4959 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4960 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4963 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4965 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4966 (TIOCSER_TEMT): Likewise.
4967 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4968 (TEOCSER_TEMT): Likewise.
4970 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
4973 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4975 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4977 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4979 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4981 * sysdeps/htl/pt-barrierattr-setpshared.c
4982 (pthread_barrierattr_setpshared): Add stub warning.
4983 * sysdeps/htl/pt-condattr-setpshared.c
4984 (pthread_condattr_setpshared): Likewise.
4985 * sysdeps/htl/pt-mutexattr-setpshared.c
4986 (pthread_mutexattr_setpshared): Likewise.
4987 * sysdeps/htl/pt-rwlockattr-setpshared.c
4988 (pthread_rwlockattr_setpshared): Likewise.
4989 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4990 (pthread_mutexattr_setpshared): Likewise.
4992 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4994 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4995 constants to match with Linux 4.20.
4997 * sysdeps/mips/mips32/libm-test-ulps: Update.
4998 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5000 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
5003 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
5004 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
5005 than __typeof (...) for the a_ptr variable.
5007 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5009 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
5010 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
5011 * libio/Makefile (tests): Add tst-sprintf-ub and
5013 (CFLAGS-tst-sprintf-ub.c): New variable.
5014 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
5015 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
5016 destination buffer and check for overflows in fortified mode.
5017 * libio/libioP.h (PRINTF_CHK): New macro.
5018 * libio/tst-sprintf-chk-ub.c: New file.
5019 * libio/tst-sprintf-ub.c: Likewise.
5021 2019-01-02 Florian Weimer <fweimer@redhat.com>
5024 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
5027 2019-01-02 Florian Weimer <fweimer@redhat.com>
5029 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
5031 2019-01-01 Joseph Myers <joseph@codesourcery.com>
5033 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
5036 * sysdeps/unix/sysv/linux/netpacket/packet.h
5037 (PACKET_IGNORE_OUTGOING): New macro.
5039 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
5042 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5044 (riscv_flush_icache): New syscall.
5046 * manual/texinfo.tex: Update to version 2018-12-28.17 with
5047 trailing whitespace removed.
5048 * scripts/config.guess: Update to version 2019-01-01.
5049 * scripts/config.sub: Update to version 2019-01-01.
5050 * scripts/move-if-change: Update from gnulib.
5052 * NEWS: Update copyright dates.
5053 * catgets/gencat.c (print_version): Likewise.
5054 * csu/version.c (banner): Likewise.
5055 * debug/catchsegv.sh: Likewise.
5056 * debug/pcprofiledump.c (print_version): Likewise.
5057 * debug/xtrace.sh (do_version): Likewise.
5058 * elf/ldconfig.c (print_version): Likewise.
5059 * elf/ldd.bash.in: Likewise.
5060 * elf/pldd.c (print_version): Likewise.
5061 * elf/sotruss.sh: Likewise.
5062 * elf/sprof.c (print_version): Likewise.
5063 * iconv/iconv_prog.c (print_version): Likewise.
5064 * iconv/iconvconfig.c (print_version): Likewise.
5065 * locale/programs/locale.c (print_version): Likewise.
5066 * locale/programs/localedef.c (print_version): Likewise.
5067 * login/programs/pt_chown.c (print_version): Likewise.
5068 * malloc/memusage.sh (do_version): Likewise.
5069 * malloc/memusagestat.c (print_version): Likewise.
5070 * malloc/mtrace.pl: Likewise.
5071 * manual/libc.texinfo: Likewise.
5072 * nptl/version.c (banner): Likewise.
5073 * nscd/nscd.c (print_version): Likewise.
5074 * nss/getent.c (print_version): Likewise.
5075 * nss/makedb.c (print_version): Likewise.
5076 * posix/getconf.c (main): Likewise.
5077 * scripts/test-installation.pl: Likewise.
5078 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5080 * All files with FSF copyright notices: Update copyright dates
5081 using scripts/update-copyrights.
5082 * locale/programs/charmap-kw.h: Regenerated.
5083 * locale/programs/locfile-kw.h: Likewise.
5085 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5087 * timezone/zdump.c: Update from tzcode 2018i.
5088 * timezone/zic.c: Likewise.
5090 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
5092 regex: improve Gnulib port to AIX
5093 From the glibc point of view, this removes duplicate macro
5094 definitions and is obviously safe.
5095 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
5096 * posix/regex_internal.h:
5097 (__attribute__, __attribute_warn_unused_result__):
5098 Remove; already defined elsewhere.
5100 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
5103 * malloc/malloc.c (_int_realloc): Always call memcpy for the
5104 copying operation. (ncopies had the wrong type, resulting in an
5105 integer wraparound and too few elements being copied.)
5107 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
5110 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
5111 <asm/syscalls.h> exists with __has_include__ before including it.
5113 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5115 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5118 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
5120 * hurd/lookup-retry: Include <unistd.h>.
5121 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
5122 Release it on return. Handle "pid" magical lookup retry.
5124 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5127 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
5128 (t_fmt_ampm): Likewise.
5129 * localedata/locales/aa_ER (t_fmt): Likewise.
5130 (t_fmt_ampm): Likewise.
5131 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
5132 (t_fmt_ampm): Likewise.
5133 * localedata/locales/aa_ET (t_fmt): Likewise.
5134 (t_fmt_ampm): Likewise.
5135 * localedata/locales/am_ET (t_fmt): Likewise.
5136 (t_fmt_ampm): Likewise.
5137 * localedata/locales/byn_ER (t_fmt): Likewise.
5138 (t_fmt_ampm): Likewise.
5139 * localedata/locales/om_ET (t_fmt): Likewise.
5140 (t_fmt_ampm): Likewise.
5141 * localedata/locales/sid_ET (t_fmt): Likewise.
5142 (t_fmt_ampm): Likewise.
5143 * localedata/locales/so_DJ (t_fmt): Likewise.
5144 (t_fmt_ampm): Likewise.
5145 * localedata/locales/so_ET (t_fmt): Likewise.
5146 (t_fmt_ampm): Likewise.
5147 * localedata/locales/so_SO (t_fmt): Likewise.
5148 (t_fmt_ampm): Likewise.
5149 * localedata/locales/ti_ER (t_fmt): Likewise.
5150 (t_fmt_ampm): Likewise.
5151 * localedata/locales/ti_ET (t_fmt): Likewise.
5152 (t_fmt_ampm): Likewise.
5153 * localedata/locales/tig_ER (t_fmt): Likewise.
5154 (t_fmt_ampm): Likewise.
5155 * localedata/locales/wal_ET (t_fmt): Likewise.
5156 (t_fmt_ampm): Likewise.
5158 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
5159 * localedata/locales/ar_IN (t_fmt): Likewise.
5160 * localedata/locales/bhb_IN (t_fmt): Likewise.
5161 * localedata/locales/bho_IN (t_fmt): Likewise.
5162 * localedata/locales/bi_VU (t_fmt): Likewise.
5163 * localedata/locales/bn_BD (t_fmt): Likewise.
5164 * localedata/locales/bn_IN (t_fmt): Likewise.
5165 * localedata/locales/brx_IN (t_fmt): Likewise.
5166 * localedata/locales/doi_IN (t_fmt): Likewise.
5167 * localedata/locales/en_HK (t_fmt): Likewise.
5168 (t_fmt_ampm): Likewise.
5169 * localedata/locales/en_IN (t_fmt): Likewise.
5170 * localedata/locales/en_PH (t_fmt): Likewise.
5171 * localedata/locales/gu_IN (t_fmt): Likewise.
5172 * localedata/locales/hi_IN (t_fmt): Likewise.
5173 * localedata/locales/hif_FJ (t_fmt): Likewise.
5174 * localedata/locales/hne_IN (t_fmt): Likewise.
5175 * localedata/locales/kn_IN (t_fmt): Likewise.
5176 * localedata/locales/kok_IN (t_fmt): Likewise.
5177 * localedata/locales/ks_IN (t_fmt): Likewise.
5178 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
5179 * localedata/locales/mag_IN (t_fmt): Likewise.
5180 * localedata/locales/mai_IN (t_fmt): Likewise.
5181 * localedata/locales/mjw_IN (t_fmt): Likewise.
5182 * localedata/locales/ml_IN (t_fmt): Likewise.
5183 * localedata/locales/mni_IN (t_fmt): Likewise.
5184 * localedata/locales/mr_IN (t_fmt): Likewise.
5185 * localedata/locales/ms_MY (t_fmt): Likewise.
5186 * localedata/locales/pa_IN (t_fmt): Likewise.
5187 * localedata/locales/raj_IN (t_fmt): Likewise.
5188 * localedata/locales/sa_IN (t_fmt): Likewise.
5189 * localedata/locales/sat_IN (t_fmt): Likewise.
5190 * localedata/locales/sd_IN (t_fmt): Likewise.
5191 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
5192 * localedata/locales/tcy_IN (t_fmt): Likewise.
5193 * localedata/locales/the_NP (t_fmt): Likewise.
5194 * localedata/locales/to_TO (t_fmt): Likewise.
5195 * localedata/locales/ur_IN (t_fmt): Likewise.
5197 * localedata/locales/hif_FJ (d_t_fmt): Set to
5198 "%A %d %b %Y %I:%M:%S %p".
5199 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
5201 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
5202 * localedata/locales/ar_BH (t_fmt): Likewise.
5203 * localedata/locales/ar_DZ (t_fmt): Likewise.
5204 * localedata/locales/ar_EG (t_fmt): Likewise.
5205 * localedata/locales/ar_IQ (t_fmt): Likewise.
5206 * localedata/locales/ar_JO (t_fmt): Likewise.
5207 * localedata/locales/ar_KW (t_fmt): Likewise.
5208 * localedata/locales/ar_LB (t_fmt): Likewise.
5209 * localedata/locales/ar_LY (t_fmt): Likewise.
5210 * localedata/locales/ar_OM (t_fmt): Likewise.
5211 * localedata/locales/ar_QA (t_fmt): Likewise.
5212 * localedata/locales/ar_SD (t_fmt): Likewise.
5213 * localedata/locales/ar_SS (t_fmt): Likewise.
5214 * localedata/locales/ar_SY (t_fmt): Likewise.
5215 * localedata/locales/ar_TN (t_fmt): Likewise.
5216 * localedata/locales/ar_YE (t_fmt): Likewise.
5218 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
5219 (t_fmt_ampm): Likewise.
5220 * localedata/locales/gez_ET (t_fmt): Likewise.
5221 (t_fmt_ampm): Likewise.
5223 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
5224 (t_fmt_ampm): Likewise.
5225 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
5227 * localedata/locales/zh_HK (t_fmt):
5228 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
5230 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
5231 because this locale does not use the 12-hour clock.
5232 (t_fmt): Set to "%Z %H:%M:%S".
5233 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
5235 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
5236 because this locale does not use the 12-hour clock.
5237 (t_fmt): Set to "%H:%M:%S %Z".
5238 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
5240 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
5241 because this locale does not use the 12-hour clock.
5242 (t_fmt): Set to "%T".
5243 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
5244 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
5246 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
5247 because this locale does not use the 12-hour clock.
5248 (t_fmt): Set to "%H:%M:%S %Z".
5249 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
5251 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
5252 because this locale does not use the 12-hour clock.
5253 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
5254 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
5256 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5260 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
5261 (t_fmt_ampm): Likewise.
5262 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
5263 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
5264 (d_fmt): Set to "%-d.%-m.%y".
5266 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5268 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
5269 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
5270 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
5272 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5273 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
5274 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
5276 * support/blob_repeat.c (check_mul_overflow_size_t,
5277 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
5279 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
5281 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
5283 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
5285 regex: simplify Gnulib port
5286 This simplifies the code, by removing stuff intended for porting
5287 to Gnulib but no longer needed there.
5288 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
5289 uses of libc_hidden_def, weak_alias.
5290 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
5291 _Restrict_ except for public-facing headers.
5292 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
5293 Remove; already defined elsewhere.
5294 * posix/regex.c, posix/regex_internal.h:
5295 Use __GNUC_PREREQ instead of rolling our own.
5296 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
5298 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
5300 * benchtests/bench-strlen.c (generic_strlen): New function.
5301 (memchr_strlen): New function.
5303 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5305 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
5306 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
5307 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
5309 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5311 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5313 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5315 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
5316 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
5317 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
5318 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
5319 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
5320 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
5321 <sysdeps/ieee754/flt-32/s_sincosf.c>.
5323 2018-12-21 Joseph Myers <joseph@codesourcery.com>
5326 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
5327 PLT reference in libc.so.
5328 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
5329 _Q_lltoq and _Q_qtod PLT references in libc.so.
5331 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
5333 * benchtests/bench-memchr.c: Cleanup defines.
5334 * benchtests/bench-memcmp.c: Likewise.
5335 * benchtests/bench-memset.c: Likewise.
5336 * benchtests/bench-memset-large.c: Likewise.
5337 * benchtests/bench-memset-walk.c: Likewise.
5338 * benchtests/bench-stpcpy.c: Likewise.
5339 * benchtests/bench-stpncpy.c: Likewise.
5340 * benchtests/bench-strcat.c: Likewise.
5341 * benchtests/bench-strchr.c: Likewise.
5342 * benchtests/bench-strcmp.c: Likewise.
5343 * benchtests/bench-strcpy.c: Likewise.
5344 * benchtests/bench-strcspn.c: Likewise.
5345 * benchtests/bench-string.h: Likewise.
5346 * benchtests/bench-strlen.c: Likewise.
5347 * benchtests/bench-strncat.c: Likewise.
5348 * benchtests/bench-strncmp.c: Likewise.
5349 * benchtests/bench-strncpy.c: Likewise.
5350 * benchtests/bench-strnlen.c: Likewise.
5351 * benchtests/bench-strpbrk.c: Likewise.
5352 * benchtests/bench-strrchr.c: Likewise.
5353 * benchtests/bench-strspn.c: Likewise.
5355 2018-12-21 Joseph Myers <joseph@codesourcery.com>
5357 * stdlib/longlong.h: Update from GCC.
5360 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
5361 * configure: Regenerated.
5362 * manual/install.texi (Tools for Compilation): Update minimum GCC
5364 * INSTALL: Regenerated.
5366 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
5368 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
5370 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
5372 * malloc/malloc.c (mremap_chunk): Additional checks.
5374 2018-12-21 Mao Han <han_mao@c-sky.com>
5376 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
5377 * scripts/build-many-glibcs.py: Add C-SKY targets.
5378 * sysdeps/csky/Implies: New file.
5379 * sysdeps/csky/Makefile: Likewise.
5380 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
5381 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
5382 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
5383 * sysdeps/csky/abiv2/memcmp.S: Likewise.
5384 * sysdeps/csky/abiv2/memcpy.S: Likewise.
5385 * sysdeps/csky/abiv2/memmove.S: Likewise.
5386 * sysdeps/csky/abiv2/memset.S: Likewise.
5387 * sysdeps/csky/abiv2/setjmp.S: Likewise.
5388 * sysdeps/csky/abiv2/start.S: Likewise.
5389 * sysdeps/csky/abiv2/strcmp.S: Likewise.
5390 * sysdeps/csky/abiv2/strcpy.S: Likewise.
5391 * sysdeps/csky/abiv2/strlen.S: Likewise.
5392 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
5393 * sysdeps/csky/abort-instr.h: Likewise.
5394 * sysdeps/csky/atomic-machine.h: Likewise.
5395 * sysdeps/csky/bits/endian.h: Likewise.
5396 * sysdeps/csky/bits/fenv.h: Likewise.
5397 * sysdeps/csky/bits/link.h: Likewise.
5398 * sysdeps/csky/bits/setjmp.h: Likewise.
5399 * sysdeps/csky/bsd-_setjmp.S: Likewise.
5400 * sysdeps/csky/bsd-setjmp.S: Likewise.
5401 * sysdeps/csky/configure: Likewise.
5402 * sysdeps/csky/configure.ac: Likewise.
5403 * sysdeps/csky/dl-machine.h: Likewise.
5404 * sysdeps/csky/dl-procinfo.c: Likewise.
5405 * sysdeps/csky/dl-procinfo.h: Likewise.
5406 * sysdeps/csky/dl-sysdep.h: Likewise.
5407 * sysdeps/csky/dl-tls.h: Likewise.
5408 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
5409 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
5410 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
5411 * sysdeps/csky/fpu/fegetenv.c: Likewise.
5412 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
5413 * sysdeps/csky/fpu/fegetmode.c: Likewise.
5414 * sysdeps/csky/fpu/fegetround.c: Likewise.
5415 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
5416 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
5417 * sysdeps/csky/fpu/fenv_private.h: Likewise.
5418 * sysdeps/csky/fpu/fesetenv.c: Likewise.
5419 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
5420 * sysdeps/csky/fpu/fesetmode.c: Likewise.
5421 * sysdeps/csky/fpu/fesetround.c: Likewise.
5422 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
5423 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
5424 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
5425 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
5426 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
5427 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
5428 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
5429 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
5430 * sysdeps/csky/fpu_control.h: Likewise.
5431 * sysdeps/csky/gccframe.h: Likewise.
5432 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
5433 * sysdeps/csky/ldsodefs.h: Likewise.
5434 * sysdeps/csky/libc-tls.c: Likewise.
5435 * sysdeps/csky/linkmap.h: Likewise.
5436 * sysdeps/csky/machine-gmon.h: Likewise.
5437 * sysdeps/csky/memusage.h: Likewise.
5438 * sysdeps/csky/nofpu/Implies: Likewise.
5439 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
5440 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
5441 * sysdeps/csky/nptl/Makefile: Likewise.
5442 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
5443 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
5444 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
5445 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
5446 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
5447 * sysdeps/csky/nptl/tls.h: Likewise.
5448 * sysdeps/csky/preconfigure: Likewise.
5449 * sysdeps/csky/sfp-machine.h: Likewise.
5450 * sysdeps/csky/sotruss-lib.c: Likewise.
5451 * sysdeps/csky/stackinfo.h: Likewise.
5452 * sysdeps/csky/sysdep.h: Likewise.
5453 * sysdeps/csky/tininess.h: Likewise.
5454 * sysdeps/csky/tst-audit.h: Likewise.
5455 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
5456 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
5457 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
5458 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
5459 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5460 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
5461 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5462 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
5463 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
5464 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
5465 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
5466 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
5467 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
5468 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
5469 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
5470 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
5471 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
5472 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
5473 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
5474 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
5475 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
5476 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
5477 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
5478 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
5479 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
5480 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
5481 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
5482 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
5483 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
5484 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
5485 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
5486 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
5487 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
5488 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
5489 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
5490 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
5491 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
5492 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
5493 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
5494 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
5495 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
5496 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
5497 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
5498 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
5500 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5502 * include/time.h (__difftime64): Add.
5503 * time/difftime.c (subtract): convert to 64-bit time.
5504 * time/difftime.c (__difftime64): Add.
5505 * time/difftime.c (__difftime): Wrap around __difftime64.
5507 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
5509 * manual/examples/add.c: Remove redundant "if not".
5510 * manual/examples/argp-ex1.c: Likewise.
5511 * manual/examples/argp-ex2.c: Likewise.
5512 * manual/examples/argp-ex3.c: Likewise.
5513 * manual/examples/argp-ex4.c: Likewise.
5514 * manual/examples/atexit.c: Likewise.
5515 * manual/examples/db.c: Likewise.
5516 * manual/examples/dir.c: Likewise.
5517 * manual/examples/dir2.c: Likewise.
5518 * manual/examples/execinfo.c: Likewise.
5519 * manual/examples/filecli.c: Likewise.
5520 * manual/examples/filesrv.c: Likewise.
5521 * manual/examples/fmtmsgexpl.c: Likewise.
5522 * manual/examples/genpass.c: Likewise.
5523 * manual/examples/inetcli.c: Likewise.
5524 * manual/examples/inetsrv.c: Likewise.
5525 * manual/examples/isockad.c: Likewise.
5526 * manual/examples/longopt.c: Likewise.
5527 * manual/examples/memopen.c: Likewise.
5528 * manual/examples/memstrm.c: Likewise.
5529 * manual/examples/mkdirent.c: Likewise.
5530 * manual/examples/mkfsock.c: Likewise.
5531 * manual/examples/mkisock.c: Likewise.
5532 * manual/examples/mygetpass.c: Likewise.
5533 * manual/examples/pipe.c: Likewise.
5534 * manual/examples/popen.c: Likewise.
5535 * manual/examples/rprintf.c: Likewise.
5536 * manual/examples/search.c: Likewise.
5537 * manual/examples/select.c: Likewise.
5538 * manual/examples/setjmp.c: Likewise.
5539 * manual/examples/sigh1.c: Likewise.
5540 * manual/examples/sigusr.c: Likewise.
5541 * manual/examples/stpcpy.c: Likewise.
5542 * manual/examples/strdupa.c: Likewise.
5543 * manual/examples/strftim.c: Likewise.
5544 * manual/examples/subopt.c: Likewise.
5545 * manual/examples/swapcontext.c: Likewise.
5546 * manual/examples/termios.c: Likewise.
5547 * manual/examples/testopt.c: Likewise.
5548 * manual/examples/testpass.c: Likewise.
5549 * manual/examples/timeval_subtract.c: Likewise.
5551 2018-12-19 Joseph Myers <joseph@codesourcery.com>
5553 * sysdeps/x86/fpu/math_private.h: New file.
5554 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
5556 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
5561 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5563 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
5564 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
5565 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
5566 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
5568 (_dl_show_auxv): Give a special treatment to
5569 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
5570 and AT_L3_CACHEGEOMETRY.
5571 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
5572 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
5573 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
5574 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
5576 2018-12-19 Andreas Schwab <schwab@suse.de>
5578 * nscd/connections.c (check_use): Don't abort on invalid len.
5580 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5582 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
5583 values in the 64bit value cases.
5585 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5591 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5597 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5600 (__gmtime64_r): Add.
5602 (__gmtime64_r): Add.
5603 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5609 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5612 (__localtime64_r): Add.
5614 (__localtime64_r): Add.
5615 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5617 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5619 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5620 kernel_sigction definition.
5622 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5624 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5626 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5627 __syscall_rt_sigaction.
5628 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5629 (kernel_sigaction): Use Linux generic defintion.
5631 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5632 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5633 (__syscall_rt_sigaction): Remove implementation.
5634 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5636 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5637 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5638 INTERNAL_SYSCALL): Remove definitions.
5639 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5640 action and signal set size.
5641 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5642 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5644 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5645 James Clarke <jrtc27@jrtc27.com>
5648 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
5649 Define if SA_RESTORER is defined.
5650 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
5651 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
5653 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
5654 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
5656 (HAS_SA_RESTORER): Define.
5657 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
5658 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
5659 (HAS_SA_RESTORER): Define.
5660 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
5661 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
5662 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
5663 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5664 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5666 2018-12-18 Joseph Myers <joseph@codesourcery.com>
5668 * sysdeps/unix/sysv/linux/kernel-features.h
5669 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
5670 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5671 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
5672 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5673 (__ASSUME_ST_INO_64_BIT): Likewise.
5674 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5675 <kernel-features.h>.
5676 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5677 Remove conditional code.
5678 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5679 <kernel-features.h>.
5680 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5681 Remove conditional code.
5682 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
5683 <kernel-features.h>.
5684 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5685 Remove conditional code.
5686 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
5687 <kernel-features.h>.
5688 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
5689 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
5691 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5693 * sysdeps/s390/multiarch/ifunc-resolve.h
5694 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
5695 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
5696 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
5697 Delete macro definition.
5698 (s390_libc_ifunc_init): Rename to
5699 s390_libc_ifunc_expr_stfle_init.
5700 * sysdeps/s390/bzero: Use
5701 s390_libc_ifunc_expr_stfle_init instead of
5702 s390_libc_ifunc_init.
5703 * sysdeps/s390/memcmp.c: Likewise.
5704 * sysdeps/s390/memcpy.c: Likewise.
5705 * sysdeps/s390/mempcpy.c: Likewise.
5706 * sysdeps/s390/memset.c: Likewise.
5708 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5710 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
5711 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
5713 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5715 * sysdeps/s390/multiarch/Makefile
5716 (sysdep_routines): Remove wmemcmp variants.
5717 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
5718 * sysdeps/s390/multiarch/ifunc-impl-list.c
5719 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
5720 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
5721 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
5722 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
5723 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
5724 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
5725 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
5726 * sysdeps/s390/ifunc-wmemcmp.h: New file.
5728 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5730 * sysdeps/s390/multiarch/Makefile
5731 (sysdep_routines): Remove wmemset variants.
5732 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
5733 * sysdeps/s390/multiarch/ifunc-impl-list.c
5734 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
5735 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
5736 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
5737 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
5738 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
5739 * sysdeps/s390/multiarch/wmemset.c: Move to ...
5740 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
5741 * sysdeps/s390/ifunc-wmemset.h: New file.
5743 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5745 * sysdeps/s390/multiarch/Makefile
5746 (sysdep_routines): Remove wmemchr variants.
5747 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5748 * sysdeps/s390/multiarch/ifunc-impl-list.c
5749 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5750 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5751 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5752 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5753 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5754 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5755 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5756 * sysdeps/s390/ifunc-wmemchr.h: New file.
5758 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5760 * sysdeps/s390/multiarch/Makefile
5761 (sysdep_routines): Remove wcscspn variants.
5762 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5763 * sysdeps/s390/multiarch/ifunc-impl-list.c
5764 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5765 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5766 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5767 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5768 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5769 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5770 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5771 * sysdeps/s390/ifunc-wcscspn.h: New file.
5773 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5775 * sysdeps/s390/multiarch/Makefile
5776 (sysdep_routines): Remove wcspbrk variants.
5777 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5778 * sysdeps/s390/multiarch/ifunc-impl-list.c
5779 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5780 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5781 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5782 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5783 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5784 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5785 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5786 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5788 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5790 * sysdeps/s390/multiarch/Makefile
5791 (sysdep_routines): Remove wcsspn variants.
5792 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5793 * sysdeps/s390/multiarch/ifunc-impl-list.c
5794 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5795 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5796 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5797 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5798 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5799 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5800 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5801 * sysdeps/s390/ifunc-wcsspn.h: New file.
5803 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5805 * sysdeps/s390/multiarch/Makefile
5806 (sysdep_routines): Remove wcsrchr variants.
5807 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5808 * sysdeps/s390/multiarch/ifunc-impl-list.c
5809 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5810 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5811 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5812 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5813 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5814 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5815 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5816 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5818 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5820 * sysdeps/s390/multiarch/Makefile
5821 (sysdep_routines): Remove wcschrnul variants.
5822 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5823 * sysdeps/s390/multiarch/ifunc-impl-list.c
5824 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5825 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5826 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5827 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5828 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5829 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5830 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5831 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5833 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5835 * sysdeps/s390/multiarch/Makefile
5836 (sysdep_routines): Remove wcschr variants.
5837 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5838 * sysdeps/s390/multiarch/ifunc-impl-list.c
5839 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5840 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5841 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5842 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5843 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5844 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5845 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5846 * sysdeps/s390/ifunc-wcschr.h: New file.
5848 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5850 * sysdeps/s390/multiarch/Makefile
5851 (sysdep_routines): Remove wcsncmp variants.
5852 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5853 * sysdeps/s390/multiarch/ifunc-impl-list.c
5854 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5855 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5856 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5857 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5858 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5859 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5860 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5861 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5863 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5865 * sysdeps/s390/multiarch/Makefile
5866 (sysdep_routines): Remove wcscmp variants.
5867 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5868 * sysdeps/s390/multiarch/ifunc-impl-list.c
5869 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5870 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5871 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5872 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5873 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5874 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5875 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5876 * sysdeps/s390/ifunc-wcscmp.h: New file.
5878 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5880 * sysdeps/s390/multiarch/Makefile
5881 (sysdep_routines): Remove wcsncat variants.
5882 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5883 * sysdeps/s390/multiarch/ifunc-impl-list.c
5884 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5885 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5886 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5887 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5888 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5889 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5890 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5891 * sysdeps/s390/ifunc-wcsncat.h: New file.
5893 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5895 * sysdeps/s390/multiarch/Makefile
5896 (sysdep_routines): Remove wcscat variants.
5897 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5898 * sysdeps/s390/multiarch/ifunc-impl-list.c
5899 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5900 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5901 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5902 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5903 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5904 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5905 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5906 * sysdeps/s390/ifunc-wcscat.h: New file.
5908 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5910 * sysdeps/s390/multiarch/Makefile
5911 (sysdep_routines): Remove wcpncpy variants.
5912 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5913 * sysdeps/s390/multiarch/ifunc-impl-list.c
5914 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5915 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5916 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5917 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5918 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5919 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5920 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5921 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5923 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5925 * sysdeps/s390/multiarch/Makefile
5926 (sysdep_routines): Remove wcsncpy variants.
5927 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5928 * sysdeps/s390/multiarch/ifunc-impl-list.c
5929 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5930 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5931 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5932 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5933 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5934 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5935 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5936 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5938 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5940 * sysdeps/s390/multiarch/Makefile
5941 (sysdep_routines): Remove wcpcpy variants.
5942 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5943 * sysdeps/s390/multiarch/ifunc-impl-list.c
5944 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5945 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5946 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5947 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5948 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5949 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5950 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5951 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5953 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5955 * sysdeps/s390/multiarch/Makefile
5956 (sysdep_routines): Remove wcscpy variants.
5957 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5958 * sysdeps/s390/multiarch/ifunc-impl-list.c
5959 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5960 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5961 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5962 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5963 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5964 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5965 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5966 * sysdeps/s390/ifunc-wcscpy.h: New file.
5968 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5970 * sysdeps/s390/multiarch/Makefile
5971 (sysdep_routines): Remove wcsnlen variants.
5972 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5973 * sysdeps/s390/multiarch/ifunc-impl-list.c
5974 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5975 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5976 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5977 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5978 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5979 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5980 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5981 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5983 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5985 * sysdeps/s390/multiarch/Makefile
5986 (sysdep_routines): Remove wcslen variants.
5987 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5988 * sysdeps/s390/multiarch/ifunc-impl-list.c
5989 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5990 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5991 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5992 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5993 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5994 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5995 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5996 * sysdeps/s390/ifunc-wcslen.h: New file.
5998 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6000 * sysdeps/s390/multiarch/Makefile
6001 (sysdep_routines): Remove memrchr variants.
6002 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
6003 * sysdeps/s390/multiarch/ifunc-impl-list.c
6004 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
6005 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
6006 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
6007 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
6008 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
6009 * sysdeps/s390/multiarch/memrchr.c: Move to ...
6010 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
6011 * sysdeps/s390/ifunc-memrchr.h: New file.
6013 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6015 * sysdeps/s390/multiarch/Makefile
6016 (sysdep_routines): Remove memccpy variants.
6017 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
6018 * sysdeps/s390/multiarch/ifunc-impl-list.c
6019 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
6020 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
6021 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
6022 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
6023 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
6024 * sysdeps/s390/multiarch/memccpy.c: Move to ...
6025 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
6026 * sysdeps/s390/ifunc-memccpy.h: New file.
6028 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6030 * sysdeps/s390/multiarch/Makefile
6031 (sysdep_routines): Remove rawmemchr variants.
6032 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
6033 * sysdeps/s390/multiarch/ifunc-impl-list.c
6034 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
6035 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
6036 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
6037 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
6038 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
6039 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
6040 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
6041 * sysdeps/s390/ifunc-rawmemchr.h: New file.
6043 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6045 * sysdeps/s390/multiarch/Makefile
6046 (sysdep_routines): Remove memchr variants.
6047 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
6048 * sysdeps/s390/multiarch/ifunc-impl-list.c
6049 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
6050 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
6051 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
6052 * sysdeps/s390/multiarch/memchr.c: Move to ...
6053 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
6054 * sysdeps/s390/ifunc-memchr.h: New file.
6055 * sysdeps/s390/s390-64/memchr.S: Move to ...
6056 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
6057 for 31/64bit and ifunc handling.
6058 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
6059 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6060 * sysdeps/s390/s390-32/memchr.S: Likewise.
6062 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6064 * sysdeps/s390/multiarch/Makefile
6065 (sysdep_routines): Remove strcspn variants.
6066 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
6067 * sysdeps/s390/multiarch/ifunc-impl-list.c
6068 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
6069 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
6070 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
6071 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
6072 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
6073 * sysdeps/s390/multiarch/strcspn.c: Move to ...
6074 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
6075 * sysdeps/s390/ifunc-strcspn.h: New file.
6077 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6079 * sysdeps/s390/multiarch/Makefile
6080 (sysdep_routines): Remove strpbrk variants.
6081 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
6082 * sysdeps/s390/multiarch/ifunc-impl-list.c
6083 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
6084 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
6085 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
6086 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
6087 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
6088 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
6089 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
6090 * sysdeps/s390/ifunc-strpbrk.h: New file.
6092 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6094 * sysdeps/s390/multiarch/Makefile
6095 (sysdep_routines): Remove strspn variants.
6096 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
6097 * sysdeps/s390/multiarch/ifunc-impl-list.c
6098 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
6099 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
6100 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
6101 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
6102 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
6103 * sysdeps/s390/multiarch/strspn.c: Move to ...
6104 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
6105 * sysdeps/s390/ifunc-strspn.h: New file.
6107 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6109 * sysdeps/s390/multiarch/Makefile
6110 (sysdep_routines): Remove strrchr variants.
6111 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
6112 * sysdeps/s390/multiarch/ifunc-impl-list.c
6113 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
6114 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
6115 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
6116 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
6117 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
6118 * sysdeps/s390/multiarch/strrchr.c: Move to ...
6119 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
6120 * sysdeps/s390/ifunc-strrchr.h: New file.
6122 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6124 * sysdeps/s390/multiarch/Makefile
6125 (sysdep_routines): Remove strchrnul variants.
6126 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
6127 * sysdeps/s390/multiarch/ifunc-impl-list.c
6128 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
6129 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
6130 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
6131 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
6132 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
6133 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
6134 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
6135 * sysdeps/s390/ifunc-strchrnul.h: New file.
6137 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6139 * sysdeps/s390/multiarch/Makefile
6140 (sysdep_routines): Remove strchr variants.
6141 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
6142 * sysdeps/s390/multiarch/ifunc-impl-list.c
6143 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
6144 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
6145 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
6146 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
6147 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
6148 * sysdeps/s390/multiarch/strchr.c: Move to ...
6149 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
6150 * sysdeps/s390/ifunc-strchr.h: New file.
6152 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6154 * sysdeps/s390/multiarch/Makefile
6155 (sysdep_routines): Remove strncmp variants.
6156 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
6157 * sysdeps/s390/multiarch/ifunc-impl-list.c
6158 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
6159 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
6160 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
6161 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
6162 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
6163 * sysdeps/s390/multiarch/strncmp.c: Move to ...
6164 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
6165 * sysdeps/s390/ifunc-strncmp.h: New file.
6167 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6169 * sysdeps/s390/multiarch/Makefile
6170 (sysdep_routines): Remove strcmp variants.
6171 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
6172 * sysdeps/s390/multiarch/ifunc-impl-list.c
6173 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
6174 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
6175 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
6176 * sysdeps/s390/multiarch/strcmp.c: Move to ...
6177 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
6178 * sysdeps/s390/ifunc-strcmp.h: New file.
6179 * sysdeps/s390/s390-64/strcmp.S: Move to ...
6180 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
6181 for 31/64bit and ifunc handling.
6182 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
6183 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6184 * sysdeps/s390/s390-32/strcmp.S: Likewise.
6186 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6188 * sysdeps/s390/multiarch/Makefile
6189 (sysdep_routines): Remove strncat variants.
6190 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
6191 * sysdeps/s390/multiarch/ifunc-impl-list.c
6192 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
6193 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
6194 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
6195 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
6196 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
6197 * sysdeps/s390/multiarch/strncat.c: Move to ...
6198 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
6199 * sysdeps/s390/ifunc-strncat.h: New file.
6201 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6203 * sysdeps/s390/multiarch/Makefile
6204 (sysdep_routines): Remove strcat variants.
6205 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
6206 * sysdeps/s390/multiarch/ifunc-impl-list.c
6207 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
6208 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
6209 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
6210 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
6211 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
6212 * sysdeps/s390/multiarch/strcat.c: Move to ...
6213 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
6214 * sysdeps/s390/ifunc-strcat.h: New file.
6216 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6218 * sysdeps/s390/multiarch/Makefile
6219 (sysdep_routines): Remove stpncpy variants.
6220 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
6221 * sysdeps/s390/multiarch/ifunc-impl-list.c
6222 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
6223 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
6224 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
6225 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
6226 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
6227 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
6228 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
6229 * sysdeps/s390/ifunc-stpncpy.h: New file.
6231 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6233 * sysdeps/s390/multiarch/Makefile
6234 (sysdep_routines): Remove strncpy variants.
6235 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
6236 * sysdeps/s390/multiarch/ifunc-impl-list.c
6237 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
6238 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
6239 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
6240 * sysdeps/s390/multiarch/strncpy.c: Move to ...
6241 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
6242 * sysdeps/s390/ifunc-strncpy.h: New file.
6243 * sysdeps/s390/s390-64/strncpy.S: Move to ...
6244 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
6245 and adjust ifunc handling.
6246 * sysdeps/s390/s390-32/strncpy.S: Move to ...
6247 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
6248 and adjust ifunc handling.
6249 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
6250 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6252 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6254 * sysdeps/s390/multiarch/Makefile
6255 (sysdep_routines): Remove stpcpy variants.
6256 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
6257 * sysdeps/s390/multiarch/ifunc-impl-list.c
6258 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
6259 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
6260 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
6261 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
6262 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
6263 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
6264 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
6265 * sysdeps/s390/ifunc-stpcpy.h: New file.
6267 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6269 * sysdeps/s390/multiarch/Makefile
6270 (sysdep_routines): Remove strcpy variants.
6271 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
6272 * sysdeps/s390/multiarch/ifunc-impl-list.c
6273 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
6274 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
6275 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
6276 * sysdeps/s390/multiarch/strcpy.c: Move to ...
6277 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
6278 * sysdeps/s390/ifunc-strcpy.h: New file.
6279 * sysdeps/s390/s390-64/strcpy.S: Move to ...
6280 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
6281 for 31/64bit and ifunc handling.
6282 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
6283 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6284 * sysdeps/s390/s390-32/strcpy.S: Likewise.
6286 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6288 * sysdeps/s390/multiarch/Makefile
6289 (sysdep_routines): Remove strnlen variants.
6290 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
6291 * sysdeps/s390/multiarch/ifunc-impl-list.c
6292 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
6293 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
6294 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
6295 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
6296 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
6297 * sysdeps/s390/multiarch/strnlen.c: Move to ...
6298 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
6299 * sysdeps/s390/ifunc-strnlen.h: New file.
6301 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6303 * sysdeps/s390/multiarch/Makefile
6304 (sysdep_routines): Remove strlen variants.
6305 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
6306 * sysdeps/s390/multiarch/ifunc-impl-list.c
6307 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
6308 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
6309 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
6310 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
6311 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
6312 * sysdeps/s390/multiarch/strlen.c: Move to ...
6313 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
6314 * sysdeps/s390/ifunc-strlen.h: New file.
6316 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6318 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
6319 * sysdeps/s390/multiarch/ifunc-impl-list.c
6320 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
6321 * sysdeps/s390/ifunc-memmem.h: New file.
6322 * sysdeps/s390/memmem.c: Likewise.
6323 * sysdeps/s390/memmem-c.c: Likewise.
6324 * sysdeps/s390/memmem-vx.c: Likewise.
6326 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6328 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
6329 * sysdeps/s390/multiarch/ifunc-impl-list.c
6330 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
6331 * sysdeps/s390/ifunc-strstr.h: New file.
6332 * sysdeps/s390/strstr.c: Likewise.
6333 * sysdeps/s390/strstr-c.c: Likewise.
6334 * sysdeps/s390/strstr-vx.c: Likewise.
6336 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6338 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
6339 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
6340 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
6341 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
6343 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
6344 * sysdeps/s390/memmove-c.c: New file.
6345 * sysdeps/s390/memmove.c: Likewise.
6346 * sysdeps/s390/multiarch/ifunc-impl-list.c
6347 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
6349 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6351 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
6352 * sysdeps/s390/configure.ac: Add check for z13 support.
6353 * sysdeps/s390/configure: Regenerated.
6355 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6357 * sysdeps/s390/memcopy.h: New file.
6359 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6361 * sysdeps/s390/s390-32/bcopy.S: Remove.
6362 * sysdeps/s390/s390-64/bcopy.S: Likewise.
6364 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6366 * sysdeps/s390/ifunc-memcpy.h: New File.
6367 * sysdeps/s390/memcpy.S: Move to ...
6368 * sysdeps/s390/memcpy-z900.S ... here.
6369 Move implementations from memcpy-s390x.s to here.
6370 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
6371 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6372 Remove memcpy/mempcpy variants.
6373 * sysdeps/s390/Makefile (sysdep_routines):
6374 Add memcpy/mempcpy variants.
6375 * sysdeps/s390/multiarch/ifunc-impl-list.c
6376 (__libc_ifunc_impl_list): Adjust ifunc variants for
6378 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
6380 * sysdeps/s390/memcpy.c: ... here.
6381 Adjust ifunc variants for memcpy.
6382 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
6383 * sysdeps/s390/mempcpy.c: ... here.
6384 Adjust ifunc variants for mempcpy.
6385 * sysdeps/s390/mempcpy.S: Delete file.
6387 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6389 * sysdeps/s390/s390-64/memcpy.S: Move to ...
6390 * sysdeps/s390/memcpy.S: ... here.
6391 Adjust to be usable for 31/64bit.
6392 * sysdeps/s390/s390-32/memcpy.S: Delete File.
6393 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
6394 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
6395 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6396 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
6397 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
6398 Adjust to be usable for 31/64bit.
6399 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
6400 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
6401 * sysdeps/s390/multiarch/memcpy.c: ... here.
6402 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
6404 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6406 * sysdeps/s390/ifunc-memcmp.h: New File.
6407 * sysdeps/s390/memcmp.S: Move to ...
6408 * sysdeps/s390/memcmp-z900.S ... here.
6409 Move implementations from memcmp-s390x.s to here.
6410 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
6411 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6412 Remove memcmp variants.
6413 * sysdeps/s390/Makefile (sysdep_routines):
6414 Add memcmp variants.
6415 * sysdeps/s390/multiarch/ifunc-impl-list.c
6416 (__libc_ifunc_impl_list): Adjust ifunc variants for
6418 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
6420 * sysdeps/s390/memcmp.c: ... here.
6421 Adjust ifunc variants for memcmp.
6423 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6425 * sysdeps/s390/s390-64/memcmp.S: Move to ...
6426 * sysdeps/s390/memcmp.S: ... here.
6427 Adjust to be usable for 31/64bit.
6428 * sysdeps/s390/s390-32/memcmp.S: Delete File.
6429 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
6430 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6432 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6433 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
6434 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
6435 Adjust to be usable for 31/64bit.
6436 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
6437 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
6438 * sysdeps/s390/multiarch/memcmp.c: ... here.
6439 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
6441 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6443 * sysdeps/s390/s390-32/bzero.S: Delete file.
6444 * sysdeps/s390/s390-64/bzero.S: Likewise.
6445 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
6446 * sysdeps/s390/bzero.c: New file.
6447 * sysdeps/s390/memset-z900.S: Add bzero entry points.
6448 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
6449 * sysdeps/s390/multiarch/ifunc-impl-list.c
6450 (__libc_ifunc_impl_list): Add bzero ifunc variants.
6452 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6454 * sysdeps/s390/ifunc-memset.h: New File.
6455 * sysdeps/s390/memset.S: Move to ...
6456 * sysdeps/s390/memset-z900.S ... here.
6457 Move implementations from memset-s390x.s to here.
6458 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
6459 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6460 Remove memset variants.
6461 * sysdeps/s390/Makefile (sysdep_routines):
6462 Add memset variants.
6463 * sysdeps/s390/multiarch/ifunc-impl-list.c
6464 (__libc_ifunc_impl_list): Adjust ifunc variants for
6466 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
6468 * sysdeps/s390/memset.c: ... here.
6469 Adjust ifunc variants for memset.
6471 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6473 * sysdeps/s390/s390-64/memset.S: Move to ...
6474 * sysdeps/s390/memset.S: ... here.
6475 Adjust to be usable for 31/64bit.
6476 * sysdeps/s390/s390-32/memset.S: Delete File.
6477 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
6478 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6480 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6481 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
6482 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
6483 Adjust to be usable for 31/64bit.
6484 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
6485 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
6486 * sysdeps/s390/multiarch/memset.c: ... here.
6487 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
6489 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6491 * sysdeps/s390/multiarch/ifunc-resolve.h
6492 (s390_libc_ifunc_init, s390_libc_ifunc,
6493 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
6495 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6497 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
6498 * sysdeps/s390/configure.ac: Add check for z10 support.
6499 * sysdeps/s390/configure: Regenerated.
6501 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
6503 * sysdeps/i386/atomic-machine.h: Merged with ...
6504 * sysdeps/x86_64/atomic-machine.h: To ...
6505 * sysdeps/x86/atomic-machine.h: This. New file.
6507 2018-12-18 Florian Weimer <fweimer@redhat.com>
6509 Rewrite locale/gen-translit.pl in Python.
6510 * locale/Makefile (generated): Add C-translit.h.
6511 (before-compile): Add $(objpfx)C-translit.h.
6512 (C-translit.h): Move to $(objpfx). Create target directory.
6513 Build using Python script.
6514 * locale/gen-translit.py: New file.
6515 * locale/gen-translit.pl: Remove file.
6516 * locale/C-translit.h.in: Change comment character to '#' for
6517 easier parsing without a C preprocessor.
6518 * locale/C-translit.h: Remove generated file.
6519 * manual/install.texi (Tools for Compilation): Do not mention
6521 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6522 Remove locale/C-translit.h.
6523 * scripts/update-copyrights: Likewise.
6524 * INSTALL: Regenerate.
6526 2018-12-18 Florian Weimer <fweimer@redhat.com>
6529 * localedata/locales/bi_VU: Remove executable bit from file.
6531 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6534 (__localtime64): Add.
6535 * manual/maint.texi: Document Y2038 symbol handling.
6537 (__localtime64): Add.
6538 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6540 2018-12-17 Joseph Myers <joseph@codesourcery.com>
6542 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
6545 * scripts/glibcextract.py (compare_macro_consts): Take parameters
6546 to allow extra macros from first or second sources.
6547 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
6548 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6549 (tests-special): Add $(objpfx)tst-mman-consts.out.
6550 ($(objpfx)tst-mman-consts.out): New makefile target.
6552 2018-12-17 Mao Han <han_mao@c-sky.com>
6554 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
6555 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
6556 without stat64 system call support.
6557 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
6558 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
6559 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6560 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
6561 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
6562 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
6563 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
6564 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
6565 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
6566 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
6567 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
6569 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
6571 regex: fix storage-exhaustion error
6573 * posix/regexec.c (get_subexp):
6574 Do not continue if storage is exhausted.
6576 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
6578 regex: fix heap-use-after-free error
6580 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6581 https://debbugs.gnu.org/32592
6582 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
6583 call extend_buffers which reallocates the re_string_t internal buffer.
6584 Local variable 'buf' was not updated in such case, resulting in
6586 * posix/regexec.c (get_subexp): Update 'buf' after call to
6589 2018-12-15 Florian Weimer <fweimer@redhat.com>
6591 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6592 (minimum_stride_size): Use it.
6593 (support_blob_repeat_allocate): Likewise.
6595 2018-12-14 Joseph Myers <joseph@codesourcery.com>
6597 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6602 2018-12-14 Florian Weimer <fweimer@redhat.com>
6604 * manual/process.texi (Process Creation Concepts): Remove
6605 documentation of process (ID) lifetime. List more process
6606 creation functions. Reference Process Identification section.
6607 (Process Identification): Add information about process ID
6608 lifetime. Describe Linux thread/task IDs.
6609 * manual/signal.texi (Signaling Another Process): Mention that the
6610 signal is always sent to the process.
6612 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6614 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6615 and tst-ldbl-efgcvt.
6616 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6617 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6618 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6619 (fcvt_tests, output_error, output_r_error, do_test): Use the
6620 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6621 select the type of floating-point variables and arguments; to
6622 produce extra tests for double and conversion specifiers for
6623 printf; and to set the names of called functions.
6624 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6625 in tst-efgcvt-template.c.
6626 * misc/tst-ldbl-efgcvt.c: Likewise.
6628 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
6630 * nss/Makefile (tst-nss-test3.out): New rule.
6632 2018-12-13 Joseph Myers <joseph@codesourcery.com>
6634 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6637 2018-12-13 fanjinke <fanjinke@hygon.cn>
6639 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6642 2018-12-13 Andreas Schwab <schwab@suse.de>
6645 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
6646 (__pthread_rwlock_rdlock_full): Update expected value for
6647 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
6648 * nptl/tst-rwlock-pwn.c: New file.
6649 * nptl/Makefile (tests): Add tst-rwlock-pwn.
6651 2018-12-12 Joseph Myers <joseph@codesourcery.com>
6653 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
6656 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6658 * benchtests/scripts/compare_bench.py (do_compare): write to
6659 stderr in casestat is not present.
6660 * benchtests/scripts/compare_bench.py (plot_graphs): write to
6661 stderr in case timings field is not present. Also string showing
6662 the output filename goes into the stderr.
6664 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6666 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
6667 and ZeroDivisorError exceptions.
6668 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
6669 argument to loop through user provided statistics.
6670 * benchtests/scripts/compare_bench.py (main): Include the --stats
6673 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6675 * benchtests/scripts/compare_bench.py (compare_runs): Continue
6678 2018-12-12 Florian Weimer <fweimer@redhat.com>
6680 * sysdeps/posix/timespec_get.c: Add missing “any later version”
6681 clause to copyright header.
6683 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6686 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
6687 registers saved in the stack frame.
6688 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
6689 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
6691 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6693 * include/bits/monetary-ldbl.h: New file.
6694 * include/bits/printf-ldbl.h: Likewise.
6695 * include/bits/stdio-ldbl.h: Likewise.
6696 * include/bits/stdlib-ldbl.h: Likewise.
6697 * include/bits/syslog-ldbl.h: Likewise.
6698 * include/bits/wchar-ldbl.h: Likewise.
6700 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6702 * libio/libio.h: Remove redirection for _IO_vfprintf.
6704 2018-12-11 Andreas Schwab <schwab@suse.de>
6706 * Makerules: Remove all references to abilist-pattern.
6707 (update-all-abi): Simplify find expression.
6709 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6712 * math/auto-libm-test-in: Add new test case.
6713 * math/auto-libm-test-out-pow: Regenerated.
6714 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
6716 2018-12-10 DJ Delorie <dj@redhat.com>
6719 * support/test-container.c: Move postclean step to before we
6722 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6724 * scripts/gen-as-const.py (main): Handle --python option.
6725 * scripts/gen-py-const.awk: Remove.
6726 * Makerules (py-const-script): Use gen-as-const.py.
6727 ($(py-const)): Likewise.
6728 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
6729 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
6730 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
6731 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
6732 ~PTHREAD_MUTEX_NO_ELISION_NP.
6733 * manual/README.pretty-printers: Update reference to
6736 * scripts/glibcextract.py: New file.
6737 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
6738 or tempfile. Import glibcexctract.
6739 (compute_c_consts): Remove. Moved to glibcextract.py.
6740 (gen_test): Update reference to compute_c_consts.
6742 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
6743 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
6744 * sysdeps/unix/sysv/linux/Makefile
6745 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6746 Redirect stderr as well as stdout.
6748 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6751 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
6752 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6753 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
6754 ALWAYS_USE_VSYSCALL.
6755 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
6756 ALWAYS_USE_VSYSCALL.
6757 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6758 ALWAYS_USE_VSYSCALL.
6760 2018-12-10 Florian Weimer <fweimer@redhat.com>
6763 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6764 offset instead of count for clarity. Fix typo in comment.
6765 (__old_getdents64): Keep track of previous offset. Use it to call
6767 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6768 that d_off is never zero.
6770 2018-12-10 Andreas Schwab <schwab@suse.de>
6772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6773 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6775 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6776 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6778 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6780 * timezone/private.h: Update from tzcode 2018g.
6781 * timezone/tzfile.h: Likewise.
6782 * timezone/tzselect.ksh: Likewise.
6783 * timezone/zdump.c: Likewise.
6784 * timezone/zic.c: Likewise.
6786 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6789 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6790 (do_test): Adjust buffer size and fix format.
6792 2018-12-07 DJ Delorie <dj@redhat.com>
6795 * malloc/tst-tcfree3.c: New.
6796 * malloc/Makefile: Add it.
6798 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6800 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6802 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6804 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6805 used as a mask for the mode argument of __vfscanf_internal and
6806 __vfwscanf_internal.
6807 * stdio-common/vfscanf-internal.c
6808 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6809 (__strtof128_internal): Define to __wcstof128_internal.
6810 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6811 __strtof128_internal or __wcstof128_internal when the format of
6812 long double is the same as _Float128.
6814 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6816 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6817 * posix/confstr.c (confstr): Rename to __confstr.
6818 (__confstr): Add hidden def.
6819 (confstr): Add weak alias for __confstr.
6820 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6823 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6825 * NEWS: Mention getcpu.
6826 * include/sched.h (__getcpu): New libc_hidden_proto.
6827 * manual/resource.texi: Document getcpu.
6828 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6829 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6830 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6831 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6832 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6833 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6834 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6835 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6836 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6837 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6838 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6839 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6840 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6842 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6843 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6844 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6853 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6854 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6855 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6856 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6857 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6858 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6859 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6860 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6861 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6862 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6863 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6866 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6868 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6870 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6872 2018-12-07 Florian Weimer <fweimer@redhat.com>
6875 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6876 * posix/Versions (GLIBC_2.29): Export
6877 posix_spawn_file_actions_addfchdir_np.
6878 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6879 * posix/spawn_faction_destroy.c
6880 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6881 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6882 and the field action.fchdir_action.
6883 * posix/tst-spawn-chdir.c (add_chdir): New function.
6884 (do_test): Add do_fchdir loop. Call add_chdir.
6885 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6886 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6887 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6888 posix_spawn_file_actions_addfchdir_np.
6889 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6891 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6893 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6894 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6896 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6898 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6900 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6902 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6904 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6906 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6907 (GLIBC_2.29): Likewise.
6908 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6909 (GLIBC_2.29): Likewise.
6910 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6911 (GLIBC_2.29): Likewise.
6912 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6913 (GLIBC_2.29): Likewise.
6914 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6917 (GLIBC_2.29): Likewise.
6918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6919 (GLIBC_2.29): Likewise.
6920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6921 (GLIBC_2.29): Likewise.
6922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6923 (GLIBC_2.29): Likewise.
6924 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6926 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6928 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6930 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6931 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6933 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6935 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6937 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6940 2018-12-06 Joseph Myers <joseph@codesourcery.com>
6942 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6943 trailing whitespace removed.
6944 * scripts/config.guess: Update to version 2018-11-28.
6945 * scripts/config.sub: Update to version 2018-11-28.
6946 * scripts/install-sh: Update to version 2018-03-11.20.
6947 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6948 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6950 2018-12-07 Florian Weimer <fweimer@redhat.com>
6954 * inet/tst-if_index-long.c: New file.
6955 * inet/Makefile (tests): Add tst-if_index-long.
6957 2018-12-07 Florian Weimer <fweimer@redhat.com>
6959 * support/check.h (support_record_failure_is_failed): Declare.
6960 * support/descriptors.h: New file.
6961 * support/support_descriptors.c: Likewise.
6962 * support/tst-support_descriptors.c: Likewise.
6963 * support/support_record_failure.c
6964 (support_record_failure_is_failed): New function.
6965 * support/Makefile (libsupport-routines): Add support_descriptors.
6966 (tests): Add tst-support_descriptors.
6968 2018-12-05 Zack Weinberg <zackw@panix.com>
6969 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6971 * stdio-common/vfprintf-internal.c
6972 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6973 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6974 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6975 and __no_long_double.
6976 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6977 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6978 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6979 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6980 and __nldbl_*syslog* functions.
6981 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6982 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6983 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6984 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6985 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6986 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6987 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6988 (__nldbl_vwprintf, __nldbl_wprintf):
6989 Directly call the appropriate __v*printf_internal routine, passing
6990 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6992 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6993 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6994 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6995 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6996 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6997 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6998 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6999 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
7000 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
7001 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
7002 Likewise, and also pass PRINTF_FORTIFY when appropriate.
7003 (__nldbl_syslog, __nldbl_vsyslog):
7004 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
7005 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7007 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7010 2018-12-05 Zack Weinberg <zackw@panix.com>
7011 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7014 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
7015 Moved here from debug/vsprintf_chk.c.
7016 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
7017 and completion logic for the strfile to match exactly what
7018 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
7019 _IO_str_init_static_internal instead of maxlen-1.
7020 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7021 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
7022 __vsprintf_internal.
7024 * debug/vsprintf_chk.c (__vsprintf_chk)
7025 * debug/sprintf_chk.c (__sprintf_chk):
7026 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
7027 'flags' argument is positive, and slen as maxlen. No need to lock
7028 the FILE and/or construct a temporary FILE. Minimize and normalize
7029 header inclusions and variable names. Do not libc_hidden_def anything.
7031 * debug/asprintf_chk.c (__asprintf_chk)
7032 * debug/dprintf_chk.c (__dprintf_chk)
7033 * debug/fprintf_chk.c (__fprintf_chk)
7034 * debug/fwprintf_chk.c (__fwprintf_chk)
7035 * debug/printf_chk.c (__printf_chk)
7036 * debug/snprintf_chk.c (__snprintf_chk)
7037 * debug/swprintf_chk.c (__swprintf_chk)
7038 * debug/vasprintf_chk.c (__vasprintf_chk)
7039 * debug/vdprintf_chk.c (__vdprintf_chk)
7040 * debug/vfprintf_chk.c (__vfprintf_chk)
7041 * debug/vfwprintf_chk.c (__vfwprintf_chk)
7042 * debug/vprintf_chk.c (__vprintf_chk)
7043 * debug/vsnprintf_chk.c (__vsnprintf_chk)
7044 * debug/vswprintf_chk.c (__vswprintf_chk)
7045 * debug/vwprintf_chk.c (__vwprintf_chk)
7046 * debug/wprintf_chk.c (__wprintf_chk):
7047 Directly call the corresponding vxxprintf_internal function, passing
7048 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
7049 the FILE and/or construct a temporary FILE. Minimize and normalize
7050 header inclusions and variable names. Do not libc_hidden_def anything.
7052 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
7053 __obstack_vprintf_internal.
7054 (__obstack_vprintf_chk): Convert into a wrapper that calls
7055 __obstack_vprintf_internal (these two functions already had the
7056 same code) and move to new file...
7057 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
7059 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
7060 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
7061 * debug/Makefile (routines): Add vobprintf_chk.
7063 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7064 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7065 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
7066 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7067 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
7068 (__nldbl___obstack_vfprintf_chk):
7069 Directly call the corresponding vxxprintf_internal function,
7070 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
7071 duplicate comparison of slen with 0 or maxlen from the corresponding
7072 non-__nldbl function.
7074 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
7075 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
7076 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
7077 Remove libc_hidden_proto.
7079 * stdio-common/vfprintf-internal.c
7080 (__vfprintf_internal, __vfwprintf_internal):
7081 Do not check _IO_FLAGS2_FORTIFY.
7082 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
7083 * libio/libioP.h: Update prototype of __vsprintf_internal and add
7084 a comment explaining why it has the maxlen argument.
7085 (_IO_acquire_lock_clear_flags2_fct): Remove.
7086 (_IO_acquire_lock_clear_flags2): Remove.
7087 (_IO_release_lock): Remove conditional statement which will
7089 (_IO_acquire_lock): Remove variable which is now unused.
7090 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7091 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7093 * stdio-common/Makefile (tests): Add tst-bz11319 and
7094 tst-bz11319-fortify2.
7095 (CFLAGS-tst-bz11319-fortify2.c): New macro.
7096 * stdio-common/tst-bz11319-fortify2.c: New file.
7097 * stdio-common/tst-bz11319.c: Likewise.
7099 2018-12-05 Zack Weinberg <zackw@panix.com>
7100 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7102 * misc/syslog.c: Include libioP.h, not iolibio.h.
7103 (__vsyslog_internal): New function with the former body of
7104 __vsyslog_chk; takes mode_flags argument same as
7105 __v*printf_internal. Call __vfprintf_internal directly.
7107 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
7108 Remove libc_hidden_def.
7109 (__syslog, __syslog_chk): Use __vsyslog_internal.
7110 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
7112 * include/sys/syslog.h: Add multiple inclusion guard.
7113 Add prototype for __vsyslog_internal.
7114 Remove declaration and libc_hidden_proto for __vsyslog_chk.
7116 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
7117 Use __vsyslog_internal.
7119 2018-12-05 Zack Weinberg <zackw@panix.com>
7120 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7122 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
7123 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
7124 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
7126 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
7127 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
7129 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
7130 Include wctype.h here if COMPILE_WPRINTF is defined.
7131 Define __vfprintf_internal or __vfwprintf_internal, depending
7133 Temporarily, on entry to this function, update mode_flags
7134 according to the environmental settings corresponding to
7135 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
7136 Throughout, check mode_flags instead of __ldbl_is_dbl and
7137 _IO_FLAGS2_FORTIFY on the destination FILE.
7138 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
7139 Include vfprintf-internal.c. Don't include wctype.h.
7140 * stdio-common/vfprintf.c: New file. Just define __vfprintf
7141 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
7143 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
7144 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
7146 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
7148 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
7149 and add mode_flags argument; use __vfprintf_internal.
7150 (__vdprintf): New function. Alias vdprintf to this.
7151 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
7152 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
7153 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
7154 (__obstack_printf): Use __obstack_printf_internal.
7155 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
7156 public aliases __vsnprintf and vsnprintf.
7157 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
7159 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
7160 public aliases _IO_vsprintf and vsprintf.
7161 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
7162 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
7163 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
7164 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
7165 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
7167 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
7168 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
7169 * stdio-common/fprintf.c, stdio-common/fxprintf.c
7170 * stdio-common/printf.c: Use __vfprintf_internal.
7172 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
7173 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
7174 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
7176 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
7177 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
7178 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
7179 __vfwprintf_internal.
7181 * libio/libio.h: Remove libc_hidden_proto and declaration for
7183 Remove declaration of _IO_vfwprintf.
7184 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
7186 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
7188 * include/stdio.h: Add prototype for __vasprintf.
7189 (__vsnprintf): Remove declaration, because there are no more
7191 * include/wchar.h (__vfwprintf, __vswprintf): Remove
7192 declaration, because there are no more internal calls.
7194 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
7195 __vsnprintf_internal, instead of _IO_vsnprintf.
7196 * argp/argp-help.c (__argp_error, __argp_failure): Use
7197 __vasprintf_internal, instead of _IO_vasprintf.
7198 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
7199 redefine, because there are no more internal calls.
7201 2018-12-05 Zack Weinberg <zackw@panix.com>
7202 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7204 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
7205 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
7206 Include libio/strfile.h instead of libioP.h.
7207 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
7208 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
7209 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
7210 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
7211 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
7212 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
7213 necessary. Do not set __no_long_double. Normalize variable names.
7214 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
7215 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
7216 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
7217 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
7218 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
7219 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
7220 Call __vfscanf_internal / __vfwscanf_internal directly, passing
7221 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
7222 Do not set __no_long_double. Normalize variable names.
7224 2018-12-05 Zack Weinberg <zackw@panix.com>
7225 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7227 * stdio-common/isoc99_scanf.c
7228 * stdio-common/isoc99_fscanf.c
7229 * stdio-common/isoc99_sscanf.c
7230 * stdio-common/isoc99_vscanf.c
7231 * stdio-common/isoc99_vfscanf.c
7232 * stdio-common/isoc99_vsscanf.c
7233 * wcsmbs/isoc99_wscanf.c
7234 * wcsmbs/isoc99_fwscanf.c
7235 * wcsmbs/isoc99_swscanf.c
7236 * wcsmbs/isoc99_vwscanf.c
7237 * wcsmbs/isoc99_vfwscanf.c
7238 * wcsmbs/isoc99_vswscanf.c:
7239 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
7240 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
7241 No need to lock and unlock the FILE passed to that function.
7243 * stdio-common/vfscanf-internal.c
7244 (__vfscanf_internal, __vfwscanf_internal):
7245 Don't look at _IO_FLAGS2_SCANF_STD.
7246 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
7247 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
7248 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
7250 2018-12-05 Zack Weinberg <zackw@panix.com>
7251 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7253 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
7254 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
7255 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
7256 * libio/strfile.h: Add multiple inclusion guard.
7257 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
7259 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
7260 consistency with the other version of this file.
7261 (ldbl_compat_symbol): New macro.
7262 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
7265 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
7266 Define __vfscanf_internal or __vfwscanf_internal, depending on
7267 COMPILE_WSCANF; don't define any other public symbols.
7268 Remove errval and code to set errp.
7269 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
7270 as the mode_flags argument.
7271 (encode_error, conv_error, input_error): Don't set errval.
7272 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
7273 Include vfscanf-internal.c.
7274 * stdio-common/vfscanf.c: New file defining the public entry
7275 point vfscanf, which calls __vfscanf_internal.
7276 * stdio-common/vfwscanf.c: New file defining the public entry
7277 point vfwscanf, which calls __vfwscanf_internal.
7279 * stdio-common/iovfscanf.c: New file.
7280 * stdio-common/iovfwscanf.c: Likewise.
7282 * stdio-common/Makefile (routines): Add vfscanf-internal,
7283 vfwscanf-internal, iovfscanf, iovfwscanf.
7284 * stdio-common/Versions: Mention GLIBC_2.29, so that
7285 it can be used in SHLIB_COMPAT expressions.
7286 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
7287 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
7288 Call __vfscanf_internal, instead of _IO_vfscanf.
7289 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
7291 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
7294 * libio/iovsscanf.c: Clean up includes, when possible. Use
7295 _IO_strfile_read or _IO_strfile_readw, when needed. Call
7296 __vfscanf_internal or __vfwscanf_internal directly.
7297 * libio/iovswscanf.c: Likewise.
7298 * libio/swscanf.c: Likewise.
7299 * libio/vscanf.c: Likewise.
7300 * libio/vwscanf.c: Likewise.
7301 * libio/wscanf.c: Likewise.
7302 * stdio-common/isoc99_fscanf.c: Likewise.
7303 * stdio-common/isoc99_scanf.c: Likewise.
7304 * stdio-common/isoc99_sscanf.c: Likewise.
7305 * stdio-common/isoc99_vfscanf.c: Likewise.
7306 * stdio-common/isoc99_vscanf.c: Likewise.
7307 * stdio-common/isoc99_vsscanf.c: Likewise.
7308 * stdio-common/scanf.c: Likewise.
7309 * stdio-common/sscanf.c: Likewise.
7310 * wcsmbs/isoc99_fwscanf.c: Likewise.
7311 * wcsmbs/isoc99_swscanf.c: Likewise.
7312 * wcsmbs/isoc99_vfwscanf.c: Likewise.
7313 * wcsmbs/isoc99_vswscanf.c: Likewise.
7314 * wcsmbs/isoc99_vwscanf.c: Likewise.
7315 * wcsmbs/isoc99_wscanf.c: Likewise.
7317 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
7320 (__tz_compute): Replace time_t with __time64_t.
7321 (__tz_convert): Replace time_t* with __time64_t.
7322 (__offtime): Replace time_t* with __time64_t.
7324 (__gmtime_r): Adjust call to __tz_convert.
7327 (__localtime_r): Likewise.
7328 (localtime): Likewise.
7329 * time/offtime.c: Replace time_t with __time64_t.
7330 * time/tzset.c: Likewise.
7332 2018-12-04 Joseph Myers <joseph@codesourcery.com>
7334 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
7335 dynamic linker unless [$(run-built-tests) = yes].
7337 2018-12-03 DJ Delorie <dj@delorie.com>
7339 * support/test-container.c (check_for_unshare_hints): New.
7340 (main): Call it if unshare fails. Add support for "su" scriptlet
7343 2018-12-03 Joseph Myers <joseph@codesourcery.com>
7345 * scripts/gen-as-const.py (compute_c_consts): Take an argument
7346 'START' to indicate that start text should be output.
7347 (gen_test): Likewise.
7348 (main): Generate 'START' for first symbol or '--' line, or at end
7349 of input if not previously generated.
7351 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
7354 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
7355 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
7356 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
7357 ALWAYS_USE_VSYSCALL.
7359 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7362 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
7365 2018-12-03 Carlos O'Donell <carlos@redhat.com>
7368 * locale/programs/localedef.c: Declare boolean hard_links default true.
7369 (options): Add --no-hard-links option.
7370 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
7371 * locale/programs/localedef.h: Declare prototype for hard_links.
7372 * locale/programs/locfile.c (write_locale_data): Don't use hard
7373 links if hard_links is false.
7375 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
7377 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
7379 (__cache_sysconf): Likewise.
7380 (init_cacheinfo): Likewise.
7381 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
7382 populate COMMON_CPUID_INDEX_80000007 and
7383 COMMON_CPUID_INDEX_80000008.
7384 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
7385 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
7386 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
7387 (init_cpu_features): Use _Static_assert on
7388 index_arch_Fast_Unaligned_Load.
7389 __get_cpuid_registers and __get_arch_feature. Updated for
7390 cpu_features_basic. Set stepping in cpu_features.
7391 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
7392 (FEATURE_INDEX_2): New.
7393 (FEATURE_INDEX_MAX): Changed to enum.
7394 (COMMON_CPUID_INDEX_D_ECX_1): New.
7395 (COMMON_CPUID_INDEX_80000007): Likewise.
7396 (COMMON_CPUID_INDEX_80000008): Likewise.
7397 (cpuid_registers): Likewise.
7398 (cpu_features_basic): Likewise.
7399 (CPU_FEATURE_USABLE): Likewise.
7400 (bit_arch_XXX_Usable): Likewise.
7401 (cpu_features): Use cpuid_registers and cpu_features_basic.
7402 (bit_arch_XXX): Reweritten.
7403 (bit_cpu_XXX): Likewise.
7404 (index_cpu_XXX): Likewise.
7405 (reg_XXX): Likewise.
7406 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
7408 (CHECK_CPU_FEATURE): New.
7409 (CHECK_CPU_FEATURE_USABLE): Likewise.
7410 (cpu_kinds): Likewise.
7411 (do_test): Print vendor, family, model and stepping. Check
7412 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
7413 (TEST_FUNCTION): Removed.
7414 Include <support/test-driver.c> instead of
7415 "../../test-skeleton.c".
7416 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
7417 Check POPCNT instead of POPCOUNT.
7418 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
7420 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7422 * scripts/gen-as-const.py (main): Avoid emitting empty line when
7423 there is no element in `consts'.
7425 2018-12-01 Florian Weimer <fweimer@redhat.com>
7427 * support/support_capture_subprocess.c
7428 (support_capture_subprocess): Check that pipe descriptors have
7429 expected values. Close original pipe descriptors in subprocess.
7431 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7434 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
7435 attr with __pthread_default_barrierattr.
7436 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
7437 attr with __pthread_default_condattr.
7438 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
7439 attr with __pthread_default_mutexattr.
7440 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
7441 attr with __pthread_default_rwlockattr.
7443 2018-12-01 Kemi Wang <kemi.wang@intel.com>
7445 * manual/tunables.texi (POSIX Thread Tunables): New node.
7446 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
7447 * nptl/nptl-init.c: Include pthread_mutex_conf.h
7448 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
7449 __pthread_tunables_init.
7450 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
7451 (max_adaptive_count): Define.
7452 * nptl/pthread_mutex_conf.c: New file.
7453 * nptl/pthread_mutex_conf.h: New file.
7454 * sysdeps/generic/adaptive_spin_count.h: New file.
7455 * sysdeps/nptl/dl-tunables.list: New file.
7456 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7457 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
7458 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
7461 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7464 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
7465 * stdlib/on_exit.c (__on_exit): Likewise.
7466 * stdlib/Makefile (tests): Add tst-bz20544.
7467 * stdlib/tst-bz20544.c: New test.
7469 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
7472 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
7473 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
7476 2018-11-30 Florian Weimer <fweimer@redhat.com>
7478 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
7479 Extend error logging.
7480 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
7483 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7485 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
7486 __sigismember instead of sigismember.
7487 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
7488 cancel_handler): New definitions.
7489 (do_system): Use posix_spawn instead of fork and execl and remove
7491 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
7492 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
7493 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
7494 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7495 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7496 * sysdeps/unix/sysv/linux/system.c: Likewise.
7500 * NEWS: Add new semantic for atfork with popen and system.
7501 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
7504 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7507 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
7508 modification order when accessing reloc_result->addr.
7509 * include/link.h (reloc_result): Add field init.
7510 * nptl/Makefile (tests): Add tst-audit-threads.
7511 (modules-names): Add tst-audit-threads-mod1 and
7512 tst-audit-threads-mod2.
7513 Add rules to build tst-audit-threads.
7514 * nptl/tst-audit-threads-mod1.c: New file.
7515 * nptl/tst-audit-threads-mod2.c: Likewise.
7516 * nptl/tst-audit-threads.c: Likewise.
7517 * nptl/tst-audit-threads.h: Likewise.
7519 2018-11-30 Joseph Myers <joseph@codesourcery.com>
7521 * scripts/gen-as-const.py: New file.
7522 * scripts/gen-as-const.awk: Remove.
7523 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
7525 ($(objpfx)test-as-const-%.c): Likewise.
7527 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7529 * elf/dl-exception.c: Include <_itoa.h>.
7531 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7533 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
7534 returned by __f_setlk.
7536 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7537 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7539 * elf/Makefile (tests-internal): Add tst-create_format1.
7540 * elf/dl-exception.c (_dl_exception_create_format): Support
7542 * elf/tst-create_format1.c: New file.
7544 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
7546 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
7547 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
7549 * argp/argp-help.c (__argp_failure): Likewise.
7551 2018-11-29 Mao Han <han_mao@c-sky.com>
7553 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
7554 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
7555 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
7556 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
7557 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
7558 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
7559 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
7560 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
7561 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
7562 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
7563 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
7564 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
7565 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
7566 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
7567 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
7568 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
7569 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
7570 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
7571 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
7572 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
7573 (R_CKCORE_TLS_TPOFF32): New defines.
7575 2018-11-29 Florian Weimer <fweimer@redhat.com>
7577 * posix/Makefile (before-compile): Remove testcases.h and
7579 (generated): Add testcases.h and ptestcases.h.
7580 (testcases.h, ptestcases.h): Move to $(objpfx).
7581 (runtests.o): Add dependency on testcases.h.
7582 (runptests.o): Add dependency on ptestcases.h.
7583 * posix/testcases.h, posix/ptestcases.h: Remove files.
7584 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
7585 not touch posix/testcases.h and posix/ptestcases.h.
7587 2018-11-28 Florian Weimer <fweimer@redhat.com>
7589 support: Add signal support to support_capture_subprocess_check.
7590 * support/capture_subprocess.h (support_capture_subprocess_check):
7591 Adjust comment and rename parameter.
7592 * support/support_capture_subprocess_check.c
7593 (print_actual_status): New function.
7594 (support_capture_subprocess_check): Support negative
7595 status_or_signal. Call print_actual_status.
7596 * support/tst-support_capture_subprocess.c (do_test): Call
7597 support_capture_subprocess_check.
7598 * libio/tst-vtables-common.c (termination_status)
7599 (init_termination_status): Remove.
7600 (check_for_termination): Adjust support_capture_subprocess_check
7602 (do_test): Remove call to init_termination_status.
7604 2018-11-28 Joseph Myers <joseph@codesourcery.com>
7606 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7607 source directory instead of a copy.
7608 (CommandList.create_copy_dir): Remove.
7610 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
7612 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7614 2018-11-28 Florian Weimer <fweimer@redhat.com>
7616 * support/support.h (support_quote_string): Do not use str
7619 2018-11-27 Joseph Myers <joseph@codesourcery.com>
7621 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7622 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7624 2018-11-27 Florian Weimer <fweimer@redhat.com>
7626 * support/support.h (support_quote_string): Declare.
7627 * support/support_quote_string.c: New file.
7628 * support/tst-support_quote_string.c: Likewise.
7629 * support/Makefile (libsupport-routines): Add
7630 support_quote_string.
7631 (tests): Add tst-support_quote_string.
7633 2018-11-27 Florian Weimer <fweimer@redhat.com>
7637 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7638 descriptor leak in case of ENODEV error.
7640 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7643 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7644 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7645 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
7647 2018-11-26 Carlos O'Donell <carlos@redhat.com>
7649 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
7650 Error for unknown lines.
7652 2018-11-26 Joseph Myers <joseph@codesourcery.com>
7654 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7655 Touch additional files.
7657 2018-11-26 Florian Weimer <fweimer@redhat.com>
7660 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
7663 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
7666 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
7667 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
7668 SHARED. Include sysdep.h.
7669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
7670 ALWAYS_USE_VSYSCALL.
7671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
7672 ALWAYS_USE_VSYSCALL.
7674 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
7677 * nptl/Makefile (tests-static): Add tst-cond11-static.
7679 * nptl/tst-cond11-static.c: New File.
7680 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
7681 tst-affinity-static.
7683 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
7685 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
7686 (USE_VSYSCALL): Likewise.
7687 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
7688 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
7690 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
7692 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
7695 2018-11-23 Joseph Myers <joseph@codesourcery.com>
7698 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7699 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
7702 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
7704 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
7705 (tst-cet-legacy-1a-ARGS): New.
7706 ($(objpfx)tst-cet-legacy-1a): New target.
7707 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
7709 2018-11-22 Joseph Myers <joseph@codesourcery.com>
7711 * conform/conformtest.py (CompileSubTest.__init__): Set
7712 self.run_early to False.
7713 (ExecuteSubTest.__init__): Likewise.
7714 (HeaderTests.run): Try running all non-optional, non-XFAILed
7715 compilation tests in a single execution of the compiler.
7717 * conform/conformtest.py (CompileSubTest): New class.
7718 (ExecuteSubTest): Likewise.
7719 (ElementTest.run): Rename to gen_subtests. Append tests to
7720 self.subtests instead of running them.
7721 (ConstantTest.run): Likewise.
7722 (SymbolTest.run): Likewise.
7723 (TypeTest.run): Likewise.
7724 (TagTest.run): Likewise.
7725 (FunctionTest.run): Likewise.
7726 (VariableTest.run): Likewise.
7727 (MacroFunctionTest.run): Likewise.
7728 (MacroStrTest.run): Likewise.
7729 (HeaderTests.handle_test_line): Generate subtests for tests.
7730 (HeaderTests.run): Run subtests for tests.
7732 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7734 * math/Versions (GLIBC_2.29): Add pow.
7735 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
7737 * math/w_pow.c: New file.
7738 * sysdeps/i386/fpu/w_pow.c: New file.
7739 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
7740 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
7741 and add necessary aliases.
7742 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
7743 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
7744 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7745 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7746 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7747 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7748 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7749 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7750 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7751 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7752 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7753 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7754 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7755 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7756 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7761 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7762 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7763 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7764 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7765 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7766 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7767 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7768 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7770 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7771 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7772 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7774 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7776 * math/Versions (GLIBC_2.29): Add log2.
7777 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7779 * math/w_log2.c: New file.
7780 * sysdeps/i386/fpu/w_log2.c: New file.
7781 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7782 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7783 and add necessary aliases.
7784 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7785 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7786 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7787 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7788 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7789 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7790 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7791 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7792 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7793 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7794 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7795 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7796 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7797 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7798 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7803 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7804 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7805 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7806 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7807 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7808 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7809 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7811 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7813 * math/Versions (GLIBC_2.29): Add log.
7814 * math/w_log_compat.c (__log_compat): Change to versioned compat
7816 * math/w_log.c: New file.
7817 * sysdeps/i386/fpu/w_log.c: New file.
7818 * sysdeps/ia64/fpu/e_log.S: Update.
7819 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7820 and add necessary aliases.
7821 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7822 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7823 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7824 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7825 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7826 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7827 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7828 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7829 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7830 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7831 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7832 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7833 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7834 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7835 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7840 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7841 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7842 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7843 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7844 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7845 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7846 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7847 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7849 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7850 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7851 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7852 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7854 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7856 * math/Versions (GLIBC_2.29): Add exp and exp2.
7857 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7858 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7859 * math/w_exp_compat.c (__exp_compat): Likewise.
7860 * math/w_exp.c: New file.
7861 * math/w_exp2.c: New file.
7862 * sysdeps/i386/fpu/w_exp.c: New file.
7863 * sysdeps/i386/fpu/w_exp2.c: New file.
7864 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7865 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7866 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7867 and add necessary aliases.
7868 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7869 and add necessary aliases.
7870 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7871 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7872 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7873 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7874 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7875 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7876 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7877 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7878 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7879 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7880 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7881 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7882 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7883 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7884 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7885 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7886 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7891 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7892 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7893 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7894 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7895 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7896 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7897 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7898 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7899 (__ieee754_exp): Rename to __exp.
7900 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7901 (__ieee754_exp): Rename to __exp.
7902 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7903 (__ieee754_exp): Rename to __exp.
7904 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7906 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7908 2018-11-20 DJ Delorie <dj@redhat.com>
7910 * malloc/malloc.c (tcache_entry): Add key field.
7911 (tcache_put): Set it.
7912 (tcache_get): Likewise.
7913 (_int_free): Check for double free in tcache.
7914 * malloc/tst-tcfree1.c: New.
7915 * malloc/tst-tcfree2.c: New.
7916 * malloc/Makefile: Run the new tests.
7917 * manual/probes.texi: Document memory_tcache_double_free probe.
7919 * dlfcn/dlerror.c (check_free): Prevent double frees.
7921 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7923 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7925 2018-11-20 Joseph Myers <joseph@codesourcery.com>
7927 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7928 in tests. Use names for format arguments.
7929 (ConstantTest.run): Likewise.
7930 (SymbolTest.run): Likewise.
7931 (TypeTest.run): Likewise.
7932 (TagTest.run): Likewise.
7933 (FunctionTest.run): Likewise.
7934 (VariableTest.run): Likewise.
7935 (MacroFunctionTest.run): Likewise.
7936 (MacroStrTest.run): Likewise.
7937 (HeaderTests.__init__): Set self.num_tests.
7938 (HeaderTests.handle_test_line): Set test.num. Increment
7941 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7943 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7944 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7947 2018-11-19 Mao Han <han_mao@c-sky.com>
7949 * scripts/config.guess: Update to version 2018-08-29.
7950 * scripts/config.sub: Update to version 2018-08-29.
7952 2018-11-19 Florian Weimer <fweimer@redhat.com>
7954 support: Print timestamps in timeout handler.
7955 * support/support_test_main.c (print_timestamp): New function.
7956 (signal_handler): Use it to print the termination time and the
7957 time of the last write to standard output.
7959 2018-11-16 Zack Weinberg <zackw@panix.com>
7960 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7962 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7963 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7965 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7966 and add flags argument. Check flags instead of __ldbl_is_dbl when
7967 deciding whether to set is_long_double.
7968 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7969 passing zero for flags argument.
7970 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7972 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7973 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7974 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7975 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7976 variable names. Remove libc_hidden_def/libc_hidden_proto from
7977 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7978 longer called from within the library.
7979 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7980 for __nldbl___vstrfmon_l, declare it explicitly.
7982 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7984 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7986 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7988 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7989 F_SETLK64, F_SETLKW64, respectively.
7990 * sysdeps/mach/hurd/f_setlk.c: New file.
7991 * sysdeps/mach/hurd/f_setlk.h: New file.
7992 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7994 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7995 (__libc_fcntl): Move non-flock operations to...
7996 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7997 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7999 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
8001 mktime: DEBUG_MKTIME cleanup
8002 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
8003 And it’s no longer needed now that glibc and Gnulib both have
8004 their own testing mechanisms for mktime.
8005 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
8007 mktime: fix non-EOVERFLOW errno handling
8009 mktime was not properly reporting failures when the underlying
8010 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
8011 them like EOVERFLOW failures, and set errno to EOVERFLOW.
8012 The problem could happen on non-glibc platforms, with Gnulib.
8013 * time/mktime.c (guess_time_tm): Remove, replacing with ...
8014 (tm_diff): ... this simpler function, which does not change errno.
8015 All callers changed to deal with errno themselves.
8016 (ranged_convert, __mktime_internal): Return failure immediately if
8017 the underlying function reports any failure other than EOVERFLOW.
8018 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
8021 mktime: fix bug with Y2038 DST transition
8023 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
8024 mishandle a DST transition that jumps over the Y2038 boundary.
8025 No such DST transitions are known so this is only a theoretical
8026 bug, but we might as well do things right.
8028 mktime: make more room for overflow
8030 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
8031 This is so that we can add tm_diff results to a previous guess,
8032 which will be useful in a later patch.
8034 mktime: simplify offset guess
8036 * time/mktime.c (__mktime_internal): Omit excess precision.
8038 mktime: new test for mktime failure
8040 Based on a test suggested by Albert Aribaud in:
8041 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
8042 * time/Makefile (tests): Add bug-mktime4.
8043 * time/bug-mktime4.c: New file.
8045 mktime: fix EOVERFLOW bug
8047 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
8048 Include libc-config.h, not config.h, for __set_errno.
8049 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
8051 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8053 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
8054 __attribute_copy__ to copy attributes from name. Drop static qualifier
8055 to avoid warnings about leaf attribute not having effect on static
8058 2018-11-13 Florian Weimer <fweimer@redhat.com>
8060 * malloc/malloc.c (fastbin_push_entry): New function.
8061 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
8062 (REMOVE_FB): Remove macro.
8063 (_int_malloc): Use fastbin_pop_entry and reindent.
8064 (_int_free): Use fastbin_push_entry.
8065 (malloc_consolidate): Use atomic_exchange_acquire.
8067 2018-11-13 Joseph Myers <joseph@codesourcery.com>
8069 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
8070 alias attribute, not with strong_alias.
8072 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
8073 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
8074 with additional parameter thread.
8075 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
8076 in terms of __hidden_ver2.
8077 (hidden_tls_def): New macro.
8078 (libc_hidden_tls_def): Likewise.
8079 (rtld_hidden_tls_def): Likewise.
8080 (libm_hidden_tls_def): Likewise.
8081 (libmvec_hidden_tls_def): Likewise.
8082 (libresolv_hidden_tls_def): Likewise.
8083 (librt_hidden_tls_def): Likewise.
8084 (libdl_hidden_tls_def): Likewise.
8085 (libnss_files_hidden_tls_def): Likewise.
8086 (libnsl_hidden_tls_def): Likewise.
8087 (libnss_nisplus_hidden_tls_def): Likewise.
8088 (libutil_hidden_tls_def): Likewise.
8089 (libutil_hidden_tls_def): Likweise.
8090 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
8091 libc_hidden_tls_def.
8092 (__sim_disabled_exceptions_thread): Likewise.
8093 (__sim_round_mode_thread): Likewise.
8095 * sysdeps/sparc/sparc-ifunc.h [SHARED]
8096 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
8097 copy attributes from name.
8099 2018-11-12 Joseph Myers <joseph@codesourcery.com>
8101 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
8102 Use __attribute_copy__ to copy attributes from name.
8104 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
8105 with __hidden_ver1 call.
8106 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
8107 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
8108 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
8109 (__cosf): Do not declare here.
8110 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
8111 (__sincosf): Do not declare here.
8112 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
8113 (__sinf): Do not declare here.
8115 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
8116 (__BIG_ENDIAN): Likewise.
8117 (__BYTE_ORDER): Likewise.
8118 (strong_alias): Likewise.
8119 (_strong_alias): Likewise.
8121 2018-11-12 Florian Weimer <fweimer@redhat.com>
8123 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
8124 function. Move after the definition of in_smallbin_range. Do not
8125 use __builtin_expect for paths that lead to a noreturn function.
8126 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
8127 because it is unclear whether this is in fact an unlikely
8129 (_int_malloc, _int_free): Adjust.
8130 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
8132 * malloc/arena.c (heap_trim): Likewise.
8134 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8136 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
8137 it, free it if needed.
8138 (reauthenticate): Test and use ccwdir.
8139 (child_init_port): In non-resetids case, test and use ccwdir.
8140 (child_chdir): New nested function to set ccwdir.
8141 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
8142 * hurd/hurd/port.h (_hurd_port_move): New function.
8143 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
8144 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
8145 * hurd/Versions (_hurd_port_move): Export function.
8146 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
8148 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
8149 of dtablesize for allocating dtable_cloexec.
8151 2018-11-09 Martin Sebor <msebor@redhat.com>
8153 * include/libc-symbols.h (__attribute_copy__): Define macro unless
8154 it's already defined.
8155 (_strong_alias): Use __attribute_copy__.
8156 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
8157 * misc/sys/cdefs.h (__attribute_copy__): New macro.
8158 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
8159 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
8160 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
8161 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
8162 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
8163 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
8164 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
8165 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
8166 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
8167 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
8168 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
8169 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
8170 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
8171 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
8172 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
8173 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
8174 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
8176 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8178 * misc/tst-efgcvt.c: Include support/check.h and
8179 support/test-driver.c. Do not include test-skeleton.c.
8180 (error_count): Remove.
8181 (output_error): Replace increments to error_count with calls to
8182 support_record_failure.
8183 (output_r_error): Likewise.
8184 (special): Likewise.
8185 (do_test): Unconditionally return zero.
8186 (TEST_FUNCTION): Remove.
8188 2018-11-09 Joseph Myers <joseph@codesourcery.com>
8190 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
8192 ($(linknamespace-header-tests)): Likewise.
8194 * conform/conformtest.py: New file.
8195 * conform/conformtest.pl: Remove.
8196 * conform/GlibcConform.pm: Likewise.
8197 * conform/glibcconform.py (KEYWORDS_C90): New constant.
8198 (KEYWORDS_C99): Likewise.
8199 (KEYWORDS): Likewise.
8200 * conform/Makefile ($(conformtest-header-tests)): Use
8201 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
8202 option. Use --header instead of --headers.
8203 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
8205 * conform/data/spawn.h-data: Likewise.
8206 * conform/data/fcntl.h-data (openat): Add space after function
8208 * conform/data/wchar.h-data (wcscasecmp): Likewise.
8209 (wcscasecmp_l): Likewise.
8210 * conform/data/termios.h-data (c_cc): Add space after element
8213 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8215 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
8216 instead of manually comparing and reporting mismatching strings.
8217 * misc/tst-ldbl-error.c (do_one_test): Likewise.
8218 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
8220 2018-11-08 Joseph Myers <joseph@codesourcery.com>
8222 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
8223 __ASSUME_SOCKETCALL.
8224 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8225 (__ASSUME_SOCKETCALL): Remove.
8226 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8227 (__ASSUME_SOCKETCALL): Likewise.
8228 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8229 (__ASSUME_SOCKETCALL): Likewise.
8230 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8231 (__ASSUME_SOCKETCALL): Likewise.
8232 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8233 (__ASSUME_SOCKETCALL): Likewise.
8234 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8235 (__ASSUME_SOCKETCALL): Likewise.
8236 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8237 (__ASSUME_SOCKETCALL): Likewise.
8239 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
8242 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
8243 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
8244 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
8245 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
8246 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
8249 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
8252 * resolv/tst-resolv-network.c: Add test for getnetbyname.
8254 2018-11-07 Joseph Myers <joseph@codesourcery.com>
8257 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8258 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8259 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8260 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8262 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8264 * support/support_test_compare_string.c
8265 (support_test_compare_string): Fix printf format.
8267 2018-11-07 Florian Weimer <fweimer@redhat.com>
8269 Implement TEST_COMPARE_STRING.
8270 * support/check.h (TEST_COMPARE_STRING): Define.
8271 (support_test_compare_string): Declare.
8272 * support/Makefile (libsupport-routines): Add
8273 support_test_compare_string.
8274 (tests): Add tst-test_compare_string.
8275 * support/support_test_compare_string.c: New file.
8276 * support/tst-test_compare_string.c: Likewise.
8278 2018-11-07 Andreas Schwab <schwab@suse.de>
8281 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
8282 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
8285 2018-11-06 Joseph Myers <joseph@codesourcery.com>
8288 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8289 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
8290 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
8291 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
8294 2018-11-06 Florian Weimer <fweimer@redhat.com>
8297 * posix/Makefile (routines): Add spawn_faction_addchdir.
8298 (tests): Add tst-spawn-chdir.
8299 * posix/Versions (GLIBC_2.29): Add
8300 posix_spawn_file_actions_addchdir_np.
8301 * posix/spawn_faction_addchdir.c: New file.
8302 * posix/spawn_faction_destroy.c
8303 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
8304 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
8305 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
8307 * posix/tst-spawn-chdir.c: New file.
8308 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
8309 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8310 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8311 posix_spawn_file_actions_addchdir_np.
8312 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8314 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8316 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8317 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8319 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8321 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8323 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8325 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8327 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8329 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8330 (GLIBC_2.29): Likewise.
8331 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8332 (GLIBC_2.29): Likewise.
8333 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8334 (GLIBC_2.29): Likewise.
8335 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8336 (GLIBC_2.29): Likewise.
8337 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8340 (GLIBC_2.29): Likewise.
8341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8342 (GLIBC_2.29): Likewise.
8343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8344 (GLIBC_2.29): Likewise.
8345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8346 (GLIBC_2.29): Likewise.
8347 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8349 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8351 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8353 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8354 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8356 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8358 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8360 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8363 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8365 * misc/Makefile (tests): Add tst-ldbl-error.
8366 * misc/tst-ldbl-error.c: New file.
8368 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8370 * misc/Makefile (tests): Add tst-ldbl-warn.
8371 * misc/tst-ldbl-warn.c: New file.
8373 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8375 * argp/Makefile (tests): Add tst-ldbl-argp.
8376 * argp/tst-ldbl-argp.c: New file.
8378 2018-11-05 Arjun Shankar <arjun@redhat.com>
8380 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
8381 __gconv_path_elem and call __gconv_get_path unconditionally.
8383 2018-11-05 Andreas Schwab <schwab@suse.de>
8386 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
8387 creating the first helper thread failed.
8389 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8391 * sysdeps/mach/hurd/msync.c: New file.
8393 2018-11-02 Florian Weimer <fweimer@redhat.com>
8395 * support/shell-container.c (copy_func): Call
8396 support_copy_file_range instead of copy_file_range to support
8397 cross-device copies.
8399 2018-11-02 Florian Weimer <fweimer@redhat.com>
8401 * support/test-container.c: Include <libc-pointer-arith.h> for
8404 2018-11-01 Zong Li <zong@andestech.com>
8406 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
8407 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
8408 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
8409 (__FP_FRAC_SET_8): Add implementation for RV32 use.
8411 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
8412 variable to avoid overlap arguments.
8414 2018-11-01 Joseph Myers <joseph@codesourcery.com>
8416 * posix/bug-regex22.c (main): Use puts with distinct error
8417 messages for unexpected success of re_compile_pattern, not printf
8418 with NULL argument to %s.
8420 * stdio-common/bug22.c: Include <libc-diag.h>.
8421 (do_test): Disable -Wformat-overflow= warnings around fprintf
8422 calls outputting more than INT_MAX characters.
8423 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
8424 around printf call with NULL %s argument.
8427 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
8428 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
8430 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8431 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8432 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8433 (__ASSUME_SENDTO_SYSCALL): Likewise.
8434 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8435 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
8437 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8438 (__ASSUME_CONNECT_SYSCALL): Likewise.
8439 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8440 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8441 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
8443 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
8445 [__LINUX_KERNEL_VERSION >= 0x040400]
8446 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8447 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
8450 (setsockopt): Likewise.
8452 2018-11-01 Fredrik Noring <noring@nocrew.org>
8454 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
8455 with the ISA override.
8457 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
8459 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
8462 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8464 * manual/errno.texi (EIEIO): Document how translators should
8465 translate the error message.
8466 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
8467 printing trailing whitespaces refused by git.
8468 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
8469 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8470 * hurd/Makefile (user-interfaces): Add pci.
8472 2018-10-30 Joseph Myers <joseph@codesourcery.com>
8474 * conform/linknamespace.py: New file.
8475 * conform/linknamespace.pl: Remove file.
8476 * conform/Makefile ($(linknamespace-header-tests)): Use
8477 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
8480 2018-10-30 Florian Weimer <fweimer@redhat.com>
8482 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
8485 2018-10-30 Florian Weimer <fweimer@redhat.com>
8487 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
8489 2018-10-30 Florian Weimer <fweimer@redhat.com>
8491 * stdlib/tst-strtod-overflow.c (do_test): Switch to
8492 support_blob_repeat.
8494 2018-10-30 Florian Weimer <fweimer@redhat.com>
8496 Avoid spurious test failures in stdlib/test-bz22786.
8497 * support/Makefile (libsupport-routines): Add blob_repeat.
8498 (tests): Add tst-support_blob_repeat.
8499 * support/blob_repeat.h: New file.
8500 * support/blob_repeat.c: Likewise.
8501 * support/tst-support_blob_repeat.c: Likewise.
8502 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
8503 support_blob_repeat_allocate.
8505 2018-10-30 Andreas Schwab <schwab@suse.de>
8508 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
8509 Don't use tail call.
8510 * elf/tst-unwind-main.c: New file.
8511 * elf/Makefile (tests): Add tst-unwind-main.
8512 (CFLAGS-tst-unwind-main.c): Define.
8514 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
8517 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
8519 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
8521 2018-10-29 Joseph Myers <joseph@codesourcery.com>
8523 * conform/glibcconform.py: Do not import shutil.
8524 (list_exported_functions): Use tempfile.TemporaryDirectory instead
8527 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
8528 critic_missing for versions before 3.4.
8529 * configure: Regenerated.
8530 * manual/install.texi (Tools for Compilation): Document
8531 requirement for Python to build glibc.
8532 * INSTALL: Regenerated.
8533 * Rules [PYTHON]: Make code unconditional.
8534 * benchtests/Makefile [PYTHON]: Likewise.
8535 * conform/Makefile [PYTHON]: Likewise.
8536 * manual/Makefile [PYTHON]: Likewise.
8537 * math/Makefile [PYTHON]: Likewise.
8539 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8541 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
8542 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
8543 answer to interrupt_operation, return EIEIO instead of EINTR.
8544 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
8545 _hurd_intr_rpc_msg_about_to global point to start of controlled
8546 assembly snippet. Make it check canceled flag.
8547 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
8548 the _hurd_intr_rpc_msg_about_to point.
8549 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
8550 issue, remove cancel flag check.
8552 2018-10-26 Joseph Myers <joseph@codesourcery.com>
8554 * scripts/build-many-glibcs.py: Remove compatibility for missing
8555 os.cpu_count and re.fullmatch.
8557 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
8560 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
8561 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
8562 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
8564 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8566 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
8569 2018-10-25 Florian Weimer <fweimer@redhat.com>
8573 XFAIL siginfo_t si_band conform test on sparc64.
8574 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
8575 (__SI_BAND_TYPE): Only override long int default type on sparc64.
8576 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8577 (conformtest-xfail-conds): Add sparc64-linux.
8578 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
8580 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
8582 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8584 * elf/elf.h (NT_MIPS_DSP): New macro.
8585 (NT_MIPS_FP_MODE): Likewise.
8587 2018-10-25 Zong Li <zong@andestech.com>
8589 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
8590 name by adding the file extension (.so).
8592 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8594 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8595 (test-xfail-ISO11/threads.h/linknamespace,
8596 test-xfail-ISO11/threads.h/conform): Add.
8598 2018-10-24 Joseph Myers <joseph@codesourcery.com>
8600 * math/gen-libm-test.py: Import os.
8601 (ALL_FLOATS_MANUAL): New constant.
8602 (ALL_FLOATS_SUFFIX): Likewise.
8603 (Ulps.all_functions): New function.
8604 (real_all_ulps): Likewise.
8605 (generate_err_table_sub): Likewise.
8606 (generate_err_table): Likewise.
8607 (main): Handle -s and -m options.
8608 * manual/libm-err-tab.pl: Remove.
8609 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8610 instead of libm-err-tab.pl.
8611 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8613 * manual/install.texi (Tools for Compilation): Document
8614 requirement for Python to build manual.
8615 * INSTALL: Regenerated.
8617 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8619 * bits/time64.h: New file.
8620 * include/time.h: Replace internal_time_t with __time64_t.
8621 * posix/bits/types (__time64_t): Add.
8622 * stdlib/Makefile: Add bits/time64.h to includes.
8623 * time/tzfile.c: Replace internal_time_t with __time64_t.
8625 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8627 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8628 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8629 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8630 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8631 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8633 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8634 * posix/spawn_faction_addclose.c
8635 (__posix_spawn_file_actions_addclose): Add hidden definition.
8636 * posix/spawn_faction_adddup2.c
8637 (__posix_spawn_file_actions_adddup2): Likewise.
8638 * posix/spawn_faction_destroy.c
8639 (__posix_spawn_file_actions_destroy): Likewise.
8640 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8642 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8643 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8644 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8646 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
8647 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
8650 2018-10-24 Andreas Schwab <schwab@suse.de>
8653 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
8655 * elf/cache.c (print_cache): Likewise.
8657 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8659 * bits/timesize.h: New file.
8660 * stdlib/Makefile (headers): Add bits/timesize.h.
8661 * sysdeps/unix/sysv/linux/bits/msq-pad.h
8662 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
8663 * sysdeps/unix/sysv/linux/bits/sem-pad.h
8664 (__SEM_PAD_AFTER_TIME): Likewise.
8665 * sysdeps/unix/sysv/linux/bits/shm-pad.h
8666 (__SHM_PAD_AFTER_TIME): Likewise.
8667 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
8668 (__MSQ_PAD_BEFORE_TIME): Likewise.
8669 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
8670 (__SEM_PAD_BEFORE_TIME): Likewise.
8671 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
8672 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8673 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
8674 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
8675 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
8676 (__MSQ_PAD_BEFORE_TIME): Likewise.
8677 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
8678 (__SEM_PAD_BEFORE_TIME): Likewise.
8679 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
8680 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8681 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
8682 (__MSQ_PAD_BEFORE_TIME): Likewise.
8683 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
8684 (__SEM_PAD_BEFORE_TIME): Likewise.
8685 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
8686 (__SHM_PAD_BEFORE_TIME): Likewise.
8687 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
8688 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8689 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
8691 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
8693 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
8694 USE_RDTSCP is defined.
8695 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
8696 USE_RDTSCP is defined.
8698 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8700 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
8704 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
8705 independently of other flags.
8707 2018-10-23 Florian Weimer <fweimer@redhat.com>
8709 * time/tst-mktime2.c (N_STRINGS): Remove.
8710 (set_timezone): New function.
8711 (spring_forward_gap): Call it. Use FAIL_EXIT1.
8712 (mktime_test1): Report localtime failure and check errno value.
8714 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
8715 (do_test): Remove alarm call. Use set_timezone and array_length.
8717 2018-10-23 Andreas Schwab <schwab@suse.de>
8719 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
8720 (__start_context): Use END instead of PSEUDO_END.
8722 2018-10-22 Joseph Myers <joseph@codesourcery.com>
8724 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8727 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8731 * wcsmbs/c32rtomb.c: New file.
8732 * wcsmbs/mbrtoc32.c: Likewise.
8733 * wcsmbs/tst-c32-state.c: Likewise.
8734 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
8735 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
8736 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
8737 (tests): Add tst-c32-state.
8738 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
8741 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
8743 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
8744 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8746 2018-10-19 Joseph Myers <joseph@codesourcery.com>
8749 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8750 pair and return 0 in that case, and use saved character to
8751 interpret following character.
8752 * wcsmbs/tst-c16-surrogate.c: New file.
8753 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8754 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8755 Depend on $(gen-locales)
8757 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8760 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8761 (struct siginfo_t): Use correct type for si_band.
8763 2018-10-19 Florian Weimer <fweimer@redhat.com>
8766 * resource/bits/types/struct_rusage.h (struct rusage): Update
8767 comment on struct. Remove extraneous field comment.
8769 2018-10-18 David S. Miller <davem@davemloft.net>
8771 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8772 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8773 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8774 sysdep_routines in subdir elf.
8775 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8776 version for __vdso_clock_gettime.
8777 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8779 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8780 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8782 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8784 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8786 * sysdeps/i386/init-arch.h: Removed.
8787 * sysdeps/i386/i586/init-arch.h: Likewise.
8788 * sysdeps/i386/i686/init-arch.h: Likewise.
8789 * sysdeps/i386/i686/hp-timing.h: Likewise.
8790 * sysdeps/x86_64/hp-timing.h: Likewise.
8791 * sysdeps/i386/isa.h: New file.
8792 * sysdeps/i386/i586/isa.h: Likewise.
8793 * sysdeps/i386/i686/isa.h: Likewise.
8794 * sysdeps/x86_64/isa.h: Likewise.
8795 * sysdeps/x86/hp-timing.h: New file.
8796 * sysdeps/x86/init-arch.h: Include <isa.h>.
8798 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8800 * math/libm-test-pow.inc (pow_test_data): Do not allow
8801 divide-by-zero exception for pow(+/- 0, -Inf).
8803 2018-10-17 Zack Weinberg <zackw@panix.com>
8805 * manual/job.texi (Job Control is Optional): Remove node, as
8806 job control has not been optional in quite some time.
8807 (Job Control): Mention briefly that systems older than
8808 POSIX.1-2001 might not support job control.
8809 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8810 defined on systems conforming to POSIX.1-2001.
8812 2018-10-17 Arjun Shankar <arjun@redhat.com>
8815 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8817 * (__gconv_read_conf): Mark function static.
8818 * (once): New static variable.
8819 * (__gconv_load_conf): New function.
8820 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8821 * iconv/gconv_db.c (once): Remove static variable.
8822 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8824 * (__gconv_find_transform): Likewise.
8825 * iconv/tst-iconv-mt.c: New test.
8826 * iconv/Makefile: Add tst-iconv_mt.
8828 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8830 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8832 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8833 (shmatt_t): Define as __syscall_ulong_t.
8834 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8835 and [__SHM_PAD_AFTER_TIME].
8836 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8837 Define shm_segsz and associated padding based on
8838 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8839 Use __syscall_ulong_t instead of unsigned long int.
8840 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8842 [__USE_MISC] (struct shm_info): Likewise.
8843 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8844 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8845 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8846 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8847 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8848 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8849 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8850 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8851 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8852 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8853 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8857 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8858 (SHMLBA): Remove macro.
8859 (__getpagesize): Remove function declaration.
8860 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8862 (SHMLBA): Remove macro.
8863 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8865 (SHMLBA): Remove macro.
8866 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8868 (SHMLBA): Remove macro.
8869 (__getpagesize): Remove function declaration.
8870 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8872 (SHMLBA): Remove macro.
8873 (__getshmlba): Remove function declaration.
8874 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8875 (SHMLBA): Remove macro.
8876 (__getpagesize): Remove function declaration.
8877 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8878 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8879 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8880 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8881 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8882 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8883 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8884 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8885 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8886 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8888 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
8891 * nptl/tst-mutex10.c: New File.
8892 * nptl/Makefile (tests): Add tst-mutex10.
8893 (tst-mutex10-ENV): New variable.
8894 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8895 Ensure that elision path is used if elision is available.
8896 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8898 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8900 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8901 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8902 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8903 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8905 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8906 (__pthread_mutex_cond_lock_adjust): Likewise.
8907 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8909 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8910 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8911 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8912 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8914 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8915 Use atomic_load_relaxed and atomic_store_relaxed.
8916 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8917 Use atomic_store_relaxed.
8919 2018-10-17 Andreas Schwab <schwab@suse.de>
8921 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8922 * crypt/badsalttest.c (TIMEOUT): Likewise.
8923 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8924 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8925 * io/test-lfs.c (TIMEOUT): Likewise.
8926 * libio/tst-atime.c (TIMEOUT): Likewise.
8927 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8928 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8929 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8930 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8931 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8932 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8933 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8934 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8935 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8936 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8937 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8938 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8939 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8940 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8941 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8942 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8943 * nptl/tst-once2.c (TIMEOUT): Likewise.
8944 * nptl/tst-once3.c (TIMEOUT): Likewise.
8945 * nptl/tst-once4.c (TIMEOUT): Likewise.
8946 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8947 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8948 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8949 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8950 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8951 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8952 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8953 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8954 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8955 * posix/tst-chmod.c (TIMEOUT): Likewise.
8956 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8957 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8958 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8959 * posix/tst-regex2.c (TIMEOUT): Likewise.
8960 * posix/tst-waitid.c (TIMEOUT): Likewise.
8961 * rt/tst-aio.c (TIMEOUT): Likewise.
8962 * rt/tst-aio10.c (TIMEOUT): Likewise.
8963 * rt/tst-aio4.c (TIMEOUT): Likewise.
8964 * rt/tst-aio5.c (TIMEOUT): Likewise.
8965 * rt/tst-aio6.c (TIMEOUT): Likewise.
8966 * rt/tst-aio64.c (TIMEOUT): Likewise.
8967 * rt/tst-aio7.c (TIMEOUT): Likewise.
8968 * rt/tst-aio9.c (TIMEOUT): Likewise.
8969 * rt/tst-clock.c (TIMEOUT): Likewise.
8970 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8971 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8972 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8973 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8974 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8975 * rt/tst-timer4.c (TIMEOUT): Likewise.
8976 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8977 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8978 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8979 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8980 * time/tst-ftime.c (TIMEOUT): Likewise.
8981 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8983 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
8985 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8986 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8989 2018-10-15 Joseph Myers <joseph@codesourcery.com>
8991 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8993 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8994 instead of <bits/wordsize.h>.
8995 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8996 and [__SEM_PAD_AFTER_TIME].
8997 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8998 __syscall_ulong_t instead of unsigned long int.
8999 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
9000 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
9001 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
9002 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
9003 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
9004 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
9005 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
9006 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
9007 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9008 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9009 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9011 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
9013 regex: simplify by using intprops.h
9015 * posix/regex_internal.h [_LIBC]: Include intprops.h.
9016 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
9017 intprops.h defines them.
9019 regex: __builtin_expect → __glibc_unlikely
9021 This refactoring was prompted by a problem when the regex code is
9022 used as part of Gnulib and when the builder’s compiler does not grok
9023 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
9024 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
9025 Although this refactoring does not fix the problem directly,
9026 we might as well have Gawk use the now-preferred glibc style for when
9027 __builtin_expect is unavailable.
9028 * posix/regex_internal.h (BE): Remove.
9029 All uses replaced by __glibc_unlikely or __glibc_likely.
9031 2018-10-11 Joseph Myers <joseph@codesourcery.com>
9033 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9035 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
9036 instead of <bits/wordsize.h>.
9037 (msgqnum_t): Define as __syscall_ulong_t.
9038 (msglen_t): Likewise.
9039 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
9040 and [__MSQ_PAD_AFTER_TIME].
9041 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
9042 __syscall_ulong_t instead of unsigned long int.
9043 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
9044 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
9045 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
9046 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
9047 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
9048 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
9049 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
9050 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
9051 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9052 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9053 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9055 2018-10-10 Joseph Myers <joseph@codesourcery.com>
9057 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
9058 (struct shmid_ds): Condition padding after time fields on
9060 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
9061 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
9062 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9064 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
9065 (struct semid_ds): Condition padding after time fields on
9067 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
9068 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
9069 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
9070 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9072 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
9073 (struct msqid_ds): Condition padding after time fields on
9075 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
9076 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
9077 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
9078 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9080 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9082 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
9084 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9086 * libio/tst-readline.c (TIMEOUT): Define.
9088 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
9090 mktime fix for Gnulib + coreutils
9092 This fix affects only Gnulib. Problem discovered when
9093 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
9095 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
9096 Do not define since it is not used. Defining an unused static
9097 function prompts a warning from GCC when Coreutils is configured
9098 with --enable-gcc-warnings.
9100 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9102 * benchtests/scripts/compare_bench.py (main): set float type on
9105 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
9108 * localedata/locales/kl_GL (mon): Update, the relative case.
9109 (alt_mon): Add, fill with month names in the nominative case.
9110 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
9111 (d_fmt): Set to "%b %d %Y".
9113 2018-10-04 Joseph Myers <joseph@codesourcery.com>
9115 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
9116 <bits/mman-linux.h>.
9117 (PROT_READ): Don't define here.
9118 (PROT_WRITE): Likewise.
9119 (PROT_EXEC): Likewise.
9120 (PROT_NONE): Likewise.
9121 (PROT_GROWSDOWN): Likewise.
9122 (PROT_GROWSUP): Likewise.
9123 (MAP_SHARED): Likewise.
9124 (MAP_PRIVATE): Likewise.
9125 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
9126 [__USE_MISC] (MAP_FILE): Likewise.
9127 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
9128 [__USE_MISC] (MAP_ANON): Likewise.
9129 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
9130 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
9131 (MCL_CURRENT): Likewise.
9132 (MCL_FUTURE): Likewise.
9133 (MCL_ONFAULT): Likewise.
9134 [__USE_MISC] (MADV_NORMAL): Likewise.
9135 [__USE_MISC] (MADV_RANDOM): Likewise.
9136 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
9137 [__USE_MISC] (MADV_WILLNEED): Likewise.
9138 [__USE_MISC] (MADV_DONTNEED): Likewise.
9139 [__USE_MISC] (MADV_FREE): Likewise.
9140 [__USE_MISC] (MADV_REMOVE): Likewise.
9141 [__USE_MISC] (MADV_DONTFORK): Likewise.
9142 [__USE_MISC] (MADV_DOFORK): Likewise.
9143 [__USE_MISC] (MADV_HWPOISON): Likewise.
9144 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
9145 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
9146 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
9147 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
9148 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
9149 (__MAP_ANONYMOUS): New macro.
9150 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
9151 <bits/mman-linux.h> inclusion.
9152 (MAP_FIXED): Likewise.
9153 (MS_SYNC): Likewise.
9154 (MS_ASYNC): Likewise.
9155 (MS_INVALIDATE): Likewise.
9156 [__USE_MISC] (MADV_MERGEABLE): Likewise.
9157 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
9158 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
9159 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
9160 [__USE_MISC] (MADV_DONTDUMP): Likewise.
9161 [__USE_MISC] (MADV_DODUMP): Likewise.
9162 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
9163 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
9166 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
9168 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
9169 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
9170 Add test-nldbl-redirect.
9171 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
9172 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
9173 $(objpfx)libnldbl_nonshared.a.
9175 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
9177 * support/support.h (support_objdir_elf_ldso): New variable.
9178 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
9179 * support/Makefile (CFLAGS-support_paths.c): Add definition
9180 for OBJDIR_ELF_LDSO_PATH.
9181 * support/test-container.c (main): Search for the ld.so
9182 which is also used by the testsuite.
9184 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
9187 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
9188 should be "sap" rather than "sab".
9189 (day): Fix spelling of Sunday, should be "sapaat" rather than
9192 2018-10-02 Joseph Myers <joseph@codesourcery.com>
9194 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9196 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
9199 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
9200 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
9201 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
9203 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9205 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
9207 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
9209 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
9211 (CFLAGS-elision-unlock.c): Likewise.
9212 (CFLAGS-elision-timed.c): Likewise.
9213 (CFLAGS-elision-trylock.c): Likewise.
9214 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
9216 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9219 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
9220 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
9221 new fd_to_filename interface.
9222 * libio/freopen64.c (freopen64): Likewise.
9223 * libio/tst-memstream.h: New file.
9224 * libio/tst-memstream4.c: Likewise.
9225 * libio/tst-wmemstream4.c: Likewise.
9226 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
9227 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
9228 and remove internal dynamic allocation.
9230 2018-10-01 Joseph Myers <joseph@codesourcery.com>
9232 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
9233 (MREMAP_MAYMOVE): Do not define here.
9234 [__USE_GNU] (MREMAP_FIXED): Likewise.
9235 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
9236 (MREMAP_MAYMOVE): Define here instead.
9237 [__USE_GNU] (MREMAP_FIXED): Likewise.
9238 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
9239 (MREMAP_MAYMOVE): Remove.
9240 [__USE_GNU] (MREMAP_FIXED): Likewise.
9242 2018-09-28 Joseph Myers <joseph@codesourcery.com>
9244 * math/fromfp.h: Do not include <math_private.h>.
9245 * math/s_cacosh_template.c: Likewise.
9246 * math/s_casin_template.c: Likewise.
9247 * math/s_casinh_template.c: Likewise.
9248 * math/s_ccos_template.c: Likewise.
9249 * math/s_cproj_template.c: Likewise.
9250 * math/s_fdim_template.c: Likewise.
9251 * math/s_fmaxmag_template.c: Likewise.
9252 * math/s_fminmag_template.c: Likewise.
9253 * math/s_iseqsig_template.c: Likewise.
9254 * math/s_ldexp_template.c: Likewise.
9255 * math/s_nextdown_template.c: Likewise.
9256 * math/w_log1p_template.c: Likewise.
9257 * math/w_scalbln_template.c: Likewise.
9258 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9259 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9260 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9261 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9262 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
9263 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
9264 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
9265 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
9266 * sysdeps/i386/fpu/s_atanl.c: Likewise.
9267 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
9268 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
9269 * sysdeps/i386/fpu/s_fdim.c: Likewise.
9270 * sysdeps/i386/fpu/s_logbl.c: Likewise.
9271 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9272 * sysdeps/i386/fpu/s_significandl.c: Likewise.
9273 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
9274 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
9275 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9276 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9277 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9278 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9279 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9280 * sysdeps/ieee754/k_standardf.c: Likewise.
9281 * sysdeps/ieee754/k_standardl.c: Likewise.
9282 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9283 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9284 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
9285 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9286 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9287 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9288 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9289 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9290 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9291 * sysdeps/ieee754/s_signgam.c: Likewise.
9292 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9293 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
9294 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
9295 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9296 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9297 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9298 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9299 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9300 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9301 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9302 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9303 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9304 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9305 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9306 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9307 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9308 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9309 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9310 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9311 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9312 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9313 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9314 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9315 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9316 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9317 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9318 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9319 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9320 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9321 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9322 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9323 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9324 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9325 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9326 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9327 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9328 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
9330 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9332 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
9335 * sysdeps/i386/dl-cet.c: Removed.
9336 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
9338 (_dl_runtime_profile_shstk): Likewise.
9339 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
9340 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
9342 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9345 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
9346 do_test_with_invalid_iov): New tests.
9347 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
9348 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
9349 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
9351 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9352 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9353 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9355 2018-09-27 Joseph Myers <joseph@codesourcery.com>
9357 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9358 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
9359 (MATH_REDIRECT_BINARY_ARGS): New macro.
9360 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9361 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
9362 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
9364 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
9365 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9366 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
9367 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9368 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9369 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9370 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
9375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
9377 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
9378 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
9379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
9381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
9383 * sysdeps/generic/math_private_calls.h
9384 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
9385 Do not declare and define as an inline function.
9386 * math/divtc3.c (__divtc3): Use copysign functions instead of
9387 __copysign variants.
9388 * math/multc3.c (__multc3): Likewise.
9389 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
9390 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
9391 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9392 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9394 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9395 (__ieee754_yn): Likewise.
9396 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9397 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
9398 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9399 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9400 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
9402 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9403 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9405 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9407 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9409 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9410 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9412 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9413 (__ieee754_ynf): Likewise.
9414 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9415 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9416 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9417 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9419 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9420 (__ieee754_ynl): Likewise.
9421 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9422 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9423 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9425 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9426 (__ieee754_ynl): Likewise.
9427 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
9428 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9429 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9430 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9432 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9434 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
9435 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9436 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
9437 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9438 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9440 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9441 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
9442 using MATH_REDIRECT.
9443 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
9445 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
9446 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9447 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9448 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
9449 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9450 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9451 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
9453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
9454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
9455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
9456 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9457 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9458 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9459 (round): Redirect to __round.
9460 (__roundl): Call round instead of __round.
9461 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
9463 [_ARCH_PWR5X] (__roundf): Likewise.
9464 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
9465 functions instead of __round variants.
9466 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9467 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9469 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9471 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9473 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
9474 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
9476 (__ieee754_expl): Call roundl instead of __roundl.
9478 2018-09-27 Andreas Schwab <schwab@suse.de>
9481 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
9482 (do_test): Make st1 static.
9484 2018-09-26 Andreas Schwab <schwab@suse.de>
9487 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
9488 * elf/Makefile (tests): Add tst-unwind-ctor.
9489 (modules-names): Add tst-unwind-ctor-lib.
9490 ($(objpfx)tst-unwind-ctor): Depend on
9491 $(objpfx)tst-unwind-ctor-lib.so.
9493 2018-09-26 Joseph Myers <joseph@codesourcery.com>
9495 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
9496 file. Most contents moved from ....
9497 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
9498 and include <bits/mman-map-flags-generic.h>.
9499 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9500 (sysdep_headers): Add bits/mman-map-flags-generic.h.
9501 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
9502 <bits/mman-map-flags-generic.h>.
9503 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
9504 macros defined in <bits/mman-map-flags-generic.h>.
9505 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
9506 <bits/mman-map-flags-generic.h>.
9507 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
9508 defined in <bits/mman-map-flags-generic.h>.
9510 2018-09-26 Andreas Schwab <schwab@suse.de>
9512 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
9515 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
9516 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9517 Fangrui Song <maskray@google.com>
9520 * config.make.in (have-textrel_ifunc): New define.
9521 * configure.ac: Add check if linker supports textrel relocation with
9523 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
9525 (CFLAGS-tst-ifunc-textrel.c): New rule.
9526 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
9527 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
9528 * elf/tst-ifunc-textrel.c: New file.
9530 2018-09-25 Joseph Myers <joseph@codesourcery.com>
9532 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9533 <bits/procfs-prregset.h>.
9534 (prgregset_t): Define using __prgregset_t.
9535 (prfpregset_t): Define using __prfpregset_t.
9536 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9537 (sysdep_headers): Add bits/procfs-prregset.h.
9538 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
9539 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
9540 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
9541 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
9543 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9544 <bits/procfs-id.h> and <bits/procfs-extra.h>.
9545 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
9547 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9548 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
9549 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
9550 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
9551 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
9552 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
9553 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
9554 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
9555 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
9556 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
9557 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
9558 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
9559 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
9560 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
9561 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
9562 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
9563 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
9564 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
9565 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
9566 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
9567 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
9568 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
9569 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9570 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
9572 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
9573 AArch64 version. Include <bits/procfs.h>.
9574 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9575 (sysdep_headers): Add bits/procfs.h.
9576 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
9577 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
9578 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
9579 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
9580 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
9581 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
9582 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
9583 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
9584 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
9585 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
9586 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
9587 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
9588 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
9589 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
9590 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
9591 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9592 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9594 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9596 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9599 2018-09-25 Arjun Shankar <arjun@redhat.com>
9601 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9602 (__gconv_max_path_elem_len): Likewise.
9603 (__gconv_nmodules): Likewise.
9604 (__gconv_get_path): Likewise.
9605 (path_elem): Move to ...
9606 * iconv/gconv_conf.c: ... here.
9607 (__gconv_get_path): Mark function static.
9608 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9609 * iconv/gconv_open.c: ... here.
9611 2018-09-24 Andreas Schwab <schwab@suse.de>
9613 * scripts/haveversions.awk: New file.
9614 * Makerules ($(common-objpfx)Versions.def)
9615 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9616 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9618 * Makeconfig ($(common-objpfx)Versions.def)
9619 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9620 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9622 ($(common-objpfx)Versions.mk): New rule. Include it.
9623 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9624 Emit error if build-obsolete-nsl = yes.
9625 * manual/install.texi (Configuring and compiling): Describe
9626 --enable-obsolete-nsl as unavaiable after version 2.28.
9627 * INSTALL: Regenerate.
9629 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9631 * NEWS: Add note about new TLE support on powerpc64le.
9632 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9633 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9635 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9636 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9637 * sysdeps/powerpc/powerpc32/sysdep.h,
9638 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9639 ABORT_TRANSACTION): Remove macros.
9640 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9641 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9642 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9644 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9645 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
9647 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
9649 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
9652 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
9653 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
9654 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
9655 which is the same as in it_IT.
9656 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
9657 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
9659 2018-09-20 Joseph Myers <joseph@codesourcery.com>
9661 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9662 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
9663 using MATH_REDIRECT.
9664 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
9666 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
9667 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9668 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
9669 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9670 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9671 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
9673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
9674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
9675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
9676 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9677 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9678 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9679 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9680 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9681 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9682 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
9683 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9684 (ceil): Redirect to __ceil.
9685 (floor): Redirect to __floor.
9686 (trunc): Redirect to __trunc.
9687 (__truncl): Call trunc instead of __trunc.
9688 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
9690 [_ARCH_PWR5X] (__truncf): Likewise.
9691 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
9692 trunc functions instead of __trunc variants.
9693 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9695 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9697 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9699 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9702 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
9703 [__i586__ || __pentium__].
9704 [__i486__]: Handle explicitly.
9705 (HAS_CPUID): Define to 1 if above macros are undefined.
9706 (HAS_I586): Likewise.
9707 (HAS_I686): Likewise.
9709 2018-09-20 Florian Weimer <fweimer@redhat.com>
9711 * misc/tst-gethostid.c: New file.
9712 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
9713 (tst-gethostid): Link with -ldl.
9715 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
9717 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
9718 value from gethostbyname_r.
9720 2018-09-19 Carlos O'Donell <carlos@redhat.com>
9722 * stdlib/tst-setcontext9.c (f1): Rename to...
9724 (f1b): New function implementing lower half of f1 in alternate stack.
9726 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
9728 Fix mktime localtime offset confusion
9730 * include/time.h (__mktime_internal): The localtime offset is now
9731 of type long int instead of time_t. This is the longstanding type
9732 in glibc, and it is more than enough to represent difference
9733 between localtime and gmtime even if it is 32 bits and time_t is
9734 64. Changing it now will let us avoid an unnecessary change when
9735 time_t is widened to 64 bits on 32-bit platforms.
9736 * time/mktime-internal.h (mktime_offset_t): Now long int.
9738 Merge mktime, timegm from upstream Gnulib
9739 [BZ #23603][BZ #16346]
9740 This fixes some obscure problems with integer overflow.
9741 Although it looks scary, it is almost all a byte-for-byte copy
9742 from Gnulib, and the Gnulib code has been tested reasonably well.
9743 * include/intprops.h: New file, copied from Gnulib.
9744 * include/verify.h, time/mktime-internal.h:
9745 New tiny files, simplified from Gnulib.
9746 * time/mktime.c: Copy from Gnulib. This has the following changes:
9747 Do not include config.h if DEBUG_MKTIME is nonzero.
9748 Include stdbool.h, intprops.h, verify.h.
9749 Include string.h only if needed.
9750 Include stdlib.h on MS-Windows.
9751 Include mktime-internal.h.
9752 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9753 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9754 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9755 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9756 simplify later conditionals; default the others to zero. Use
9757 these conditionals to express only the code needed on the current
9758 platform. In uses of these conditionals, explicitly spell out how
9759 _LIBC affects things, so it’s easier to review from a glibc
9761 (WRAPV): Remove; no longer needed now that we have
9762 systematic overflow checking.
9763 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9764 compartmentalize tzset issues. Move system-dependent tzsettish
9765 code here from mktime.
9766 (verify): Remove; now done by verify.h. All uses changed.
9767 (long_int): Use a more-conservative definition, to avoid
9769 (SHR): Remove, replacing with ...
9770 (shr): New function, which means we needn’t worry about side
9771 effects in args, and conversion analysis is simpler.
9772 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9773 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9774 (time_t_avg, time_t_add_ok): Remove.
9775 (mktime_min, mktime_max): New constants.
9776 (leapyear, isdst_differ): Use bool for booleans.
9777 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9778 Use long_int, not time_t, for mktime differences.
9779 (long_int_avg): New function, replacing time_t_avg.
9780 INT_ADD_WRAPV replaces time_t_add_ok.
9781 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9783 (convert_time): New function.
9784 (ranged_convert): Use it.
9785 (__mktime_internal): Last arg now points to mktime_offset_t, not
9786 time_t. All uses changed. This is a no-op on glibc, where
9787 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9788 offset guess. Directly check for integer overflow instead of
9789 using a heuristic that works only 99.9...% of the time.
9790 Access *OFFSET only once, to avoid an unlikely race if the
9791 compiler delays a load and if this cascades into a signed integer
9793 (mktime): Move tzsettish code to my_tzset, and move
9794 localtime_offset to within mktime so that it doesn’t
9795 need a separate ifdef.
9796 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9797 instead of localtime.
9798 * time/timegm.c: Copy from Gnulib. This has the following changes:
9799 Include mktime-internal.h.
9800 [!_LIBC]: Include config.h and time.h. Do not include
9801 timegm.h or time_r.h. Make __mktime_internal a macro,
9802 and include mktime-internal.h to get its declaration.
9803 (timegm): Temporary is now mktime_offset_t, not time_t.
9804 This affects only Gnulib.
9806 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9809 * string/test-strstr.c (pr23637): New function.
9810 (test_main): Add tests with longer needles.
9811 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9812 * string/strstr.c (AVAILABLE): Likewise.
9814 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9816 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9818 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9820 * NEWS: Mention pow improvements.
9821 * math/Makefile (type-double-routines): Add e_pow_log_data.
9822 * sysdeps/generic/math_private.h (__exp1): Remove.
9823 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9824 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9825 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9827 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9828 (exp_inline): Remove.
9829 (__ieee754_exp): Only single double input is handled.
9830 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9831 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9832 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9833 (__pow_log_data): Define.
9834 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9835 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9836 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9837 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9839 (CFLAGS-e_pow-fma4.c): Likewise.
9841 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9843 Simplify tzfile fstat failure code
9845 * time/tzfile.c (__tzfile_read): Simplify slightly.
9847 Fix tzfile low-memory assertion failure
9849 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9850 when registering time zone abbreviations.
9852 2018-09-18 Joseph Myers <joseph@codesourcery.com>
9854 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9855 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9856 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9857 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9858 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9859 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9860 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9861 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9862 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9864 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9866 (__ceill): Call ceil instead of __ceil.
9867 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9869 (__floorl): Call floor instead of __floor.
9871 2018-09-17 Joseph Myers <joseph@codesourcery.com>
9873 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9874 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9875 using MATH_REDIRECT.
9876 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9878 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9879 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9880 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9881 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9882 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9883 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9884 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9885 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9890 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9891 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9892 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9893 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9894 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9895 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9896 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9898 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9899 functions instead of __ceil variants.
9900 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9901 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9903 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9905 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9906 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9908 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9909 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9912 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9914 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9915 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9916 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9917 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9918 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9919 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9920 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9921 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9922 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9923 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9924 (ILL_BADIADDR): Remove constant.
9925 (TRAP_BRANCH): Likewise.
9926 (TRAP_HWBKPT): Likewise.
9928 2018-09-14 Joseph Myers <joseph@codesourcery.com>
9931 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9932 Remove [_MIPS_SIM = _ABIN32] conditional case.
9933 (struct elf_prpsinfo): Likewise.
9936 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9937 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9938 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9940 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9941 elf_prpsinfo): Likewise.
9942 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9943 elf_prpsinfo): Likewise.
9944 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9947 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9948 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9949 using MATH_REDIRECT.
9950 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9952 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9953 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9954 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9955 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9956 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9957 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9958 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9959 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9960 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9961 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9962 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9963 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9964 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9965 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9966 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9967 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9968 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9969 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9970 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9973 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9974 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9975 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9976 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9977 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9978 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9980 * math/e_scalbf.c (invalid_fn): Likewise.
9981 * math/e_scalbl.c (invalid_fn): Likewise.
9982 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9984 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9986 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9987 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9988 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9990 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9992 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9994 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9995 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9997 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9998 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
10000 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10001 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
10002 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10003 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
10004 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10005 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
10006 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10007 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
10008 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10009 && !NO_MATH_REDIRECT] (floor): Likewise.
10010 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
10012 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
10013 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10014 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10015 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
10016 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10017 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10018 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10019 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
10020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
10021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
10022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
10023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
10024 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10025 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10027 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10028 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10029 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10030 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
10032 [_ARCH_PWR5X] (__floorf): Likewise.
10033 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
10035 [__SSE4_1__] (__floorf): Likewise.
10036 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
10037 instead of __floor variants.
10038 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
10039 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
10040 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
10041 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
10042 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
10043 * math/w_tgamma_compat.c (__tgamma): Likewise.
10044 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
10045 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
10046 * math/w_tgammal_compat.c (__tgammal): Likewise.
10047 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
10048 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10050 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10051 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
10052 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10053 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10055 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10056 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
10058 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10059 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
10061 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10062 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
10064 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10065 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10066 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10067 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
10068 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10069 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10071 2018-09-12 Joseph Myers <joseph@codesourcery.com>
10073 * elf/Makefile (modules-names-tests): New variable.
10075 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10077 * NEWS: Mention log2 improvements.
10078 * math/Makefile (type-double-routines): Add e_log2_data.
10079 * sysdeps/i386/fpu/e_log2_data.c: New file.
10080 * sysdeps/ia64/fpu/e_log2_data.c: New file.
10081 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
10082 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
10083 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
10084 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
10085 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
10087 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10089 * NEWS: Mention log improvement.
10090 * math/Makefile (type-double-routines): Add e_log_data.
10091 * sysdeps/i386/fpu/e_log_data.c: New file.
10092 * sysdeps/ia64/fpu/e_log_data.c: New file.
10093 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
10094 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
10095 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
10096 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
10097 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
10098 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
10100 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
10101 Xuepeng Guo <xuepeng.guo@intel.com>
10104 * sysdeps/i386/start.S: Include <sysdep.h>
10105 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
10106 enabled. Add cfi_undefined (eip).
10108 2018-09-11 Joseph Myers <joseph@codesourcery.com>
10110 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
10112 (EXTRACT_WORDS64): Likewise.
10113 (INSERT_WORDS64): Likewise.
10114 (GET_FLOAT_WORD): Likewise.
10115 (SET_FLOAT_WORD): Likewise.
10117 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
10119 (Config.build_gcc): Use --disable-libsanitizer for first GCC
10120 build, but not for second build if --full-gcc. Use
10121 --enable-languages=all for second build if --full-gcc.
10122 (get_parser): Add --full-gcc option.
10123 (main): Update call to Context.
10125 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
10128 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
10129 Single Quotation Mark).
10130 (thousands_sep): Likewise.
10131 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
10132 * localedata/locales/it_IT (thousands_sep): Use ".".
10133 (grouping): Use "3;3".
10135 2018-09-10 Joseph Myers <joseph@codesourcery.com>
10137 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10138 x86_64 and i686 configs using --enable-obsolete-rpc
10139 --enable-obsolete-nsl.
10141 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10143 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10145 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10147 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
10148 Increment size of new_argv by one.
10150 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
10153 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
10154 * localedata/locales/ar_IN (d_fmt): Likewise.
10155 * localedata/locales/bhb_IN (d_fmt): Likewise.
10156 * localedata/locales/bho_IN (d_fmt): Likewise.
10157 * localedata/locales/bn_BD (d_fmt): Likewise.
10158 * localedata/locales/bn_IN (d_fmt): Likewise.
10159 * localedata/locales/doi_IN (d_fmt): Likewise.
10160 * localedata/locales/gu_IN (d_fmt): Likewise.
10161 * localedata/locales/hi_IN (d_fmt): Likewise.
10162 * localedata/locales/hne_IN (d_fmt): Likewise.
10163 * localedata/locales/kn_IN (d_fmt): Likewise.
10164 * localedata/locales/mag_IN (d_fmt): Likewise.
10165 * localedata/locales/mai_IN (d_fmt): Likewise.
10166 * localedata/locales/mjw_IN (d_fmt): Likewise.
10167 * localedata/locales/ml_IN (d_fmt): Likewise.
10168 * localedata/locales/mni_IN (d_fmt): Likewise.
10169 * localedata/locales/mr_IN (d_fmt): Likewise.
10170 * localedata/locales/pa_IN (d_fmt): Likewise.
10171 * localedata/locales/raj_IN (d_fmt): Likewise.
10172 * localedata/locales/sat_IN (d_fmt): Likewise.
10173 * localedata/locales/sd_IN (d_fmt): Likewise.
10174 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
10175 * localedata/locales/ta_IN (d_fmt): Likewise.
10176 * localedata/locales/ta_LK (d_fmt): Likewise.
10177 * localedata/locales/tcy_IN (d_fmt): Likewise.
10178 * localedata/locales/ur_IN (d_fmt): Likewise.
10180 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
10181 * localedata/locales/ks_IN (d_fmt): Likewise.
10182 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
10184 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
10185 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
10186 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
10187 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
10189 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
10191 * NEWS: Mention exp and exp2 improvements.
10192 * math/Makefile (libm-support): Remove t_exp.
10193 (type-double-routines): Add math_err and e_exp_data.
10194 * sysdeps/aarch64/libm-test-ulps: Update.
10195 * sysdeps/arm/libm-test-ulps: Update.
10196 * sysdeps/i386/fpu/e_exp_data.c: New file.
10197 * sysdeps/i386/fpu/math_err.c: New file.
10198 * sysdeps/i386/fpu/t_exp.c: Remove.
10199 * sysdeps/ia64/fpu/e_exp_data.c: New file.
10200 * sysdeps/ia64/fpu/math_err.c: New file.
10201 * sysdeps/ia64/fpu/t_exp.c: Remove.
10202 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
10203 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
10204 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
10205 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
10206 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
10207 * sysdeps/ieee754/dbl-64/math_config.h: New file.
10208 * sysdeps/ieee754/dbl-64/math_err.c: New file.
10209 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
10210 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
10211 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
10212 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
10213 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
10214 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
10215 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
10216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10219 2018-09-05 Joseph Myers <joseph@codesourcery.com>
10221 * sysdeps/alpha/fpu/math_private.h: Remove.
10223 * sysdeps/generic/math_private.h
10224 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
10225 Move this inline function ....
10226 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
10227 * include/math.h [!_ISOMAC]: To here....
10229 2018-09-04 Joseph Myers <joseph@codesourcery.com>
10231 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
10233 [!FE_HAVE_ROUNDING_MODES]: And this code ....
10234 * include/fenv.h [!_ISOMAC]: ... to here.
10235 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
10236 (feraiseexcept): Likewise.
10237 * math/fromfp.h: Do not include <fenv_private.h>.
10238 * math/s_cexp_template.c: Likewise.
10239 * math/s_csin_template.c: Likewise.
10240 * math/s_csinh_template.c: Likewise.
10241 * math/s_ctan_template.c: Likewise.
10242 * math/s_ctanh_template.c: Likewise.
10243 * math/s_iseqsig_template.c: Likewise.
10244 * math/w_acos_compat.c: Likewise.
10245 * math/w_acosf_compat.c: Likewise.
10246 * math/w_acosl_compat.c: Likewise.
10247 * math/w_asin_compat.c: Likewise.
10248 * math/w_asinf_compat.c: Likewise.
10249 * math/w_asinl_compat.c: Likewise.
10250 * math/w_j0_compat.c: Likewise.
10251 * math/w_j0f_compat.c: Likewise.
10252 * math/w_j0l_compat.c: Likewise.
10253 * math/w_j1_compat.c: Likewise.
10254 * math/w_j1f_compat.c: Likewise.
10255 * math/w_j1l_compat.c: Likewise.
10256 * math/w_jn_compat.c: Likewise.
10257 * math/w_jnf_compat.c: Likewise.
10258 * math/w_log10_compat.c: Likewise.
10259 * math/w_log10f_compat.c: Likewise.
10260 * math/w_log10l_compat.c: Likewise.
10261 * math/w_log2_compat.c: Likewise.
10262 * math/w_log2f_compat.c: Likewise.
10263 * math/w_log2l_compat.c: Likewise.
10264 * math/w_log_compat.c: Likewise.
10265 * math/w_logf_compat.c: Likewise.
10266 * math/w_logl_compat.c: Likewise.
10267 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10268 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10269 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10270 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10271 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10272 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10273 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10274 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10275 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10276 * sysdeps/ieee754/k_standardl.c: Likewise.
10277 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10278 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10279 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10280 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10281 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10282 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10283 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10284 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10285 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10286 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10287 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10288 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10289 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10290 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10291 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10292 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10294 * math/w_ilogb_template.c: Include <fenv.h> instead of
10296 * math/w_llogb_template.c: Likewise.
10297 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10298 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10300 2018-09-03 Joseph Myers <joseph@codesourcery.com>
10302 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
10303 * math/fromfp.h: Include <fenv_private.h>.
10304 * math/math-narrow.h: Likewise.
10305 * math/s_cexp_template.c: Likewise.
10306 * math/s_csin_template.c: Likewise.
10307 * math/s_csinh_template.c: Likewise.
10308 * math/s_ctan_template.c: Likewise.
10309 * math/s_ctanh_template.c: Likewise.
10310 * math/s_iseqsig_template.c: Likewise.
10311 * math/w_acos_compat.c: Likewise.
10312 * math/w_acosf_compat.c: Likewise.
10313 * math/w_acosl_compat.c: Likewise.
10314 * math/w_asin_compat.c: Likewise.
10315 * math/w_asinf_compat.c: Likewise.
10316 * math/w_asinl_compat.c: Likewise.
10317 * math/w_ilogb_template.c: Likewise.
10318 * math/w_j0_compat.c: Likewise.
10319 * math/w_j0f_compat.c: Likewise.
10320 * math/w_j0l_compat.c: Likewise.
10321 * math/w_j1_compat.c: Likewise.
10322 * math/w_j1f_compat.c: Likewise.
10323 * math/w_j1l_compat.c: Likewise.
10324 * math/w_jn_compat.c: Likewise.
10325 * math/w_jnf_compat.c: Likewise.
10326 * math/w_llogb_template.c: Likewise.
10327 * math/w_log10_compat.c: Likewise.
10328 * math/w_log10f_compat.c: Likewise.
10329 * math/w_log10l_compat.c: Likewise.
10330 * math/w_log2_compat.c: Likewise.
10331 * math/w_log2f_compat.c: Likewise.
10332 * math/w_log2l_compat.c: Likewise.
10333 * math/w_log_compat.c: Likewise.
10334 * math/w_logf_compat.c: Likewise.
10335 * math/w_logl_compat.c: Likewise.
10336 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10337 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10338 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10339 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10340 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10341 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10342 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10343 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10345 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10346 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10347 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10348 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
10349 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10350 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10352 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10353 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10354 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10355 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10356 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10357 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10358 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10359 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10360 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10361 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10362 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10363 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10364 * sysdeps/ieee754/float128/float128_private.h: Likewise.
10365 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10366 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10367 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10368 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10369 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10370 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10371 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10372 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10373 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10374 * sysdeps/ieee754/k_standardl.c: Likewise.
10375 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10376 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10377 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10378 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10379 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10380 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10381 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10382 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10383 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10384 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10385 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10386 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10387 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10388 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10389 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10390 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10391 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10392 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10393 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10394 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10395 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10396 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10397 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10398 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10399 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10400 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10401 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10402 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10403 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10404 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10405 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10406 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10407 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10408 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10409 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10410 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10411 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10412 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10413 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10414 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10415 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10416 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10417 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10418 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10419 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10420 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10421 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10422 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10423 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10424 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10425 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10426 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10427 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10428 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10429 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10430 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10431 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10432 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10433 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10434 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10435 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10436 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10437 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10438 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10439 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10440 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10441 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10442 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10443 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10444 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10445 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10447 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10450 * include/stdio.h (__libc_fatal): Mention newline in comment.
10451 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
10452 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
10453 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10454 * nss/nsswitch.c (__nss_next2): Likewise.
10455 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
10456 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
10457 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
10458 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10459 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
10460 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
10461 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
10462 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
10463 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
10464 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
10465 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
10466 * sysdeps/unix/sysv/linux/netlink_assert_response.c
10467 (__netlink_assert_response): Likewise.
10469 2018-08-31 Joseph Myers <joseph@codesourcery.com>
10471 * conform/glibcconform.py: New file.
10472 * conform/list-header-symbols.py: Likewise.
10473 * conform/list-header-symbols.pl: Remove.
10474 * conform/Makefile (tests-special): Only add linknamespace tests
10476 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
10478 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
10481 * support/Makefile (libsupport-routines): Add
10482 support_copy_file_range and xcopy_file_range.
10483 * support/support.h: Include <sys/types.h>.
10484 (support_copy_file_range): New prototype.
10485 * support/support_copy_file_range.c: New file. Copied and
10486 modified from io/copy_file_range-compat.c.
10487 * support/test-container.c (copy_one_file): Call xcopy_file_rang
10488 instead of copy_file_range.
10489 * support/xcopy_file_range.c: New file.
10490 * support/xunistd.h (xcopy_file_range): New prototype.
10492 2018-08-30 Carlos O'Donell <carlos@redhat.com>
10494 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
10495 xpthread_create and xpthread_join.
10497 2018-08-30 Florian Weimer <fweimer@redhat.com>
10499 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
10501 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
10503 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
10506 2018-08-29 Joseph Myers <joseph@codesourcery.com>
10508 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
10509 and minus_oflow as non-finite.
10511 2018-08-28 Joseph Myers <joseph@codesourcery.com>
10513 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
10514 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
10515 moved to fenv_private.h except for ...
10516 (TOINT_INTRINSICS): Kept in math_private.h.
10517 (roundtoint): Likewise.
10518 (converttoint): Likewise.
10519 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
10520 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10521 * sysdeps/arm/math_private.h: Remove.
10522 * sysdeps/generic/fenv_private.h: New file. Contents moved from
10524 * sysdeps/generic/math_private.h: ... this file. Include
10525 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
10526 Include <fenv_private.h>. Remove functions and macros moved to
10528 * sysdeps/i386/fpu/math_private.h: Remove.
10529 * sysdeps/mips/math_private.h: Move to ....
10530 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
10531 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
10532 [__mips_hard_float] conditional. Include next <fenv_private.h>.
10533 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
10534 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10535 * sysdeps/powerpc/fpu/math_private.h: Do not include
10537 * sysdeps/riscv/rvf/math_private.h: Move to ....
10538 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
10539 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
10541 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
10542 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10543 * sysdeps/sparc/fpu/math_private.h: Remove.
10544 * sysdeps/i386/fpu/fenv_private.h: Move to ....
10545 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
10546 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
10548 * sysdeps/x86_64/fpu/math_private.h: Do not include
10549 <sysdeps/i386/fpu/fenv_private.h>.
10551 2018-08-28 Florian Weimer <fweimer@redhat.com>
10554 * posix/tst-regcomp-truncated.c: New file.
10555 * posix/Makefile (tests): Add it.
10556 (tst-regcomp-truncated.out): Depend on generated locales.
10558 2018-08-28 Florian Weimer <fweimer@redhat.com>
10560 * support/test-container.c (main): Treat unshare failure with
10561 EPERM as an unsupported test.
10563 2018-08-28 Florian Weimer <fweimer@redhat.com>
10566 nscd: Fix use-after-free in addgetnetgrentX and its callers.
10567 * nscd/netgroupcache.c
10568 (addgetnetgrentX): Add tofreep parameter. Do not free
10569 heap-allocated buffer.
10570 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
10571 (addgetnetgrentX_ignore): New function.
10572 (addgetnetgrent): Call it.
10573 (readdgetnetgrent): Likewise.
10575 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10577 * string/memmem.c: Use memcmp for first match.
10579 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
10582 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
10584 2018-08-27 DJ Delorie <dj@redhat.com>
10586 * support/Makefile (others): Don't list programs explicitly as a
10587 dependency of "others".
10589 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10591 * sysdeps/generic/math-tests-trap-force.h: New file.
10592 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10593 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10594 * sysdeps/powerpc/math-tests.h: Remove file.
10595 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10597 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10598 Torvald Riegel <triegel@redhat.com>
10601 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10602 Update r to include the set wake-request flag if waiters are
10603 remaining after spinning.
10605 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10607 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10609 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10612 regex: fix uninitialized memory access
10613 I introduced this bug into gnulib in commit
10614 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10615 eventually it was merged into glibc. The bug was found by
10616 project-repo <bugs@feusi.co> and reported here:
10617 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10618 Diagnosis and draft fix reported by Assaf Gordon here:
10619 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10620 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10621 * posix/regex_internal.c (build_wcs_upper_buffer):
10622 Fix bug when mbrtowc returns 0.
10624 2018-08-24 Carlos O'Donell <carlos@redhat.com>
10626 * po/be.po: Update translation.
10628 2018-08-24 DJ Delorie <dj@delorie.com>
10630 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10633 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10636 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10637 create temporary files in source tree.
10639 2018-08-24 Joseph Myers <joseph@codesourcery.com>
10641 * sysdeps/generic/math-tests-trap.h: New file.
10642 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10643 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10644 * sysdeps/aarch64/math-tests.h: Remove file.
10645 * sysdeps/arm/math-tests.h: Likewise.
10646 * sysdeps/riscv/math-tests.h: Likewise.
10647 * sysdeps/aarch64/math-tests-trap.h: New file.
10648 * sysdeps/arm/math-tests-trap.h: Likewise.
10649 * sysdeps/riscv/math-tests-trap.h: Likewise.
10651 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10653 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
10654 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
10655 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
10656 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
10657 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
10658 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
10659 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10660 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
10661 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
10662 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10663 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10664 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10665 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10666 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
10667 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
10668 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
10669 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10670 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10672 2018-08-23 Joseph Myers <joseph@codesourcery.com>
10674 * sysdeps/generic/math-tests-exceptions.h: New file.
10675 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
10676 (EXCEPTION_TESTS_float): Do not define here.
10677 (EXCEPTION_TESTS_double): Likewise.
10678 (EXCEPTION_TESTS_long_double): Likewise.
10679 (EXCEPTION_TESTS_float128): Likewise.
10680 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
10682 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
10683 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
10684 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
10685 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
10686 * sysdeps/mips/math-tests.h: Likewise.
10687 * sysdeps/nios2/math-tests.h: Likewise.
10688 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10689 (EXCEPTION_TESTS_float): Do not define here.
10690 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
10691 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
10692 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
10694 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10696 * NEWS: Move optimized sinf entry to 2.29.
10698 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10700 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
10702 2018-08-22 DJ Delorie <dj@redhat.com>
10704 * Makefile (testroot.pristine): New rules to initialize the
10705 test-in-container "testroot".
10706 * Makerules (all-testsuite): Add tests-container.
10707 * Rules (tests-expected): Add tests-container.
10708 (binaries-all-tests): Likewise.
10709 (tests-container): New, run these tests in the testroot container.
10710 * support/Makefile (others): Add *-container, support_paths.c,
10711 xmkdirp, and links-dso-program.
10712 * support/links-dso-program-c.c: New.
10713 * support/links-dso-program.cc: New.
10714 * support/test-container.c: New.
10715 * support/shell-container.c: New.
10716 * support/echo-container.c: New.
10717 * support/true-container.c: New.
10718 * support/xmkdirp.c: New.
10719 * support/xsymlink.c: New.
10720 * support/support_paths.c: New.
10721 * support/support.h: Add support paths prototypes.
10722 * support/xunistd.h: Add xmkdirp () and xsymlink ().
10724 * nss/tst-nss-test3.c: Convert to test-in-container.
10725 * nss/tst-nss-test3.root/: New.
10727 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
10729 regex: port Gnulib code to z/OS POSIX environment
10730 Problem reported by Arnold Robbins in:
10731 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
10732 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
10735 2018-08-22 Joseph Myers <joseph@codesourcery.com>
10737 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
10738 (ROUNDING_TESTS_double): Remove.
10739 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
10740 (ROUNDING_TESTS_double): Remove.
10741 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
10742 (ROUNDING_TESTS_double): Remove.
10743 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
10744 (ROUNDING_TESTS_float): Remove.
10745 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10746 (ROUNDING_TESTS_float): Remove.
10747 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10748 (ROUNDING_TESTS_float): Remove.
10749 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10750 !TEST_MATHVEC here.
10751 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10752 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10754 * sysdeps/generic/math-tests-rounding.h: New file.
10755 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10756 (ROUNDING_TESTS_float): Do not define here.
10757 (ROUNDING_TESTS_double): Likewise.
10758 (ROUNDING_TESTS_long_double): Likewise.
10759 (ROUNDING_TESTS_float128): Likewise.
10760 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10761 (ROUNDING_TESTS_double): Undefine before defining.
10762 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10763 (ROUNDING_TESTS_double): Undefine before defining.
10764 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10765 (ROUNDING_TESTS_double): Undefine before defining.
10766 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10767 (ROUNDING_TESTS_float): Undefine before defining.
10768 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10769 (ROUNDING_TESTS_float): Undefine before defining.
10770 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10771 (ROUNDING_TESTS_float): Undefine before defining.
10772 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10773 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10775 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10776 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10777 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10778 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10779 (ROUNDING_TESTS_float): Do not define here.
10780 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10781 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10782 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10783 (ROUNDING_TESTS_float): Likewise.
10784 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10785 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10786 * sysdeps/mips/math-tests.h [__mips_soft_float]
10787 (ROUNDING_TESTS_float): Likewise.
10788 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10789 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10790 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10791 (ROUNDING_TESTS_double): Likewise.
10792 (ROUNDING_TESTS_long_double): Likewise.
10794 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
10796 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10797 (PF_XDP): New macro.
10798 (AF_XDP): New macro.
10799 (SOL_XDP): New macro.
10801 2018-08-21 Joseph Myers <joseph@codesourcery.com>
10803 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10804 (TCP_INQ): Likewise.
10805 (TCP_CM_INQ): Likewise.
10806 (TCP_REPAIR_ON): Likewise.
10807 (TCP_REPAIR_OFF): Likewise.
10808 (TCP_REPAIR_OFF_NO_WP): Likewise.
10809 (struct tcp_zerocopy_receive): New type.
10811 2018-08-21 Florian Weimer <fweimer@redhat.com>
10813 * support/support.h (support_descriptor_supports_holes): Declare.
10814 * support/Makefile (libsupport-routines): Add
10815 support_descriptor_supports_holes.
10816 * support/support_descriptor_supports_holes.c: New file.
10817 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10818 and stop testing if holes are not supported.
10819 * io/test-lfs.c (do_prepare): Likewise.
10820 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10822 * timezone/tst-tzset.c (create_tz_file): Likewise.
10823 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10825 (do_prepare): Set it.
10826 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10828 2018-08-21 Florian Weimer <fweimer@redhat.com>
10831 * Makeconfig (+cflags): Do not sort (and deduplicate).
10833 2018-08-21 Florian Weimer <fweimer@redhat.com>
10835 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10836 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10838 2018-08-20 Florian Weimer <fweimer@redhat.com>
10840 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10841 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10843 2018-08-20 Joseph Myers <joseph@codesourcery.com>
10845 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10846 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10847 and ssi_arch members.
10849 * elf/elf.c (NT_VMCOREDD): New macro.
10850 (AT_MINSIGSTKSZ): Likewise.
10852 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10854 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10855 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10856 s_cosf-ppc64 and s_cosf-power8.
10857 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10858 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10859 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10860 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10867 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10868 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10870 2018-08-17 Florian Weimer <fweimer@redhat.com>
10872 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10874 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10876 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10878 2018-08-16 Florian Weimer <fweimer@redhat.com>
10880 * configure.ac: Add --with-nonshared-cflags option.
10881 * config.make.in (extra-nonshared-cflags): Set variable.
10882 * Makeconfig (CFLAGS-.oS): Use it.
10883 * manual/install.texi (Configuring and compiling): Document
10884 --with-nonshared-cflags.
10885 * configure: Regenerate.
10886 * INSTALL: Likewise.
10888 2018-08-16 Florian Weimer <fweimer@redhat.com>
10890 * Makeconfig (ASFLAGS): Always append required assembler flags.
10892 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
10894 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10895 (malloc_consolidate): Likewise.
10897 2018-08-16 Pochang Chen <johnchen902@gmail.com>
10899 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10901 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10903 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10906 * benchtests/bench-strlen.c: Print performance numbers in json.
10908 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10910 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10911 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10912 only for little endian.
10913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10914 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10915 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10916 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10917 Add check for little endian.
10918 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10919 (__strcmp_power9): Add check for little endian.
10920 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10921 Add check for little endian.
10922 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10923 (__strncmp_power9): Add check for little endian.
10924 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10925 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10926 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10927 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10928 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10930 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10932 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10933 [!STRLEN](STRLEN): Set to __strlen.
10934 * sysdeps/aarch64/multiarch/strlen.c: New file.
10935 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10936 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10937 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10938 (__libc_ifunc_impl_list): Add strlen.
10939 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10940 strlen_generic and strlen_asimd.
10942 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10944 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10945 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10946 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10948 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10950 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10952 2018-08-14 Florian Weimer <fweimer@redhat.com>
10955 * include/stdio.h (__vfxprintf): Declare.
10956 * stdio-common/fxprintf.c (__vfxprintf): New function.
10957 (__fxprintf): Call it.
10958 * misc/err.c (convert_and_print): Remove function.
10959 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10960 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10961 * misc/Makefile (tests): Add tst-warn-wide.
10962 * misc/tst-warn-wide.c: New file.
10964 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10965 Szabolcs Nagy <szabolcs.nagy@arm.com>
10967 * NEWS: Mention sinf, cosf, sincosf.
10968 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10969 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10970 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10971 constants rather than including generic sincosf.h.
10972 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10973 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10974 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10975 (reduced_cos): Remove.
10976 (sinf_poly): New function.
10977 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10979 2018-08-14 Florian Weimer <fweimer@redhat.com>
10983 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10984 processing, bail out if no room, and close the stream before
10986 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10987 (tst-nss-files-alias-leak): Link with libdl.
10988 (tst-nss-files-alias-leak.out): Depend on nss_files.
10990 * nss/tst-nss-files-alias-leak.c: New file.
10992 2018-08-14 Florian Weimer <fweimer@redhat.com>
10994 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10995 server_user, stat_user.
10997 2018-08-13 Joseph Myers <joseph@codesourcery.com>
10999 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11001 (io_pgetevents): New syscall.
11004 * manual/install.texi (Configuring and compiling): Do not list
11005 tools used for testing pretty printers here.
11006 (Tools for Compilation): List Python, PExpect and GDB here.
11007 Update descriptions of uses of Perl and Python.
11008 * INSTALL: Regenerate.
11010 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11013 2018-08-13 Florian Weimer <fweimer@redhat.com>
11015 * misc/error.c (error): Add missing va_end call.
11016 (error_at_line): Likewise.
11018 2018-08-13 Florian Weimer <fweimer@redhat.com>
11020 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
11022 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11024 * benchtests/scripts/benchout.schema.json (properties): Add
11027 * benchtests/bench-skeleton.c (main): Add duration and
11028 iterations attributes.
11030 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
11032 regex: Gnulib unibyte RRI uses bytes not chars
11033 Adjust the non-glibc code to agree with what Gawk needs for
11034 rational range interpretation (RRI) for regular expression ranges.
11035 In unibyte locales, Gawk wants ranges to use the underlying byte
11036 rather than the character code point. This change does not affect
11038 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
11039 In unibyte locales, use the byte value rather than
11040 running it through btowc.
11042 2018-08-10 Joseph Myers <joseph@codesourcery.com>
11044 * sysdeps/generic/math-tests-snan.h: New file.
11045 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
11046 (SNAN_TESTS_float): Do not define here.
11047 (SNAN_TESTS_double): Likewise.
11048 (SNAN_TESTS_long_double): Likewise.
11049 (SNAN_TESTS_float128): Likewise.
11050 * sysdeps/i386/fpu/math-tests-snan.h: New file.
11051 * sysdeps/i386/fpu/math-tests.h: Remove file.
11052 * sysdeps/ia64/math-tests-snan.h: New file.
11053 * sysdeps/ia64/math-tests.h: Remove file.
11054 * sysdeps/x86/math-tests.h: Likewise.
11055 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
11057 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11058 Szabolcs Nagy <szabolcs.nagy@arm.com>
11060 * math/Makefile: Add s_sincosf_data.c.
11061 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
11062 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
11063 (sincosf_poly): Likewise.
11064 (reduce_small): Likewise.
11065 (reduce_large): Likewise.
11066 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
11067 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
11068 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
11069 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
11071 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11072 Szabolcs Nagy <szabolcs.nagy@arm.com>
11074 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
11075 (converttoint): Use lround.
11076 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
11077 document the semantics when TOINT_INTRINSICS is set.
11078 (converttoint): Likewise.
11079 (TOINT_RINT): Remove.
11080 (TOINT_SHIFT): Remove.
11081 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
11084 2018-08-10 Florian Weimer <fweimer@redhat.com>
11087 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
11089 (__old_getdents64): Use getdents64. Convert entries without
11091 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
11092 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
11093 tst-readdir64-compat.
11095 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11097 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
11100 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11102 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
11103 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
11104 code to s390x-mcount.h and #include it.
11105 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
11106 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11109 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11111 * stdlib/Versions: Remove __fentry__.
11112 * sysdeps/i386/Versions: Add __fentry__.
11113 * sysdeps/x86_64/Versions: Add __fentry__.
11115 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11117 * sysdeps/s390/Makefile: Register the new tests.
11118 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
11119 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
11120 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
11121 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
11122 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
11123 * sysdeps/s390/tst-dl-runtime.c: New file.
11125 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11127 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11130 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11132 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11135 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11137 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11140 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11142 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11145 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11147 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11148 Use symbolic offsets for stack variables.
11150 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11152 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11153 Use symbolic offsets for stack variables.
11155 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11157 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11158 Use symbolic offsets for stack variables.
11160 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11162 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11163 Use symbolic offsets for stack variables.
11165 2018-08-09 Joseph Myers <joseph@codesourcery.com>
11167 * math/gen-libm-test.py: New file.
11168 * math/gen-libm-test.pl: Remove.
11169 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
11170 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
11172 ($(libm-test-c-noauto-obj)): Likewise.
11173 ($(libm-test-c-auto-obj)): Likewise.
11174 ($(libm-test-c-narrow-obj)): Likewise.
11175 (regen-ulps): Likewise.
11176 * math/README.libm-test: Update references to gen-libm-test.pl.
11177 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
11178 referencing gen-libm-test.pl.
11179 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
11180 * math/libm-test-support.c: Likewise.
11181 * math/libm-test-support.h: Likewise.
11182 * sysdeps/generic/libm-test-ulps: Likewise.
11184 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
11186 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
11189 2018-08-08 Joseph Myers <joseph@codesourcery.com>
11191 * math/libm-test-nextdown.inc (do_test): Move comment to ....
11192 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
11194 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
11196 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
11198 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
11199 __pthread_setspecific): Add hidden proto.
11200 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
11201 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
11203 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11205 * benchtests/bench-string.h (buf1_size, buf2_size): New
11207 (init_sizes): New function.
11208 (test_init): Use it.
11209 (alloc_buf, exit_error): New functions.
11210 (alloc_bufs): Use ALLOC_BUF.
11211 (realloc_bufs): Remove.
11212 * benchtests/bench-memcmp.c (do_test): Adjust.
11213 * benchtests/bench-memset-large.c (do_test): Likewise.
11214 * benchtests/bench-memset-walk.c (do_test): Likewise.
11215 * benchtests/bench-memset.c (do_test): Likewise.
11216 * benchtests/bench-strncmp.c (do_test): Likewise.
11218 2018-08-06 Andreas Schwab <schwab@suse.de>
11220 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
11221 of CONST_THREAD_AREA.
11223 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
11225 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
11226 (STATE_SAVE_MASK): Likewise.
11227 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
11228 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
11229 (STATE_SAVE_MASK): Likewise.
11230 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
11231 instead of <cpu-features.h>.
11233 2018-08-03 DJ Delorie <dj@redhat.com>
11235 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
11236 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
11238 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
11240 2018-08-03 Joseph Myers <joseph@codesourcery.com>
11242 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
11243 after TEST_* calls.
11244 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
11245 * math/libm-test-logb.inc (logb_test_data): Likewise.
11247 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
11249 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
11250 * string/strstr.c (AVAILABLE): Likewise.
11252 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11254 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
11256 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
11257 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
11258 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
11260 2018-08-03 Carlos O'Donell <carlos@redhat.com>
11262 * po/be.po: Update translation.
11264 * po/be.po: Update translation.
11266 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11268 * sysdeps/x86/cpu-features-offsets.sym
11269 (rtld_global_ro_offsetof): Removed.
11270 (CPU_FEATURES_SIZE): Likewise.
11271 (CPUID_OFFSET): Likewise.
11272 (CPUID_SIZE): Likewise.
11273 (CPUID_EAX_OFFSET): Likewise.
11274 (CPUID_EBX_OFFSET): Likewise.
11275 (CPUID_ECX_OFFSET): Likewise.
11276 (CPUID_EDX_OFFSET): Likewise.
11277 (FAMILY_OFFSET): Likewise.
11278 (MODEL_OFFSET): Likewise.
11279 (FEATURE_OFFSET): Likewise.
11280 (FEATURE_SIZ): Likewise.
11281 (COMMON_CPUID_INDEX_1): Likewise.
11282 (COMMON_CPUID_INDEX_7): Likewise.
11283 (FEATURE_INDEX_1): Likewise.
11284 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
11286 2018-08-02 Carlos O'Donell <carlos@redhat.com>
11288 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
11289 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
11290 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
11291 (install-locales): Depend on install-locale-archive.
11292 (install-locale-archive): Define.
11293 (install-locale-files): Define.
11294 (build-one-locale): Define macro.
11295 * manual/install.texi (Running make install): Document.
11296 * manual/INSTALL: Regenerate.
11298 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
11300 * benchtests/scripts/compare_strings.py: Import traceback.
11301 (parse_file): Pretty-print error.
11303 * NEWS: Mention the change.
11304 * elf/dl-tunables.list: Rename tune namespace to cpu.
11305 * sysdeps/powerpc/dl-tunables.list: Likewise.
11306 * sysdeps/x86/dl-tunables.list: Likewise.
11307 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
11309 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
11310 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
11311 * manual/README.tunables: Likewise.
11312 * manual/tunables.texi: Likewise.
11313 * sysdeps/powerpc/cpu-features.c: Likewise.
11314 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
11315 (init_cpu_features): Likewise.
11316 * sysdeps/x86/cpu-features.c: Likewise.
11317 * sysdeps/x86/cpu-features.h: Likewise.
11318 * sysdeps/x86/cpu-tunables.c: Likewise.
11319 * sysdeps/x86_64/Makefile: Likewise.
11320 * sysdeps/x86/dl-cet.c: Likewise.
11322 2018-08-02 Joseph Myers <joseph@codesourcery.com>
11325 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
11326 [__mips_hard_float].
11327 (FE_UNDERFLOW): Likewise.
11328 (FE_OVERFLOW): Likewise.
11329 (FE_DIVBYZERO): Likewise.
11330 (FE_INVALID): Likewise.
11331 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
11332 (FE_TOWARDZERO): Define only if [__mips_hard_float].
11333 (FE_UPWARD): Likewise.
11334 (FE_DOWNWARD): Likewise.
11335 (__FE_UNDEFINED): Define if [!__mips_hard_float]
11336 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
11337 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
11338 [__mips_hard_float].
11339 (FP_ROUNDMODE): Likewise.
11340 (FP_RND_NEAREST): Likewise.
11341 (FP_RND_ZERO): Likewise.
11342 (FP_RND_PINF): Likewise.
11343 (FP_RND_MINF): Likewise.
11344 (FP_EX_INVALID): Likewise.
11345 (FP_EX_OVERFLOW): Likewise.
11346 (FP_EX_UNDERFLOW): Likewise.
11347 (FP_EX_DIVZERO): Likewise.
11348 (FP_EX_INEXACT): Likewise.
11349 (FP_INIT_ROUNDMODE): Likewise.
11350 * sysdeps/mips/nofpu/fesetenv.c: New file.
11351 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
11353 2018-08-01 Joseph Myers <joseph@codesourcery.com>
11355 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
11356 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
11357 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
11358 conditional on [FE_UPWARD].
11360 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
11362 regex: fix memory leak in Gnulib
11363 Problem and fix reported by Assaf Gordon in:
11364 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
11365 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
11366 range_ends members too, as they are defined in 'struct
11367 re_charset_t' even if not _LIBC. This affects only Gnulib.
11369 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
11371 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
11373 (get_common_indices): This.
11374 (init_cpu_features): Updated.
11376 2018-08-01 Joseph Myers <joseph@codesourcery.com>
11378 * sysdeps/generic/math-tests-snan-payload.h: New file.
11379 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
11380 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
11381 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
11382 * sysdeps/generic/math-tests.h: Include
11383 <math-tests-snan-payload.h>.
11384 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11385 * sysdeps/hppa/math-tests.h: Remove file.
11386 * sysdeps/mips/math-tests.h [!__mips_nan2008]
11387 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11388 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
11391 * sysdeps/generic/math-tests-snan-cast.h: New file.
11392 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
11393 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
11394 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
11395 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
11397 2018-08-01 Carlos O'Donel <carlos@redhat.com>
11399 * version.h (RELEASE): Set to "development".
11400 (VERSION): Set to "2.28.9000".
11401 * NEWS (2.29): New section.
11403 * version.h (RELEASE): Set to "stable".
11404 (VERSION): Set to "2.28".
11405 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
11406 * NEWS: Add the list of bugs fixed in 2.28.
11408 * po/ca.po: Update to latest version.
11409 * po/cs.po: Likewise
11410 * po/da.po: Likewise
11411 * po/el.po: Likewise
11412 * po/eo.po: Likewise
11413 * po/es.po: Likewise
11414 * po/fi.po: Likewise
11415 * po/fr.po: Likewise
11416 * po/gl.po: Likewise
11417 * po/hu.po: Likewise
11418 * po/ia.po: Likewise
11419 * po/id.po: Likewise
11420 * po/it.po: Likewise
11421 * po/ja.po: Likewise
11422 * po/ko.po: Likewise
11423 * po/lt.po: Likewise
11424 * po/nb.po: Likewise
11425 * po/nl.po: Likewise
11426 * po/pt_BR.po: Likewise
11427 * po/ru.po: Likewise
11428 * po/rw.po: Likewise
11429 * po/sk.po: Likewise
11430 * po/sl.po: Likewise
11431 * po/tr.po: Likewise
11432 * po/zh_CN.po: Likewise
11433 * po/zh_TW.po: Likewise
11435 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11437 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
11439 (init): ... before initializing libpthread.
11441 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
11442 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
11443 (__mach_setup_tls): ... new function.
11444 (mach_setup_tls): New alias.
11445 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
11446 __mach_setup_thread.
11447 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
11448 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
11449 * mach/Versions [libc] (mach_setup_tls): Add symbol.
11450 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
11452 2018-07-31 Carlos O'Donell <carlos@redhat.com>
11454 * manual/install.texi: Update versions.
11455 * INSTALL: Regenerate.
11457 * manual/contrib.texi (Contributors): Update contributions.
11459 2018-07-31 Carlos O'Donell <carlos@redhat.com>
11461 * po/be.po: Update translations.
11463 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11465 * sysdeps/sh/libm-test-ulps: Update.
11467 2018-07-30 Carlos O'Donell <carlos@redhat.com>
11469 * po/bg.po: Update translations.
11470 * po/de.po: Likewise.
11471 * po/hr.po: Likewise.
11472 * po/pt_BR.po: Likewise.
11473 * po/sv.po: Likewise.
11474 * po/vi.po: Likewise.
11476 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11479 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11480 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
11481 (CFLAGS-tst-cet-property-1.o): New.
11482 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
11483 ($(objpfx)tst-cet-property-2): Likewise.
11484 ($(objpfx)tst-cet-property-2.out): Likewise.
11485 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
11486 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
11487 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
11488 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
11489 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
11491 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11494 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
11496 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11498 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
11499 __sbrk): Do not set attribute_hidden.
11500 * sysdeps/mach/hurd/not-errno.h: New file.
11501 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11502 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
11504 2018-07-27 Carlos O'Donell <carlos@redhat.com>
11506 * po/uk.po: Update translations.
11507 * po/cs.po: Likewise.
11508 * po/pl.po: Likewise.
11510 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
11512 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
11513 parse beyond the note end.
11515 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11517 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
11518 kernel does not support OFD locks.
11519 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
11521 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11523 * sysdeps/mach/hurd/Versions (libc): Make __access and
11524 __access_noerrno external so they can override the ld symbols.
11525 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
11526 __writev, __open64, __access_noerrno extern so they can be overrided.
11527 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
11528 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11530 2018-07-26 Carlos O'Donell <carlos@redhat.com>
11532 * po/libc.pot: Regenerate.
11534 2018-07-26 Joseph Myers <joseph@codesourcery.com>
11536 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
11538 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11541 * sysdeps/x86/cpu-features.c (get_extended_indices): New
11543 (init_cpu_features): Call get_extended_indices for both Intel
11545 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
11546 Remove "for AMD" comment.
11548 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11551 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
11552 COMMON_CPUID_INDEX_80000001.
11554 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
11556 * string/tst-xbzero-opt.c (use_test_buffer): New function.
11557 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
11559 2018-07-26 Florian Weimer <fweimer@redhat.com>
11561 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
11562 aliases for symbols not in the implementation namespace.
11564 2018-07-25 Carlos O'Donell <carlos@redhat.com>
11567 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
11568 lowercase in LATIN script.
11569 * localedata/Makefile (test-input): Add en_US.UTF-8.
11570 * localedata/en_US.UTF-8.in: New file.
11571 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
11572 and restore old tests.
11573 * posix/tst-regexloc.c (do_test): Add back range expression test.
11575 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11577 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
11579 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11581 * nptl/threads.h: Move to ...
11582 * sysdeps/nptl/threads.h: ... here.
11583 * sysdeps/hurd/stdc-predef.h: New file.
11585 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11587 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11588 tst-cet-setcontext-1 if CET is enabled.
11589 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
11590 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
11592 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11594 * include/threads.h: Move to ...
11595 * sysdeps/nptl/threads.h: ... here.
11596 * sysdeps/htl/threads.h: New file.
11597 * conform/Makefile (linknamespace-libs-ISO11): Use
11598 static-thread-library instead of linking libpthread.
11599 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11601 2018-07-25 Florian Weimer <fweimer@redhat.com>
11603 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11604 nanoseconds into seconds.
11605 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11606 (do_test): Likewise.
11607 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11608 (do_test): Likewise. Avoid nanosecond overflow and spurious
11609 timeouts due to system load.
11610 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11611 (child_wait): Increment it.
11612 (do_test): Wait as long as necessary until all expected threads
11615 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11616 H.J. Lu <hongjiu.lu@intel.com>
11618 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11620 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11621 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11622 (__push___start_context): New.
11623 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11625 (__getcontext): Record the current shadow stack base. Save the
11626 caller's shadow stack pointer and base.
11627 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11628 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11629 (__push___start_context): New prototype.
11630 (__makecontext): Call __push___start_context to allocate a new
11631 shadow stack, push __start_context onto the new stack as well
11632 as the new shadow stack.
11633 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11635 (__setcontext): Restore the target shadow stack.
11636 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11638 (__swapcontext): Record the current shadow stack base. Save
11639 the caller's shadow stack pointer and base. Restore the target
11641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11642 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11643 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11645 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11647 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
11648 tst-setcontext8 and tst-setcontext9.
11649 * stdlib/tst-setcontext6.c: New file.
11650 * stdlib/tst-setcontext7.c: Likewise.
11651 * stdlib/tst-setcontext8.c: Likewise.
11652 * stdlib/tst-setcontext9.c: Likewise.
11654 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11656 * stdlib/Makefile ((tests): Add tst-setcontext5.
11657 * stdlib/tst-setcontext5.c: New file.
11659 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11661 * stdlib/Makefile (tests): Add tst-setcontext4.
11662 * stdlib/tst-setcontext4.c: New file.
11664 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11666 * stdlib/Makefile (tests): Add tst-swapcontext1.
11667 * stdlib/tst-swapcontext1.c: New test.
11669 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11671 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
11672 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
11673 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
11674 and tst-cet-legacy-4c.
11675 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
11676 and tst-cet-legacy-mod-4.
11677 (CFLAGS-tst-cet-legacy-2.c): New.
11678 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
11679 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
11680 (CFLAGS-tst-cet-legacy-3.c): Likewise.
11681 (CFLAGS-tst-cet-legacy-4.c): Likewise.
11682 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
11683 ($(objpfx)tst-cet-legacy-1): Likewise.
11684 ($(objpfx)tst-cet-legacy-2): Likewise.
11685 ($(objpfx)tst-cet-legacy-2.out): Likewise.
11686 ($(objpfx)tst-cet-legacy-2a): Likewise.
11687 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
11688 ($(objpfx)tst-cet-legacy-4): Likewise.
11689 ($(objpfx)tst-cet-legacy-4.out): Likewise.
11690 ($(objpfx)tst-cet-legacy-4a): Likewise.
11691 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
11692 (tst-cet-legacy-4a-ENV): Likewise.
11693 ($(objpfx)tst-cet-legacy-4b): Likewise.
11694 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
11695 (tst-cet-legacy-4b-ENV): Likewise.
11696 ($(objpfx)tst-cet-legacy-4c): Likewise.
11697 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
11698 (tst-cet-legacy-4c-ENV): Likewise.
11699 * sysdeps/x86/tst-cet-legacy-1.c: New file.
11700 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
11701 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
11702 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
11703 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
11704 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
11705 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
11706 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
11707 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
11708 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
11709 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
11711 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11713 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11714 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11716 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11717 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11720 2018-07-25 Andreas Schwab <schwab@suse.de>
11723 * locale/weightwc.h (findidx): Handle the case where usrc is a
11724 prefix of cp but one character too short.
11726 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11728 * NEWS: Add ISO C threads addition.
11730 2018-07-24 Florian Weimer <fweimer@redhat.com>
11732 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11733 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
11734 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
11737 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11739 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
11740 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
11741 <sys/prctl.h> and <asm/prctl.h>.
11742 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
11743 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
11745 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11746 ARCH_CET_LEGACY_BITMAP.
11747 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11748 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11749 * sysdeps/x86/libc-start.c: Include <startup.h>.
11751 2018-07-24 Florian Weimer <fweimer@redhat.com>
11753 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11754 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11756 2018-07-24 Rical Jasan <rj@2c3t.io>
11757 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11758 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11761 * manual/debug.texi: Update adjacent chapter name.
11762 * manual/probes.texi: Likewise.
11763 * manual/threads.texi (ISO C Threads): New section.
11764 (POSIX Threads): Convert to a section.
11766 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11767 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11770 * nptl/Makefile (tests): Add new test files.
11771 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11772 * nptl/tst-cnd-basic.c: Likewise.
11773 * nptl/tst-cnd-broadcast.c: Likewise.
11774 * nptl/tst-cnd-timedwait.c: Likewise.
11775 * nptl/tst-mtx-basic.c: Likewise.
11776 * nptl/tst-mtx-recursive.c: Likewise.
11777 * nptl/tst-mtx-timedlock.c: Likewise.
11778 * nptl/tst-mtx-trylock.c: Likewise.
11779 * nptl/tst-thrd-basic.c: Likewise.
11780 * nptl/tst-thrd-detach.c: Likewise.
11781 * nptl/tst-thrd-sleep.c: Likewise.
11782 * nptl/tst-tss-basic.c: Likewise.
11784 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11787 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11788 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11790 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11791 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11792 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11793 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11794 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11795 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11796 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11797 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11798 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11799 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11800 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11801 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11809 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11810 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11811 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11812 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11813 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11814 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11815 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11816 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11817 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11818 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11819 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11820 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11821 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11823 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11824 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11825 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11826 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11827 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11828 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11829 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11830 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11831 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11832 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11833 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11834 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11841 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11842 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11843 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11844 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11845 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11846 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11847 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11848 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11851 * conform/data/threads.h-data (thread_local): New macro.
11852 (TSS_DTOR_ITERATIONS): Likewise.
11854 (tss_dtor_t): Likewise.
11855 (tss_create): New function.
11856 (tss_get): Likewise.
11857 (tss_set): Likewise.
11858 (tss_delete): Likewise.
11859 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11860 tss_get, and tss_set objects.
11861 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11862 * nptl/tss_create.c: New file.
11863 * nptl/tss_delete.c: Likewise.
11864 * nptl/tss_get.c: Likewise.
11865 * nptl/tss_set.c: Likewise.
11866 * sysdeps/nptl/threads.h (thread_local): New define.
11867 (TSS_DTOR_ITERATIONS): Likewise.
11868 (tss_t): New typedef.
11869 (tss_dtor_t): Likewise.
11870 (tss_create): New prototype.
11871 (tss_get): Likewise.
11872 (tss_set): Likewise.
11873 (tss_delete): Likewise.
11876 * conform/data/threads.h-data (cnd_t): New type.
11877 (cnd_init): New function.
11878 (cnd_signal): Likewise.
11879 (cnd_broadcast): Likewise.
11880 (cnd_wait): Likewise.
11881 (cnd_timedwait): Likewise.
11882 (cnd_destroy): Likewise.
11883 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11884 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11886 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11887 * nptl/cnd_broadcast.c: New file.
11888 * nptl/cnd_destroy.c: Likewise.
11889 * nptl/cnd_init.c: Likewise.
11890 * nptl/cnd_signal.c: Likewise.
11891 * nptl/cnd_timedwait.c: Likewise.
11892 * nptl/cnd_wait.c: Likewise.
11893 * sysdeps/nptl/threads.h (cnd_t): New type.
11894 (cnd_init): New prototype.
11895 (cnd_signa): Likewise.
11896 (cnd_broadcast): Likewise.
11897 (cnd_wait): Likewise.
11898 (cnd_timedwait): Likewise.
11899 (cnd_destroy): Likewise.
11902 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11903 (once_flag): New type.
11904 (call_once): New function.
11905 * nptl/Makefile (libpthread-routines): Add call_once object.
11906 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11907 * nptl/call_once.c: New file.
11908 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11909 (once_flag): New type.
11910 (call_once): New prototype.
11913 * conform/data/threads.h-data (mtx_plain): New constant.
11914 (mtx_recursive): Likewise.
11915 (mtx_timed): Likewise.
11917 (mtx_init): New function.
11918 (mtx_lock): Likewise.
11919 (mtx_timedlock): Likewise.
11920 (mtx_trylock): Likewise.
11921 (mtx_unlock): Likewise.
11922 (mtx_destroy): Likewise.
11923 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11924 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11925 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11926 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11927 * nptl/mtx_destroy.c: New file.
11928 * nptl/mtx_init.c: Likewise.
11929 * nptl/mtx_lock.c: Likewise.
11930 * nptl/mtx_timedlock.c: Likewise.
11931 * nptl/mtx_trylock.c: Likewise.
11932 * nptl/mtx_unlock.c: Likewise.
11933 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11934 (mtx_recursive): Likewise.
11935 (mtx_timed): Likewise.
11937 (mtx_init): New prototype.
11938 (mtx_lock): Likewise.
11939 (mtx_timedlock): Likewise.
11940 (mtx_trylock): Likewise.
11941 (mtx_unlock): Likewise.
11942 (mtx_destroy): Likewise.
11945 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11946 (linknamespace-libs-ISO11): Add libpthread.a.
11947 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11949 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11950 * nptl/Makefile (headers): Add threads.h.
11951 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11952 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11954 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11955 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11956 thrd_join, thrd_sleep, and thrd_yield symbols.
11957 * nptl/descr.h (struct pthread): Add c11 field.
11958 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11959 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11960 routine with expected function prototype.
11961 (__pthread_create_2_1): Add C11 threads check based on attribute
11963 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11964 * nptl/thrd_create.c: New file.
11965 * nptl/thrd_current.c: Likewise.
11966 * nptl/thrd_detach.c: Likewise.
11967 * nptl/thrd_equal.c: Likewise.
11968 * nptl/thrd_exit.c: Likewise.
11969 * nptl/thrd_join.c: Likewise.
11970 * nptl/thrd_priv.h: Likewise.
11971 * nptl/thrd_sleep.c: Likewise.
11972 * nptl/thrd_yield.c: Likewise.
11973 * include/threads.h: Likewise.
11975 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11977 * bits/indirect-return.h: New file.
11978 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11979 * sysdeps/x86/bits/indirect-return.h: Likewise.
11980 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11981 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11982 (swapcontext): Add __INDIRECT_RETURN.
11983 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11984 (prepare_test_buffer): Use it.
11986 2018-07-24 Andreas Schwab <schwab@suse.de>
11989 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11990 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11992 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11994 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11995 Redefine if shadow stack is enabled.
11996 (SYSCALL_ERROR_LABEL): Likewise.
11997 (__vfork): Pop shadow stack and jump back to to caller directly
11998 when shadow stack is in use.
11999 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
12000 Redefine if shadow stack is enabled.
12001 (SYSCALL_ERROR_LABEL): Likewise.
12002 (__vfork): Pop shadow stack and jump back to to caller directly
12003 when shadow stack is in use.
12005 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12007 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
12010 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
12013 2018-07-20 Joseph Myers <joseph@codesourcery.com>
12015 * scripts/build-many-glibcs.py (Context.checkout): Default
12016 binutils version to 2.31 branch.
12018 2018-07-20 Zong Li <zong@andestech.com>
12020 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
12021 URL of gcc's tarball.
12023 2018-07-20 Florian Weimer <fweimer@redhat.com>
12026 * posix/regcomp.c (build_equiv_class): When comparing weights, do
12027 not compare an extra byte after the end of the weights.
12029 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12031 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
12033 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
12035 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
12036 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
12037 * scripts/check-execstack.awk: Consider `xfail' variable containing a
12038 list of libraries whose stack executability is expected.
12039 * elf/Makefile ($(objpfx)check-execstack.out): Pass
12040 $(check-execstack-xfail) to check-execstack.awk through `xfail'
12042 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
12043 libc.so libpthread.so.
12045 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
12047 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
12049 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
12051 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
12053 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
12055 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12057 * benchtests/scripts/compare_bench.py (__main__): use the argparse
12058 library to improve command line parsing.
12059 (__main__): make schema file as optional parameter (--schema),
12060 defaulting to benchtests/scripts/benchout.schema.json.
12061 (main): move out of the parsing stuff to __main_ and leave it
12062 only as caller of main comparison functions.
12064 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
12066 * NEWS: Add a note for Intel CET status.
12067 * manual/install.texi: Likewise.
12068 * INSTALL: Regenerated.
12070 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
12073 * localedata/locales/oc_FR (mon): Rename to...
12074 (alt_mon): This, then update October (typo fix).
12075 (mon): New content (genitive case, month names preceded by
12079 * localedata/locales/oc_FR (abday): Update all items.
12080 (day): Update Wednesday and Saturday (typo fixes).
12081 (abmon): Update all items, except May.
12082 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
12083 (LC_IDENTIFICATION): Bump the revision number and date.
12084 Keep the "category" entries in alphabetic order.
12085 (LC_ADDRESS): Remove no longer needed comment.
12086 (LC_COLLATE): Use “copy "ca_ES"”.
12087 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
12090 2018-07-18 Joseph Myers <joseph@codesourcery.com>
12092 * grp/tst_fgetgrent.c: Include <unistd.h>.
12093 (main): Use mkstemp instead of tmpnam.
12094 * io/test-utime.c (main): Likewise.
12095 * posix/annexc.c (macrofile): Change to modifiable array.
12096 (main): Remove macrofile here.
12097 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12099 (check_header): Do not remove macrofile here.
12100 * posix/bug-getopt1.c: Include <stdlib.h>.
12101 (do_test): Use mkstemp instead of tmpnam.
12102 * posix/bug-getopt2.c: Include <stdlib.h>.
12103 (do_test): Use mkstemp instead of tmpnam.
12104 * posix/bug-getopt3.c: Include <stdlib.h>.
12105 (do_test): Use mkstemp instead of tmpnam.
12106 * posix/bug-getopt4.c: Include <stdlib.h>.
12107 (do_test): Use mkstemp instead of tmpnam.
12108 * posix/bug-getopt5.c: Include <stdlib.h>.
12109 (do_test): Use mkstemp instead of tmpnam.
12110 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
12111 (main): Use mkstemp instead of tmpnam.
12112 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
12113 (main): Use mkstemp instead of tmpnam.
12114 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
12115 (main): use mkstemp instead of tmpnam.
12116 * stdlib/isomac.c (macrofile): Change to modifiable array.
12117 (main): Remove macrofile here.
12118 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12120 (check_header): Do not remove macrofile here.
12122 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12124 * manual/tunables.texi: Document glibc.tune.x86_ibt and
12125 glibc.tune.x86_shstk.
12127 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12129 * NEWS: Mention --enable-cet.
12130 * manual/install.texi: Document --enable-cet.
12131 * INSTALL: Regenerated.
12133 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12135 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
12136 Add _CET_NOTRACK before indirect jump to jump table.
12138 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12140 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
12141 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12144 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12146 * sysdeps/i386/i686/multiarch/strcat-sse2.S
12147 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12150 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12152 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
12153 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12156 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12158 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
12159 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12162 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12164 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
12165 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12167 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
12169 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12171 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
12172 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12175 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12177 * sysdeps/i386/i686/multiarch/memset-sse2.S
12178 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12181 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12183 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
12184 indirect jump to jump table.
12186 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12188 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
12189 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12191 (MEMCPY): Likewise.
12193 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12195 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
12196 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12198 (MEMCPY): Likewise.
12200 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12202 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12203 _CET_NOTRACK before indirect jump to jump table.
12205 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12207 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
12208 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12211 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12213 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
12214 indirect jump to jump table.
12216 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
12219 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
12220 (LOCALES): Likewise.
12221 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
12222 * localedata/locales/sah_RU: New file.
12223 * localedata/sah_RU.UTF-8.in: New file.
12225 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12227 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
12229 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12230 _CET_ENDBR to indirect jump targets and adjust jump destination
12232 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
12234 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12235 _CET_ENDBR to indirect jump targets and adjust jump destination
12237 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
12239 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
12240 _CET_ENDBR to indirect jump targets and adjust jump destination
12243 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12245 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12248 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12250 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
12252 (_dl_tlsdesc_undefweak): Likewise.
12253 (_dl_tlsdesc_dynamic): Likewise.
12254 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
12255 (_dl_tlsdesc_resolve_rel): Likewise.
12256 (_dl_tlsdesc_resolve_rela): Likewise.
12257 (_dl_tlsdesc_resolve_hold): Likewise.
12258 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
12259 (_dl_tlsdesc_undefweak): Likewise.
12260 (_dl_tlsdesc_dynamic): Likewise.
12261 (_dl_tlsdesc_resolve_rela): Likewise.
12262 (_dl_tlsdesc_resolve_hold): Likewise.
12264 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12266 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
12268 * sysdeps/x86_64/crti.S (_init): Likewise.
12271 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
12274 * localedata/locales/os_RU (mon): Rename to...
12276 (mon): Import from CLDR (genitive case).
12278 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12280 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
12281 cet-tunables.h> when CET is enabled.
12283 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
12286 * configure.ac: Add --enable-cet.
12287 * configure: Regenerated.
12288 * elf/Makefille (all-built-dso): Add a comment.
12289 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
12290 Include <dl-prop.h>.
12291 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
12293 * elf/dl-open.c: Include <dl-prop.h>.
12294 (dl_open_worker): Call _dl_open_check.
12295 * elf/rtld.c: Include <dl-prop.h>.
12296 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
12298 * sysdeps/generic/dl-prop.h: New file.
12299 * sysdeps/i386/dl-cet.c: Likewise.
12300 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
12301 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
12302 * sysdeps/x86/cet-tunables.h: Likewise.
12303 * sysdeps/x86/check-cet.awk: Likewise.
12304 * sysdeps/x86/configure: Likewise.
12305 * sysdeps/x86/configure.ac: Likewise.
12306 * sysdeps/x86/dl-cet.c: Likewise.
12307 * sysdeps/x86/dl-procruntime.c: Likewise.
12308 * sysdeps/x86/dl-prop.h: Likewise.
12309 * sysdeps/x86/libc-start.h: Likewise.
12310 * sysdeps/x86/link_map.h: Likewise.
12311 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
12313 (_dl_runtime_profile): Likewise.
12314 (_dl_runtime_resolve_shstk): New.
12315 (_dl_runtime_profile_shstk): Likewise.
12316 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
12318 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
12319 (CFLAGS-.os): Likewise.
12320 (CFLAGS-.op): Likewise.
12321 (CFLAGS-.oS): Likewise.
12322 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
12324 (tests-special): Add $(objpfx)check-cet.out.
12325 (cet-built-dso): New.
12326 (+$(cet-built-dso:=.note)): Likewise.
12327 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
12328 ($(objpfx)check-cet.out): New.
12329 (generated): Add check-cet.out.
12330 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
12332 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
12333 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12334 (init_cpu_features): Call get_cet_status to check CET status
12335 and update dl_x86_feature_1 with CET status. Call
12336 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
12337 (set_x86_shstk). Disable and lock CET in libc.a.
12338 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
12339 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
12340 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12341 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
12342 (_CET_ENDBR): Define if not defined.
12343 (ENTRY): Add _CET_ENDBR.
12344 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
12346 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
12348 (_dl_runtime_profile): Likewise.
12350 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
12353 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
12354 restore r2 on longjmp.
12355 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
12357 Added rules to build test tst-setjmp-bug21895-static.
12358 Added module setjmp-bug21895 and rules to build a shared object from it.
12359 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
12360 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
12362 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
12364 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
12365 * benchtests/bench-strstr.c: Likewise.
12366 * string/memmem.c (FASTSEARCH): Define.
12367 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
12368 Add support for FASTSEARCH.
12369 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
12370 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
12371 (FASTSEARCH): Define.
12372 * string/test-strcasestr.c: Rename __strnlen to strnlen.
12373 * string/test-strstr.c: Likewise.
12375 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
12377 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
12378 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
12380 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
12381 H.J. Lu <hongjiu.lu@intel.com>
12383 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
12384 (__longjmp): Restore shadow stack pointer if shadow stack is
12385 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12386 isn't defined for __longjmp_cancel.
12387 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
12388 (_setjmp): Save shadow stack pointer if shadow stack is enabled
12389 and SHADOW_STACK_POINTER_OFFSET is defined.
12390 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
12391 (setjmp): Save shadow stack pointer if shadow stack is enabled
12392 and SHADOW_STACK_POINTER_OFFSET is defined.
12393 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
12394 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12395 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12396 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
12398 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12399 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12400 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
12401 Remove jmp_buf-ssp.sym.
12402 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12404 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12405 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12406 * sysdeps/x86/Makefile (gen-as-const-headers): Add
12408 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
12409 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
12410 (__longjmp): Restore shadow stack pointer if shadow stack is
12411 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12412 isn't defined for __longjmp_cancel.
12413 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
12414 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12415 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12417 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
12420 * nptl/pthread_create.c: Include <tls-setup.h>.
12421 (__pthread_create_2_1): Call tls_setup_tcbhead.
12422 * sysdeps/generic/tls-setup.h: New file.
12423 * sysdeps/x86/nptl/tls-setup.h: Likewise.
12424 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
12425 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
12427 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
12429 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12430 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
12431 (X86_FEATURE_1_SHSTK): Likewise.
12432 (CET_ENABLED): Likewise.
12433 (IBT_ENABLED): Likewise.
12434 (SHSTK_ENABLED): Likewise.
12436 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
12439 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
12440 (LOCALES): Likewise.
12441 * localedata/dsb_DE.UTF-8.in: New file.
12442 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
12444 2018-07-12 Florian Weimer <fweimer@redhat.com>
12446 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
12447 __mprotect, not mprotect.
12449 2018-07-11 Florian Weimer <fweimer@redhat.com>
12451 * io/Makefile (headers): Add bits/statx.h.
12453 2018-07-10 Mike FABIAN <mfabian@redhat.com>
12455 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
12456 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
12458 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
12459 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
12462 2018-07-10 Florian Weimer <fweimer@redhat.com>
12464 * io/Makefile (routines): Add statx.
12465 (tests-internal): Add tst-statx.
12466 * io/Versions (GLIBC_2.28): Export statx.
12467 * io/bits/statx.h: New file.
12468 * io/sys/stat.h [__USE_GNU]: Include it.
12469 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
12470 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
12472 * io/statx.c: New file.
12473 * io/statx_generic.: Likewise.
12474 * io/tst-statx.: Likewise.
12475 * include/bits/statx.h: Likewise.
12476 * sysdeps/unix/sysv/linux/kernel-features.h
12477 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
12478 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12479 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
12480 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
12482 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12483 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
12484 * sysdeps/unix/sysv/linux/statx.c: New file.
12485 * manual/filesys.texi: Note that statx is undocumented.
12486 * sysdeps/**/libc*.abilist: Update.
12488 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12490 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
12491 a kernel issue which lead to test failure in some cases.
12493 2018-07-10 Florian Weimer <fweimer@redhat.com>
12496 * posix/regexec.c (check_node_accept_bytes): When comparing
12497 weights, do not compare an extra byte after the end of the
12500 2018-07-10 Florian Weimer <fweimer@redhat.com>
12502 * libio/readline.c: Fix copyright year.
12503 * libio/tst-readline.c Likewise.
12504 * nss/tst-nss-files-hosts-getent.c: Likewise.
12506 2018-07-06 Florian Weimer <fweimer@redhat.com>
12509 * nss/nss_files/files-XXX.c (internal_getent): Use
12510 __libc_readline_unlocked. Seek back to the start of the line if
12511 parsing failes with ERANGE.
12512 (get_contents_ret, get_contents): Remove.
12513 * nss/tst-nss-files-hosts-getent.c: New file.
12514 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
12515 (tst-nss-files-hosts-getent): Link with -ldl.
12517 2018-07-06 Florian Weimer <fweimer@redhat.com>
12519 * include/stdio.h (__libc_readline_unlocked): Declare.
12520 (__ftello64, __fseeko64): Declare aliases.
12521 * libio/readline.c: New file.
12522 * libio/tst-readline.c: Likewise.
12523 (routines): Add readline.
12524 (tests-internal): Add tst-readlime.
12525 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
12526 __libc_readline_unlocked.
12527 * libio/fseeko.c (__fseeko): Rename from fseeko.
12528 (fseeko): Add alias.
12529 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
12530 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
12531 (fseeko64): Add alias.
12532 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
12533 * libio/ftello64.c (__ftello64): Rename from ftello64.
12534 (ftello64): Add alias.
12536 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12538 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
12541 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12543 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
12544 Use dl_hwcap without masking.
12545 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
12546 Remove HWCAP_CPUID.
12548 2018-07-06 Florian Weimer <fweimer@redhat.com>
12550 * conform/conformtest.pl (checknamespace): Escape literal braces
12551 in regular expressions.
12553 2018-07-06 Amit Pawar <amit.pawar@amd.com>
12555 * sysdeps/x86/cpu-features.c (get_common_indeces):
12556 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
12557 * sysdeps/x86/cpu-features.c (init_cpu_features):
12558 AVX_Fast_Unaligned_Load is disabled for Excavator core.
12560 2018-07-05 Florian Weimer <fweimer@redhat.com>
12562 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
12564 (CFLAGS-elf-init.oS): Likewise.
12566 2018-07-05 Florian Weimer <fweimer@redhat.com>
12567 Carlos O'Donell <carlos@redhat.com>
12569 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
12570 $(no-stack-protector). stack_chk_fail_local.c can be compiled
12571 with stack protector enabled because there is no risk of infinite
12574 2018-07-05 Maciej W. Rozycki <macro@mips.com>
12578 * libc-abis (ABSOLUTE): New ABI.
12579 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
12580 * NEWS: Mention the new ABI.
12582 2018-07-05 Florian Weimer <fweimer@redhat.com>
12585 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
12586 (RENAME_WHITEOUT): Define.
12587 [__USE_GNU] (renameat2): Declare.
12588 * stdio-common/Makefile (routines): Add renameat2.
12589 (tests): Add tst-renameat2.
12590 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
12591 * stdio-common/renameat2.c: New file.
12592 * stdio-common/tst-renameat2.c: Likewise.
12593 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12594 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12596 * sysdeps/unix/sysv/linux/kernel-features.h
12597 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12598 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12599 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12600 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12601 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12602 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12603 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12604 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12605 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12606 * include/stdio.h (__renameat): Add alias for renameat.
12607 * stdio-common/renameat.c (__renameat): Rename from renameat.
12608 Add hidden definition and alias.
12609 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12610 * sysdeps/mach/hurd/renameat.c: Likewise.
12611 * sysdeps/**/libc*.abilist: Add renameat2.
12613 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12615 * posix/bug-regex33.c: Fix build after regex sync.
12617 2018-07-04 Carlos O'Donell <carlos@redhat.com>
12620 * localedata/tst-langinfo-setlocale.c: New file.
12621 * localedata/tst-langinfo-setlocale-static.c: New file.
12622 * localedata/tst-langinfo-newlocale.c: New file.
12623 * localedata/tst-langinfo-newlocale-static.c: New file.
12624 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12625 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12626 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12627 (tests-static): Remove tst-langinfo-static. Add
12628 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12629 (tests-special): Remove $(objpfx)tst-langinfo.out,
12630 $(objpfx)tst-langinfo-static.out. Add
12631 $(objpfx)tst-langinfo-setlocale.out,
12632 $(objpfx)tst-langinfo-newlocale.out,
12633 $(objpfx)tst-langinfo-setlocale-static.out,
12634 $(objpfx)tst-langinfo-newlocale-static.out.
12635 ($(objpfx)tst-langinfo.out): Remove.
12636 ($(objpfx)tst-langinfo-static.out): Remove.
12637 ($(objpfx)tst-langinfo-newlocale.out): New target.
12638 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12639 (test-xfail-tst-langinfo-newlocale-static): Add.
12640 ($(objpfx)tst-langinfo-setlocale.out): New target.
12641 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12642 * localedata/tst-langinfo.c: Call test_locale.
12643 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12646 2018-07-04 Florian Weimer <fweimer@redhat.com>
12648 testrun.sh: Implement --tool=strace, --tool=valgrind
12649 * Makefile (testrun-script): Define variable.
12650 (testrun.sh): Use variable.
12651 * manual/install.texi (Tools for Compilation): make 4.0 or later
12653 * configure.ac: Check for make 4.0 or later.
12654 * INSTALL: Regenerate.
12655 * configure: Likewise.
12657 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12663 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
12664 * posix/PCRE.tests: Remove invalid test.
12665 * posix/bug-regex28.c: Fix expected values for used syntax.
12666 * posix/bug-regex37.c: New file.
12667 * posix/bug-regex38.c: Likewise.
12668 * posix/regcomp.c: Sync with gnulib.
12669 * posix/regex.c: Likewise.
12670 * posix/regex.h: Likewise.
12671 * posix/regex_internal.c: Likewise.
12672 * posix/regex_internal.h: Likewise.
12673 * posix/regexec.c: Likewise.
12675 2018-06-26 Mike FABIAN <mfabian@redhat.com>
12678 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
12679 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
12680 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
12681 * localedata/unicode-gen/PropList.txt: likewise.
12682 * localedata/unicode-gen/UnicodeData.txt: likewise.
12683 * localedata/charmaps/UTF-8: Regenerate.
12684 * localedata/locales/i18n_ctype: likewise.
12685 * localedata/locales/tr_TR: likewise.
12686 * localedata/locales/translit_circle: likewise.
12687 * localedata/locales/translit_cjk_compat: likewise.
12688 * localedata/locales/translit_combining: likewise.
12689 * localedata/locales/translit_compat: likewise.
12690 * localedata/locales/translit_font: likewise.
12691 * localedata/locales/translit_fraction: likewise.
12693 2018-07-03 Florian Weimer <fweimer@redhat.com>
12696 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
12697 * stdio-common/tst-printf.sh: Adjust expected output.
12698 * LICENSES: Update.
12700 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12702 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
12705 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12707 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
12708 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
12709 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
12710 * stdio-common/tst-printfsz-islongdouble.c: New file.
12711 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
12712 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
12713 [subdir == stdio-common] (routines): Add ieee128-printf_size.
12714 [subdir == stdio-common] (tests-internal): Add
12715 test-printf-size-ieee128, and test-printf-size-ibm128.
12716 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
12717 (CFLAGS-test-printf-size-ibm128.c): New variables.
12718 [subdir == stdio-common] (tests-special): Add
12719 $(objpfx)test-printf-size-ieee128.out and
12720 $(objpfx)test-printf-size-ibm128.out.
12721 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
12722 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
12723 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
12724 __printf_sizeieee128.
12725 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
12727 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
12729 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
12732 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12734 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
12735 (exp2f_inline): Likewise.
12736 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
12737 (__math_uflowf): Likewise.
12738 (__math_may_uflowf): Likewise.
12739 (__math_divzerof): Likewise.
12740 (__math_invalidf): Likewise.
12741 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
12742 (__math_oflowf): Likewise.
12743 (__math_uflowf): Likewise.
12744 (__math_may_uflowf): Likewise.
12745 (__math_divzerof): Likewise.
12746 (__math_invalidf): Likewise.
12748 2018-06-29 DJ Delorie <dj@redhat.com>
12749 Carlos O'Donell <carlos@redhat.com>
12752 * include/libc-symbols.h: Comment the freeres framework.
12753 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12754 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12755 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12756 * dlfcn/dlerror.c: Include libc-symbols.h
12757 (__dlerror_main_freeres): New function.
12758 * dlfcn/dlfreeres.c: New file.
12759 * dlfcn/sdlfreeres.c: New file.
12760 * include/dlfcn.h: Declare __dlerror_main_freeres.
12761 * malloc/set-freeres.c: Declare __libdl_freeres, and
12762 __libpthread_freeres.
12763 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12764 the releavant libraries are loaded.
12765 * malloc/thread-freeres.c: Add comments.
12766 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12767 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12768 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12769 (__free_stacks): Rename to...
12770 (free_stacks): ...this. Mark static.
12771 (queue_stack): Call free_stacks.
12772 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12773 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12774 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12775 ptr_freeres element from struct.
12776 (pthread_functions): Remove .ptr_freeres from struct initializer.
12777 [SHARED] (nptl_freeres): Remove.
12778 * nptl/nptlfreeres.c: New file.
12780 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12781 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12783 (__free_stacks): Rename to...
12784 (__nptl_stacks_freeres): ...this.
12785 (__shm_directory_freeres): Declare.
12786 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12787 (__nptl_unwind_freeres): ...this.
12788 * resolv/res-close.c: Add comment.
12789 * resolv/resolv_conf.c: Include libc-symbols.h.
12790 * string/strerror_l.c: Include libc-symbols.h.
12791 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12792 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12793 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12794 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12796 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12798 * stdlib/tst-strfmon_l.c: Add tests for long double.
12800 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
12803 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12804 * localedata/locales/dsb_DE: New file.
12806 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12809 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12811 (alt_mon): New entry, import from CLDR (nominative case).
12813 2018-06-29 Sylvain Lesage <severo@rednegra.net>
12816 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12818 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12820 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12821 Use vector registers.
12823 * sysdeps/aarch64/multiarch/memmove_falkor.S
12824 (__memcpy_falkor): Use vector registers.
12826 2018-06-29 Martin Sebor <msebor@redhat.com>
12828 * manual/stdio.texi (Customizing Printf): Mention interaction
12829 with GCC built-ins.
12831 2018-06-29 Maciej W. Rozycki <macro@mips.com>
12834 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12835 `st_value' is 0 if `st_shndx' is SHN_ABS.
12836 * elf/tst-absolute-zero.c: New file.
12837 * elf/tst-absolute-zero-lib.c: New file.
12838 * elf/tst-absolute-zero-lib.lds: New file.
12839 * elf/Makefile (tests): Add `tst-absolute-zero'.
12840 (modules-names): Add `tst-absolute-zero-lib'.
12841 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12842 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12843 ($(objpfx)tst-absolute-zero: New dependency.
12845 2018-06-29 Zack Weinberg <zackw@panix.com>
12847 * configure.ac: New command-line option --disable-crypt.
12848 Force --disable-nss-crypt when --disable-crypt is given, with a
12849 warning if it was explicitly enabled.
12850 * configure: Regenerate.
12851 * config.make.in: New boolean substitution variable $(build-crypt).
12852 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12853 when $(build-crypt).
12854 * manual/install.texi: Document --disable-crypt.
12855 * INSTALL: Regenerate.
12857 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12858 which is never set.
12859 * conform/Makefile: Only include libcrypt.a in
12860 linknamespace-libs-xsi and linknamespace-libs-XPG4
12861 when $(build-crypt).
12862 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12863 USE_CRYPT to 1 when $(build-crypt).
12864 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12865 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12866 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12868 2018-06-29 Zack Weinberg <zackw@panix.com>
12870 * crypt/crypt.h, posix/unistd.h: Update comments and
12871 prototypes for crypt and crypt_r.
12873 * manual/crypt.texi (Cryptographic Functions): New initial
12875 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12876 (Unpredictable Bytes): Improve initial exposition. Clarify error
12877 behavior of getentropy and getrandom.
12878 * manual/examples/genpass.c: Generate a salt using getentropy
12879 instead of the current time. Use hash $5$ (SHA-2-256).
12880 * manual/examples/testpass.c: Demonstrate validation against
12881 hashes generated with three different one-way functions.
12883 * manual/intro.texi: crypt.texi does not need an overview
12886 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12887 * manual/terminal.texi: Consistently refer to "passphrases"
12888 * instead of "passwords", and to the "user database" instead
12889 * of the "password database".
12890 * manual/users.texi: Similarly. Add notes about how actual
12891 passphrase hashes are now stored in the shadow database.
12892 Remove 20-year-old junk todo note.
12894 2018-06-29 Zack Weinberg <zackw@panix.com>
12896 * manual/crypt.texi: Use a normal top-level @node declaration.
12897 Move most of the introductory text to the 'crypt' section.
12898 Move the example programs below the @deftypefun for 'crypt_r'.
12899 Move the 'getpass' section...
12900 * manual/terminal.texi: ...here.
12902 2018-06-29 Zack Weinberg <zackw@panix.com>
12903 Florian Weimer <fweimer@redhat.com>
12905 * posix/unistd.h: Do not declare encrypt.
12906 (_XOPEN_CRYPT): Remove macro definition.
12907 (crypt): Declare only for _USE_MISC.
12908 * stdlib/stdlib.h: Do not declare setkey.
12909 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12910 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12912 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12913 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12914 into compat symbols. Don't define initial_perm if it's not
12916 * crypt/cert.c: Link explicitly with the expected versions for
12917 setkey and encrypt. If they are not available at all, mark
12918 the test as unsupported.
12920 * sunrpc/des_crypt.c: Unconditionally block linkage with
12921 cbc_crypt and ecb_crypt for new binaries.
12922 * sunrpc/des_soft.c: Unconditionally block linkage with
12923 des_setparity for new binaries.
12925 * manual/crypt.texi: Remove the entire "DES Encryption"
12926 section. Also remove the paragraph talking about FIPS 140-2
12927 from the introduction.
12928 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12929 of libgcrypt for "real" encryption, not DES.
12930 * manual/conf.texi (Constants for Sysconf): Mention that
12931 _XOPEN_CRYPT is no longer impelemented.
12933 * conform/data/unistd.h-data: Remove crypt function declaration.
12935 2018-06-29 Florian Weimer <fweimer@redhat.com>
12938 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12939 (disallow_malloc_check): Remove variable.
12940 (__malloc_check_init): Adjust.
12941 (malloc_set_state): Update comment.
12942 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12945 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12948 * localedata/locales/ast_ES (mon): Rename to...
12950 (mon): Import from CLDR (genitive case).
12952 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12953 Jakub Sitnicki <jkbs@redhat.com>
12956 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12957 on NLM_F_DUMP_INTR.
12959 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12961 * manual/llio.texi: Remove spurious space.
12963 2018-06-28 Florian Weimer <fweimer@redhat.com>
12966 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12969 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12971 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
12972 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
12973 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12974 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12975 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12976 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12977 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12979 2018-06-27 Maciej W. Rozycki <macro@mips.com>
12982 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12983 Copy and null-terminate entries that are not terminated, in
12984 addition to empty ones.
12986 2018-06-27 Florian Weimer <fweimer@redhat.com>
12989 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12990 (extend_alloca_account): Remove.
12991 * manual/stdio.texi (Variable Arguments Output): Update comment.
12993 2018-06-27 Joseph Myers <joseph@codesourcery.com>
12995 * nptl/sockperf.c: Remove file.
12997 2018-06-27 Florian Weimer <fweimer@redhat.com>
13000 * elf/dl-deps.c (_dl_map_object_deps): Use struct
13001 scratch_buffer instead of extend_alloca.
13003 2018-06-27 Florian Weimer <fweimer@redhat.com>
13006 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
13007 scratch_buffer instead of extend_alloca. Update comments.
13009 2018-06-27 Florian Weimer <fweimer@redhat.com>
13012 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
13013 instead of extend_alloca.
13015 2018-06-26 Joseph Myers <joseph@codesourcery.com>
13018 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
13019 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
13021 * scripts/test-installation.pl: Put temporary files in build
13022 directory, not /tmp.
13023 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
13024 (CFLAGS-bug4.c): Likewise.
13025 (CFLAGS-bug5.c): Likewise.
13026 (CFLAGS-test-fseek.c): Likewise.
13027 (CFLAGS-test-popen.c): Likewise.
13028 (CFLAGS-test_rdwr.c): Likewise.
13029 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
13031 * stdio-common/bug4.c (main): Likewise.
13032 * stdio-common/bug5.c (main): Likewise.
13033 * stdio-common/test-fseek.c (TESTFILE): Likewise.
13034 * stdio-common/test-popen.c (do_test): Likewise.
13035 * stdio-common/test_rdwr.c (main): Likewise.
13037 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
13039 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
13040 (sem_open): Set sem.newsem.pad to zero for valgrind.
13042 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13045 * NEWS: Mention fcntl64 addition.
13046 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
13047 * login/utmp_file.c: Likewise.
13048 * sysdeps/posix/fdopendir.c: Likewise.
13049 * sysdeps/posix/opendir.c: Likewise.
13050 * sysdeps/unix/pt-fcntl.c: Likewise.
13051 * include/fcntl.h (__libc_fcntl64, __fcntl64,
13052 __fcntl64_nocancel_adjusted): New prototype.
13053 (__fcntl_nocancel_adjusted): Remove prototype.
13054 * io/Makefile (routines): Add fcntl64.
13055 (CFLAGS-fcntl64.c): New rule.
13056 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
13057 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
13058 * io/fcntl.h (fcntl64): Add prototype and redirect if
13059 __USE_FILE_OFFSET64 is defined.
13060 * io/fcntl64.c: New file.
13061 * manual/llio.text: Add a note for which commands fcntl acts a
13062 cancellation point.
13063 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
13064 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
13065 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
13067 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
13068 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
13070 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
13071 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
13072 to __fcntl64_nocancel.
13073 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
13074 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
13075 to __fcntl64_nocancel.
13076 * sysdeps/generic/not-cancel.h: Likewise.
13077 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
13078 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
13079 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13080 (fcntl64): New symbol.
13081 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13082 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13083 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13086 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13087 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13088 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13089 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13090 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13091 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
13092 fcntl64): Likewise.
13093 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13094 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
13095 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13096 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13097 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13098 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13099 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13100 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13101 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13106 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13107 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13108 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13110 2018-06-26 Florian Weimer <fweimer@redhat.com>
13112 Run thread shutdown functions in an explicit order.
13113 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
13115 (__libc_thread_freeres): Call thread shutdown functions
13117 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
13118 * include/string.h (__strerror_thread_freeres): Declare.
13119 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
13120 arena_thread_freeres. No longer static. Remove thread shutdown
13122 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
13124 * resolv/res-close.c (__res_thread_freeres): Renamed from
13125 res_thread_freeres. No longer static. Remove thread shutdown
13127 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
13128 * resolv/resolv_conf.c (freeres): Remove incorrect section
13129 attribute and use libc_freeres_fn.
13130 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
13131 strerror_thread_freeres. No longer static. Remove thread
13132 shutdown hook registration.
13133 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
13134 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
13135 shutdown hook registration.
13136 * Makerules (shlib.lds): Do not provide section boundary symbols
13137 for __libc_thread_subfreeres.
13138 * manual/memory.texi (Basic Allocation): Update comment.
13140 2018-06-26 Florian Weimer <fweimer@redhat.com>
13142 Remove always-defined _RPC_THREAD_SAFE_ macro.
13143 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
13144 Do not define _RPC_THREAD_SAFE_.
13145 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
13147 * sunrpc/clnt_perr.c: Likewise.
13148 * sunrpc/clnt_raw.c: Likewise.
13149 * sunrpc/clnt_simp.c: Likewise.
13150 * sunrpc/key_call.c: Likewise.
13151 * sunrpc/rpc_common.c: Likewise.
13152 * sunrpc/rpc_main.c: Likewise.
13153 * sunrpc/rpc_thread.c: Likewise.
13154 * sunrpc/svc.c: Likewise.
13155 * sunrpc/svc_raw.c: Likewise.
13156 * sunrpc/svc_simple.c: Likewise.
13157 * sumrpc/svcauth_des.c: Likewise.
13159 2018-06-26 Florian Weimer <fweimer@redhat.com>
13161 * libio/Makefile (tests-internal): Add tst-vtables,
13162 tst-vtables-interposed.
13163 * libio/tst-vtables.c: New file.
13164 * libio/tst-vtables-common.c: Likewise.
13165 * libio/tst-vtables-interposed.c: Likewise.
13167 2018-06-26 Florian Weimer <fweimer@redhat.com>
13169 * support/support_test_main.c (support_test_main): Only call
13170 setvbuf if not disables.
13171 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
13172 * support/test-driver.h (struct test_config): Add no_setvbuf member.
13174 2018-06-26 Florian Weimer <fweimer@redhat.com>
13177 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
13179 2018-06-25 Florian Weimer <fweimer@redhat.com>
13182 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13183 Use struct scratch_buffer instead of extend_alloca.
13185 2018-06-25 Florian Weimer <fweimer@redhat.com>
13188 * nss/getent.c (initgroups_keys): Use dynarray instead of
13191 2018-06-25 Florian Weimer <fweimer@redhat.com>
13194 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
13195 Use struct scratch_buffer instead of extend_alloca.
13197 2018-06-25 Florian Weimer <fweimer@redhat.com>
13200 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
13201 back to malloc directly, without stack allocations.
13203 2018-06-25 Florian Weimer <fweimer@redhat.com>
13206 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
13209 2018-06-25 Florian Weimer <fweimer@redhat.com>
13212 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
13214 * nscd/hstcache.c (addhstbyX): Likewise.
13215 * nscd/pwdcache.c (addpwbyX): Likewise.
13216 * nscd/servicescache.c (addservbyX): Likewise.
13218 2018-06-25 Florian Weimer <fweimer@redhat.com>
13221 * nscd/connections.c (read_cmdline): New function.
13222 (restart): Use it. Update comment.
13224 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13227 * localedata/locales/csb_PL (mon): Rename to...
13229 (abmon): Rename to...
13230 (ab_alt_mon): This.
13231 (mon): Add with proper genitive forms, copy from Wikipedia.
13234 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13237 * localedata/locales/csb_PL (mon): Fix typos:
13238 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
13239 (yesstr): Add, value is "jo".
13240 (nostr): Add, value is "nié".
13242 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13244 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
13245 all log1p and significand functions on m680x0.
13246 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
13247 of s_significand.c..
13248 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13249 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
13250 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
13251 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
13252 s_log1p.c and include it..
13254 2018-06-21 Vincent Chen <vincentc@andestech.com>
13256 * elf/elf.h (R_NDS32_NONE): New define.
13257 (R_NDS32_32_RELA): Likewise.
13258 (R_NDS32_COPY): Likewise.
13259 (R_NDS32_GLOB_DAT): Likewise.
13260 (R_NDS32_JUMP_SLOT): Likewise.
13261 (R_NDS32_RELATIVE): Likewise.
13262 (R_NDS32_TLS_TPOFF): Likewise.
13263 (R_NDS32_TLS_DESC): Likewise.
13265 2018-06-21 Mark Wielaard <mark@klomp.org>
13267 * elf/elf.h (R_BPF_MAP_FD): Removed.
13268 (R_BPF_64_64, R_BPF_64_32): New.
13270 2018-06-21 Florian Weimer <fweimer@redhat.com>
13273 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
13274 Renamed from libc_feholdsetround_ctx.
13275 (default_libc_feresetround_ctx): Renamed from
13276 libc_feresetround_ctx.
13277 (default_libc_feholdsetround_noex_ctx): Renamed from
13278 libc_feholdsetround_noex_ctx.
13279 (default_libc_feresetround_noex_ctx): Renamed from
13280 libc_feresetround_noex_ctx.
13281 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
13282 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
13283 forwardning to the old implementations under the new names.
13284 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
13285 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
13286 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
13287 (libc_feresetround_ctx): Forward to default implements for i386
13288 and MATH_SET_BOTH_ROUNDING_MODES.
13289 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
13290 Add -DMATH_SET_BOTH_ROUNDING_MODES.
13292 2018-06-20 Joseph Myers <joseph@codesourcery.com>
13294 * string/tst-cmp.c: Include <libc-diag.h>.
13295 (strncmp_max): Disable -Wstringop-overflow= around call to
13297 (strncasecmp_max): Disable -Wstringop-overflow= around call to
13300 * string/bug-strpbrk1.c: Include <libc-diag.h>.
13301 (main): Disable -Wunused-value around call to strpbrk.
13302 * string/bug-strspn1.c: Include <libc-diag.h>.
13303 (main): Disable -Wunused-value around call to strspn.
13305 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13306 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13308 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
13309 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
13311 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13313 * math/Makefile (libm-calls): Move s_significandF to...
13314 (gen-libm-calls): ... here.
13315 * math/s_significand_template.c: New file.
13316 * math/s_significand.c: Removed.
13317 * math/s_significandf.c: Removed.
13318 * math/s_significandl.c: Removed.
13319 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
13320 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
13322 * math/e_exp2_template.c (declare_mgen_finite_alias,
13323 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
13324 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
13325 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
13327 2018-06-20 Florian Weimer <fweimer@redhat.com>
13329 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
13331 2018-06-19 Joseph Myers <joseph@codesourcery.com>
13334 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
13335 floating-point number to strtod functions rather than possibly
13336 negating result of those functions.
13337 * stdio-common/tst-scanf-round.c: New file.
13338 * stdio-common/Makefile (tests): Add tst-scanf-round.
13339 ($(objpfx)tst-scanf-round): Depend on $(libm).
13341 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13343 * sysdeps/mach/hurd/localplt.data: Move to...
13344 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
13345 R_386_GLOB_DAT like on Linux i386.
13347 2018-06-18 Joseph Myers <joseph@codesourcery.com>
13349 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
13350 (SHM_STAT_ANY): New macro.
13351 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
13352 (SHM_STAT_ANY): Likewise.
13353 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
13354 (SHM_STAT_ANY): Likewise.
13355 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
13356 (SHM_STAT_ANY): Likewise.
13357 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
13358 (SHM_STAT_ANY): Likewise.
13359 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
13360 (SHM_STAT_ANY): Likewise.
13361 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
13362 (SHM_STAT_ANY): Likewise.
13363 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
13364 (SHM_STAT_ANY): Likewise.
13365 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
13366 (SHM_STAT_ANY): Likewise.
13367 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
13368 (SHM_STAT_ANY): Likewise.
13369 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
13370 (SHM_STAT_ANY): Likewise.
13371 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
13372 (SHM_STAT_ANY): Likewise.
13374 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
13375 (SEM_STAT_ANY): New macro.
13376 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
13377 (SEM_STAT_ANY): Likewise.
13378 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
13379 (SEM_STAT_ANY): Likewise.
13380 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
13381 (SEM_STAT_ANY): Likewise.
13382 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
13383 (SEM_STAT_ANY): Likewise.
13384 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
13385 (SEM_STAT_ANY): Likewise.
13386 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
13387 (SEM_STAT_ANY): Likewise.
13388 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
13389 (SEM_STAT_ANY): Likewise.
13390 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
13391 (SEM_STAT_ANY): Likewise.
13392 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
13393 (SEM_STAT_ANY): Likewise.
13395 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
13396 (MSG_STAT_ANY): New macro.
13397 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
13398 (MSG_STAT_ANY): Likewise.
13399 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
13400 (MSG_STAT_ANY): Likewise.
13401 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
13402 (MSG_STAT_ANY): Likewise.
13403 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
13404 (MSG_STAT_ANY): Likewise.
13405 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
13406 (MSG_STAT_ANY): Likewise.
13407 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
13408 (MSG_STAT_ANY): Likewise.
13409 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
13410 (MSG_STAT_ANY): Likewise.
13411 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
13412 (MSG_STAT_ANY): Likewise.
13413 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
13414 (MSG_STAT_ANY): Likewise.
13416 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13417 (MAP_TYPE): Change value to 0x2b.
13419 2018-06-18 Florian Weimer <fweimer@redhat.com>
13422 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
13423 socket with SOCK_CLOEXEC.
13425 2018-06-18 Joseph Myers <joseph@codesourcery.com>
13428 * sysdeps/powerpc/powerpc64/le/Makefile
13429 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
13430 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
13431 (gnulib-tests): Also add $(f128-loader-link) for
13432 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
13434 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
13436 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
13437 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
13439 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
13440 (sendfile64): New strong alias.
13441 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
13442 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
13443 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
13444 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
13446 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
13447 ___pthread_get_cleanup_stack.
13448 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
13449 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
13450 * mach/shortcut.awk: Make syscall stubs include
13451 <mach-shortcuts-hidden.h> and add hidden definition.
13452 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
13453 (__mach_msg): Add hidden prototype.
13454 * mach/msg.c: Include <mach.h>.
13455 (__mach_msg): Add hidden definition.
13456 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
13457 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
13458 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
13459 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
13460 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
13461 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
13462 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
13463 prototype and definition.
13464 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
13465 hidden target for _hurd_self_sigstate.
13467 2018-06-15 Joseph Myers <joseph@codesourcery.com>
13470 * stdlib/tst-strtod-nan-sign-main.c: New file.
13471 * stdlib/tst-strtod-nan-sign.c: Likewise.
13472 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
13473 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
13474 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
13475 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
13476 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
13478 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
13481 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
13484 2018-06-14 Florian Weimer <fweimer@redhat.com>
13487 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
13488 that the result stays within the ISO-8859-1 range.
13489 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
13490 characters are defined in IBM273.
13492 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
13494 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
13495 __mach_task_self): Remove attribute_hidden.
13497 2018-06-14 Joseph Myers <joseph@codesourcery.com>
13499 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
13500 ignore -Wrestrict for one test.
13502 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
13503 Szabolcs Nagy <szabolcs.nagy@arm.com>
13505 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
13507 2018-06-14 Florian Weimer <fweimer@redhat.com>
13509 * scripts/update-abilist.sh: Accept empty list of files to patch.
13511 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
13513 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
13514 test-xfail-check-abi-libmachuser): Add.
13515 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
13516 __libc_read and __libc_write to __read and __write.
13517 * sysdeps/hurd/include/hurd/port.h: New file.
13518 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
13519 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
13520 __thread_switch, __evc_wait): Move declarations to...
13521 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
13523 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
13524 use PLT to call _hurd_self_sigstate.
13526 2018-06-13 Joseph Myers <joseph@codesourcery.com>
13529 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
13530 MAX_EXP as overflowing.
13531 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
13533 (round_str): Output also whether result overflows in each rounding
13535 * stdlib/tst-strtod-round-data: Add more tests.
13536 * stdlib/tst-strtod-round-data.h: Regenerated.
13537 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
13538 (TEST): Handle extra arguments for overflow flags.
13539 (struct test_overflow): New type.
13540 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
13541 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
13542 (test_in_one_mode): Take argument with overflow information.
13543 (do_test): Update calls to test_in_one_mode.
13545 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13547 * elf/dl-load (_dl_dst_substitute): Correct comment.
13548 (_dl_dst_count): Likewise.
13550 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
13551 lll_futex_timed_wait.
13553 2018-06-12 Joseph Myers <joseph@codesourcery.com>
13556 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
13558 * math/test-nan-const.c: New file.
13559 * math/Makefile (tests): Add test-nan-const.
13560 (CFLAGS-test-nan-const.c): New variable.
13562 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13564 * benchtests/scripts/compare_strings.py (process_results): Add
13565 funcs argument. Compare only functions which are selected.
13566 (main): Check if base function is among selected functions.
13567 Pass selected functions to process_results.
13568 (__main__): Add -f/--functions argument.
13570 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
13571 Hongbo Zhang <hongbo.zhang@linaro.org>
13573 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
13574 __memcpy_falkor for phecda core.
13575 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
13576 __memmove_falkor for phecda core.
13577 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
13578 __memset_falkor for phecda core.
13579 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
13581 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
13582 macro to identify phecda core.
13584 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13585 Andreas Schwab <schwab@suse.de>
13586 Dmitry V. Levin <ldv@altlinux.org>
13587 Florian Weimer <fweimer@redhat.com>
13594 * elf/dl-dst.h: Remove DL_DST_COUNT.
13595 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13596 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13597 (is_dst): Comment. Support ELF gABI.
13598 (_dl_dst_count): Comment. Simplify and count DSTs.
13599 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13600 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13603 2018-06-12 Zack Weinberg <zackw@panix.com>
13605 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13606 * sysdeps/unix/sysv/linux/dl-sysdep.c
13607 Include not-cancel.h. Use __close_nocancel instead of __close,
13608 __open64_nocancel instead of __open, __read_nocancel instead of
13609 __libc_read, and __write_nocancel instead of __libc_write.
13611 * csu/check_fds.c (check_one_fd)
13612 * sysdeps/posix/fdopendir.c (__fdopendir)
13613 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
13614 instead of __fcntl and/or __libc_fcntl.
13616 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13617 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
13618 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
13619 Use __open64_nocancel instead of __open_nocancel.
13621 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13622 hidden_proto declarations to the end and issue them if either
13623 IS_IN(libc) or IS_IN(rtld).
13624 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13625 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13626 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13627 read_nocancel, waitpid_nocancel, write_nocancel.
13629 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13630 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13631 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
13633 * nptl/pt-fcntl.c: New file.
13634 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13635 (libpthread-routines): Add pt-fcntl.
13636 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13637 (__libc_fcntl): Remove attribute_hidden.
13638 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13639 __fcntl_nocancel_adjusted, not fcntl_common.
13640 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
13641 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13642 to fcntl_nocancel.c.
13643 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13646 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
13648 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
13649 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
13650 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
13651 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
13652 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
13653 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
13654 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
13655 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
13656 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
13657 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
13658 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
13659 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
13660 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
13661 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
13662 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
13663 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
13664 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
13665 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
13666 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
13667 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
13669 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
13670 libpthread-routines.
13671 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
13674 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
13675 __libc_read, and __write instead of __libc_write. Define
13676 __open64 in addition to __open.
13678 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13682 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
13683 to _private_tm[3] and add __glibc_reserved2.
13684 Add _Static_assert of offset of __private_ss == 0x30.
13685 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
13686 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
13688 2018-06-12 Florian Weimer <fweimer@redhat.com>
13690 x86: Make strncmp usable from rtld.
13691 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
13692 __strncmp_ia32 if in libc (and not in rtld).
13693 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
13694 strncmp if not in libc (and not to __strncmp_sse2).
13696 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
13699 * localedata/locales/gd_GB (mon): Rename to...
13701 (mon): Import from CLDR (genitive case).
13702 * localedata/locales/hsb_DE (mon): Rename to...
13704 (mon): Import from CLDR (genitive case).
13705 * localedata/locales/wa_BE (mon): Rename to...
13707 (mon): Add, fill with the proper genitive forms, but CLDR data
13708 is incomplete; completed according to the comments in this file.
13709 (d_t_fmt): Do not use "di" before the month name, no longer needed.
13711 * localedata/locales/wa_BE (country_name): Reword
13712 "Beljike" -> "Beldjike".
13714 2018-06-11 Joseph Myers <joseph@codesourcery.com>
13717 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
13718 cases of non-finite arguments.
13719 * math/libm-test-fma.inc (fma_test_data): Add more tests.
13721 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
13724 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
13726 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13729 * include/unistd.h (__execvpex): New prototype.
13730 * posix/Makefile (tests): Add tst-spawn4.
13731 (tests-internal): Add tst-spawn4-compat.
13732 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
13733 * posix/tst-spawn4-compat.c: New file.
13734 * posix/tst-spawn4.c: Likewise.
13735 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
13736 binaries as shell scripts.
13737 * sysdeps/posix/spawni.c (__spawni): Likewise.
13739 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
13742 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
13743 ($(all-built-dso:=.dynsym): New target.
13744 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
13745 ($(objpfx)check-initfini.out): New target.
13746 (generated): Add check-initfini.out.
13747 * scripts/check-initfini.awk: New file.
13748 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13750 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13752 * sysdeps/arm/crti.S (_init): Mark as hidden.
13754 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13756 * sysdeps/i386/crti.S (_init): Mark as hidden.
13758 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13760 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13762 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13764 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13766 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13768 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13770 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13772 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13774 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13776 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13778 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13780 * sysdeps/sh/crti.S (_init): Mark as hidden.
13782 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13784 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13787 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13789 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13790 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13791 and TF redirection to KFtype and KF only when the default
13792 long double type is not the IEEE 128-bit floating point type.
13794 2018-06-05 Joseph Myers <joseph@codesourcery.com>
13796 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13798 (HWCAP_USCAT): Likewise.
13799 (HWCAP_ILRCPC): Likewise.
13800 (HWCAP_FLAGM): Likewise.
13801 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13803 (_dl_aarch64_cap_flags): Add new flag names.
13805 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13806 (MAP_FIXED_NOREPLACE): New macro.
13807 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13808 (MAP_FIXED_NOREPLACE): Likewise.
13809 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13810 (MAP_FIXED_NOREPLACE): Likewise.
13811 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13812 (MAP_FIXED_NOREPLACE): Likewise.
13813 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13814 (MAP_FIXED_NOREPLACE): Likewise.
13815 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13816 (MAP_FIXED_NOREPLACE): Likewise.
13817 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13818 (MAP_FIXED_NOREPLACE): Likewise.
13819 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13820 (MAP_FIXED_NOREPLACE): Likewise.
13821 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13822 (MAP_FIXED_NOREPLACE): Likewise.
13823 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13824 (MAP_FIXED_NOREPLACE): Likewise.
13825 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13826 (MAP_FIXED_NOREPLACE): Likewise.
13827 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13828 (MAP_FIXED_NOREPLACE): Likewise.
13829 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13830 (MAP_FIXED_NOREPLACE): Likewise.
13831 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13832 (MAP_FIXED_NOREPLACE): Likewise.
13833 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13834 (MAP_FIXED_NOREPLACE): Likewise.
13836 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13839 2018-06-04 Joseph Myers <joseph@codesourcery.com>
13841 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13844 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13846 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13848 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13850 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13852 * benchtests/scripts/compare_string.py: (process_results) Catch
13853 exception in non-existent base_func and catch exception in
13854 non-existent attribute.
13855 (parse_file) Catch exception if input file does not exist.
13857 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13859 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13860 options to avoid diff calculation and omit header, respectively.
13861 (main): process --no-diff and --no-header
13863 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13864 H.J. Lu <hongjiu.lu@intel.com>
13866 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13867 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13869 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13870 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13871 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13872 and __wcsncmp_sse2.
13873 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13874 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13875 AVX unaligned load is fast and vzeroupper is preferred.
13876 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13877 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13878 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13879 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13880 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13881 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13882 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13883 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13884 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13885 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13888 2018-06-01 Florian Weimer <fweimer@redhat.com>
13890 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13891 configuring with --disable-multi-arch, building with
13892 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13895 2018-06-01 Florian Weimer <fweimer@redhat.com>
13897 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13898 results from building with “-march=x86-64 -mtune=generic
13899 -mfpmath=sse” and running on a Haswell-era CPU.
13901 2018-06-01 Joseph Myers <joseph@codesourcery.com>
13904 * soft-fp/sqrttf2.c: Remove file.
13905 * soft-fp/sqrtdf2.c: Move to ....
13906 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13908 (__sqrtdf2): Make conditional on
13909 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13911 * soft-fp/sqrtsf2.c: Move to ....
13912 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13914 (__sqrtsf2): Make conditional on
13915 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13917 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13918 (gcc-double-routines): Remove sqrtdf2.
13919 (gcc-quad-routines): Remove sqrttf2.
13920 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13921 Do not filter out sqrtsf2 and sqrtdf2.
13922 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13923 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13925 2018-06-01 Florian Weimer <fweimer@redhat.com>
13927 * sysdeps/generic/libcidn.abilist: Remove file.
13929 2018-06-01 Florian Weimer <fweimer@redhat.com>
13932 * libio/strfile.h (struct _IO_str_fields): Rename members to
13933 discourage their use and add comment.
13934 (_IO_STR_DYNAMIC): Remove unused macro.
13935 * libio/strops.c (_IO_str_init_static_internal): Do not use
13936 callback pointers. Call malloc and free.
13937 (_IO_str_overflow): Do not use callback pointers. Call malloc
13939 (enlarge_userbuf): Likewise.
13940 (_IO_str_finish): Call free.
13941 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13942 _allocate_buffer_unused.
13943 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13945 (enlarge_userbuf): Likewise.
13946 (_IO_wstr_finish): Call free.
13947 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13948 _allocate_buffer_unused, _free_buffer_unused.
13949 * libio/memstream.c (__open_memstream): Likewise.
13950 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13951 * libio/wmemstream.c (open_wmemstream): Likewise.
13953 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13955 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13958 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13960 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13961 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13962 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13964 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13966 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13968 2018-05-29 Florian Weimer <fweimer@redhat.com>
13970 * support/Makefile (libsupport-routines): Add
13971 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13972 xpthread_barrierattr_setpshared.
13973 * support/xpthread_barrierattr_destroy.c: New file.
13974 * support/xpthread_barrierattr_init.c: Likewise.
13975 * support/xpthread_barrierattr_setpshared.c: Likewise.
13977 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13980 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13981 _r_debug and update DT_DEBUG for debugger.
13983 2018-05-29 Florian Weimer <fweimer@redhat.com>
13985 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13986 (tst-strtod5i.out): Likewise.
13988 2018-05-25 Joseph Myers <joseph@codesourcery.com>
13990 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13991 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13992 (sparc64-quad-routines): New variable. Moved from ....
13993 [$(subdir) = soft-fp] (sysdep_routines): Add
13994 $(sparc64-quad-routines). Moved from ....
13995 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13996 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13997 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13999 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
14000 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
14001 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
14002 * sysdeps/sparc/sparc64/qp_add.c: ... here.
14003 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
14004 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
14005 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
14006 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
14007 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
14008 * sysdeps/sparc/sparc64/qp_div.c: ... here.
14009 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
14010 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
14011 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
14012 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
14013 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
14014 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
14015 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
14016 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
14017 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
14018 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
14019 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
14020 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
14021 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
14022 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
14023 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
14024 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
14025 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
14026 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
14027 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
14028 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
14029 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
14030 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
14031 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
14032 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
14033 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
14034 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
14035 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
14036 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
14037 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
14038 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
14039 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
14040 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
14041 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
14042 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
14043 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
14044 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
14045 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
14046 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
14047 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
14048 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
14049 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
14050 * sysdeps/sparc/sparc64/qp_util.c: ... here.
14051 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
14052 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
14053 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
14054 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
14055 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
14056 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
14058 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
14059 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
14060 (sparc32-quad-routines): New variable. Moved from ....
14061 [$(subdir) = soft-fp] (sysdep_routines): Add
14062 $(sparc32-quad-routines). Moved from ....
14063 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
14064 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
14066 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
14067 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
14068 * sysdeps/sparc/sparc32/q_add.c: ... here.
14069 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
14070 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
14071 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
14072 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
14073 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
14074 * sysdeps/sparc/sparc32/q_div.c: ... here.
14075 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
14076 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
14077 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
14078 * sysdeps/sparc/sparc32/q_feq.c: ... here.
14079 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
14080 * sysdeps/sparc/sparc32/q_fge.c: ... here.
14081 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
14082 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
14083 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
14084 * sysdeps/sparc/sparc32/q_fle.c: ... here.
14085 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
14086 * sysdeps/sparc/sparc32/q_flt.c: ... here.
14087 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
14088 * sysdeps/sparc/sparc32/q_fne.c: ... here.
14089 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
14090 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
14091 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
14092 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
14093 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
14094 * sysdeps/sparc/sparc32/q_mul.c: ... here.
14095 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
14096 * sysdeps/sparc/sparc32/q_neg.c: ... here.
14097 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
14098 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
14099 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
14100 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
14101 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
14102 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
14103 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
14104 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
14105 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
14106 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
14107 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
14108 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
14109 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
14110 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
14111 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
14112 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
14113 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
14114 * sysdeps/sparc/sparc32/q_sub.c: ... here.
14115 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
14116 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
14117 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
14118 * sysdeps/sparc/sparc32/q_util.c: ... here.
14119 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
14120 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
14121 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
14122 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
14124 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14125 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14127 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
14128 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
14129 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
14130 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
14132 2018-05-24 Joseph Myers <joseph@codesourcery.com>
14134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
14136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14138 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
14139 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
14141 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14144 * math/math.h [C++] (iseqsig): Fix parameter type for the long
14147 2018-05-23 Joseph Myers <joseph@codesourcery.com>
14149 * sysdeps/sh/Implies: Remove sh/soft-fp.
14150 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
14151 * sysdeps/sh/sfp-machine.h: ... here.
14153 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14155 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14156 (__mempcpy_erms): Skip zero length.
14157 (__memmove_erms): Likewise.
14158 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14159 (__memset_erms): Likewise.
14161 2018-05-23 Joseph Myers <joseph@codesourcery.com>
14163 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
14164 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14165 Add functions moved from ....
14166 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
14167 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
14168 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
14170 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
14171 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
14172 * sysdeps/alpha/e_sqrtl.c: ... here.
14173 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
14174 * sysdeps/alpha/local-soft-fp.h: ... here.
14175 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
14176 * sysdeps/alpha/ots_add.c: ... here.
14177 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
14178 * sysdeps/alpha/ots_cmp.c: ... here.
14179 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
14180 * sysdeps/alpha/ots_cmpe.c: ... here.
14181 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
14182 * sysdeps/alpha/ots_cvtqux.c: ... here.
14183 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
14184 * sysdeps/alpha/ots_cvtqx.c: ... here.
14185 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
14186 * sysdeps/alpha/ots_cvttx.c: ... here.
14187 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
14188 * sysdeps/alpha/ots_cvtxq.c: ... here.
14189 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
14190 * sysdeps/alpha/ots_cvtxt.c: ... here.
14191 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
14192 * sysdeps/alpha/ots_div.c: ... here.
14193 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
14194 * sysdeps/alpha/ots_mul.c: ... here.
14195 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
14196 * sysdeps/alpha/ots_nintxq.c: ... here.
14197 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
14198 * sysdeps/alpha/ots_sub.c: ... here.
14199 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
14200 * sysdeps/alpha/sfp-machine.h: ... here.
14202 2018-05-23 Florian Weimer <fweimer@redhat.com>
14210 Switch to extern IDNA implementation (libidn2).
14211 * libidn: Remove subdirectory.
14212 * LICENSES: Do not mention licensing conditions for the removed
14214 * config.h.in (HAVE_LIBIDN): Remove.
14215 * include/dlfcn.h (__libc_dlopen): Update comment.
14216 * include/idna.h: Remove file.
14217 * inet/Makefile (routines): Add idna.
14218 (tests-static, tests-internal): Add tst-idna_name_classify.
14219 (LOCALES): Generate locales for tests.
14220 (tst-idna_name_classify.out): Depend on generated locales.
14221 * inet/idna_name_classify.c: New file.
14222 * inet/tst-idna_name_classify.c: Likewise.
14223 * inet/net-internal.h (__idna_to_dns_encoding)
14224 (__idna_from_dns_encoding): Declare.
14225 * inet/net-internal.h (enum idna_name_classification): Define.
14226 (__idna_name_classify): Declare.
14227 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
14228 __idna_from_dns_encoding.
14229 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
14230 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
14231 name as a fallback in case of encoding errors.
14232 (getnameinfo): Use DEPRECATED_NI_IDN.
14233 * inet/idna.c: New file.
14234 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
14235 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
14236 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
14237 (modules-names): Add tst-no-libidn2.
14238 (extra-test-objs): Add tst-no-libidn2.os.
14239 (LDFLAGS-tst-no-libidn2.so): Set soname.
14240 (LOCALES): Set, and generate locales.
14241 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
14242 (tst-resolv-ai_idn-latin1): Likewise.
14243 (tst-resolv-ai_idn-nolibidn2): Likewise.
14244 (tst-resolv-ai_idn.out): Depend on locales.
14245 (tst-resolv-ai_idn-latin1.out): Depend on locales.
14246 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
14248 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
14249 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
14250 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
14251 * resolv/tst-resolv-ai_idn.c: New file.
14252 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
14253 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
14254 * resolv/tst-no-libidn2.c: Likewise.
14255 * support/support_format_addrinfo.c (format_ai_flags): Do not
14256 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
14257 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
14258 (gaih_inet): Call __idna_to_dns_encoding and
14259 __idna_from_dns_encoding, and use the original (punycode) name if
14260 __idna_from_dns_encoding fails due to an encoding error.
14261 (getaddrinfo): Use DEPRECATED_AI_IDN.
14262 * sysdeps/unix/inet/Subdirs (libidn): Remove.
14263 * sysdeps/unix/inet/configure: Remove file.
14264 * sysdeps/unix/inet/configure.ac: Likewise.
14266 2018-05-23 Florian Weimer <fweimer@redhat.com>
14268 Implement allocate_once.
14269 * include/allocate_once.h: New file.
14270 * misc/allocate_once.c: Likewise.
14271 * misc/tst-allocate_once.c: Likewise.
14272 * misc/Makefile (routines): Add allocate_once.
14273 (tests-internal): Add tst-allocate_once.
14274 (generated): Add tst-allocate_once.mtrace,
14275 tst-allocate_once-mem.out.
14276 (tests-special): Add tst-allocate_once-mem.out.
14277 (tst-allocate_once-ENV): Set MALLOC_TRACE.
14278 (tst-allocate_once-mem.out): Call mtrace.
14279 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
14281 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14284 * string/test-memcpy.c (do_test1): New function.
14285 (test_main): Call it.
14287 2018-05-23 Andreas Schwab <schwab@suse.de>
14291 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
14292 (L(preloop_large)): Save initial destination pointer in %r11 and
14293 use it instead of %rax after the loop.
14294 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
14296 2018-05-22 Joseph Myers <joseph@codesourcery.com>
14298 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
14299 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
14300 -I../soft-fp. Moved from ....
14301 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
14302 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
14303 * sysdeps/aarch64/e_sqrtl.c: ... here.
14304 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
14305 * sysdeps/aarch64/sfp-machine.h: ... here.
14307 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
14308 -Wmaybe-uninitialized around access to fq[0].
14309 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14313 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
14314 aliases for non-libc case of versioned symbols.
14315 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
14316 (llseek): Define as compat symbol if
14317 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
14319 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
14320 Make into a compat symbol, disabled for minimum symbol version
14321 GLIBC_2.28 and later.
14322 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
14324 2018-05-22 Florian Weimer <fweimer@redhat.com>
14326 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
14327 not add -mpreferred-stack-boundary=4.
14328 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
14329 (stack-align-test-flags): Likewise.
14330 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
14332 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
14333 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
14334 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
14335 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
14336 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
14337 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
14338 (CFLAGS-tst-align2.c): Likewise.
14340 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14342 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
14343 (index_arch_Prefer_FSRM): Likewise.
14344 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14345 Also check Prefer_FSRM.
14346 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
14347 Also return OPTIMIZE (erms) for Prefer_FSRM.
14349 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14351 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
14352 (index_cpu_FSRM): Likewise.
14353 (reg_FSRM): Likewise.
14355 2018-05-18 Joseph Myers <joseph@codesourcery.com>
14357 * math/gen-tgmath-tests.py: Import sys.
14358 (Tests.__init__): Initialize macros_seen.
14359 (Tests.add_tests): Add macro to macros_seen. Only generate tests
14360 if requested to do so for this macro.
14361 (Tests.add_all_tests): Take argument for macro for which to
14363 (Tests.check_macro_list): New function.
14364 (main): Handle check-list argument and argument specifying macro
14365 for which to generate tests.
14366 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
14367 [PYTHON] (tgmath3-macro-tests): Likewise.
14368 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
14369 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
14370 not test-tgmath3.c.
14371 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
14372 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
14374 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
14375 [PYTHON] ($(foreach
14376 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
14378 [PYTHON] (tests-special): Add
14379 $(objpfx)test-tgmath3-macro-list.out.
14380 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
14382 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
14383 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
14387 * time/tzset.c (SECSPERDAY): Cast to time_t.
14388 * time/tst-y2039.c: New file.
14389 * time/Makefile (tests): Add tst-y2039.
14391 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14393 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14394 (PREFETCH_ONE_SET): Remove duplicate line.
14396 2018-05-17 Florian Weimer <fweimer@redhat.com>
14398 * sysdeps/generic/math-type-macros-double.h: Include
14399 <math-nan-payload-double.h> after <libm-alias-double.h>.
14400 * sysdeps/generic/math-type-macros-float.h: Include
14401 <math-nan-payload-float.h> after <libm-alias-float.h>.
14402 * sysdeps/generic/math-type-macros-float128.h: Include
14403 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
14404 * sysdeps/generic/math-type-macros-ldouble.h: Include
14405 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
14407 2018-05-17 Andreas Schwab <schwab@suse.de>
14409 * resolv/res_send.c (__res_context_send): Don't set errno when
14410 returing error after malloc failure.
14412 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
14414 * nptl/allocatestack.c (allocate_stack): Remove the
14415 !__ASSUME_PRIVATE_FUTEX paths.
14416 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
14417 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14419 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
14420 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14421 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14422 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14423 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
14424 !__ASSUME_PRIVATE_FUTEX path.
14425 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
14426 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
14427 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14428 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
14429 !__ASSUME_PRIVATE_FUTEX macros.
14430 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14431 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14432 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
14433 * sysdeps/unix/sysv/linux/kernel-features.h
14434 (__ASSUME_PRIVATE_FUTEX): Removed.
14436 2018-05-17 Joseph Myers <joseph@codesourcery.com>
14438 * math/Makefile (libm-narrow-fns): Add div.
14439 (libm-test-funcs-narrow): Likewise.
14440 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
14441 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
14442 * math/gen-auto-libm-tests.c (test_functions): Add div.
14443 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
14444 (NARROW_DIV_ROUND_TO_ODD): Likewise.
14445 (NARROW_DIV_TRIVIAL): Likewise.
14446 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
14448 (__ddivl): Likewise.
14449 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
14451 (CFLAGS-nldbl-ddiv.c): New variable.
14452 (CFLAGS-nldbl-fdiv.c): Likewise.
14453 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14455 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
14457 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
14458 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
14459 * math/auto-libm-test-in: Add tests of div.
14460 * math/auto-libm-test-out-narrow-div: New generated file.
14461 * math/libm-test-narrow-div.inc: New file.
14462 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
14463 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
14464 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
14465 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
14466 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
14467 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
14468 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
14469 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
14470 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
14471 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
14472 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
14473 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
14474 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
14475 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
14476 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
14477 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
14478 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
14479 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
14480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14481 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14482 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14483 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14484 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14485 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14486 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14487 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14488 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14489 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14490 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14491 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14492 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14493 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14498 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14499 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14500 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14501 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14502 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14503 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14504 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14505 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14507 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14510 * nscd/nscd-client.h (sendfileall): Remove prototype.
14511 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
14512 (handle_request): Use writeall instead of sendfileall.
14513 * nscd/aicache.c (addhstaiX): Likewise.
14514 * nscd/grpcache.c (cache_addgr): Likewise.
14515 * nscd/hstcache.c (cache_addhst): Likewise.
14516 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14517 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
14518 * nscd/pwdcache.c (cache_addpw): Likewise.
14519 * nscd/servicescache.c (cache_addserv): Likewise.
14520 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
14521 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
14522 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
14525 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
14527 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
14528 Include <string/strncat.c>.
14529 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
14531 (__GI___strncat): New hidden alias.
14533 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14535 * sysdeps/mips/mips32/libm-test-ulps: Update.
14536 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14538 2018-05-16 Florian Weimer <fweimer@redhat.com>
14540 * support/Makefile (libsupport-routines): Add support_quote_blob,
14541 support_test_compare_blob.
14542 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
14543 * support/check.h (TEST_COMPARE_BLOB): Define.
14544 (support_test_compare_blob): Declare.
14545 * support/support.h (support_quote_blob): Declare.
14546 * support/support_quote_blob.c: New file.
14547 * support/support_test_compare_blob.c: Likewise.
14548 * support/tst-support_quote_blob.c: Likewise.
14549 * support/tst-test_compare_blob.c: Likewise.
14551 2018-05-16 Florian Weimer <fweimer@redhat.com>
14553 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
14554 of <strtod_nan_double.h>.
14555 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
14556 instead of SET_MANTISSA.
14557 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
14558 of include <strtod_nan_float.h>.
14559 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
14560 instead of <strtod_nan_ldouble.h>.
14561 * stdlib/strtod_nan_double.h: Move to ...
14562 * sysdeps/generic/math-nan-payload-double.h: ... here.
14563 (FLOAT): Remove definition.
14564 (SET_MANTISSA): Rename to ...
14565 (SET_NAN_PAYLOAD): ... this.
14566 * stdlib/strtod_nan_float.h: Move to ...
14567 * sysdeps/generic/math-nan-payload-float.h: ... here.
14568 (FLOAT): Remove definition.
14569 (SET_MANTISSA): Rename to ...
14570 (SET_NAN_PAYLOAD): ... this.
14571 * sysdeps/generic/math-type-macros-double.h: Include
14572 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
14573 instead of <math-svid-compat.h>.
14574 * sysdeps/generic/math-type-macros-float.h: Include
14575 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
14576 instead of <math-svid-compat.h>.
14577 * sysdeps/generic/math-type-macros-float128.h: Include
14578 <math-nan-payload-float128.h>.
14579 * sysdeps/generic/math-type-macros-ldouble.h: Include
14580 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
14581 instead of <math-svid-compat.h>.
14582 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
14583 check for definition.
14584 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
14585 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
14586 Include <ieee754_float128.h>.
14587 (FLOAT): Remove definition.
14588 (SET_MANTISSA): Rename to ...
14589 (SET_NAN_PAYLOAD): ... this.
14590 * sysdeps/ieee754/float128/strtof128_nan.c: Include
14591 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14592 Do not include <float128_private.h>.
14593 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14594 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14595 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14596 (FLOAT): Remove definition.
14597 (SET_MANTISSA): Rename to ...
14598 (SET_NAN_PAYLOAD): ... this.
14599 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14600 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14601 (FLOAT): Remove definition.
14602 (SET_MANTISSA): Rename to ...
14603 (SET_NAN_PAYLOAD): ... this.
14604 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14605 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14606 (FLOAT): Remove definition.
14607 (SET_MANTISSA): Rename to ...
14608 (SET_NAN_PAYLOAD): ... this.
14609 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14610 of "../stdlib/strtod_nan_double.h".
14611 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14612 of "../stdlib/strtod_nan_float.h".
14613 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14614 instead of "../stdlib/strtod_nan_ldouble.h".
14615 * manual/arith.texi (Parsing of Floats): Adjust comment.
14617 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14619 * math/Makefile (libm-narrow-fns): Add mul.
14620 (libm-test-funcs-narrow): Likewise.
14621 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14622 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14623 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14624 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14625 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14626 (NARROW_MUL_TRIVIAL): Likewise.
14627 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14628 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14630 (__dmull): Likewise.
14631 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14633 (CFLAGS-nldbl-dmul.c): New variable.
14634 (CFLAGS-nldbl-fmul.c): Likewise.
14635 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14637 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14639 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14640 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14641 * math/auto-libm-test-in: Add tests of mul.
14642 * math/auto-libm-test-out-narrow-mul: New generated file.
14643 * math/libm-test-narrow-mul.inc: New file.
14644 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14645 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14646 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
14647 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
14648 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
14649 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
14650 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
14651 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
14652 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
14653 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
14654 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
14655 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
14656 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
14657 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
14658 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
14659 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
14660 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
14661 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
14662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14663 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14664 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14665 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14666 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14667 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14668 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14669 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14670 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14671 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14672 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14673 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14674 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14675 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14680 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14681 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14682 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14683 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14684 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14685 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14686 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14687 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14689 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14691 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14692 with *%eax in call.
14694 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14696 * sysdeps/i386/ldsodefs.h: Removed.
14697 * sysdeps/x86_64/ldsodefs.h: Moved to ...
14698 * sysdeps/x86/ldsodefs.h: This.
14699 (La_i86_regs): New.
14700 (La_i86_retval): Likewise.
14701 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
14702 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
14704 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14706 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
14709 2018-05-13 Alan Modra <amodra@gmail.com>
14711 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
14712 R_PARISC_TLS_DTPOFF32 reloc addend.
14714 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14716 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
14717 * math/math.h: Restrict the prototype definition for the functions
14718 issignaling(_Float128) and iszero(_Float128); and template
14719 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
14720 __HAVE_FLOAT128_UNLIKE_LDBL.
14721 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
14722 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
14723 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
14724 __f128() constants; define the type _Float128 as long double;
14725 and reuse long double in __CFLOAT128.
14727 2018-05-11 Joseph Myers <joseph@codesourcery.com>
14729 * sysdeps/generic/math_private.h: Do not include
14731 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
14733 * math/fromfp.h: Include <math-barriers.h>.
14734 * math/math-narrow.h: Likewise.
14735 * math/s_nextafter.c: Likewise.
14736 * math/s_nexttowardf.c: Likewise.
14737 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
14738 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
14739 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
14740 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
14741 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14742 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14743 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14745 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14746 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14747 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14748 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14749 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14750 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14751 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14752 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14753 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14754 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14755 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14756 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14757 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14758 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14759 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14760 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14761 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14762 * sysdeps/ieee754/k_standardl.c: Likewise.
14763 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14764 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14765 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14766 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14767 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14768 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14769 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14770 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14771 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14772 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14773 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14774 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14775 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14776 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14777 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14778 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14779 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14780 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14781 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14782 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14783 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14784 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14786 2018-05-11 Florian Weimer <fweimer@redhat.com>
14788 Use 64-bit epoch values in the time zone file parser.
14789 * include/time.h (internal_time_t): Define.
14790 (__tzfile_compute): Use it.
14791 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14793 (transitions): Switch to internal_time_t.
14794 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14796 (__tzfile_compute): Use internal_time_t for timer argument. Check
14797 for truncation before calling __offtime.
14799 2018-05-11 Florian Weimer <fweimer@redhat.com>
14802 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14803 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14805 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14806 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14807 export without --enable-obsolete-rpc.
14808 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14809 symbol. This should not have been exported, ever.
14811 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14814 * localedata/locales/gd_GB (abmon): Fix typo in May:
14815 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14817 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14819 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14820 Use multiple registers to copy data in loop tail.
14822 * sysdeps/aarch64/multiarch/memmove_falkor.S
14823 (__memmove_falkor): Use multiple registers to move data in
14826 2018-05-10 Joseph Myers <joseph@codesourcery.com>
14828 * math/math-underflow.h: New file.
14829 * sysdeps/generic/math_private.h: Do not include <float.h>.
14830 (fabs_tg): Remove macro. Moved to math-underflow.h.
14831 (min_of_type_f): Likewise.
14832 (min_of_type_): Likewise.
14833 (min_of_type_l): Likewise.
14834 (min_of_type_f128): Likewise.
14835 (min_of_type): Likewise.
14836 (math_check_force_underflow): Likewise.
14837 (math_check_force_underflow_nonneg): Likewise.
14838 (math_check_force_underflow_complex): Likewise.
14839 * math/e_exp2_template.c: Include <math-underflow.h>.
14840 * math/k_casinh_template.c: Likewise.
14841 * math/s_catan_template.c: Likewise.
14842 * math/s_catanh_template.c: Likewise.
14843 * math/s_ccosh_template.c: Likewise.
14844 * math/s_cexp_template.c: Likewise.
14845 * math/s_clog10_template.c: Likewise.
14846 * math/s_clog_template.c: Likewise.
14847 * math/s_csin_template.c: Likewise.
14848 * math/s_csinh_template.c: Likewise.
14849 * math/s_csqrt_template.c: Likewise.
14850 * math/s_ctan_template.c: Likewise.
14851 * math/s_ctanh_template.c: Likewise.
14852 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14853 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14854 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14855 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14856 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14857 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14858 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14859 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14860 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14861 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14862 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14863 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14864 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14865 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14866 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14867 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14868 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14869 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14870 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14871 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14872 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14873 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14874 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14875 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14876 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14877 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14878 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14879 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14880 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14881 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14882 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14883 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14884 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14885 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14886 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14887 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14888 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14889 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14890 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14891 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14892 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14893 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14894 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14895 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14896 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14897 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14898 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14899 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14900 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14901 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14902 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14903 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14904 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14905 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14906 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14907 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14908 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14909 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14910 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14911 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14912 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14913 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14914 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14915 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14916 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14917 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14918 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14919 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14920 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14921 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14922 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14923 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14924 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14925 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14926 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14927 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14928 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14929 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14930 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14931 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14932 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14933 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14934 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14935 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14937 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14939 * sysdeps/generic/math-barriers.h: New file.
14940 * sysdeps/generic/math_private.h [!math_opt_barrier]
14941 (math_opt_barrier): Move to math-barriers.h.
14942 [!math_opt_barrier] (math_force_eval): Likewise.
14943 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14944 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14946 (math_force_eval): Likewise.
14947 * sysdeps/alpha/fpu/math-barriers.h: New file.
14948 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14950 (math_force_eval): Likewise.
14951 * sysdeps/x86/fpu/math-barriers.h: New file.
14952 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14954 (math_force_eval): Likewise.
14955 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14956 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14957 multiple-include guard for rename.
14958 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14959 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14961 (math_force_eval): Likewise.
14963 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14967 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14969 * stdlib/Makefile (test-bz22786): New test.
14970 * stdlib/test-bz22786.c: New test.
14972 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14974 * include/math-narrow-eval.h: New file. Contents moved from ....
14975 * sysdeps/generic/math_private.h: ... here.
14976 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14977 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14978 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14979 * stdlib/strtod_l.c: Likewise.
14980 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14981 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14982 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14983 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14984 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14985 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14986 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14987 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14988 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14989 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14990 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14991 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14992 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14993 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14994 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14995 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14996 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14997 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14998 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14999 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15000 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15001 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15002 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15003 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15004 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15005 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15006 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15007 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15008 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15010 2018-05-08 Andreas Schwab <schwab@suse.de>
15012 * sysdeps/nptl/internaltypes.h: Fix comment.
15014 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
15016 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15017 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
15020 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
15022 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
15023 of I into loop header.
15024 * benchtests/bench-memmove-walk.c
15025 (test_main): Likewise.
15027 2018-05-07 Alexandre Oliva <oliva@gnu.org>
15030 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15031 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15033 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15036 * elf/dl-load.c (open_verify): Fix stack overflow.
15037 * elf/Makefile (tst-big-note): New test.
15038 * elf/tst-big-note-lib.S: New.
15039 * elf/tst-big-note.c: New.
15041 2018-05-04 Joseph Myers <joseph@codesourcery.com>
15043 * scripts/abilist.awk: Ignore absolute symbols.
15044 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
15045 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
15046 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
15047 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
15048 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
15049 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
15050 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15051 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
15052 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
15053 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
15054 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
15055 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
15056 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
15057 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
15058 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
15059 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15060 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
15061 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
15062 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15063 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
15064 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15065 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
15066 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
15067 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
15068 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
15069 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
15070 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
15071 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
15072 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15073 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
15074 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
15075 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15076 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
15077 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15078 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
15079 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
15080 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
15081 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
15082 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
15083 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
15084 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
15085 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15086 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
15087 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
15088 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15089 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
15090 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15091 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
15092 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
15093 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
15094 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
15095 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
15096 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
15097 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
15098 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15099 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
15100 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
15101 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15102 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
15103 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15104 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
15105 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
15106 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
15107 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
15108 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
15109 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
15110 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
15111 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15112 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
15113 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
15114 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15115 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
15116 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
15117 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
15118 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
15119 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
15120 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
15121 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
15122 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
15123 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
15124 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15125 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
15126 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
15127 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15128 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
15129 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
15130 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
15131 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
15132 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
15133 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
15134 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
15135 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15137 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
15138 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15139 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
15140 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
15141 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15142 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
15143 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
15144 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
15145 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
15146 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
15147 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
15148 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
15149 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15151 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
15152 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15153 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
15154 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
15155 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15156 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
15157 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
15158 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
15159 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
15160 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
15161 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
15162 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
15163 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
15164 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
15165 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15166 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
15167 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
15168 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15169 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
15170 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
15171 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
15172 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
15173 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
15174 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
15175 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15176 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
15177 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15179 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
15180 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
15181 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
15182 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
15183 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15184 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
15185 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
15186 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
15187 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
15188 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
15189 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
15190 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
15191 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
15192 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
15193 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
15194 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
15195 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
15196 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
15197 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15198 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15200 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
15201 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
15202 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
15203 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15204 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
15205 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
15206 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
15207 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
15208 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
15209 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
15210 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15211 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
15212 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
15213 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15214 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
15215 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
15216 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
15217 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
15218 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15219 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
15220 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
15221 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15222 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
15223 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
15224 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
15225 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
15226 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
15227 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
15228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
15231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
15234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
15235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
15236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
15237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
15239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
15241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
15242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
15245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
15257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
15258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
15263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
15264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
15265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
15269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
15270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
15278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
15279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
15280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
15287 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15288 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
15290 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15291 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15292 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
15293 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15294 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15295 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15296 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
15297 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
15298 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15299 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
15300 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15301 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
15302 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
15303 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15305 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15306 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
15307 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
15308 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15309 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
15310 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
15311 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
15312 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
15313 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
15314 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
15315 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
15316 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15318 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15319 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
15320 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
15321 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15322 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
15323 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
15324 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
15325 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
15326 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
15327 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
15328 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
15329 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
15330 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
15331 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15332 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
15333 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
15334 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15335 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
15336 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
15337 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
15338 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
15339 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
15340 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
15341 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
15342 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15344 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
15345 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15346 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
15347 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
15348 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15349 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
15350 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
15351 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
15352 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
15353 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
15354 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
15355 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
15356 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15358 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
15359 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15360 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
15361 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
15362 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15363 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
15364 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
15365 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
15366 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
15367 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
15368 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
15369 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
15370 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
15371 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
15372 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15373 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
15374 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
15375 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15376 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
15377 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
15378 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
15379 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
15380 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
15381 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
15382 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15383 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
15384 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
15385 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
15386 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15387 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
15388 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
15389 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15390 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
15391 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
15392 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
15393 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
15394 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
15395 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
15397 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15400 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
15401 Use atomic_load_acquire to load __tid.
15403 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15405 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
15406 Restore the pointer into %rdx, after syscall and use %rdx,
15407 instead of %rsi, to restore context.
15409 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15411 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
15412 Pop the pointer into %rdx after syscall and use %rdx, instead
15413 of %rsi, to restore context.
15415 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15417 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
15418 handlers after setjmp.
15419 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
15421 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
15422 <libc-pointer-arith.h>.
15423 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
15424 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
15425 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
15426 _JUMP_BUF_SIGSET_BITS_PER_WORD.
15427 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
15428 * sysdeps/x86/__longjmp_cancel.S: New file.
15429 * sysdeps/x86/longjmp.c: Likewise.
15430 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
15432 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15434 * NEWS: Add ustat.h deprecation entry.
15435 * bits/ustat.h: Remove file.
15436 * misc/sys/ustat.h: Likewise.
15437 * misc/ustat.h: Likewise.
15438 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
15439 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
15440 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
15441 compatibility mode.
15442 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
15443 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
15444 generic Linux implementation.
15446 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15448 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
15449 * math/w_expl_compat.c: Likewise.
15450 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
15452 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15454 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15456 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15458 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
15459 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
15460 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
15462 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
15463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15464 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15465 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
15466 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
15469 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15471 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
15473 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
15474 * math/w_asin_template.c: Likewise.
15475 * math/w_atanh_template.c: Likewise.
15477 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15479 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
15480 to powerpc/powerpc64/be for big-endian.
15481 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
15484 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
15485 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
15486 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
15487 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
15488 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15489 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
15490 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
15491 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
15492 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
15493 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15494 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
15495 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
15496 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
15497 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
15498 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
15499 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
15500 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
15501 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
15502 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
15503 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
15504 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
15505 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15506 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
15507 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
15508 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
15509 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15510 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
15511 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
15512 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
15513 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15514 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15515 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
15517 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
15518 adjusted to imply powerpc64 and older processors on powerpc64/be.
15519 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
15520 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
15521 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
15522 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
15523 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
15524 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
15525 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
15526 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
15527 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
15528 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
15529 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
15530 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
15531 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
15532 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
15533 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
15534 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
15535 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
15536 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
15537 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
15538 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
15539 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
15540 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
15541 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
15542 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
15543 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
15544 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
15545 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
15546 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
15547 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
15548 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
15549 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
15551 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
15552 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
15553 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
15554 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
15556 * sysdeps/powerpc/powerpc64/be/Implies: New file.
15557 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
15558 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
15559 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
15561 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
15562 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
15563 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
15564 * sysdeps/powerpc/powerpc64le/configure: Likewise.
15565 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
15566 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
15567 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
15568 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
15569 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
15570 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
15571 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
15573 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
15574 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
15575 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
15576 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
15577 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
15578 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
15579 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
15580 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
15581 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
15582 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
15583 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
15585 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
15586 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
15587 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
15588 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
15589 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
15590 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
15591 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15592 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15593 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15594 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15595 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15596 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15598 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15599 and adjusted to imply olders processors.
15600 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15601 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15602 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15603 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15604 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15605 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15606 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15607 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15608 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15609 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15610 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15612 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15614 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15615 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15629 powerpc64 and adjusted.
15630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15635 2018-04-27 Joseph Myers <joseph@codesourcery.com>
15637 * sysdeps/tile: Remove.
15638 * sysdeps/unix/sysv/linux/tile: Likewise.
15639 * README (tilegx-*-linux-gnu): Remove from list of supported
15641 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15642 contribution of support for generic Linux kernel syscall
15644 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15645 tilegx configurations.
15646 (Config.install_linux_headers): Do not handle tile.
15647 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
15649 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
15650 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
15651 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15652 conditional undefine and redefine.
15653 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
15655 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15656 conditional undefine and redefine.
15658 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
15660 * signal/tst-sigaction.c: New file to test BZ #23069.
15661 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
15663 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15666 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
15667 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
15668 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
15669 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15671 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15673 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
15674 _DIRENT_MATCHES_DIRENT64 is not defined.
15675 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
15676 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
15678 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
15679 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
15681 2018-04-25 Joseph Myers <joseph@codesourcery.com>
15683 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
15684 version to GCC 8 branch.
15686 2018-04-24 Joseph Myers <joseph@codesourcery.com>
15688 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
15689 (check_no_hidden): Use type of original function when declaring
15692 * sysdeps/unix/sysv/linux/sys/ptrace.h
15693 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
15694 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
15695 (struct __ptrace_seccomp_metadata): New type.
15696 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15697 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15698 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
15699 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15700 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
15701 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15702 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15703 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15704 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15705 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15706 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15707 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15708 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
15709 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15710 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
15711 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15713 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15715 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
15717 * dirent/versionsort.c (versionsort): Likewise.
15718 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
15719 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
15720 * dirent/versionsort64.c (versionsort64): Likewise.
15721 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
15722 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
15723 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
15724 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
15725 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
15726 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
15727 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
15728 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15729 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
15730 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
15731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
15732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
15733 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
15734 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
15736 2018-04-23 Joseph Myers <joseph@codesourcery.com>
15738 * elf/elf.h (NT_PPC_PKEY): New macro.
15740 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
15743 * localedata/locales/hr_HR: fix thousands_sep and
15746 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15748 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15749 (XTABS): Define to TAB3.
15751 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15753 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15755 * dirent/scandir-tail-common.c: New file.
15756 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15757 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15758 * dirent/scandir.c: Use scandir-tail-common.c.
15759 * dirent/scandirat.c: Likewise.
15760 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15761 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15762 if _DIRENT_MATCHES_DIRENT64 is defined.
15763 * dirent/scandirat64.c (scandirat64): Likewise.
15764 * include/dirent.h (__scandir_tail): Only define iff
15765 _DIRENT_MATCHES_DIRENT64 is not defined.
15766 (__scandir64_tail): Define regardless.
15767 (__scandirat, scandirat64): Remove libc_hidden_proto.
15768 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15769 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15771 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15772 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15773 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15774 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15776 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15778 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15780 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15782 (_dl_aarch64_cap_flags): Add asimdfhm.
15784 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15786 * sysdeps/nios2/libm-test-ulps: Update.
15788 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15790 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15791 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15793 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15795 (_DIRENT_MATCHES_DIRENT64): Undef
15796 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15797 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15798 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15799 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15800 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15801 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15802 use getdents64 syscalls as base.
15803 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15804 symbol if required.
15805 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15806 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15807 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15808 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15809 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15810 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15811 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15812 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15813 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15814 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15815 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15817 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15819 * scripts/test_printers_common.py (init_test): Disable lock elision.
15821 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15823 * math/test-tgmath.c (count_double, count_float,
15824 count_ldouble, count_cdouble, count_cfloat,
15825 count_cldouble): Use volatile int.
15827 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15829 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15830 (conformtest-xfail-conds): Add i386-gnu.
15831 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
15833 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15834 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15835 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15836 msqid_ds.msg_lrpid): Likewise.
15837 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15839 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15840 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
15841 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15842 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15844 (struct statvfs64): Likewise.
15845 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15847 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15848 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15849 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15850 instead of wait_queue.
15851 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15852 instead of vm_area_struct.
15853 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15854 struct sched_param definition to it.
15855 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15856 * bits/types/struct_sched_param.h: New file.
15857 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15858 <bits/types/struct_sched_param.h> instead of <sched.h>.
15859 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
15860 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15861 generic version but include <bits/pthreadtypes.h> to make struct
15862 sigevent's sigev_notify_attributes field a pthread_attr_t*.
15863 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15865 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15866 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15867 [__USE_XOPEN] (OFDEL): New macro.
15868 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
15869 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
15870 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15872 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15873 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
15874 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15876 * sysdeps/i386/sys/ucontext.h: Likewise.
15877 * sysdeps/m68k/sys/ucontext.h: Likewise.
15878 * sysdeps/mips/sys/ucontext.h: Likewise.
15879 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
15880 * sysdeps/mach/hurd/i386/Makefile
15881 (test-xfail-POSIX/fcntl.h/conform): Add.
15882 (test-xfail-POSIX/signal.h/conform): Add.
15883 (test-xfail-POSIX/semaphore.h/conform): Add.
15884 (test-xfail-POSIX/regex.h/conform): Add.
15885 (test-xfail-POSIX/aio.h/conform): Add.
15886 (test-xfail-POSIX/mqueue.h/conform): Add.
15887 (test-xfail-POSIX/sys/types.h/conform): Add.
15888 (test-xfail-UNIX98/fcntl.h/conform): Add.
15889 (test-xfail-UNIX98/netdb.h/conform): Add.
15890 (test-xfail-UNIX98/signal.h/conform): Add.
15891 (test-xfail-UNIX98/semaphore.h/conform): Add.
15892 (test-xfail-UNIX98/regex.h/conform): Add.
15893 (test-xfail-UNIX98/aio.h/conform): Add.
15894 (test-xfail-UNIX98/ftw.h/conform): Add.
15895 (test-xfail-UNIX98/mqueue.h/conform): Add.
15896 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15897 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15898 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15899 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15900 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15901 (test-xfail-UNIX98/sys/types.h/conform): Add.
15902 (test-xfail-UNIX98/stdlib.h/conform): Add.
15903 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15904 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15905 (test-xfail-POSIX2008/netdb.h/conform): Add.
15906 (test-xfail-POSIX2008/signal.h/conform): Add.
15907 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15908 (test-xfail-POSIX2008/regex.h/conform): Add.
15909 (test-xfail-POSIX2008/aio.h/conform): Add.
15910 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15911 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15912 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15913 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15914 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15915 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15916 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15917 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15918 (test-xfail-XOPEN2K/signal.h/conform): Add.
15919 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15920 (test-xfail-XOPEN2K/regex.h/conform): Add.
15921 (test-xfail-XOPEN2K/aio.h/conform): Add.
15922 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15923 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15924 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15925 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15926 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15927 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15928 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15929 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15930 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15931 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15932 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15933 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15934 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15935 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15936 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15937 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15938 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15939 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15940 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15941 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15942 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15943 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15944 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15945 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15946 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15947 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
15948 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15950 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15951 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
15953 2018-04-18 Joseph Myers <joseph@codesourcery.com>
15955 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15956 --enable-obsolete for powerpc-linux-gnuspe.
15958 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15960 * conform/data/sys/un.h-data: Allow sun_ prefix.
15961 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
15963 * sysdeps/mach/include/mach.h: Likewise.
15964 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15965 * sysdeps/mach/include/mach_error.h: Likewise.
15967 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15969 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15970 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15971 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15972 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15974 2018-04-16 Andreas Schwab <schwab@suse.de>
15977 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15979 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15981 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15982 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15984 2018-04-12 DJ Delorie <dj@redhat.com>
15986 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15989 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15991 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15992 (struct kernel_sigaction): Use the same definition on 31bit as is used
15995 2018-04-09 Florian Weimer <fweimer@redhat.com>
15998 * resolv/res_send.c (send_dg): Use designated initializers instead
15999 of assignment to zero-initialize other fields of struct mmsghdr.
16001 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16003 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
16004 __READDIR_ALIAS): Undefine after usage.
16005 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
16006 __READDIR_R_ALIAS): Likewise.
16007 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
16008 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
16009 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
16010 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
16011 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
16012 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
16013 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16014 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16015 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
16016 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
16017 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
16018 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
16019 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16020 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
16021 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
16022 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
16023 * sysdeps/unix/sysv/linux/readdir.c: New file.
16024 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
16025 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
16026 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
16028 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16030 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
16032 * manual/charset.texi (Converting a Character): Fix typo.
16034 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16038 * sysdeps/arm/libm-test-ulps: Update.
16040 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
16041 as base implementation.
16042 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16043 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16044 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16045 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16046 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16047 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
16048 remove unrequired definitions and update comments.
16049 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
16050 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
16051 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
16052 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
16053 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
16054 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
16055 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
16056 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
16057 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
16058 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
16059 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
16060 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16061 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16062 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
16063 and RESET_SA_RESTORER hooks.
16065 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
16067 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16069 2018-04-05 Florian Weimer <fweimer@redhat.com>
16071 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
16072 integer overflow, memory leak on error, and indeterminate errno
16073 value. Add a null wide character to terminate the result string.
16074 * manual/charset.texi (Converting a Character): Mention embedded
16075 null bytes in the mbrtowc input string. Explain what happens in
16076 the -2 result case. Do not claim that mbrtowc is simple or
16077 obvious to use. Adjust the description of the code example. Use
16078 @code, not @var, for concrete variables.
16080 2018-04-05 Florian Weimer <fweimer@redhat.com>
16082 * manual/examples/mbstouwcs.c: New file.
16083 * manual/charset.texi (Converting a Character): Include it.
16085 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16087 * include/dirent.h (dirfd): Add hidden proto.
16088 * dirent/dirfd.c (dirfd): Add hidden def.
16089 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
16090 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
16092 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16094 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
16095 sin, cos and sincos to 1 ULP.
16097 2018-04-04 Maciej W. Rozycki <macro@mips.com>
16100 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
16102 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
16103 * elf/tst-absolute-sym.c: New file.
16104 * elf/tst-absolute-sym-lib.c: New file.
16105 * elf/tst-absolute-sym-lib.lds: New file.
16106 * elf/Makefile (tests): Add `tst-absolute-sym'.
16107 (modules-names): Add `tst-absolute-sym-lib'.
16108 (LDLIBS-tst-absolute-sym-lib.so): New variable.
16109 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
16110 ($(objpfx)tst-absolute-sym): New dependency.
16113 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
16115 (SYMBOL_ADDRESS): New macro.
16116 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
16117 SYMBOL_ADDRESS for symbol address calculation.
16118 * elf/dl-runtime.c (_dl_fixup): Likewise.
16119 (_dl_profile_fixup): Likewise.
16120 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
16121 * elf/rtld.c (dl_main): Likewise.
16122 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
16123 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
16124 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
16125 (elf_machine_rela): Likewise.
16126 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
16127 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
16128 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16129 (elf_machine_rela): Likewise.
16130 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16131 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
16132 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
16133 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
16135 (elf_machine_reloc): Likewise.
16136 (elf_machine_got_rel): Likewise.
16137 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
16138 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
16139 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16141 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16143 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
16144 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16146 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16148 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16149 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16151 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16153 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
16154 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16156 2018-04-04 Zack Weinberg <zackw@panix.com>
16158 * sysdeps/generic/internal-signals.h: Include signal.h,
16159 sigsetops.h, and stdbool.h.
16160 (__libc_signal_block_all): Actually block all signals.
16161 (__libc_signal_block_app): Likewise.
16162 (__libc_signal_restore_set): Actually restore the signal mask.
16164 2018-04-04 Florian Weimer <fweimer@redhat.com>
16166 inet: Actually build and run tst-deadline.
16167 * inet/Makefile (tests-internal): Add tst-deadline and do not
16168 overwrite the variable.
16169 (tests-static-internal): Remove variable.
16171 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
16174 * bits/uio-ext.h (RWF_APPEND): New.
16175 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
16176 * manual/llio.texi: Document RWF_APPEND.
16177 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
16178 (RWF_SUPPORTED): Add RWF_APPEND.
16180 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16183 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
16184 check for internal nptl signals.
16185 * nptl/sigaction.c (__sigaction): Likewise.
16186 * signal/sigaddset.c (sigaddset): Likewise.
16187 * signal/sigdelset.c (sigdelset): Likewise.
16188 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16189 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
16191 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
16192 to filter out internal nptl signals.
16193 * signal/tst-sigset.c (do_test): Check ech signal indidually and
16194 also check realtime signals using standard macros.
16195 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
16196 __is_internal_signal, __libc_signal_block_all,
16197 __libc_signal_block_app, __libc_signal_restore_set): New functions.
16198 * sysdeps/nptl/sigfillset.c: Remove file.
16199 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
16200 Change return to bool.
16201 (__clear_internal_signals): Remove SIGTIMER clean since it is
16202 equal to SIGCANEL on Linux.
16203 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
16204 signal set was constructed using standard functions.
16206 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16208 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
16209 ifname is too long.
16210 * hurd/hurdsig.c (interrupted_reply_port_location): Use
16211 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
16212 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
16214 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
16215 * signal/sigaddset.c: Include <sigsetopts.h>.
16216 * signal/sigdelset.c: Likewise.
16218 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16220 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
16222 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
16223 logic as sin and cos.
16225 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16227 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
16228 inputs. Return correct sign.
16229 (do_sincos): Remove small input check before do_sin, let do_sin set
16234 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16236 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
16237 (do_cos_slow): Likewise.
16238 (do_sin_slow): Likewise.
16239 (reduce_and_compute): Likewise.
16244 (sloww1): Likewise.
16245 (sloww2): Likewise.
16247 (bslow1): Likewise.
16248 (bslow2): Likewise.
16249 (cslow2): Likewise.
16251 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16253 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
16254 (do_cos): Remove corp parameter and calculations.
16255 (do_sin): Likewise.
16256 (do_sincos): Remove cor variable.
16257 (__sin): Use do_sincos for huge inputs.
16259 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16260 (reduce_and_compute_sincos): Remove unused function.
16262 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16264 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
16265 reduce_sincos, improve accuracy to 136 bits.
16266 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
16267 (__sin): Use improved reduction and simplified do_sincos calculation.
16269 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16271 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16273 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
16274 (do_sincos_2): Likewise.
16275 (__sin): Remove middle range reduction case.
16277 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
16280 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16282 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
16283 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
16286 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
16288 2018-04-03 Joseph Myers <joseph@codesourcery.com>
16290 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16293 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16295 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
16296 Remove definitions.
16297 (opendir_oflags): Use O_DIRECTORY regardless.
16298 (__opendir, __opendirat): Remove need_isdir_precheck usage.
16299 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
16301 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16303 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
16304 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
16306 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
16307 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
16308 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
16309 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
16310 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
16311 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
16313 * htl/Makefile: Bump licence to LGPL 2.1+.
16314 * htl/alloca_cutoff.c: Likewise.
16315 * htl/cthreads-compat.c: Likewise.
16316 * htl/lockfile.c: Likewise.
16317 * htl/pt-alloc.c: Likewise.
16318 * htl/pt-cancel.c: Likewise.
16319 * htl/pt-cleanup.c: Likewise.
16320 * htl/pt-create.c: Likewise.
16321 * htl/pt-dealloc.c: Likewise.
16322 * htl/pt-detach.c: Likewise.
16323 * htl/pt-exit.c: Likewise.
16324 * htl/pt-getattr.c: Likewise.
16325 * htl/pt-initialize.c: Likewise.
16326 * htl/pt-internal.h: Likewise.
16327 * htl/pt-join.c: Likewise.
16328 * htl/pt-self.c: Likewise.
16329 * htl/pt-setcancelstate.c: Likewise.
16330 * htl/pt-setcanceltype.c: Likewise.
16331 * htl/pt-sigmask.c: Likewise.
16332 * htl/pt-spin-inlines.c: Likewise.
16333 * htl/pt-testcancel.c: Likewise.
16334 * htl/pt-yield.c: Likewise.
16335 * htl/tests/test-1.c: Likewise.
16336 * htl/tests/test-10.c: Likewise.
16337 * htl/tests/test-11.c: Likewise.
16338 * htl/tests/test-12.c: Likewise.
16339 * htl/tests/test-13.c: Likewise.
16340 * htl/tests/test-14.c: Likewise.
16341 * htl/tests/test-15.c: Likewise.
16342 * htl/tests/test-16.c: Likewise.
16343 * htl/tests/test-17.c: Likewise.
16344 * htl/tests/test-2.c: Likewise.
16345 * htl/tests/test-3.c: Likewise.
16346 * htl/tests/test-4.c: Likewise.
16347 * htl/tests/test-5.c: Likewise.
16348 * htl/tests/test-6.c: Likewise.
16349 * htl/tests/test-7.c: Likewise.
16350 * htl/tests/test-8.c: Likewise.
16351 * htl/tests/test-9.c: Likewise.
16352 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
16353 * sysdeps/htl/bits/cancelation.h: Likewise.
16354 * sysdeps/htl/bits/pthread-np.h: Likewise.
16355 * sysdeps/htl/bits/pthread.h: Likewise.
16356 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
16357 * sysdeps/htl/bits/semaphore.h: Likewise.
16358 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
16359 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
16360 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
16361 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
16362 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
16363 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
16364 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
16365 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
16366 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
16367 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
16368 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
16369 * sysdeps/htl/old_pt-atfork.c: Likewise.
16370 * sysdeps/htl/pt-atfork.c: Likewise.
16371 * sysdeps/htl/pt-attr-destroy.c: Likewise.
16372 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
16373 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
16374 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
16375 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
16376 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
16377 * sysdeps/htl/pt-attr-getscope.c: Likewise.
16378 * sysdeps/htl/pt-attr-getstack.c: Likewise.
16379 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
16380 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
16381 * sysdeps/htl/pt-attr-init.c: Likewise.
16382 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
16383 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
16384 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
16385 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
16386 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
16387 * sysdeps/htl/pt-attr-setscope.c: Likewise.
16388 * sysdeps/htl/pt-attr-setstack.c: Likewise.
16389 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
16390 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
16391 * sysdeps/htl/pt-attr.c: Likewise.
16392 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
16393 * sysdeps/htl/pt-barrier-init.c: Likewise.
16394 * sysdeps/htl/pt-barrier-wait.c: Likewise.
16395 * sysdeps/htl/pt-barrier.c: Likewise.
16396 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
16397 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
16398 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
16399 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
16400 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
16401 * sysdeps/htl/pt-cond-destroy.c: Likewise.
16402 * sysdeps/htl/pt-cond-init.c: Likewise.
16403 * sysdeps/htl/pt-cond-signal.c: Likewise.
16404 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
16405 * sysdeps/htl/pt-cond-wait.c: Likewise.
16406 * sysdeps/htl/pt-cond.c: Likewise.
16407 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
16408 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
16409 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
16410 * sysdeps/htl/pt-condattr-init.c: Likewise.
16411 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
16412 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
16413 * sysdeps/htl/pt-destroy-specific.c: Likewise.
16414 * sysdeps/htl/pt-equal.c: Likewise.
16415 * sysdeps/htl/pt-getconcurrency.c: Likewise.
16416 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
16417 * sysdeps/htl/pt-getschedparam.c: Likewise.
16418 * sysdeps/htl/pt-getspecific.c: Likewise.
16419 * sysdeps/htl/pt-init-specific.c: Likewise.
16420 * sysdeps/htl/pt-key-create.c: Likewise.
16421 * sysdeps/htl/pt-key-delete.c: Likewise.
16422 * sysdeps/htl/pt-key.h: Likewise.
16423 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
16424 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
16425 * sysdeps/htl/pt-mutex-init.c: Likewise.
16426 * sysdeps/htl/pt-mutex-lock.c: Likewise.
16427 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
16428 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
16429 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
16430 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
16431 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
16432 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
16433 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
16434 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
16435 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
16436 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
16437 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
16438 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
16439 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
16440 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
16441 * sysdeps/htl/pt-mutexattr.c: Likewise.
16442 * sysdeps/htl/pt-once.c: Likewise.
16443 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
16444 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
16445 * sysdeps/htl/pt-rwlock-init.c: Likewise.
16446 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
16447 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
16448 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
16449 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
16450 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
16451 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
16452 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
16453 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
16454 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
16455 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
16456 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
16457 * sysdeps/htl/pt-setconcurrency.c: Likewise.
16458 * sysdeps/htl/pt-setschedparam.c: Likewise.
16459 * sysdeps/htl/pt-setschedprio.c: Likewise.
16460 * sysdeps/htl/pt-setspecific.c: Likewise.
16461 * sysdeps/htl/pt-spin.c: Likewise.
16462 * sysdeps/htl/pt-startup.c: Likewise.
16463 * sysdeps/htl/pthread.h: Likewise.
16464 * sysdeps/htl/sem-close.c: Likewise.
16465 * sysdeps/htl/sem-destroy.c: Likewise.
16466 * sysdeps/htl/sem-getvalue.c: Likewise.
16467 * sysdeps/htl/sem-init.c: Likewise.
16468 * sysdeps/htl/sem-open.c: Likewise.
16469 * sysdeps/htl/sem-post.c: Likewise.
16470 * sysdeps/htl/sem-timedwait.c: Likewise.
16471 * sysdeps/htl/sem-trywait.c: Likewise.
16472 * sysdeps/htl/sem-unlink.c: Likewise.
16473 * sysdeps/htl/sem-wait.c: Likewise.
16474 * sysdeps/hurd/htl/pt-kill.c: Likewise.
16475 * sysdeps/i386/htl/pt-machdep.h: Likewise.
16476 * sysdeps/mach/htl/pt-block.c: Likewise.
16477 * sysdeps/mach/htl/pt-spin.c: Likewise.
16478 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
16479 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
16480 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
16481 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
16482 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
16483 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
16484 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
16485 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
16486 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
16487 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
16488 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
16489 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
16490 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
16491 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
16492 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
16493 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
16494 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
16495 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
16496 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
16497 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
16498 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
16499 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
16500 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
16501 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
16502 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
16503 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
16504 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
16505 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
16506 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
16507 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
16508 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
16509 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
16510 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
16511 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
16512 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
16513 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
16514 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
16515 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
16516 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
16517 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
16518 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
16519 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
16520 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
16522 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
16523 * README: Remove the mention of out-of-tree patches needed for
16526 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
16527 (UTIME_NOW, UTIME_OMIT): Define macros.
16529 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
16530 instead of pthread_detach.
16531 (__cthread_fork): Call __pthread_create instead of pthread_create.
16532 (__cthread_keycreate): Call __pthread_key_create instead of
16533 pthread_key_create.
16534 (__cthread_getspecific): Call __pthread_getspecific instead of
16535 pthread_getspecific.
16536 (__cthread_setspecific): Call __pthread_setspecific instead of
16537 pthread_setspecific.
16538 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
16539 __pthread_mutex_unlock instead of pthread_mutex_lock and
16540 pthread_mutex_unlock.
16541 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
16542 ___pthread_get_cleanup_stack.
16543 (__pthread_get_cleanup_stack): New strong alias.
16544 * htl/pt-create.c: Include <pthreadP.h>.
16545 (entry_point): Call __pthread_exit instead of pthread_exit.
16546 (pthread_create): Rename to __pthread_create.
16547 (pthread_create): New strong alias.
16548 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
16549 (pthread_detach): New strong alias.
16550 (__pthread_detach): Call __pthread_cond_broadcast instead of
16551 pthread_cond_broadcast.
16552 * htl/pt-exit.c: Include <pthreadP.h>.
16553 (__pthread_exit): Call __pthread_setcancelstate and
16554 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
16555 __pthread_get_cleanup_stack.
16556 * htl/pt-testcancel.c: Include <pthreadP.h>.
16557 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
16558 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
16559 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
16560 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
16561 pthread_attr_getstacksize.
16562 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
16563 Rename to __pthread_attr_getstackaddr.
16564 (pthread_attr_getstackaddr): New strong alias.
16565 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
16566 Rename to __pthread_attr_getstacksize.
16567 (pthread_attr_getstacksize): New strong alias.
16568 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
16569 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
16570 (pthread_attr_setstack): New strong alias.
16571 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
16572 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
16573 pthread_attr_getstacksize, pthread_attr_setstacksize and
16574 pthread_attr_setstackaddr.
16575 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
16576 Rename to __pthread_attr_setstackaddr.
16577 (pthread_attr_setstackaddr): New strong alias.
16578 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
16579 Rename to __pthread_attr_setstacksize.
16580 (pthread_attr_setstacksize): New strong alias.
16581 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
16582 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
16584 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
16585 (__pthread_key_create): New hidden def.
16586 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
16587 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
16588 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
16589 __pthread_exit, __pthread_key_create, __pthread_getspecific,
16590 __pthread_setspecific, __pthread_setcancelstate,
16591 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16592 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16593 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16595 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16596 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16597 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16598 (pthread_attr_setstackaddr): New strong alias.
16599 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16600 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16601 (pthread_attr_setstacksize): New strong alias.
16602 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16603 (call_exit): Call __pthread_exit instead of pthread_exit.
16604 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16605 (_pthread_mutex_init): New hidden definition.
16606 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16607 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16608 instead of pthread_attr_init and pthread_attr_setstack.
16610 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16611 __vm_deallocate instead of vm_allocate and vm_deallocate.
16612 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16614 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16616 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16618 * hurd/siginfo.c: Include <libioP.h>.
16619 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16620 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16622 * mach/devstream.c: Include <libioP.h>.
16623 (dealloc_ref): Call __mach_port_deallocate instead of
16624 mach_port_deallocate.
16625 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16626 Call __mach_port_deallocate instead of mach_port_deallocate.
16627 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16629 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16631 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16632 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16633 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16635 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16637 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16638 instead of sysconf.
16639 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16640 __clock_gettime instead of clock_gettime.
16641 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16642 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16643 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16644 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16645 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
16647 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
16648 __clock_gettime and __nanosleep instead of clock_gettime and
16650 * hurd/catch-signal.c (hurd_catch_signal): Rename to
16651 __hurd_catch_signal.
16652 (hurd_catch_signal): New strong alias.
16653 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
16654 __hurd_catch_signal instead of hurd_catch_signal.
16655 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
16656 * hurd/hurdexec.c (_hurd_init): Add hidden def.
16657 * hurd/hurdinit.c (_hurd_init): Add hidden def.
16658 * hurd/hurdsig.c: Include <mach/mig_support.h>.
16659 (_hurd_thread_sigstate): Add hidden def.
16660 (_hurd_internal_post_signal): Use __mutex_unlock instead of
16662 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
16663 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
16664 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
16665 __hurd_file_name_path_lookup.
16666 (hurd_file_name_path_lookup): New strong alias.
16667 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
16668 hurd_file_name_path_lookup.
16669 * mach/errstring.c (mach_error_type): Add hidden def.
16670 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
16671 * mach/mutex-init.c (__mutex_init): Add hidden def.
16672 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
16673 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
16674 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
16675 * sysdeps/mach/hurd/getcwd.c
16676 (_hurd_canonicalize_directory_name_internal): Rename to
16677 __hurd_canonicalize_directory_name_internal.
16678 (_hurd_canonicalize_directory_name_internal): New strong alias.
16679 (__canonicalize_directory_name_internal, __getcwd): Call
16680 __hurd_canonicalize_directory_name_internal instead of
16681 _hurd_canonicalize_directory_name_internal.
16682 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
16683 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
16685 * sysdeps/hurd/include/hurd.h: New file.
16686 * sysdeps/hurd/include/hurd/fd.h: New file.
16687 * sysdeps/hurd/include/hurd/signal.h: New file.
16688 * sysdeps/mach/include/lock-intern.h: New file.
16689 * sysdeps/mach/include/mach.h: New file.
16690 * sysdeps/mach/include/mach/mig_support.h: New file.
16691 * sysdeps/mach/include/mach_error.h: New file.
16692 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
16694 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
16695 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
16696 _HEADER_H_HIDDEN_DEF macro.
16697 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
16698 _hurd_fd_error_signal): Add hidden prototype.
16699 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
16701 * libio/iolibio.h (_IO_puts): New hidden prototype.
16702 * libio/ioputs.c (_IO_puts): New hidden def.
16703 * sysdeps/mach/hurd/localplt.data: New file.
16705 2018-04-02 Agustina Arzille <avarzille@riseup.net>
16706 Amos Jeffries <squid3@treenet.co.nz>
16707 David Michael <fedora.dm0@gmail.com>
16708 Marco Gerards <marco@gnu.org>
16709 Marcus Brinkmann <marcus@gnu.org>
16710 Neal H. Walfield <neal@gnu.org>
16711 Pino Toscano <toscano.pino@tiscali.it>
16712 Richard Braun <rbraun@sceen.net>
16713 Roland McGrath <roland@gnu.org>
16714 Samuel Thibault <samuel.thibault@ens-lyon.org>
16715 Thomas DiModica <ricinwich@yahoo.com>
16716 Thomas Schwinge <tschwinge@gnu.org>
16718 * htl: New directory.
16719 * sysdeps/htl: New directory.
16720 * sysdeps/hurd/htl: New directory.
16721 * sysdeps/i386/htl: New directory.
16722 * sysdeps/mach/htl: New directory.
16723 * sysdeps/mach/hurd/htl: New directory.
16724 * sysdeps/mach/hurd/i386/htl: New directory.
16725 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
16726 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
16727 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
16729 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16731 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
16732 signals in thread created for runing timers.
16734 2018-04-01 Florian Weimer <fweimer@redhat.com>
16736 * support/support_format_addrinfo.c (support_format_addrinfo):
16737 Include unknown error number in formatted result.
16739 2018-03-29 Florian Weimer <fweimer@redhat.com>
16741 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
16744 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16746 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16747 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16748 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16749 (__ASSUME_CLONE_BACKWARDS): Define.
16751 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16754 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16755 early when linux sentinel value is set.
16757 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16759 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16761 2018-03-27 Andreas Schwab <schwab@suse.de>
16764 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16765 allocation of private copy of nsaddr_list fails.
16767 2018-03-26 Joseph Myers <joseph@codesourcery.com>
16770 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16771 * sysdeps/unix/sysv/linux/umount.c: ... here.
16772 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16773 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16774 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16775 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16777 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16778 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16780 2018-03-26 Andreas Schwab <schwab@suse.de>
16782 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16783 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16784 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16785 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16786 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16787 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16788 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16789 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16790 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16791 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16792 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16793 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16794 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16795 (R_RISCV_NUM): Define.
16797 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16799 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16800 TLS declaration of errno.
16801 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16803 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16804 (ARCH_SETUP_TLS): Likewise.
16805 * sysdeps/mach/hurd/libc-start.h: New file copied from
16806 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
16807 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16808 instead of __libc_setup_tls.
16809 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
16810 __libc_setup_tls before initializing libpthread and running _hurd_init
16811 which starts the signal thread.
16812 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16814 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16816 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16819 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16820 after it is defined.
16822 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16823 Max Horn <max@quendi.de>
16827 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16829 * string/test-memmove.c (do_test2): New testcase.
16831 2018-03-22 Joseph Myers <joseph@codesourcery.com>
16833 * sysdeps/generic/frame.h: Remove file.
16834 * sysdeps/arm/frame.h: Likewise.
16835 * sysdeps/hppa/frame.h: Likewise.
16836 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16838 (GET_FRAME): Likewise.
16839 (GET_STACK): Likewise.
16840 (CALL_SIGHANDLER): Likewise.
16841 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16843 (GET_FRAME): Likewise.
16844 (GET_STACK): Likewise.
16845 (CALL_SIGHANDLER): Likewise.
16846 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16847 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16848 (GET_FRAME): Likewise.
16849 (GET_STACK): Likewise.
16850 (CALL_SIGHANDLER): Likewise.
16851 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16852 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16853 (GET_FRAME): Likewise.
16854 (GET_STACK): Likewise.
16855 (ADVANCE_STACK_FRAME): Likewise.
16856 (CALL_SIGHANDLER): Likewise.
16857 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16858 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16859 (GET_FRAME): Likewise.
16860 (GET_STACK): Likewise.
16861 (CALL_SIGHANDLER): Likewise.
16862 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16863 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16864 (GET_FRAME): Likewise.
16865 (GET_STACK): Likewise.
16866 (CALL_SIGHANDLER): Likewise.
16867 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16868 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16869 (GET_FRAME): Likewise.
16870 (GET_STACK): Likewise.
16871 (CALL_SIGHANDLER): Likewise.
16872 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16873 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16874 (GET_FRAME): Likewise.
16875 (GET_STACK): Likewise.
16876 (CALL_SIGHANDLER): Likewise.
16877 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16878 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16879 (GET_FRAME): Likewise.
16880 (GET_STACK): Likewise.
16881 (CALL_SIGHANDLER): Likewise.
16882 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16883 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16884 (GET_FRAME): Likewise.
16885 (GET_STACK): Likewise.
16886 (CALL_SIGHANDLER): Likewise.
16887 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16888 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16889 (GET_FRAME): Likewise.
16890 (GET_STACK): Likewise.
16891 (CALL_SIGHANDLER): Likewise.
16892 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16893 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16894 (GET_FRAME): Likewise.
16895 (GET_STACK): Likewise.
16896 (CALL_SIGHANDLER): Likewise.
16897 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16898 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16899 (GET_FRAME): Likewise.
16900 (GET_STACK): Likewise.
16901 (CALL_SIGHANDLER): Likewise.
16902 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16903 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16904 (FIRST_FRAME_POINTER): Likewise.
16905 (ADVANCE_STACK_FRAME): Likewise.
16906 (GET_STACK): Likewise.
16907 (GET_FRAME): Likewise.
16908 (CALL_SIGHANDLER): Likewise.
16909 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16910 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16911 (ADVANCE_STACK_FRAME): Likewise.
16912 (GET_STACK): Likewise.
16913 (GET_FRAME): Likewise.
16914 (CALL_SIGHANDLER): Likewise.
16915 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16916 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16917 (GET_FRAME): Likewise.
16918 (GET_STACK): Likewise.
16919 (CALL_SIGHANDLER): Likewise.
16920 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16921 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16922 (GET_FRAME): Likewise.
16923 (GET_STACK): Likewise.
16924 (CALL_SIGHANDLER): Likewise.
16926 2018-03-21 Joseph Myers <joseph@codesourcery.com>
16928 * sysdeps/x86_64/backtrace.c: Move to ....
16929 * debug/backtrace.c: ... here.
16930 * sysdeps/aarch64/backtrace.c: Remove file.
16931 * sysdeps/alpha/backtrace.c: Likewise.
16932 * sysdeps/hppa/backtrace.c: Likewise.
16933 * sysdeps/ia64/backtrace.c: Likewise.
16934 * sysdeps/mips/backtrace.c: Likewise.
16935 * sysdeps/nios2/backtrace.c: Likewise.
16936 * sysdeps/riscv/backtrace.c: Likewise.
16937 * sysdeps/sh/backtrace.c: Likewise.
16938 * sysdeps/tile/backtrace.c: Likewise.
16940 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16943 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16946 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16949 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16950 possibly overflowing computations.
16952 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16954 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16955 values from Linux-specific section now that it is in the GNU section.
16956 * sysdeps/gnu/errlist.c: Regenerate.
16958 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16960 * math/Makefile (libm-narrow-fns): Add sub.
16961 (libm-test-funcs-narrow): Likewise.
16962 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16963 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16964 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16965 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16966 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16967 (NARROW_SUB_TRIVIAL): Likewise.
16968 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16970 (__dsubl): Likewise.
16971 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16973 (CFLAGS-nldbl-dsub.c): New variable.
16974 (CFLAGS-nldbl-fsub.c): Likewise.
16975 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16977 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16979 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16980 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16981 * math/auto-libm-test-in: Add tests of sub.
16982 * math/auto-libm-test-out-narrow-sub: New generated file.
16983 * math/libm-test-narrow-sub.inc: New file.
16984 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16985 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16986 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16987 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16988 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16989 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16990 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16991 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16992 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16993 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16994 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16995 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16996 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16997 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16998 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16999 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
17000 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
17001 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
17002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17003 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17004 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17005 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17006 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17007 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17008 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17009 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17010 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17011 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17012 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17013 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17014 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17015 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17020 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17021 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17022 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17023 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17024 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17025 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17026 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17027 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17028 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17029 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17031 2018-03-19 Joseph Myers <joseph@codesourcery.com>
17034 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
17036 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
17038 * benchtests/bench-timing.h (attribute_hidden): Undefine.
17040 2018-03-18 Richard Braun <rbraun@sceen.net>
17042 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
17045 2018-03-18 Agustina Arzille <avarzille@riseup.net>
17047 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
17048 (__libc_cleanup_fct): Define function.
17049 (__libc_cleanup_region_start, __libc_cleanup_region_end,
17050 __libc_cleanup_end): Rewrite implementation using
17051 __attribute__ ((__cleanup__)).
17052 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
17053 * hurd/Makefile (routines): Add hurdlock.
17054 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
17056 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
17057 * hurd/hurdpid.c: Include <lowlevellock.h>
17058 (_S_msg_proc_newids): Use lll_wait to synchronize.
17059 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
17060 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
17061 * mach/Makefile (lock-headers): Remove machine-lock.h.
17062 * mach/lock-intern.h: Include <lowlevellock.h> instead of
17064 (__spin_lock_t): New type.
17065 (__SPIN_LOCK_INITIALIZER): New macro.
17066 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
17067 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
17068 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
17069 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
17070 (__mutex_init): Initialize with lll.
17071 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
17072 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
17074 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17075 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
17076 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
17077 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
17078 (__setpgid): Use lll for synchronization.
17079 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
17080 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
17081 instead of <cthreads.h>.
17082 (_IO_lock_inexpensive): New macro
17083 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
17084 (__libc_lock_self0): New declaration.
17085 (__libc_lock_owner_self): New macro.
17086 (__libc_key_t): Remove type.
17087 (_LIBC_LOCK_INITIALIZER): New macro.
17088 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
17089 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
17090 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
17091 __libc_lock_define_initialized_recursive,
17092 __rtld_lock_define_initialized_recursive,
17093 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
17094 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
17095 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
17096 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
17097 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
17098 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
17099 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
17101 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
17102 * hurd/hurdlock.c: New file.
17103 * hurd/hurdlock.h: New file.
17104 * mach/lowlevellock.h: New file
17106 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17108 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
17109 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
17110 when opening a symlink with O_NOFOLLOW.
17111 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
17112 path when flags contains O_NOFOLLOW.
17113 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
17114 if flags contains O_DIRECTORY and the result is a directory.
17115 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
17116 oneself when the pointer given in D is nul (as set by ext2fs).
17117 * sysdeps/mach/hurd/mlockall.c: New file.
17118 * sysdeps/mach/hurd/munlockall.c: New file.
17120 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17122 * hurd/hurdsig.c: Include <pthread.h>.
17123 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
17124 get the signal thread stack layout.
17125 * hurd/Makefile (headers): Remove threadvar.h.
17126 (inline-headers): Remove threadvar.h.
17127 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
17128 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
17129 __hurd_threadvar_max, __hurd_errno_location.
17130 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
17131 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
17132 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
17133 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
17134 unless TLS is not initialized yet, in which case we do not need a
17135 critical section yet anyway.
17136 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
17138 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
17140 (__hurd_threadvar_index): Remove enum.
17141 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
17142 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
17144 (__hurd_reply_port0): New variable declaration.
17145 (__hurd_local_reply_port): New macro.
17146 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
17147 (interrupted_reply_port_location): Add thread_t parameter. Use it
17148 with THREAD_TCB to access thread-local variables.
17149 (_hurdsig_abort_rpcs): Pass ss->thread to
17150 interrupted_reply_port_location.
17151 (_hurd_internal_post_signal): Likewise.
17152 (_hurdsig_init): Use presence of cthread_fork instead of
17153 __hurd_threadvar_stack_mask to start signal thread by hand.
17154 Remove signal thread threadvar initialization.
17155 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
17156 * hurd/sigunwind.c: Include <hurd/threadvar.h>
17157 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
17159 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
17161 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
17162 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
17163 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
17164 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
17165 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
17166 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
17167 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
17169 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
17170 <hurd/threadvar.h>.
17171 [IS_IN(rtld)] (rtld_errno): New variable.
17172 [IS_IN(rtld)] (__errno_location): New weak function.
17173 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
17174 * sysdeps/mach/hurd/errno.c: Remove file.
17175 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
17176 (__fork): Remove THREADVAR_SPACE macro and its use.
17177 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
17179 (init): Do not initialize threadvar.
17180 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
17182 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
17183 __hurd_local_reply_port instead of threadvar.
17184 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
17185 _hurd_sigstate fields.
17186 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
17187 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
17188 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
17189 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
17190 instead of threadvar.
17191 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
17192 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
17193 (use_threadvar, global_reply_port): Remove variables.
17194 (__hurd_reply_port0): New variable.
17195 (__mig_get_reply_port): Use __hurd_local_reply_port and
17196 __hurd_reply_port0 instead of threadvar.
17197 (__mig_dealloc_reply_port): Likewise.
17198 (__mig_init): Do not initialize threadvar.
17199 * sysdeps/mach/hurd/profil.c: Fix comment.
17200 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
17201 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
17202 cthread_keycreate, cthread_getspecific, cthread_setspecific to
17203 __cthread_fork, __cthread_detach, __pthread_getattr_np,
17204 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
17205 __cthread_setspecific.
17206 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
17207 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
17208 __cthread_t instead of cthread_fork, cthread_detach,
17209 pthread_getattr_np, pthread_attr_getstack.
17210 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
17211 __cthread_keycreate.
17212 (cthread_getspecific): Rename to __cthread_getspecific.
17213 (cthread_setspecific): Rename to __cthread_setspecific.
17214 (__libc_getspecific): Use __cthread_getspecific instead of
17215 cthread_getspecific.
17216 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
17217 __cthread_keycreate instead of cthread_keycreate.
17218 (__libc_setspecific): Use __cthread_setspecific instead of
17219 cthread_setspecific.
17220 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
17222 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
17223 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
17224 testing whether it is defined.
17226 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17228 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
17230 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
17231 * sysdeps/mach/i386/thread_state.h
17232 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
17234 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
17236 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
17238 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
17239 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
17241 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
17243 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
17244 descriptor instead of creating a new one.
17245 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
17247 * mach/setup-thread.c: Include <ldsodefs.h>.
17248 (__mach_setup_thread): Call _dl_allocate_tls, pass
17249 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
17250 MACHINE_THREAD_STATE_FLAVOR, before getting
17251 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
17252 MACHINE_THREAD_STATE_FLAVOR with the result.
17253 * hurd/hurdfault.c (_hurdsig_fault_init): Call
17254 MACHINE_THREAD_STATE_FIX_NEW.
17255 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
17256 too. Add original thread parameter.
17258 2018-03-16 Joseph Myers <joseph@codesourcery.com>
17260 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
17261 Remove inline function.
17263 * sysdeps/i386/fpu/libm-test-ulps: Update.
17264 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17266 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
17268 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
17271 2018-03-15 Joseph Myers <joseph@codesourcery.com>
17273 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
17274 (__sincos_code): Remove define and undefine.
17275 [__FAST_MATH__] (__sincos): Remove inline function.
17276 [__FAST_MATH__] (__sincosf): Remove inline function.
17277 [__FAST_MATH__] (__sincosl): Remove inline function.
17278 (__atan2l): Remove inline functions.
17279 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
17280 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
17282 (floor): Remove inline function.
17284 [__FAST_MATH__] (__ldexp_code): Remove macro.
17285 [__FAST_MATH__] (ldexp): Remove inline function.
17286 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
17287 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
17288 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
17289 [__USE_ISOC99] (__lrint_code): Remove macro.
17290 [__USE_ISOC99] (__llrint_code): Likewise.
17291 [__USE_ISOC99] (lrintf): Remove inline function.
17292 [__USE_ISOC99] (lrint): Likewise.
17293 [__USE_ISOC99] (lrintl): Likewise.
17294 [__USE_ISOC99] (llrint): Likewise.
17295 [__USE_ISOC99] (llrintf): Likewise.
17296 [__USE_ISOC99] (llrintl): Likewise.
17298 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17300 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
17301 (__ieee754_sqrtf): Remove.
17302 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
17303 (__ieee754_sqrtf): Remove.
17304 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
17305 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17306 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
17307 (__ieee754_sqrtf): Remove.
17308 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
17309 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
17312 (__ieee754_sqrt): Remove.
17313 (__ieee754_sqrtf): Remove.
17314 (__ieee754_sqrtl): Remove.
17315 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17316 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
17317 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
17318 (__ieee754_sqrtf): Remove.
17319 (__ieee754_sqrtl): Remove.
17321 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17323 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
17324 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17325 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17326 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
17327 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
17328 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17329 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17330 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17332 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
17333 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
17334 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17335 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17336 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
17337 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
17338 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
17339 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
17340 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17341 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17342 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
17343 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17344 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
17345 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
17346 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
17347 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17348 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17349 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17350 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
17351 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
17352 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17353 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17354 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
17355 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
17356 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
17357 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
17358 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17359 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17360 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
17361 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17362 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17363 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
17364 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17365 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
17366 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17367 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17368 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
17369 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
17370 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17371 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
17373 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17375 * include/math.h (sqrt): Declare with asm redirect.
17378 (sqrtf128): Likewise.
17379 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
17380 nonlib and libnldbl with -fmath-errno.
17381 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
17382 * math/w_sqrt_template.c: Likewise.
17383 * math/w_sqrtf_compat.c: Likewise.
17384 * math/w_sqrtl_compat.c: Likewise.
17385 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
17386 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
17387 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
17390 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17392 * benchtests/Makefile: Define _ISOMAC.
17393 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
17394 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
17395 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
17396 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
17397 * benchtests/bench-timing.h: Define attribute_hidden.
17399 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
17401 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
17404 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17407 * localedata/locales/cs_CZ (mon): Rename to...
17409 (mon): Import from CLDR (genitive case).
17411 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17414 * localedata/locales/el_CY (abmon): Rename to...
17415 (ab_alt_mon): This.
17416 (abmon): Import from CLDR (abbreviated genitive case).
17417 * localedata/locales/el_GR (abmon): Rename to...
17418 (ab_alt_mon): This.
17419 (abmon): Import from CLDR (abbreviated genitive case).
17421 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17424 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
17426 2018-03-15 Robert Buj <robert.buj@gmail.com>
17429 * localedata/locales/ca_ES (abmon): Rename to...
17430 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17431 (mon): Rename to...
17433 (abmon): Import from CLDR (genitive case, month names preceded by
17436 (abday): Synchronize with CLDR.
17437 (d_t_fmt): Likewise.
17441 (LC_TIME): Improve indentation.
17442 (LC_TELEPHONE): Likewise.
17443 (LC_NAME): Likewise.
17444 (LC_ADDRESS): Likewise.
17446 2018-03-14 Joseph Myers <joseph@codesourcery.com>
17448 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
17449 (lrintf): Remove definitions used only with old GCC.
17450 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
17451 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
17452 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
17453 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
17454 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
17455 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
17456 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
17457 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
17458 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
17459 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
17460 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
17461 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
17462 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
17463 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
17464 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
17465 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
17466 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
17467 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
17468 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
17469 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
17470 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
17471 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
17472 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
17473 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
17474 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
17475 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
17476 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
17477 [__FAST_MATH__] (__M_SQRT2): Remove macro.
17479 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17481 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
17482 instruction to unbreak builds with binutils 2.26 and older.
17484 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17486 * sysdeps/aarch64/strncmp.S (count): New macro.
17487 (strncmp): Store misaligned length in SRC1 in COUNT.
17488 (mutual_align): Adjust.
17489 (misaligned8): Load dword at a time when it is safe.
17491 2018-03-12 Zack Weinberg <zackw@panix.com>
17495 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
17496 if the _IO_EOF_SEEN bit is already set; update commentary.
17497 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
17498 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17500 * support/support_openpty.c, support/tty.h: New files.
17501 * support/Makefile (libsupport-routines): Add support_openpty.
17503 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
17505 * libio/Makefile (tests): Add tst-fgetc-after-eof.
17506 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
17508 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
17510 * po/pt_BR.po: Update translations.
17512 2018-03-12 David Michael <fedora.dm0@gmail.com>
17514 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
17515 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
17516 get a port to the startup server.
17518 2018-03-11 Zack Weinberg <zackw@panix.com>
17520 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
17521 before nldbl-compat.h.
17523 2018-03-10 Zack Weinberg <zackw@panix.com>
17525 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
17526 math.h or math_private.h.
17528 * sysdeps/alpha/fpu/s_isnan.c
17529 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
17530 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
17531 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
17532 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
17533 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
17534 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
17535 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
17536 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
17537 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
17538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
17539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
17540 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
17541 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
17542 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
17543 Include math_private.h.
17545 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
17546 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
17547 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
17548 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
17549 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
17550 * sysdeps/powerpc/power7/fpu/s_logb.c:
17551 Include math.h and math_private.h.
17553 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
17554 uses of $at in .set noat / .set at.
17556 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
17558 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
17559 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
17560 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
17561 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
17564 2018-03-09 Florian Weimer <fweimer@redhat.com>
17566 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
17569 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
17572 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
17573 Add nop before __startcontext, add explaining comments.
17575 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17578 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
17580 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
17581 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
17582 Do not build hardware transactional code for __SPE__.
17583 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17584 (__lll_trylock_elision): Likewise.
17585 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17586 (__lll_unlock_elision): Likewise.
17588 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
17589 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
17590 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17591 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17592 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17593 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17594 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17595 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17596 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17597 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17598 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17599 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17600 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17601 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17602 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17603 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17604 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17605 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17606 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17607 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17608 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17609 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17610 (__ASSUME_CLONE_BACKWARDS): Define.
17611 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17612 __clone2 if __NR_clone2 is defined.
17613 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17614 (__ASSUME_CLONE_BACKWARDS): Likewise.
17615 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17616 (__ASSUME_CLONE_BACKWARDS): Likewise.
17617 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17618 (__ASSUME_CLONE2): Likewise.
17619 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17620 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17621 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17622 variants and the define architecture can use.
17623 (__ASSUME_CLONE_DEFAULT): Define as default.
17624 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17625 (__ASSUME_CLONE_BACKWARDS): Likewise.
17626 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17627 (__ASSUME_CLONE_BACKWARDS): Likewise.
17628 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17629 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17631 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17633 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17635 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17638 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17639 (do_test_limit): Likewise.
17641 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17642 for every implementation.
17643 (do_test): Likewise.
17645 * benchtests/bench-strncmp.c: Convert output to json.
17647 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17649 * io/futimens.c: Add missing start-of-file descriptive comment.
17650 * io/utime.c: Likewise.
17651 * misc/futimesat.c: Likewise.
17652 * misc/utimes.c: Likewise.
17653 * sysdeps/mach/hurd/futimesat.c: Likewise.
17654 * sysdeps/mach/hurd/utimes.c: Likewise.
17655 * sysdeps/posix/utime.c: Likewise.
17656 * sysdeps/posix/utimes.c: Likewise.
17657 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
17658 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17659 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
17660 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
17662 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17664 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
17666 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
17667 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
17668 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
17669 (__futimens): Move implementation to...
17670 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
17671 utime_tvalue_from_tspec): ... new helper functions.
17672 (hurd_futimens): New function.
17673 * sysdeps/mach/hurd/futimesat.c: New file.
17674 * sysdeps/mach/hurd/utimensat.c: New file.
17676 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
17678 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
17679 UTIME_OMIT): New macros.
17680 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
17681 before reverting to converting time spec to time value and calling
17683 * sysdeps/mach/hurd/utime-helper.c: New file.
17684 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
17685 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
17686 reverting to utime_tvalue_from_tval and __file_utimes.
17687 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
17688 (__lutimes): Just call hurd_futimens after lookup.
17689 * sysdeps/mach/hurd/utimes.c: Likewise.
17691 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17693 * bits/sigaction.h: Add include guard.
17694 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
17695 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
17696 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
17697 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
17698 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
17699 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
17700 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
17701 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
17702 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
17704 2018-03-05 Joseph Myers <joseph@codesourcery.com>
17706 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
17707 -Wmaybe-uninitialized for -Os.
17708 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
17711 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17713 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
17714 __INO_T_MATCHES_INO64_T is defined.
17715 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
17716 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
17718 * dirent/alphasort64.c: Likewise.
17719 * dirent/scandir.c: Likewise.
17720 * dirent/scandir64-tail.c: Likewise.
17721 * dirent/scandir64.c: Likewise.
17722 * dirent/scandirat.c: Likewise.
17723 * dirent/scandirat64.c: Likewise.
17724 * dirent/versionsort.c: Likewise.
17725 * dirent/versionsort64.c: Likewise.
17726 * include/dirent.h: Likewise.
17728 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
17729 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
17730 for socketpair endpoint.
17731 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
17732 WRITE_BUFFER_SIZE as buffer size for sending socket.
17733 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
17734 issue on system where send is implemented with sendto syscall.
17735 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
17736 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
17737 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
17738 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
17741 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
17742 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
17743 sa_restorer for vDSO case.
17744 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17746 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17748 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
17749 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17750 * hurd/hurd/ioctl.h: Include <mach/port.h>
17751 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
17752 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17753 <mach/mach_types.h> and <mach/message.h>.
17754 (headers): Move mach/param.h to bits/mach/param.h.
17755 * sysdeps/mach/i386/mach/param.h: Move file to ...
17756 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17757 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17759 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17760 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17761 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
17762 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17763 trivial, for C++ conformity.
17764 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
17765 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17766 Process mig output through $(migheadersed).
17767 * hurd/Makefile (migheadersed): Define variable.
17768 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17769 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17771 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17772 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17773 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17774 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17775 <bits/types/sigset_t.h>.
17776 [!defined __USE_GNU]: Do not #error out.
17777 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17778 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17779 Include <stddef.h> and <bits/types/sigset_t.h>
17780 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17781 instead of sighandler_t.
17782 * stdlib/errno.h (error_t): Move definition to...
17783 * bits/types/error_t.h: ... new header.
17784 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17785 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17786 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17787 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17788 * hurd/hurd.h: Include <bits/types/error_t.h>
17789 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17790 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17791 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17792 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17793 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17794 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
17795 * sysdeps/mach/hurd/futimens.c: New file.
17797 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17800 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17801 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17802 * nscd/gai.c (__nss_hosts_database): Readd definition.
17803 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17804 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17805 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17807 2018-03-02 Joseph Myers <joseph@codesourcery.com>
17809 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17810 (ifunc_one): Likewise.
17812 2018-03-01 DJ Delorie <dj@delorie.com>
17815 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17818 2018-03-01 Maciej W. Rozycki <macro@mips.com>
17820 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17821 `match_pid' parameter.
17822 (td_ta_thr_iter): Update accordingly.
17824 2018-03-01 Florian Weimer <fweimer@redhat.com>
17826 * nptl/Makefile (install-lib-ldscripts): Remove.
17827 (install): Remove rule.
17828 ($(inst_libdir)/libpthread.so): Likewise.
17830 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17833 * localedata/locales/an_ES: update month and day names,
17834 improve d_fmt, improve postal_fmt, add country_post,
17837 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17839 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17840 Ukrainian instead of Bulgarian.
17842 2018-03-01 Florian Weimer <fweimer@redhat.com>
17844 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17847 2018-03-01 Florian Weimer <fweimer@redhat.com>
17849 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17850 * nptl/Makefile (routines): Add pthread_atfork.
17851 (static-only-routines): Set to pthread_atfork.
17852 (libpthread-routines): Remove pthread_atfork.
17853 (libpthread-static-only-routines): Remove.
17854 (install): Update comment.
17855 (libpthread.so): Do not install libpthread_nonshared.a.
17856 (tests): Do not link with libpthread_nonshared.a.
17857 (generated): Remove libpthread_nonshared.a.
17858 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17859 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17860 with libpthread_nonshared.a.
17862 2018-02-28 Joseph Myers <joseph@codesourcery.com>
17865 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17866 (libc_feholdexcept_setroundf128): New macro.
17867 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17870 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17872 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17873 * include/inttypes.h: New file.
17875 2018-02-27 Joseph Myers <joseph@codesourcery.com>
17877 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17878 -Os in two more places.
17880 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17882 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17883 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17884 be sorted correctly at the moment because of a bug.
17886 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17888 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17889 treat ñ as a primary different character, sync the collation
17890 for Spanish with CLDR.
17891 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17892 * localedata/Makefile: Add new test files.
17893 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17894 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17896 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17897 * localedata/am_ET.UTF-8.in: New test file.
17898 * localedata/az_AZ.UTF-8.in: Likewise.
17899 * localedata/be_BY.UTF-8.in: Likewise.
17900 * localedata/ber_DZ.UTF-8.in: Likewise.
17901 * localedata/ber_MA.UTF-8.in: Likewise.
17902 * localedata/bg_BG.UTF-8.in: Likewise.
17903 * localedata/br_FR.UTF-8.in: Likewise.
17904 * localedata/cmn_TW.UTF-8.in: Likewise.
17905 * localedata/crh_UA.UTF-8.in: Likewise.
17906 * localedata/csb_PL.UTF-8.in: Likewise.
17907 * localedata/cv_RU.UTF-8.in: Likewise.
17908 * localedata/cy_GB.UTF-8.in: Likewise.
17909 * localedata/dz_BT.UTF-8.in: Likewise.
17910 * localedata/eo.UTF-8.in: Likewise.
17911 * localedata/es_ES.UTF-8.in: Likewise.
17912 * localedata/fa_IR.UTF-8.in: Likewise.
17913 * localedata/fi_FI.UTF-8.in: Likewise.
17914 * localedata/fil_PH.UTF-8.in: Likewise.
17915 * localedata/fur_IT.UTF-8.in: Likewise.
17916 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17917 * localedata/ha_NG.UTF-8.in: Likewise.
17918 * localedata/ig_NG.UTF-8.in: Likewise.
17919 * localedata/ik_CA.UTF-8.in: Likewise.
17920 * localedata/kk_KZ.UTF-8.in: Likewise.
17921 * localedata/ku_TR.UTF-8.in: Likewise.
17922 * localedata/ky_KG.UTF-8.in: Likewise.
17923 * localedata/ln_CD.UTF-8.in: Likewise.
17924 * localedata/mi_NZ.UTF-8.in: Likewise.
17925 * localedata/ml_IN.UTF-8.in: Likewise.
17926 * localedata/mn_MN.UTF-8.in: Likewise.
17927 * localedata/mr_IN.UTF-8.in: Likewise.
17928 * localedata/mt_MT.UTF-8.in: Likewise.
17929 * localedata/nb_NO.UTF-8.in: Likewise.
17930 * localedata/om_KE.UTF-8.in: Likewise.
17931 * localedata/os_RU.UTF-8.in: Likewise.
17932 * localedata/ps_AF.UTF-8.in: Likewise.
17933 * localedata/ro_RO.UTF-8.in: Likewise.
17934 * localedata/ru_RU.UTF-8.in: Likewise.
17935 * localedata/sc_IT.UTF-8.in: Likewise.
17936 * localedata/se_NO.UTF-8.in: Likewise.
17937 * localedata/sq_AL.UTF-8.in: Likewise.
17938 * localedata/sv_SE.UTF-8.in: Likewise.
17939 * localedata/szl_PL.UTF-8.in: Likewise.
17940 * localedata/tg_TJ.UTF-8.in: Likewise.
17941 * localedata/tk_TM.UTF-8.in: Likewise.
17942 * localedata/tt_RU.UTF-8.in: Likewise.
17943 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17944 * localedata/ug_CN.UTF-8.in: Likewise.
17945 * localedata/uz_UZ.UTF-8.in: Likewise.
17946 * localedata/vi_VN.UTF-8.in: Likewise.
17947 * localedata/yi_US.UTF-8.in: Likewise.
17948 * localedata/yo_NG.UTF-8.in: Likewise.
17949 * localedata/zh_CN.UTF-8.in: Likewise.
17950 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17951 file and fix bugs in the collation.
17952 * localedata/locales/az_AZ: Likewise.
17953 * localedata/locales/be_BY: Likewise.
17954 * localedata/locales/ber_DZ: Likewise.
17955 * localedata/locales/ber_MA: Likewise.
17956 * localedata/locales/bg_BG: Likewise.
17957 * localedata/locales/br_FR: Likewise.
17958 * localedata/locales/br_FR@euro: Likewise.
17959 * localedata/locales/ca_ES: Likewise.
17960 * localedata/locales/cns11643_stroke: Likewise.
17961 * localedata/locales/crh_UA: Likewise.
17962 * localedata/locales/cs_CZ: Likewise.
17963 * localedata/locales/csb_PL: Likewise.
17964 * localedata/locales/cv_RU: Likewise.
17965 * localedata/locales/cy_GB: Likewise.
17966 * localedata/locales/da_DK: Likewise.
17967 * localedata/locales/dz_BT: Likewise.
17968 * localedata/locales/en_CA: Likewise.
17969 * localedata/locales/eo: Likewise.
17970 * localedata/locales/es_CU: Likewise.
17971 * localedata/locales/es_EC: Likewise.
17972 * localedata/locales/es_ES: Likewise.
17973 * localedata/locales/es_US: Likewise.
17974 * localedata/locales/et_EE: Likewise.
17975 * localedata/locales/fa_IR: Likewise.
17976 * localedata/locales/fi_FI: Likewise.
17977 * localedata/locales/fil_PH: Likewise.
17978 * localedata/locales/fur_IT: Likewise.
17979 * localedata/locales/gez_ER@abegede: Likewise.
17980 * localedata/locales/ha_NG: Likewise.
17981 * localedata/locales/hr_HR: Likewise.
17982 * localedata/locales/hsb_DE: Likewise.
17983 * localedata/locales/hu_HU: Likewise.
17984 * localedata/locales/ig_NG: Likewise.
17985 * localedata/locales/ik_CA: Likewise.
17986 * localedata/locales/is_IS: Likewise.
17987 * localedata/locales/iso14651_t1_pinyin: Likewise.
17988 * localedata/locales/kk_KZ: Likewise.
17989 * localedata/locales/ku_TR: Likewise.
17990 * localedata/locales/ky_KG: Likewise.
17991 * localedata/locales/ln_CD: Likewise.
17992 * localedata/locales/lt_LT: Likewise.
17993 * localedata/locales/lv_LV: Likewise.
17994 * localedata/locales/mi_NZ: Likewise.
17995 * localedata/locales/ml_IN: Likewise.
17996 * localedata/locales/mn_MN: Likewise.
17997 * localedata/locales/mr_IN: Likewise.
17998 * localedata/locales/mt_MT: Likewise.
17999 * localedata/locales/nb_NO: Likewise.
18000 * localedata/locales/om_KE: Likewise.
18001 * localedata/locales/os_RU: Likewise.
18002 * localedata/locales/pl_PL: Likewise.
18003 * localedata/locales/ps_AF: Likewise.
18004 * localedata/locales/ro_RO: Likewise.
18005 * localedata/locales/ru_RU: Likewise.
18006 * localedata/locales/ru_UA: Likewise.
18007 * localedata/locales/sc_IT: Likewise.
18008 * localedata/locales/se_NO: Likewise.
18009 * localedata/locales/si_LK: Likewise.
18010 * localedata/locales/sq_AL: Likewise.
18011 * localedata/locales/sv_FI: Likewise.
18012 * localedata/locales/sv_FI@euro: Likewise.
18013 * localedata/locales/sv_SE: Likewise.
18014 * localedata/locales/szl_PL: Likewise.
18015 * localedata/locales/tg_TJ: Likewise.
18016 * localedata/locales/ti_ER: Likewise.
18017 * localedata/locales/tk_TM: Likewise.
18018 * localedata/locales/tl_PH: Likewise.
18019 * localedata/locales/tr_TR: Likewise.
18020 * localedata/locales/tt_RU: Likewise.
18021 * localedata/locales/tt_RU@iqtelif: Likewise.
18022 * localedata/locales/ug_CN: Likewise.
18023 * localedata/locales/uk_UA: Likewise.
18024 * localedata/locales/uz_UZ: Likewise.
18025 * localedata/locales/uz_UZ@cyrillic: Likewise.
18026 * localedata/locales/vi_VN: Likewise.
18027 * localedata/locales/yi_US: Likewise.
18028 * localedata/locales/yo_NG: Likewise.
18030 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18032 * gen-locales.mk: Make test files which contain @ modifiers in their
18034 * localedata/gen-locale.sh: Likewise.
18036 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18038 * posix/tst-fnmatch.input: Fix results for range expressions
18040 * posix/tst-regexloc.c: Do not use a range expression for
18041 de_DE.ISO-8859-1 locale.
18043 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18045 * posix/bug-regex5.c: Fix test case because with the new
18046 iso14651_t1_common file, the da_DK locale now has 6 collating elements
18047 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
18050 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18052 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
18053 downloaded from ISO, the collation order of @-. and space has changed.
18054 Therefore, this test file needed to be adapted.
18055 * localedata/fr_CA.UTF-8.in: Likewise.
18056 * localedata/fr_FR.UTF-8.in: Likewise.
18057 * localedata/uk_UA.UTF-8.in: Likewise.
18059 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18061 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
18062 order of ȥ in the new iso14651_t1_common file.
18063 * localedata/pl_PL.UTF-8.in: Likewise.
18065 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18067 * localedata/locales/iso14651_t1_common: Add sections for various
18068 scripts to the iso14651_t1_common file.
18070 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18072 * localedata/locales/iso14651_t1_common: Use the code point of a
18073 character in the fourth collation level instead of IGNORE for all
18074 entries which have IGNORE on all 4 levels.
18076 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18078 * localedata/locales/iso14651_t1_common: Add some convenient collation
18079 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
18080 rules similar to those in CLDR.
18082 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18084 * localedata/locales/iso14651_t1_common: The new version of this
18085 file downloaded from ISO contained several syntax errors which
18086 are fixed by this patch.
18088 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18090 * localedata/locales/iso14651_t1_common: replace all <U.....>
18091 with <U000.....> because glibc understands only 4 digit or 8 digit
18093 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18095 * localedata/locales/iso14651_t1_common: Necessary changes
18096 to make the file downloaded from ISO usable by glibc.
18098 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18101 * localedata/locales/iso14651_t1_common: Update file to
18102 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
18104 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18106 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
18107 of <nptl/pthreadP.h>
18108 (thread_attr_compare): Move function to...
18109 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
18110 * sysdeps/nptl/timer_routines.h: ... new header.
18111 * sysdeps/mach/hurd/gai_misc.h: New file.
18113 2018-02-26 Joseph Myers <joseph@codesourcery.com>
18115 * string/strcoll_l.c: Include <libc-diag.h>.
18116 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
18117 declarations of seq1 and seq2.
18120 * stdlib/atoi.c (atoi): Use libc_hidden_def.
18121 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
18123 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
18127 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
18128 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
18129 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
18130 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
18131 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
18132 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
18134 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18136 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
18137 macros used in __ptrace_request.
18139 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
18142 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
18144 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
18145 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
18146 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
18149 2018-02-23 Joseph Myers <joseph@codesourcery.com>
18152 * ctype/ctype.c (tolower): Use libc_hidden_def.
18153 (toupper): Likewise.
18154 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
18155 [!_ISOMAC] (toupper): Likewise.
18157 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18159 * localedata/Makefile: Remove --quiet argument when
18162 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18165 * localedata/locales/pt_BR (LC_TIME): use / instead of -
18167 * localedata/locales/pt_PT (LC_TIME): likewise
18169 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18172 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
18173 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
18174 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
18176 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18180 * nptl/Makefile (routines): Remove unregister-atfork.
18181 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
18182 (fork_handler_alloc): Remove function.
18183 (fork_handlers, fork_handler_init): New variables.
18184 (__fork_lock): Rename to atfork_lock.
18185 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
18186 to use a dynamic array to add/remove atfork handlers.
18187 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18188 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
18189 Remove declaration.
18190 (fork_handler): Remove next, refcntr, and need_signal member.
18191 (__run_fork_handler_type): New enum.
18192 (__run_fork_handlers): New prototype.
18193 * nptl/register-atfork.c: Remove file.
18194 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
18196 * sysdeps/nptl/nptl-signals.h: Move to ...
18197 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
18199 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
18200 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
18201 unnecessary check for SIGTIMER.
18202 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
18203 remove unnecessary removal of SIGTIMER.
18204 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
18205 include-signals.h rename.
18206 * nptl/pthreadP.h: Likewise.
18207 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
18208 __is_internal_signal instead of __nptl_is_internal_signal.
18210 2018-02-22 Andrew Waterman <andrew@sifive.com>
18213 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
18214 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
18215 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
18216 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
18218 2018-02-22 DJ Delorie <dj@delorie.com>
18220 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
18222 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
18224 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
18225 do_misaligned, not misaligned8.
18227 2018-02-22 Steve Ellcey <sellcey@cavium.com>
18229 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
18230 Add memcpy_thunderx2.
18231 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
18233 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
18234 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
18235 and IS_THUNDERX2PA checks.
18236 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
18237 Use macro to set name appropriately.
18238 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
18239 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
18240 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
18242 (IS_THUNDERX2): New macro.
18244 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
18246 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18248 2018-02-21 Zack Weinberg <zackw@panix.com>
18250 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
18251 Define here, unconditionally.
18252 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
18253 * libio/libioP.h: Remove #if 0 blocks.
18254 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
18255 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
18256 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
18258 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
18259 Assume weak_alias is always defined.
18261 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
18262 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
18263 Remove #if 0 and #ifdef TODO blocks.
18264 Assume text_set_element is always defined.
18266 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
18267 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
18268 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
18270 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
18271 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
18272 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
18273 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
18274 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
18275 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
18276 Reformat bit flags for _flags field to make occupancy clearer.
18278 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
18279 Keep definitions consistent with those in libio/libio.h.
18281 * libio/libio.h (_IO_file_flags): Remove macro.
18282 All uses changed to _flags.
18284 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
18285 (__HAVE_COLUMN, _IO_BE): Don't define.
18286 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
18287 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
18288 * libio/libioP.h (EOF): Don't define.
18289 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
18290 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
18291 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
18292 testing _IO_UNIFIED_JUMPTABLES.
18294 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
18295 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
18296 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
18297 (_IO_size_t): Delete; all uses changed to size_t.
18298 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
18299 (_IO_off_t): Delete; all uses changed to off_t.
18300 (_IO_off64_t): Delete; all uses changed to off64_t.
18301 (_IO_pid_t): Delete; all uses changed to pid_t.
18302 (_IO_uid_t): Delete; all uses changed to uid_t.
18303 (_IO_wint_t): Delete; all uses changed to wint_t.
18304 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
18305 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
18306 (_IO_cookie_io_functions_t): Delete; all uses changed to
18307 cookie_io_functions_t.
18308 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
18309 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
18310 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
18311 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
18313 * libio/iofopncook.c: Remove unnecessary forward declarations.
18314 * libio/iolibio.h: Correct outdated commentary.
18315 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
18316 * stdio-common/fxprintf.c (__fxprintf_nocancel):
18317 Remove unnecessary casts.
18318 * stdio-common/getline.c: Use _IO_getdelim directly.
18319 Don't redefine ssize_t.
18320 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
18321 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
18322 Remove outdated comments.
18323 * stdio-common/vfscanf.c: Don't redefine va_list.
18325 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
18326 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
18327 Remove preprocessor conditionals on _LIBC and __USE_GNU,
18328 which are always true, and __cplusplus, which is always false.
18330 2018-02-21 Joseph Myers <joseph@codesourcery.com>
18334 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
18335 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
18336 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
18337 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
18339 [!_ISOMAC] (putc_unlocked): Likewise.
18340 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
18341 define inline if [__USE_EXTERN_INLINES].
18342 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
18347 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
18348 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
18349 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
18350 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
18351 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
18353 * time/tzfile.c (__tzfile_read): Likewise.
18355 2018-02-21 Mike FABIAN <mfabian@redhat.com>
18358 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
18360 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
18362 * io/fcntl.h: Fix a typo in a comment.
18364 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
18367 * include/features.h: Add _ISOC11_SOURCE to test for whether to
18368 define _DEFAULT_SOURCE.
18369 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
18371 2018-02-21 Florian Weimer <fweimer@redhat.com>
18374 * elf/cache.c (save_cache): Call fsync on temporary file before
18376 (save_aux_cache): Call fdatasync on temporary file before renaming
18379 2018-02-21 Florian Weimer <fweimer@redhat.com>
18382 * include/caller.h: Remove file.
18383 * elf/dl-caller.c: Likewise.
18384 * elf/Makefile (dl-routines): Remove dl-caller.
18385 (shared-only-routines): Do not add dl-caller.
18386 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
18388 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
18390 (dl_open_worker): Do not call __check_caller.
18391 (_dl_open): Do not set caller_dl_open member.
18392 * elf/rtld.c (_rtld_global_ro): Do not initialize
18393 _dl_check_caller member.
18394 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
18395 _dl_check_caller member.
18396 (_dl_check_caller): Remove declaration.
18397 * sysdeps/unix/sysv/linux/dl-execstack.c
18398 (_dl_make_stack_executable): Do not call __check_caller.
18400 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
18402 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
18403 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
18405 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
18407 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
18410 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
18413 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
18414 of 199606L, 200112L, and 200809L.
18415 (_XOPEN_SOURCE): Document special values of 600 and 700.
18416 (_ISOC11_SOURCE): Document macro.
18417 (_ATFILE_SOURCE): Likewise.
18418 (_FORTIFY_SOURCE): Likewise.
18420 2018-02-19 Joseph Myers <joseph@codesourcery.com>
18424 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
18425 and define as weak alias of __ferror_unlocked. Use
18427 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
18429 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
18430 function if [__USE_EXTERN_INLINES].
18431 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
18434 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
18437 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
18439 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18442 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
18443 the GLIBC_2.1 version.
18445 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18448 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
18449 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
18450 intl/tst-gettext-de.po from po/de.po by removing the
18451 POT-Creation-Date line.
18452 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
18454 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
18457 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18459 * mach/Makefile (headers): Add mach/param.h.
18460 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
18461 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
18462 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
18463 (__ptsname_r): Move implementation to...
18464 (__ptsname_internal): ... new function. Add filling the STP
18467 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
18469 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
18472 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
18474 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
18477 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18479 * nptl/Makefile (tst-mutex8-ENV): Delete.
18480 * nptl/tst-mutex8.c (check_type):
18481 Add runtime check if mutex will be elided.
18483 2018-02-15 Joseph Myers <joseph@codesourcery.com>
18487 * manual/install.texi (Configuring and compiling): Describe
18488 passing CC and CFLAGS on configure command line, not as
18489 environment variables. Use @code markup on those variables.
18490 Specify what options go in CC and what go in CFLAGS. Note the
18491 requirement to compile with optimization.
18492 * INSTALL: Regenerated.
18495 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
18496 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
18497 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
18498 __sigprocmask instead of sigprocmask.
18499 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
18501 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
18502 __sigsetjmp and sigprocmask.
18505 * include/argz.h (argz_next): Use libc_hidden_proto.
18506 (__argz_next): Likewise.
18507 * string-argz-next.c (__argz_next): Use libc_hidden_def.
18508 (argz_next): Use libc_hidden_weak.
18511 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
18513 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
18517 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
18519 * libio/iofputs.c (fputs): Use libc_hidden_weak.
18523 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
18524 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
18525 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
18526 (__feof_unlocked): New declaration, and inline function if
18527 [__USE_EXTERN_INLINES].
18528 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
18529 instead of feof_unlocked.
18530 * intl/localealias.c [_LIBC] (FEOF): Likewise.
18531 * nss/nsswitch.c (nss_parse_file): Likewise.
18532 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
18534 * time/getdate.c (__getdate_r): Likewise.
18535 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
18536 Define as macro to call __feof_unlocked.
18538 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18540 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
18542 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18544 * math/Makefile: Remove mpexp.c and mplog.c
18545 * sysdeps/i386/fpu/mpexp.c: Delete file.
18546 * sysdeps/i386/fpu/mplog.c: Likewise.
18547 * sysdeps/ia64/fpu/mpexp.c: Likewise.
18548 * sysdeps/ia64/fpu/mplog.c: Likewise.
18549 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
18550 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
18551 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
18552 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18553 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
18554 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
18555 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
18556 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
18557 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18558 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18559 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
18560 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18561 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18562 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
18563 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18564 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18566 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18568 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18570 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18572 * sysdeps/sh/libm-test-ulps: Update.
18574 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18576 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
18579 2018-02-12 Zack Weinberg <zackw@panix.com>
18582 * posix/sys/types.h: Don't include sys/sysmacros.h.
18583 * misc/sys/sysmacros.h: Remove the conditional deprecation
18584 warnings for the macros defined by this header.
18586 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18588 * manual/probes.texi: Remove slowexp probes.
18589 * math/Makefile: Remove slowexp.
18590 * sysdeps/generic/math_private.h (__slowexp): Remove.
18591 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18592 document error bounds.
18593 * sysdeps/i386/fpu/slowexp.c: Remove.
18594 * sysdeps/ia64/fpu/slowexp.c: Remove.
18595 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18596 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18597 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18598 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18599 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18600 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18601 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18602 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18603 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18604 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18605 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18607 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18610 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18611 * benchtests/pow-inputs: Update comment for slow path cases.
18612 * manual/probes.texi (slowpow_p10): Delete removed probe.
18613 (slowpow_p10): Likewise.
18614 * math/Makefile: Remove halfulp.c and slowpow.c.
18615 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18616 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18617 (__halfulp): Remove.
18618 (__slowpow): Remove.
18619 * sysdeps/i386/fpu/halfulp.c: Delete file.
18620 * sysdeps/i386/fpu/slowpow.c: Likewise.
18621 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18622 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18623 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18624 improve comments and add error analysis.
18625 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18626 (power1): Remove function:
18627 (log1): Remove error argument, add error analysis.
18628 (my_log2): Remove function.
18629 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18630 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18631 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18632 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18633 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18634 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18635 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18636 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18637 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18638 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18639 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18640 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18641 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18642 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18644 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18646 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
18647 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
18649 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
18652 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
18653 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
18654 and PTRACE_SETHBPREGS.
18656 2018-02-10 Zack Weinberg <zackw@panix.com>
18659 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
18661 * malloc/tst-malloc-stats-cancellation.c: New test case.
18662 * malloc/Makefile: Add new test case.
18664 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
18666 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
18668 2018-02-10 Joseph Myers <joseph@codesourcery.com>
18670 * math/Makefile (libm-narrow-fns): Add add.
18671 (libm-test-funcs-narrow): Likewise.
18672 * math/Versions (GLIBC_2.28): Add narrowing add functions.
18673 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
18674 * math/gen-auto-libm-tests.c (test_functions): Add add.
18675 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
18676 (NARROW_ADD_ROUND_TO_ODD): Likewise.
18677 (NARROW_ADD_TRIVIAL): Likewise.
18678 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
18680 (__daddl): Likewise.
18681 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
18683 (CFLAGS-nldbl-dadd.c): New variable.
18684 (CFLAGS-nldbl-fadd.c): Likewise.
18685 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18687 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
18689 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
18690 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
18691 * math/auto-libm-test-in: Add tests of add.
18692 * math/auto-libm-test-out-narrow-add: New generated file.
18693 * math/libm-test-narrow-add.inc: New file.
18694 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18695 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
18696 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
18697 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
18698 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
18699 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
18700 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
18701 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
18702 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
18703 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
18704 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
18705 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
18706 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
18707 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
18708 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
18709 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
18710 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
18711 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
18712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18713 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18714 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18715 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18716 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18717 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18718 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18719 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18720 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18721 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18722 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18723 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18724 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18725 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18730 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18731 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18732 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18733 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18734 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18735 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18736 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18737 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18738 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18739 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18741 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
18742 (f128-pairs): New variable.
18743 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
18744 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18746 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18747 Also make tests add $(f128-loader-link) to gnulib-tests.
18749 2018-02-09 DJ Delorie <dj@redhat.com>
18752 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18753 64-bit ELF type for 64-bit ELF objects.
18755 2018-02-09 Joseph Myers <joseph@codesourcery.com>
18757 * math/libm-test-driver.c (snan_tests_arg): New variable.
18758 * math/libm-test-support.h (snan_tests_arg): New declaration.
18759 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18761 * math/Makefile (test-type-pairs): New variable.
18762 (test-type-pairs-f64xf128-yes): Likewise.
18763 (tests): Add test-narrow-macros.
18764 (libm-test-funcs-narrow): New variable.
18765 (libm-test-c-narrow): Likewise.
18766 (generated): Add $(libm-test-c-narrow).
18767 (libm-tests-base-narrow): New variable.
18768 (libm-tests-narrow): Likewise.
18769 (libm-tests): Add $(libm-tests-narrow).
18770 (libm-tests-for-type): Handle $(libm-tests-narrow).
18771 (libm-test-c-narrow-obj): New variable.
18772 ($(libm-test-c-narrow-obj)): New rule.
18773 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18774 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18775 $(o-iterator) to set dependencies and CFLAGS.
18776 * math/gen-auto-libm-tests.c: Document use for narrowing
18778 (output_for_one_input_case): Take argument NARROW.
18779 (generate_output): Likewise. Update call to
18780 output_for_one_input_case.
18781 (main): Take --narrow option. Update call to generate_output.
18782 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18783 (apply_lit): Update call to _apply_lit.
18784 (apply_arglit): New function.
18785 (parse_args): Handle "a" arguments.
18786 (parse_auto_input): Handle format names using ":".
18787 * math/README.libm-test: Document "a" parameter type.
18788 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18789 (ARG_TYPE_TRUE_MIN): Likewise.
18790 (ARG_TYPE_MAX): Likwise.
18791 (ARG_MIN_EXP): Likewise.
18792 (ARG_MAX_EXP): Likewise.
18793 (ARG_MANT_DIG): Likewise.
18794 (TEST_COND_arg_ibm128): Likewise.
18795 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18796 (TEST_COND_arg_fmt): New macro.
18797 (init_max_error): Update prototype.
18798 * math/libm-test-support.c (test_ibm128): New variable.
18799 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18800 instead of using [TEST_COND_ibm128] conditional.
18801 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18802 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18803 [TEST_NARROW] (TEST_MSG): New definition.
18804 (arg_plus_zero): New macro.
18805 (arg_minus_zero): Likewise.
18806 (arg_plus_infty): Likewise.
18807 (arg_minus_infty): Likewise.
18808 (arg_qnan_value_pl): Likewise.
18809 (arg_qnan_value): Likewise.
18810 (arg_snan_value_pl): Likewise.
18811 (arg_snan_value): Likewise.
18812 (arg_max_value): Likewise.
18813 (arg_min_value): Likewise.
18814 (arg_min_subnorm_value): Likewise.
18815 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18816 (RUN_TEST_LOOP_aa_f): New macro.
18817 (TEST_SUFF): New macro.
18818 (TEST_SUFF_STR): Likewise.
18819 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18820 (TEST_COND_any_ibm128): New macro.
18821 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18822 this_func. Update call to init_max_error.
18823 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18824 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18825 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18826 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18827 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18828 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18829 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18830 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18831 * math/test-math-vector.h (TEST_NARROW): Likewise.
18832 * math/test-arg-double.h: New file.
18833 * math/test-arg-float128.h: Likewise.
18834 * math/test-arg-float32x.h: Likewise.
18835 * math/test-arg-float64.h: Likewise.
18836 * math/test-arg-float64x.h: Likewise.
18837 * math/test-arg-ldouble.h: Likewise.
18838 * math/test-math-narrow.h: Likewise.
18839 * math/test-narrow-macros.c: Likewise.
18840 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18841 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18842 test-narrow-macros-ldbl-64.
18843 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18845 * math/bits/mathcalls-narrow.h: New file.
18846 * include/bits/mathcalls-narrow.h: Likewise.
18847 * math/math-narrow.h: Likewise.
18848 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18849 (__MATHCALL_NARROW_ARGS_2): Likewise.
18850 (__MATHCALL_NARROW_ARGS_3): Likewise.
18851 (__MATHCALL_NARROW_NORMAL): Likewise.
18852 (__MATHCALL_NARROW_REDIR): Likewise.
18853 (__MATHCALL_NARROW): Likewise.
18854 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18855 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18857 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18858 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18859 (libm-narrow-fns): New variable.
18860 (libm-narrow-types-basic): Likewise.
18861 (libm-narrow-types-ldouble-yes): Likewise.
18862 (libm-narrow-types-float128-yes): Likewise.
18863 (libm-narrow-types-float128-alias-yes): Likewise.
18864 (libm-narrow-types): Likewise.
18865 (libm-routines): Add narrowing functions.
18866 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18867 (libc_feholdexcept_setroundf128): New macro.
18868 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18869 * sysdeps/ieee754/float128/float128_private.h: Include
18870 <math/math-narrow.h>.
18871 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18872 Undefine and redefine.
18873 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18874 (libm_alias_float_ldouble): Undefine and redefine.
18875 (libm_alias_double_ldouble): Likewise.
18877 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18879 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18881 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18884 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
18886 * manual/creature.texi: Convert references to gcc.info to gcc.
18887 * manual/stdio.texi: Likewise.
18888 * manual/string.texi: Likewise.
18890 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18893 * posix/bits/types.h (__int_least8_t): New typedef.
18894 (__uint_least8_t): Likewise.
18895 (__int_least16_t): Likewise.
18896 (__uint_least16_t): Likewise.
18897 (__int_least32_t): Likewise.
18898 (__uint_least32_t): Likewise.
18899 (__int_least64_t): Likewise.
18900 (__uint_least64_t): Likewise.
18901 * sysdeps/generic/stdint.h (int_least8_t): Define using
18903 (int_least16_t): Define using __int_least16_t.
18904 (int_least32_t): Define using __int_least32_t.
18905 (int_least64_t): Define using __int_least64_t.
18906 (uint_least8_t): Define using __uint_least8_t.
18907 (uint_least16_t): Define using __uint_least16_t.
18908 (uint_least32_t): Define using __uint_least32_t.
18909 (uint_least64_t): Define using __uint_least64_t.
18910 * wcsmbs/uchar.h: Include <bits/types.h>.
18911 (char16_t): Define using __uint_least16_t conditional only on
18913 (char32_t): Define using __uint_least32_t conditional only on
18915 * wcsmbs/test-char-types.c: New file.
18916 * wcsmbs/Makefile (tests): Add test-char-types.
18918 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18921 2018-02-07 Zack Weinberg <zackw@panix.com>
18923 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18924 Delete all contents except for definitions of _G_HAVE_MMAP and
18925 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18926 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18927 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18930 * libio/libio.h: Don't include bits/_G_config.h here.
18931 Include stddef.h with __need_wchar_t defined. Include
18932 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18933 Define _IO_iconv_t here, directly.
18934 Don't define _IO_HAVE_ST_BLKSIZE.
18935 * libio/libioP.h: Include _G_config.h here. Move include of
18936 shlib-compat.h up with rest of includes. Simplify conditionals
18937 controlling definition of _IO_JUMPS_OFFSET.
18939 * csu/init.c: Remove always-true #if around entire file.
18940 Don't include stdio.h. Set _IO_stdin_used to hardwired
18941 constant 0x20001, and update commentary.
18942 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18943 Replace all uses of _G_va_list with __gnuc_va_list.
18944 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18945 instead of #if _IO_HAVE_ST_BLKSIZE.
18946 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18947 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18950 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18951 multiple-include guard to match.
18952 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18954 Remove preprocessor conditionals that are always true and/or
18955 redundant to other preprocessor conditionals in the same nest.
18956 Include shlib-compat.h unconditionally.
18957 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18958 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18959 defined after including stdio.h.
18960 Use __BEGIN_DECLS/__END_DECLS.
18962 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18963 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18964 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18966 2018-02-07 Zack Weinberg <zackw@panix.com>
18968 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18969 New single-type headers split from _G_config.h.
18970 * libio/bits/types/cookie_io_functions_t.h
18971 * libio/bits/types/struct_FILE.h
18972 New single-type headers split from libio.h.
18974 * libio/Makefile: Install the above new headers. Don't install
18975 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18977 * libio/_G_config.h, libio/libio.h: Delete file.
18979 * libio/bits/libio.h: Remove improper-inclusion guard.
18980 Include stdio.h and don't repeat anything that it does.
18981 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18982 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18983 __io_read_fn as cookie_read_function_t,
18984 __io_write_fn as cookie_write_function_t,
18985 __io_seek_fn as cookie_seek_function_t,
18986 __io_close_fn as cookie_close_function_t,
18987 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18988 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18989 here, in the "compatibility defines" section. Remove an #if 0
18990 block. Use the "body" macros from bits/types/struct_FILE.h to
18991 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18992 and _IO_ferror_unlocked.
18993 Move prototypes of __uflow and __overflow...
18995 * libio/stdio.h: ...here. Don't include bits/libio.h.
18996 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
18997 directly from stdarg.h. Include bits/types/__fpos_t.h,
18998 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18999 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
19000 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
19001 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
19002 cookie_io_functions_t, not _IO_cookie_io_functions_t;
19003 __ssize_t, not _IO_ssize_t. Unconditionally define
19004 BUFSIZ as 8192 and EOF as (-1).
19006 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
19007 macros from bits/types/struct_FILE.h instead of _IO_* macros
19008 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
19009 instead of _IO_ssize_t.
19010 * libio/bits/stdio2.h: Similarly.
19012 * libio/iolibio.h: Add multiple-include guard.
19013 Include bits/libio.h after stdio.h.
19014 * libio/libioP.h: Add multiple-include guard.
19015 Include stdio.h and bits/libio.h before iolibio.h.
19017 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
19018 * include/bits/types/cookie_io_functions_t.h
19019 * include/bits/types/struct_FILE.h: New wrappers.
19021 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
19022 Get definitions of _G_fpos_t and _G_fpos64_t from
19023 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
19024 respectively. Remove improper-inclusion guards.
19026 * conform/data/stdio.h-data: Update expectations of va_list.
19027 * scripts/check-installed-headers.sh: Remove special case for
19028 libio.h and _G_config.h.
19030 2018-02-07 Joseph Myers <joseph@codesourcery.com>
19034 * include/sys/sysmacros.h [!_ISOMAC]
19035 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
19036 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
19037 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
19038 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
19040 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
19041 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
19043 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
19044 Undefine and redefine to add use __gnu_dev_ prefix.
19045 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
19047 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
19048 and define as hidden inline function.
19049 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
19051 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
19053 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
19054 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
19055 (gnu_dev_minor): Likewise.
19056 (gnu_dev_makedev): Likewise.
19057 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
19059 * posix/wordexp.c (exec_comm_child): Likewise.
19060 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
19061 instead of minor and __gnu_dev_major instead of major.
19062 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
19063 __gnu_dev_major instead of major.
19064 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
19065 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
19066 instead of gnu_dev_minor.
19067 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
19068 (SLAVE_P): Likewise.
19069 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
19070 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
19074 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
19076 * locale/weightwc.h (findidx): Likewise.
19078 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
19080 * manual/probes.texi (slowlog): Delete documentation of removed probe.
19081 (slowlog_inexact): Likewise
19082 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
19083 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
19085 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
19088 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
19089 missing second underscore to parameter name.
19091 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19097 * bits/byteswap.h: Update file comment. Do not include
19098 <bits/byteswap-16.h>.
19099 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
19101 (__bswap_16): Define as inline function.
19102 (__bswap_constant_32): Reformat definition.
19103 (__bswap_32): Always define as inline function, not macro, using
19104 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
19105 otherwise __bswap_constant_32.
19106 (__bswap_constant_64): Reformat definition. Do not use
19107 __extension__ here.
19108 (__bswap_64): Always define as inline function, not macro. Use
19109 __extension__ on function definition. Use __builtin_bswap64 if
19110 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
19111 * string/test-endian-file-scope.c: New file.
19112 * string/test-endian-sign-conversion.c: Likewise.
19113 * string/Makefile (headers): Remove bits/byteswap-16.h.
19114 (tests): Add test-endian-file-scope and
19115 test-endian-sign-conversion.
19116 (CFLAGS-test-endian-sign-conversion.c): New variable.
19117 * bits/byteswap-16.h: Remove file.
19118 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
19119 * sysdeps/ia64/bits/byteswap.h: Likewise.
19120 * sysdeps/m68k/bits/byteswap.h: Likewise.
19121 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19122 * sysdeps/s390/bits/byteswap.h: Likewise.
19123 * sysdeps/tile/bits/byteswap.h: Likewise.
19124 * sysdeps/x86/bits/byteswap-16.h: Likewise.
19125 * sysdeps/x86/bits/byteswap.h: Likewise.
19128 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
19129 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
19130 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
19131 199901L] (__restrict): Define to restrict.
19134 * string/testcopy.c: Include <support/support.h>. Do not include
19135 <malloc.h>. Use <support/test-driver.c>.
19136 (main): Rename to do_test. Make static. Use xmalloc instead of
19140 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
19141 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
19142 (SSIZE_MAX): Define to INT_MAX.
19143 * posix/test-ssize-max.c: New file.
19144 * posix/Makefile (tests): Add test-ssize-max.
19147 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
19148 <support/support.h>. Do not include <malloc.h>.
19149 (query_auxv): Use xmalloc instead of malloc.
19152 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
19153 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
19156 2018-02-06 Florian Weimer <fweimer@redhat.com>
19159 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19160 Use scratch_buffer instead of extend_alloca.
19162 2018-02-06 Zack Weinberg <zackw@panix.com>
19164 * libio/stdio.h: Don't define getc or putc as macros.
19165 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
19166 not _IO_getc and _IO_putc.
19168 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
19169 * stdio-common/tstgetln.c: Don't redefine ssize_t.
19171 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19173 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
19174 (TCP_FASTOPEN_NO_COOKIE): Likewise.
19176 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
19179 * elf/elf.h (NT_PRFPREG): New macro.
19180 (NT_S390_VXRS_LOW): Likewise.
19181 (NT_S390_VXRS_HIGH): Likewise.
19182 (NT_S390_GS_CB): Likewise.
19183 (NT_S390_GS_BC): Likewise.
19184 (NT_S390_RI_CB): Likewise.
19186 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
19187 (MAP_SYNC): New macro.
19188 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
19190 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
19191 (MAP_SYNC): Likewise.
19192 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
19193 (MAP_SYNC): Likewise.
19194 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
19195 (MAP_SYNC): Likewise.
19196 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
19197 (MAP_SYNC): Likewise.
19198 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
19199 (MAP_SYNC): Likewise.
19200 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
19201 (MAP_SYNC): Likewise.
19202 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
19204 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
19207 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
19208 (MAP_SHARED_VALIDATE): New macro.
19209 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
19210 (MAP_SHARED_VALIDATE): Likewise.
19212 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19214 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
19215 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
19216 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19218 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19220 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
19221 (DT_NUM): Updated to 35.
19223 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19225 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
19226 __builtin_expect with __glibc_likely and __glibc_unlikely.
19227 (elf_machine_rela): Likewise.
19228 (elf_machine_lazy_rel): Likewise.
19230 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19232 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
19233 __builtin_expect with __glibc_likely and __glibc_unlikely.
19234 (elf_machine_lazy_rel): Likewise.
19236 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19239 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
19241 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
19243 2018-02-05 Andreas Schwab <schwab@suse.de>
19246 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
19249 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19251 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
19252 not check against PTHREAD_STACK_MIN.
19254 2018-02-02 Sean McKean <smckean83@gmail.com>
19257 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
19259 2018-02-02 Florian Weimer <fweimer@redhat.com>
19262 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
19263 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
19264 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
19265 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
19266 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
19267 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
19268 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
19269 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
19270 * manual/llio.texi (Scatter-Gather): Mention offset -1.
19271 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
19272 * misc/tst-preadvwritev2.c (do_test): Call it.
19273 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
19275 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
19277 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
19279 * benchtests/bench-memcmp.c: Print json instead of plain text.
19281 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
19284 2018-02-01 Joseph Myers <joseph@codesourcery.com>
19286 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19288 (s390_sthyi): New syscall.
19290 * sysdeps/generic/ldbl-classify-compat.h: New file.
19291 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
19292 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
19293 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
19294 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
19295 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
19296 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
19297 * sysdeps/ieee754/dbl-64/s_finite.c: Include
19298 <ldbl-classify-compat.h>.
19299 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19300 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
19301 <ldbl-classify-compat.h>.
19302 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19303 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
19304 <ldbl-classify-compat.h>.
19305 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19306 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
19307 <ldbl-classify-compat.h>.
19308 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19309 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
19310 <ldbl-classify-compat.h>.
19311 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19312 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
19313 <ldbl-classify-compat.h>.
19314 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19315 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
19316 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19317 * sysdeps/m68k/coldfire/math_private.h: Remove file.
19318 * sysdeps/microblaze/math_private.h: Likewise.
19319 * sysdeps/nios2/math_private.h: Likewise.
19320 * sysdeps/sh/math_private.h: Likewise.
19322 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
19323 * sysdeps/m68k/coldfire/math_private.h: ... here.
19324 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
19325 * sysdeps/tile/math_private.h: Likewise.
19326 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
19328 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
19331 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
19333 (libc_fetestexcept): Likewise.
19334 (libc_feupdateenv_test): Likewise.
19335 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
19336 (libc_fetestexcept): Likewise.
19337 (libc_feupdateenv_test): Likewise.
19338 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
19339 (libc_fetestexcept): Likewise.
19340 (libc_feupdateenv_test): Likewise.
19341 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
19342 (libc_fetestexcept): Likewise.
19343 (libc_feupdateenv_test): Likewise.
19345 * sysdeps/generic/math_private.h
19346 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
19347 New inline function.
19348 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
19351 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
19352 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
19353 * sysdeps/generic/math_private.h
19354 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
19356 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
19358 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
19360 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
19362 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
19364 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
19366 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
19367 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
19368 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
19369 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
19370 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
19371 (__fegetenv): Likewise.
19372 (fesetenv): Likewise.
19373 (__fesetenv): Likewise.
19374 (feupdateenv): Likewise.
19375 (__feupdateenv): Likewise.
19376 (fegetround): Likewise.
19377 (__fegetround): Likewise.
19378 (fesetround): Likewise.
19379 (__fesetround): Likewise.
19381 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
19382 (feraiseexcept): New macro.
19383 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
19384 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
19386 (__feraiseexcept): Likewise.
19387 (feclearexcept): Likewise.
19388 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
19389 (__feraiseexcept): Likewise.
19390 (feclearexcept): Likewise.
19391 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
19392 (__feraiseexcept): Likewise.
19393 (feclearexcept): Likewise.
19394 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
19395 (__feraiseexcept): Likewise.
19396 (feclearexcept): Likewise.
19397 (fetestexcept): Likewise.
19399 * sysdeps/m68k/coldfire/math-tests.h: New file.
19401 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
19402 * sysdeps/m68k/bits/fenv.h: ... here.
19403 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
19405 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
19407 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
19409 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
19411 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
19413 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
19415 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
19416 (__FE_UNDEFINED): New enum constant.
19417 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
19419 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
19421 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
19423 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
19424 to match generic bits/fenv.h.
19425 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
19428 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
19430 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
19431 * soft-fp/half.h (union _FP_UNION_H): Likewise.
19432 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
19433 * soft-fp/single.h (union _FP_UNION_S): Likewise.
19435 2018-02-01 Carlos O'Donell <carlos@redhat.com>
19436 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
19437 Joseph Myers <joseph@codesourcery.com>
19440 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
19441 (__log1p): Disable -Wmaybe-uninitialized for -Os around
19442 computation using c.
19443 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
19444 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
19445 computation using c.
19447 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19449 * version.h (RELEASE): Set to "development".
19450 (VERSION): Set to "2.27.9000".
19451 * NEWS (2.28): New section.
19453 * version.h (RELEASE): Set to "stable".
19454 (VERSION): Set to "2.27".
19455 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
19457 * NEWS: Add the list of bugs fixed in 2.27.
19459 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19461 * stdlib/test-atexit-race-common.c (do_test): Check stack size
19462 against PTHREAD_STACK_MIN.
19464 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19466 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
19468 (Rafal Luzynski, Andreas Schwab): Update.
19470 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
19473 * NEWS: List the languages which actually use the alternative
19474 months feature in this release. Also explain that "alt_mon" and
19475 "ab_alt_mon" are optional.
19477 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
19480 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
19482 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
19484 * manual/install.texi (Tools for Compilation): Update the newest
19485 versions of gcc, binutils, texinfo, gawk, bison, and sed.
19486 * INSTALL: Regenerated.
19488 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19490 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
19491 instead of __builtin_expect.
19493 2018-01-30 Florian Weimer <fweimer@redhat.com>
19495 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
19497 * nss/tst-nss-getpwent.c (do_test): Likewise.
19499 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
19502 * localedata/locales/hr_HR (mon): Rename to...
19504 (mon): Import from CLDR (genitive case).
19505 (d_t_fmt): Update the comment.
19507 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
19509 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
19510 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
19511 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
19513 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19515 * mach/Versions: Fix version when __mach_host_self_ was added.
19516 * hurd/Versions: Fix version when _hurd_exec_paths was added.
19517 * sysdeps/mach/hurd/i386/ld.abilist: New file.
19518 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
19519 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
19520 * sysdeps/mach/hurd/i386/libc.abilist: New file.
19521 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
19522 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
19523 * sysdeps/mach/hurd/i386/libm.abilist: New file.
19524 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
19525 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
19526 * sysdeps/mach/hurd/i386/librt.abilist: New file.
19527 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
19528 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
19529 || to respect codestyle.
19530 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
19531 (do_test_bz20181): Rename accordingly.
19532 * malloc/malloc.c: Include <assert.h>.
19533 (assert): Do not define.
19534 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
19535 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
19536 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
19537 * sysdeps/mach/hurd/hp-timing.h: New file.
19538 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
19540 2018-01-29 Darius Rad <darius@bluespec.com>
19542 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
19544 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
19546 * sysdeps/init_array/crti.S (.section .init_array): Add
19547 PREINIT_FUNCTION when defined.
19548 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
19549 * config.h.in: Regenerate.
19550 * manual/platform.texi: Add RISC-V documenation for
19551 __riscv_flush_icache.
19552 * sysdeps/riscv/__longjmp.S: New file.
19553 * sysdeps/riscv/backtrace.c: Likewise.
19554 * sysdeps/riscv/bits/endian.h: Likewise.
19555 * sysdeps/riscv/bits/setjmp.h: Likewise.
19556 * sysdeps/riscv/bits/wordsize.h: Likewise.
19557 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
19558 * sysdeps/riscv/bsd-setjmp.c: Likewise.
19559 * sysdeps/riscv/dl-trampoline.S: Likewise.
19560 * sysdeps/riscv/gccframe.h: Likewise.
19561 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
19562 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
19563 * sysdeps/riscv/machine-gmon.h: Likewise.
19564 * sysdeps/riscv/memusage.h: Likewise.
19565 * sysdeps/riscv/setjmp.S: Likewise.
19566 * sysdeps/riscv/sys/asm.h: Likewise.
19567 * sysdeps/riscv/tls-macros.h: Likewise.
19568 * sysdeps/riscv/dl-tls.h: New file.
19569 * sysdeps/riscv/libc-tls.c: Likewise.
19570 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
19571 * sysdeps/riscv/nptl/tls.h: Likewise.
19572 * sysdeps/riscv/stackinfo.h: Likewise.
19573 * sysdeps/riscv/bits/fenv.h: New file.
19574 * sysdeps/riscv/e_sqrtl.c: Likewise.
19575 * sysdeps/riscv/fpu_control.h: Likewise.
19576 * sysdeps/riscv/math-tests.h: Likewise.
19577 * sysdeps/riscv/nofpu/Implies: Likewise.
19578 * sysdeps/riscv/sfp-machine.h: Likewise.
19579 * sysdeps/riscv/tininess.h: Likewise.
19580 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
19581 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
19582 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
19583 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
19584 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
19585 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
19586 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
19587 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
19588 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
19589 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
19590 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
19591 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19592 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19593 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19594 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19595 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19596 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19597 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19598 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19599 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19600 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19601 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19602 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19603 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19604 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19605 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19606 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19607 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19608 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19609 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19610 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19611 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19612 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19613 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19614 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19615 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19616 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19617 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19618 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19619 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19620 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19621 * sysdeps/riscv/rvf/math_private.h: Likewise.
19622 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19623 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19624 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19625 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19626 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19627 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19628 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19629 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19630 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19631 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19632 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19633 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19634 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19635 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19636 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19637 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
19638 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19639 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19640 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19641 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
19642 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19643 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19644 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19645 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19646 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
19647 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
19648 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
19649 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
19650 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
19651 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
19652 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
19653 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
19654 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
19655 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
19656 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
19657 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
19658 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
19659 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
19660 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
19661 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
19662 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
19663 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
19664 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
19665 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
19666 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
19667 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
19668 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
19669 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
19670 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
19671 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
19672 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
19673 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
19674 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
19675 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
19676 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
19677 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
19678 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
19679 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
19680 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
19681 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
19682 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
19683 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
19684 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
19685 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
19686 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19687 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
19688 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
19689 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
19690 * sysdeps/riscv/Implies: New file.
19691 * sysdeps/riscv/Makefile: Likewise.
19692 * sysdeps/riscv/configure: Likewise.
19693 * sysdeps/riscv/configure.ac: Likewise.
19694 * sysdeps/riscv/nptl/Makefile: Likewise.
19695 * sysdeps/riscv/preconfigure: Likewise.
19696 * sysdeps/riscv/rv64/Implies-after: Likewise.
19697 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
19698 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
19699 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
19700 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
19701 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
19702 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
19703 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
19704 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
19705 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
19706 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
19707 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
19708 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
19709 (Config): Likewise.
19711 2018-01-29 Florian Weimer <fweimer@redhat.com>
19714 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
19715 libnsl_hidden_proto.
19716 * include/rpcsvc/yp.h (yp_xdrall): Declare with
19717 libnsl_hidden_proto.
19718 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
19719 * nis/Makefile (libnsl-routines): Add nss-default only for
19720 build-obsolete-nsl.
19721 * nis/nis_defaults.c (__nis_default_ttl): Add
19722 libnsl_hidden_nolink_def.
19723 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
19725 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
19726 * nis/ypclnt.c (yp_maplist): Likewise.
19728 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
19730 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19731 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
19733 2018-01-29 Joseph Myers <joseph@codesourcery.com>
19735 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
19736 clean -dxfq for git updates when replacing sources.
19738 * scripts/build-many-glibcs.py (Config.build_gcc): Use
19739 --disable-libcilkrts unconditionally, not just for the final GCC
19742 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19745 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19748 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19751 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19754 * localedata/locales/be_BY (mon): Rename to...
19755 (alt_mon): This, then synchronize with CLDR (nominative case).
19756 (abmon): Rename to...
19757 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19758 (mon): Import from CLDR (genitive case).
19760 * localedata/locales/be_BY@latin (mon): Rename to...
19762 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19764 * localedata/locales/be_BY@latin (lang_name): Reworded to
19765 "biełaruskaja mova".
19767 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19770 * localedata/locales/el_CY (mon): Renamed to...
19772 (mon): Import from CLDR (genitive case).
19773 * localedata/locales/el_GR: Likewise.
19775 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19778 * localedata/locales/ru_RU (mon): Rename to...
19780 (abmon): Rename to...
19781 (ab_alt_mon): This.
19782 (mon): Import from CLDR (genitive case).
19783 (abmon): Copy from the old content except the 5th month which is
19784 now in the genitive case, even when abbreviated.
19785 * localedata/locales/ru_UA: Likewise.
19786 * time/tst-strptime.c (day_tests): Add an actual example of
19787 a difference between %b and %Ob in Russian.
19789 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19791 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
19792 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19794 * resolv/res-close.c: Include <stdlib.h>.
19795 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19796 <sys/wait.h>, <time.h>, <sys/uio.h>.
19797 (NOT_CANCEL_H): Add inclusion guard.
19798 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
19799 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19800 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19802 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19803 vm_address_t * to ElfW(Addr) * for dl_main parameter.
19804 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19806 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19807 timer_ptr2id to cast struct timer_node * to void *.
19808 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19809 --disable-libcilkrts to gcc configure.
19810 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19811 and make them the default for now.
19812 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19813 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
19814 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19815 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19816 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19818 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19819 __task_terminate would ever return successfully.
19820 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19822 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19823 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
19824 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19825 critical section to make code simpler and avoid warning.
19826 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19827 critical section to make code simpler and avoid warning.
19828 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19829 const char * instead of char *.
19830 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19831 __hurd_file_name_split, hurd_file_name_split,
19832 __hurd_directory_name_split, hurd_directory_name_split,
19833 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19834 hurd_file_name_path_lookup): Make lookup function parameter take a
19835 const char *name instead of char *name.
19836 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19837 __hurd_directory_name_split): Likewise.
19838 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19839 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
19840 * sysdeps/mach/hurd/check_native.c: New file.
19841 * sysdeps/mach/hurd/check_pf.c: New file.
19842 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19843 (__freeifaddrs): Define macro to freeifaddrs.
19844 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19845 * sysdeps/mach/libmachuser.abilist: New file.
19846 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19847 (do_test_bz20181): Rename accordingly.
19848 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
19849 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19851 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19852 version only if __USE_EXTERN_INLINES is defined.
19853 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19854 __hurd_sockfail): Likewise.
19855 (_hurd_fd_get): Always declare functions, and provide inline versions
19856 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19857 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19858 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19859 _hurd_port_set): Always declare functions, and provide inline versions
19860 only if __USE_EXTERN_INLINES and _LIBC are defined and
19862 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19863 _hurd_critical_section_unlock): Likewise.
19864 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19865 * __hurd_threadvar_location): Likewise.
19866 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19867 _hurd_userlink_clear): Likewise.
19868 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19869 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19870 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19871 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19872 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19873 __spin_lock_locked): Likewise.
19874 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19875 __spin_lock_locked): Likewise.
19876 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19877 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19878 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19879 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19880 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
19881 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19882 _POSIX_NO_TRUNC): Define to 0.
19883 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19884 check size against PTHREAD_STACK_MIN.
19885 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19886 IS_IN(libpthread)]: Include <sigsetops.h>.
19887 * mach/Makefile (user-interfaces): Add mach/gnumach.
19888 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19889 * sysdeps/mach/configure (mach_interface_list): Regenerate.
19890 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19891 instead of invalid -1.
19892 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19893 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19894 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19897 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
19899 * hurd/fcntl-internal.h: New file.
19901 2018-01-27 James Clarke <jrtc27@jrtc27.com>
19903 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19905 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19907 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19910 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19911 Build only shared objects.
19913 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19915 * README: Update for hppa.
19917 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19919 * sysdeps/sparc/fpu/libm-test-ulps: Update
19920 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
19922 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19926 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19929 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19930 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19931 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19932 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19935 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19938 * bits/types/__cancel_jmp_buf_tag.h: New file.
19939 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19940 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19941 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19942 * nptl/Makefile (headers): Add
19943 bits/types/__cancel_jmp_buf_tag.h.
19944 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19945 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19946 * sysdeps/nptl/pthread.h: Include
19947 <bits/types/__cancel_jmp_buf_tag.h>.
19948 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19950 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19952 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19955 * localedata/locales/uk_UA (mon): Renamed to...
19957 (alt_digits): "0" removed and then renamed to...
19959 (date_fmt): Definition changed not to use the alternative
19962 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
19964 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19965 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19966 * elf/elf.h (EF_RISCV_RVC): New define.
19967 (EF_RISCV_FLOAT_ABI): Likewise.
19968 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19969 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19970 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19971 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19972 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19974 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19976 2018-01-25 Andreas Schwab <schwab@suse.de>
19978 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19980 * sysdeps/gnu/configure: Regenerate.
19981 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19982 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19984 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19985 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19986 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19987 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19988 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19990 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19992 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
19993 URL, and run autoconf, make it the default for now.
19995 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19997 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19998 soft-float ColdFire configuration.
20000 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
20001 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
20002 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
20004 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
20007 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
20009 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
20011 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
20014 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
20015 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
20016 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
20019 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20022 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
20023 Rename to __reserved and add comment.
20024 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
20025 Rename to __reserved.
20027 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20029 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20030 i686-gnu configurations.
20031 (Context.run_builds): Include mig, gnumach and hurd in components
20033 (Context.checkout): Add mig, gnumach and hurd to components.
20034 (Context.checkout_tar): Add URL mappings for mig, gnumach and
20036 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
20037 (Config.build): Install gnumach headers, build mig and install
20038 hurd headers for 'gnu' OS.
20039 (Config.install_gnumach_headers): New function.
20040 (Config.install_hurd_headers): Likewise.
20041 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
20042 when building for 'gnu' OS.
20044 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
20046 * manual/tunables.texi (Hardware Capability Tunables): Fix
20049 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
20051 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
20052 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
20053 (ALTMON_11, ALTMON_12): Improve documentation.
20054 * manual/time.texi (strftime): Likewise.
20056 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20059 * localedata/locales/pl_PL: Alternative month names added,
20060 primary month names are genitive now.
20061 * time/tst-strptime.c (day_tests): Actually use a genitive case
20062 of a month name in Polish language.
20064 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20067 * manual/locale.texi: Document ALTMON_1..12 constants for
20068 nl_langinfo. Specify when to use ALTMON instead of MON.
20069 * manual/time.texi (strftime, strptime): Document GNU extension
20070 permitting O modifier with %B and %b. Specify when to use
20073 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20076 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
20077 names, define them as the same as abbreviated month names explicitly.
20078 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
20079 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
20080 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
20081 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
20082 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
20083 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
20084 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
20085 _NL_WABALTMON_12): New enum constants.
20086 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
20087 wab_alt_mon, and ab_alt_mon_defined members.
20088 (time_output): Output ab_alt_mon and wab_alt_mon members.
20089 (time_read): Read them, initialize them as copies of abmon and wabmon
20090 respectively if they are missing, initialize ab_alt_mon_defined.
20091 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
20092 * locale/programs/locfile-kw.h: Regenerate.
20093 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
20094 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
20096 * time/strftime_l.c (a_altmonth, aam_len): New macros.
20097 [!COMPILE_WIDE] (ABALTMON_1): New macro.
20098 (__strftime_internal): Handle %Ob and %Oh formats.
20099 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
20100 (__strptime_internal): Handle %Ob and %Oh formats.
20101 * time/tst-strptime.c (day_tests): Add more tests to parse different
20102 forms of month names including the new %Ob format specifier.
20104 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20107 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
20108 define them as the same as primary full month names explicitly.
20109 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
20110 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
20111 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
20112 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
20113 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
20114 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
20115 _NL_WALTMON_12): New enum constants.
20116 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
20117 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
20119 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
20120 walt_mon, and alt_mon_defined members.
20121 (time_output): Output alt_mon and walt_mon members.
20122 (time_read): Read them, initialize them as copies of mon and wmon
20123 respectively if they are missing, initialize alt_mon_defined.
20124 * locale/programs/locfile-kw.gperf (alt_mon): Define.
20125 * locale/programs/locfile-kw.h: Regenerate.
20126 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
20127 * localedata/tst-langinfo.c (map): Add tests for the new constants
20128 ALTMON_1 .. ALTMON_12.
20129 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
20131 * time/strftime_l.c (f_altmonth): New macro.
20132 (__strftime_internal): Handle %OB format.
20133 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
20134 (__strptime_internal): Handle %OB format.
20135 * time/tst-strptime.c (day_tests): Add tests to parse different forms
20136 of month names including the new %OB format specifier.
20138 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20141 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
20142 from ABORT_TRANSACTION.
20143 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
20144 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
20145 ABORT_TRANSACTION_IMPL): Likewise.
20146 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
20147 Linux code, but remove the code that aborts transactions.
20149 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20151 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
20153 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
20155 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
20156 in date: "2004-14-09" should be "2004-09-14".
20157 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
20158 "2003-15-09" should be "2003-09-15".
20160 2018-01-18 Arjun Shankar <arjun@redhat.com>
20166 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
20168 (_int_memalign): check for integer overflow before calling
20170 * malloc/tst-malloc-too-large.c: New test.
20171 * malloc/Makefile: Add tst-malloc-too-large.
20173 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
20175 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
20176 in date: "2017-24-07" should be "2017-07-24".
20177 * localedata/locales/mai_IN: Likewise.
20178 * localedata/locales/mai_NP: Likewise.
20180 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
20182 * po/ru.po: Update translations.
20184 2018-01-17 Joseph Myers <joseph@codesourcery.com>
20187 * sysdeps/hppa/backtrace.c: New file.
20189 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
20192 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
20193 align La_x86_64_retval to VEC_SIZE.
20195 2018-01-16 Joseph Myers <joseph@codesourcery.com>
20197 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
20198 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
20200 2018-01-16 Florian Weimer <fweimer@redhat.com>
20202 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
20203 Move tst-thread-exit-clobber ...
20204 [$(CXX)] (tests-unsupported): ... to here.
20206 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20208 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
20209 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
20210 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20211 (_dl_aarch64_cap_flags): Update.
20212 (_DL_HWCAP_COUNT): Update.
20214 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20216 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
20217 (_DL_HWCAP_LAST): Remove.
20218 (_DL_HWCAP_COUNT): Move to ...
20219 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20220 (_DL_HWCAP_COUNT): ... here.
20222 2018-01-16 Florian Weimer <fweimer@redhat.com>
20224 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
20225 mode with GNU extensions.
20227 2018-01-15 Alan Hayward <alan.hayward@arm.com>
20229 * elf/elf.h (NT_ARM_SVE): Define.
20231 2018-01-15 Florian Weimer <fweimer@redhat.com>
20234 * nptl/tst-minstack-throw.cc: New file.
20235 * nptl/Makefile (tests): Add tst-minstack-throw.
20236 (LDLIBS-tst-minstack-throw): Link with libstdc++.
20237 [!CXX] (tests-unsupported): Add tst-minstack-throw.
20239 2018-01-15 Joseph Myers <joseph@codesourcery.com>
20241 * scripts/build-many-glibcs.py (Context.checkout): Default
20242 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
20245 2018-01-13 Carlos O'Donell <carlos@redhat.com>
20248 * elf/elf.h (DF_1_STUB): Define.
20249 (DF_1_PIE): Define.
20251 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20254 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
20255 Do not add 0.5 to integer or out-of-range arguments.
20257 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20259 * po/bg.po: Update translations.
20260 * po/cs.po: Likewise.
20261 * po/de.po: Likewise.
20262 * po/ko.po: Likewise.
20263 * po/pl.po: Likewise.
20264 * po/sv.po: Likewise.
20265 * po/uk.po: Likewise.
20266 * po/vi.po: Likewise.
20268 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20270 * aarch64/start.S (_start): Use __wrap_main.
20271 (__wrap_main): New local symbol.
20273 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20277 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
20278 generic_getcwd if the path returned by getcwd syscall is not absolute.
20279 * io/tst-getcwd-abspath.c: New test.
20280 * io/Makefile (tests): Add tst-getcwd-abspath.
20282 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
20284 * malloc/malloc.c (malloc_consolidate): Add size check.
20286 2018-01-12 Florian Weimer <fweimer@redhat.com>
20288 * support/write_message.c (write_message): Preserve errno.
20289 * support/check.c (print_failure): Likewise.
20290 * support/support_test_verify_impl.c (support_test_verify_impl):
20292 * support/support_test_compare_failure.c
20293 (support_test_compare_failure): Likewise.
20295 2018-01-12 Florian Weimer <fweimer@redhat.com>
20298 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
20299 Prevent installation of libnsl.so.
20300 (libnsl-inhibit-o): Do not build (or install) static libraries.
20302 2018-01-12 Egmont Koblinger <egmont@gmail.com>
20305 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
20306 before the day number which may produce a double space.
20307 (date_fmt): Likewise.
20309 2018-01-12 Joseph Myers <joseph@codesourcery.com>
20311 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
20312 instead of fegetenv.
20314 2018-01-11 Joseph Myers <joseph@codesourcery.com>
20317 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
20318 comment to say exceptions are discarded.
20319 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
20321 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
20324 2018-01-11 Florian Weimer <fweimer@redhat.com>
20326 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
20329 2018-01-11 Florian Weimer <fweimer@redhat.com>
20332 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
20333 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
20335 2018-01-10 Joseph Myers <joseph@codesourcery.com>
20338 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
20339 negative arguments in test for NaN or infinity argument.
20341 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
20343 * po/libc.pot: Regenerate.
20345 2018-01-10 Florian Weimer <fweimer@redhat.com>
20348 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
20349 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
20351 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20353 * hurd/hurd/fd.h: Include <fcntl.h>
20354 (__hurd_at_flags): New function.
20355 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
20356 with call to __hurd_at_flags.
20357 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
20358 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
20360 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
20361 (__access_noerrno): Use __faccessat_common instead of access_common.
20362 (__access): Likewise.
20363 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
20364 with a call to __faccessat.
20365 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
20366 (__faccessat_common): ... this. Move implementation of __access into it when
20367 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
20368 reauthenticate_cwdir_at helper to implement AT mechanism.
20369 (__faccessat_noerrno): New function, just calls __faccessat_common.
20370 (__faccessat): New function, just calls __faccessat_common.
20371 (faccessat): Define weak alias.
20373 2018-01-10 Joseph Myers <joseph@codesourcery.com>
20376 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20377 (CFLAGS-s_fmaxmagl.c): New variable.
20378 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
20381 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
20382 long int for arguments of possibly overflowing addition or
20384 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20386 2018-01-09 Joseph Myers <joseph@codesourcery.com>
20389 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20390 (CFLAGS-e_remainderl.c): New variable.
20393 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
20395 (CFLAGS-s_cacoshl.c): Likewise.
20396 (CFLAGS-s_casinhl.c): Likewise.
20397 (CFLAGS-s_catanl.c): Likewise.
20398 (CFLAGS-s_catanhl.c): Likewise.
20399 (CFLAGS-s_cexpl.c): Likewise.
20400 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
20401 (CFLAGS-s_csinhl.c): Likewise.
20402 (CFLAGS-s_clogl.c): Likewise.
20403 (CFLAGS-s_clog10l.c): Likewise.
20404 (CFLAGS-s_csinl.c): Likewise.
20405 (CFLAGS-s_csqrtl.c): Likewise.
20407 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
20408 2017-01-09 Svante Signell <svante.signell@gmail.com>
20410 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
20411 (_hurd_exec_paths): New function.
20412 * hurd/hurd.h (_hurd_exec): Deprecate function.
20413 (_hurd_exec_paths): Declare function.
20414 * hurd/Versions: Export _hurd_exec_paths.
20415 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
20416 (__execve): Use __getcwd to build absolute path, and use
20417 _hurd_exec_paths instead of _hurd_exec.
20418 * sysdeps/mach/hurd/spawni.c: Likewise.
20419 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
20422 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
20424 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
20425 test instead of failing in case of ENOENT returned by posix_openpt.
20427 2018-01-08 Florian Weimer <fweimer@redhat.com>
20429 resolv: Support binary labels in test framework.
20430 * support/resolv_test.c (struct to_be_freed): Remove.
20431 (struct compressed_name): New.
20432 (allocate_compressed_name, ascii_tolower)
20433 (compare_compressed_name): New functions.
20434 (struct resolv_response_builder): Update type of
20435 compression_offsets for use with tsearch. Rempve to_be_freed.
20436 (response_push_pointer_to_free): Remove function.
20437 (resolv_response_add_name): Rewrite using struct compressed_name
20438 and tsearch instead of hsearch_r.
20439 (response_builder_allocate): Remove initialization of
20440 compression_offsets.
20441 (response_builder_free): Update for removal of to_be_freed. Use
20442 tdestroy instead of hdestroy_r.
20443 * resolv/Makefile (tests): Add tst-resolv-binary.
20444 (tst-resolv-binary): Link with -lresolv -lpthread.
20446 2018-01-08 Florian Weimer <fweimer@redhat.com>
20448 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
20449 time. Pass positive flag instead of negative flag to
20450 support_test_compare_failure.
20451 (support_test_compare_failure): Change negative parameter to
20453 * support/support_test_compare_failure.c (report)
20454 (support_test_compare_failure): Likewise.
20455 * support/tst-test_compare.c (return_ssize_t, return_int): New.
20456 (do_test): Check int/size_t, ssize_t/size_t comparisons.
20458 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
20461 * nptl/descr.h (stackblock, stackblock_size): Update comments.
20462 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
20463 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
20465 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20467 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
20469 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20470 Add s_sincosf-sse2 and s_sincosf-fma.
20471 (CFLAGS-s_sincosf-fma.c): New.
20472 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
20473 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
20474 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
20475 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
20476 __sincosf is defined.
20478 2018-01-08 Florian Weimer <fweimer@redhat.com>
20480 * nptl/tst-thread-exit-clobber.cc: New file.
20481 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
20483 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
20484 (tests): Add tst-thread-exit-clobber.
20485 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
20487 2018-01-08 Florian Weimer <fweimer@redhat.com>
20489 * support/check.h (support_static_assert): Define.
20490 (TEST_COMPARE): Use it.
20492 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
20494 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
20495 [!__RLIM_T_MATCHES_RLIM64_T]
20496 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
20497 __getrlimit64. Add libc_hidden_weak.
20499 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
20501 * elf/elf.h (R_RISCV_NONE): New define.
20502 (R_RISCV_32): Likewise.
20503 (R_RISCV_64): Likewise.
20504 (R_RISCV_RELATIVE): Likewise.
20505 (R_RISCV_COPY): Likewise.
20506 (R_RISCV_JUMP_SLOT): Likewise.
20507 (R_RISCV_TLS_DTPMOD32): Likewise.
20508 (R_RISCV_TLS_DTPMOD64): Likewise.
20509 (R_RISCV_TLS_DTPREL32): Likewise.
20510 (R_RISCV_TLS_DTPREL64): Likewise.
20511 (R_RISCV_TLS_TPREL32): Likewise.
20512 (R_RISCV_TLS_TPREL64): Likewise.
20513 * Makerules (make-link-multidir): Make directories before linking into
20515 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
20517 (VDSO_HASH_LINUX_4_15): Likewise.
20518 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
20519 in subdirectories of lib.
20520 * nptl/Makefile (/librt.so): Always depend on
20521 "$(shared-thread-library)".
20523 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20525 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
20526 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
20527 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
20529 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
20530 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20532 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
20533 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
20534 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
20535 * sysdeps/gnu/glob-lstat-compat.c: New file.
20536 * sysdeps/gnu/glob64-lstat-compat.c: New file.
20537 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
20539 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20541 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
20542 Reserve 16 chars to reloc_addr before calling _itoa_word.
20544 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20547 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
20548 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
20550 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
20551 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
20553 * resource/tst-getrlimit.c: Add copyright header.
20555 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20556 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20558 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20559 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
20560 Define __GI_getrlimit64 as weak alias of __getrlimit64.
20561 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
20563 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20564 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
20565 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
20566 RLIM64_INFINITY): Fix values to match the kernel ones.
20567 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
20568 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
20569 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
20570 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
20571 getrlimit64@@GLIBC_2_27.
20572 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
20574 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
20575 getrlimit, setrlimit, getrlimit64 and setrlimit64.
20576 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
20577 setrlimit, getrlimit64 and setrlimit64.
20579 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20582 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
20583 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
20585 2018-01-04 Joseph Myers <joseph@codesourcery.com>
20587 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
20588 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
20589 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
20591 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20595 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20596 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20600 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20601 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20602 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20603 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20605 2018-01-04 Florian Weimer <fweimer@redhat.com>
20608 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20609 Align the stack before calling exit.
20610 * stdlib/tst-makecontext-align.c: New file.
20611 * stdlib/Makefile (tests): Add tst-makecontext-align.
20613 2018-01-04 Florian Weimer <fweimer@redhat.com>
20615 Add support for calling dlvsym from libc.so.
20616 * include/dlfcn.h (__libc_dlvsym): Declare.
20617 * elf/Makefile (tests-static-internal): Add
20618 tst-libc_dlvsym-static.
20619 (tests-internal): Add tst-libc_dlvsym.
20620 (modules-names): Add tst-libc_dlvsym-dso.
20621 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20622 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20623 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20624 object tst-libc_dlvsym-dso.so needs to be built before running
20626 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20627 * elf/Versions: Export __libc_dlvsym.
20628 * elf/dl-libc.c (struct do_dlvsym_args): New.
20629 (do_dlvsym, __libc_dlvsym): New functions.
20630 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20631 (_dl_open_hook2): New variable.
20632 (__libc_register_dl_open_hook): Set it.
20633 * elf/tst-libc_dlvsym-dso.c: New file.
20634 * elf/tst-libc_dlvsym-static.c: Likewise.
20635 * elf/tst-libc_dlvsym.c: Likewise.
20636 * elf/tst-libc_dlvsym.h: Likewise.
20638 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20640 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20641 include <sys/mount.h>.
20643 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20645 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20646 Add __NO_MATH_ERRNO__ check.
20648 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20650 * sysdeps/mips/mips32/libm-test-ulps: Update.
20651 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20653 2018-01-02 Florian Weimer <fweimer@redhat.com>
20655 * misc/tst-pselect.c: Add copyright header.
20657 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20659 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
20661 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
20663 (settrlimit): Rename into setrlimit.
20664 (__sttrlimit): Rename into __setrlimit.
20666 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
20667 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
20668 never defined in that case.
20670 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20672 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
20674 * sysdeps/arm/libm-test-ulps: Update.
20676 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
20677 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
20679 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20681 * NEWS: Add cosf and sincosf to list of optimized functions.
20683 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20686 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
20687 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
20688 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
20689 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
20691 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
20694 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
20696 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
20697 making a copy of it.
20699 2018-01-01 Joseph Myers <joseph@codesourcery.com>
20701 * manual/texinfo.tex: Update to version 2017-12-26.21 with
20702 trailing whitespace removed.
20703 * scripts/config.guess: Update to version 2018-01-01.
20704 * scripts/config.sub: Update to version 2018-01-01.
20705 * scripts/move-if-change: Update from gnulib.
20707 * NEWS: Update copyright dates.
20708 * catgets/gencat.c (print_version): Likewise.
20709 * csu/version.c (banner): Likewise.
20710 * debug/catchsegv.sh: Likewise.
20711 * debug/pcprofiledump.c (print_version): Likewise.
20712 * debug/xtrace.sh (do_version): Likewise.
20713 * elf/ldconfig.c (print_version): Likewise.
20714 * elf/ldd.bash.in: Likewise.
20715 * elf/pldd.c (print_version): Likewise.
20716 * elf/sotruss.sh: Likewise.
20717 * elf/sprof.c (print_version): Likewise.
20718 * iconv/iconv_prog.c (print_version): Likewise.
20719 * iconv/iconvconfig.c (print_version): Likewise.
20720 * locale/programs/locale.c (print_version): Likewise.
20721 * locale/programs/localedef.c (print_version): Likewise.
20722 * login/programs/pt_chown.c (print_version): Likewise.
20723 * malloc/memusage.sh (do_version): Likewise.
20724 * malloc/memusagestat.c (print_version): Likewise.
20725 * malloc/mtrace.pl: Likewise.
20726 * manual/libc.texinfo: Likewise.
20727 * nptl/version.c (banner): Likewise.
20728 * nscd/nscd.c (print_version): Likewise.
20729 * nss/getent.c (print_version): Likewise.
20730 * nss/makedb.c (print_version): Likewise.
20731 * posix/getconf.c (main): Likewise.
20732 * scripts/test-installation.pl: Likewise.
20733 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20735 * All files with FSF copyright notices: Update copyright dates
20736 using scripts/update-copyrights.
20737 * locale/programs/charmap-kw.h: Regenerated.
20738 * locale/programs/locfile-kw.h: Likewise.
20740 2017-12-31 Zack Weinberg <zackw@panix.com>
20742 * libio/bits/libio-ldbl.h: Correct check for improper
20743 inclusion. Add own multiple include guard.
20745 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20746 Dmitry V. Levin <ldv@altlinux.org>
20750 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20751 string token expansion. Check for NULL pointer or empty string possibly
20752 returned by expand_dynamic_string_token.
20753 (decompose_rpath): Check for empty path after dynamic string
20756 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20759 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20761 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20762 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20763 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20764 and PTRACE_SYSCALL.
20765 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20766 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20767 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20768 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20769 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20770 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20772 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20773 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20774 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20775 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20777 bits/ptrace-shared.h.
20778 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20779 <bits/ptrace-shared.h>.
20780 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20781 __ptrace_peeksiginfo_flags, ptrace): Remove.
20782 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20783 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20784 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20785 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20786 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20788 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20791 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20792 end of the loop. Improve comments.
20794 2017-12-29 Zack Weinberg <zackw@panix.com>
20797 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20798 might be set on success.
20800 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20803 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20804 is unchanged on success.
20806 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20808 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20810 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20811 expand_dynamic_string_token): Likewise.
20812 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20815 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20818 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20819 is set and name contains ':', and all code depending on these checks.
20821 2017-12-24 Zack Weinberg <zackw@panix.com>
20823 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20824 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20826 * libio/libio.h: Rename the original version of this file to
20827 libio/bits/libio.h. Error out if not included by stdio.h or the
20829 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20830 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20831 if not included by bits/libio.h or the stub _G_config.h.
20832 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20833 sysdeps/unix/sysv/linux/bits. Error out if not included by
20834 bits/libio.h or the stub _G_config.h.
20835 * libio/stdio.h: Include bits/libio.h, not libio.h.
20836 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20837 well as libio.h and _G_config.h.
20839 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20840 * libio/strfile.h, stdio-common/vfscanf.c
20841 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20842 Include stdio.h, not _G_config.h nor libio.h.
20843 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20844 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20846 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20848 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20851 * stdlib/getrandom.c (getrandom): Fix comment.
20852 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20854 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
20857 * manual/arith.texi (strtoul): Fix a typo.
20860 * manual/arith.texi (finite): Fix the description of the return
20863 2017-12-22 Eric Blake <ebb9@byu.net>
20865 Avoid gcc warnings on cygwin
20866 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20867 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20868 Avoid unused variable.
20870 2017-12-22 Florian Weimer <fweimer@redhat.com>
20872 * io/Makefile (routines): Add copy_file_range.
20873 (tests): Add tst-copy_file_range.
20874 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20875 * io/Versions (GLIBC_2.27): Export copy_file_range.
20876 * io/copy_file_range-compat.c: New file.
20877 * io/copy_file_range.c: Likewise.
20878 * io/tst-copy_file_range-compat.c: Likewise.
20879 * io/tst-copy_file_range.c: Likewise.
20880 * manual/llio.texi (Copying File Data): New section.
20881 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20882 * support/Makefile (libsupport-routines): Add support-xfstat,
20883 xftruncate, xlseek.
20884 * support/support-xfstat.c: New file.
20885 * support/xftruncate.c: Likewise.
20886 * support/xlseek.c: Likewise.
20887 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20888 * sysdeps/unix/sysv/linux/**.abilist: Update.
20889 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20891 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20893 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20894 disable-multi-arch variant to aarch64-linux-gnu.
20896 2017-12-20 Joseph Myers <joseph@codesourcery.com>
20898 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20899 trailing whitespace removed.
20900 * scripts/config.guess: Update to version 2017-12-17.
20901 * scripts/config.sub: Update to version 2017-11-23.
20902 * scripts/install-sh: Update to version 2017-09-23.17.
20903 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20905 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20907 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20908 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20909 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20910 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20911 * sysdeps/tile/crtn.S: Likewise.
20912 * sysdeps/tile/dl-start.S (_start): Likewise.
20913 * sysdeps/tile/dl-trampoline.S: Likewise.
20914 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20915 * sysdeps/tile/start.S (_start): Likewise.
20916 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20917 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20918 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20919 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20920 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20921 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20922 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20924 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20926 * sysdeps/tile/preconfigure: Remove tilegx folder.
20927 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20928 * sysdeps/tile/Implies: ... here.
20929 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20930 * sysdeps/tile/Makefile: ... here.
20931 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20932 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20933 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20934 * sysdeps/tile/bits/wordsize.h: ... here.
20935 * sysdeps/tile/tilegx/*: Move to ...
20936 * sysdeps/tile/*: ... here.
20937 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20938 * sysdeps/tile/tilegx32/Implies: ... here.
20939 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20940 * sysdeps/tile/tilegx64/Implies: ... here.
20941 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20943 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20944 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20945 * sysdeps/unix/sysv/linux/tile/*: ... here.
20946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20947 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20949 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20951 * README: Remove tilepro-*-linux-gnu from supported architecture.
20952 * scripts/build-many-glibcs.py: Likewise.
20953 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20954 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20955 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20956 elf_machine_matches_host, elf_machine_dynamic,
20957 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20958 howto, elf_machine_rela): Likewise.
20959 * sysdeps/tile/dl-start.S (_start): Likewise.
20960 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20961 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20962 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20963 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20964 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20965 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20967 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20968 * sysdeps/tile/preconfigure: Likewise.
20969 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20970 POINTER_CHK_GUARD): Likewise.
20971 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20972 * sysdeps/tile/start.S (_start): Likewise.
20973 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20975 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20976 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20978 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20979 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20980 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20982 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20983 * sysdeps/tile/tilepro/Implies: Remove file.
20984 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20985 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20986 * sysdeps/tile/tilepro/memchr.c: Likewise.
20987 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20988 * sysdeps/tile/tilepro/memset.c: Likewise.
20989 * sysdeps/tile/tilepro/memusage.h: Likewise.
20990 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20991 * sysdeps/tile/tilepro/strchr.c: Likewise.
20992 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20993 * sysdeps/tile/tilepro/strlen.c: Likewise.
20994 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20995 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20996 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20997 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20998 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20999 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
21000 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21002 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
21003 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21004 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
21005 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
21006 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21007 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
21008 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
21009 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
21010 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
21011 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
21012 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
21013 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
21014 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
21015 tilepro mention in comment.
21017 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
21018 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
21019 * nptl/pthread_join_common.c: New file: common function used on
21020 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
21021 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
21022 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
21023 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21024 (cleanup): Move definition to pthread_join_common.c.
21025 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
21026 Remove superflous checks.
21027 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
21030 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
21032 * sysdeps/aarch64/libm-test-ulps: Update.
21034 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21036 * sysdeps/aarch64/memset.S (MEMSET): Define.
21038 2017-12-20 Florian Weimer <fweimer@redhat.com>
21041 nptl: Provide full implementation of pthread_self in libc.so.
21042 * nptl/Makefile (routines): Add pthread_self.
21043 (libpthread-routines): Replace pthread_self with
21044 compat-pthread_self.
21045 * nptl/forward.c (pthread_self): Remove.
21046 * nptl/nptl-init.c (pthread_functions): Do not initialize
21048 * nptl/pthread_self.c (pthread_self): Remove weak alias.
21049 * nptl/compat-pthread_self.c: New file.
21050 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
21051 Remove ptr_pthread_self.
21053 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
21055 * posix/regcomp.c: Fix spelling in comments.
21056 * posix/regex.h: Likewise.
21057 * posix/regex_internal.c: Likewise.
21058 * posix/regexec.c: Likewise.
21060 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
21063 * math/Makefile [C++] (tests): Add test for iseqsig.
21064 * math/math.h [C++] (iseqsig): New implementation, which does
21065 not rely on __MATH_TG/__builtin_types_compatible_p.
21066 * math/test-math-iseqsig.cc: New file.
21067 * sysdeps/powerpc/powerpc64le/Makefile
21068 (CFLAGS-test-math-iseqsig.cc): New variable.
21070 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
21072 * elf/dl-load.c (is_trusted_path): Remove.
21073 (fillin_rpath): Remove check_trusted argument and its use,
21074 all callers changed.
21076 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21079 * Makeconfig (link-pie-before-libc): Replace -pie with
21080 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
21081 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
21082 (tst-dlopen-aout-no-pie): New.
21083 (LDFLAGS-tst-prelink): Removed.
21084 (tst-prelink-no-pie): New.
21085 (LDFLAGS-tst-main1): Removed.
21086 (tst-main1-no-pie): New.
21087 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
21088 (tst-gmon-no-pie): New.
21090 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21092 * manual/install.texi: Document that --enable-static-pie
21094 * INSTALL: Regenerated.
21096 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
21099 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
21102 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21106 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21110 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21112 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21113 <errno.h>. Include "eexp.tbl".
21114 (half): New constant.
21116 (__ieee754_exp): Rewrite.
21117 (__slowexp): Remove prototype.
21118 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21119 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21120 * sysdeps/i386/fpu/slowexp.c: Likewise.
21121 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21122 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21123 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21124 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21125 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21126 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21127 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21129 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21130 (CPPFLAGS-slowexp.c): Remove variable.
21131 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21132 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21133 (CFLAGS-slowexp-fma.c): Remove variable.
21134 (CFLAGS-slowexp-fma4.c): Likewise.
21135 (CFLAGS-slowexp-avx.c): Likewise.
21136 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21138 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21139 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21140 * math/Makefile (type-double-routines): Remove slowexp.
21141 * manual/probes.texi (slowexp_p6): Remove.
21142 (slowexp_p32): Likewise.
21144 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21146 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
21149 * lib/glob.c (glob): Do not pass NULL to mempcpy.
21151 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21155 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21157 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21158 <errno.h>. Include "eexp.tbl".
21159 (half): New constant.
21161 (__ieee754_exp): Rewrite.
21162 (__slowexp): Remove prototype.
21163 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21164 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21165 * sysdeps/i386/fpu/slowexp.c: Likewise.
21166 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21167 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21168 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21169 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21170 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21171 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21172 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21174 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21175 (CPPFLAGS-slowexp.c): Remove variable.
21176 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21177 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21178 (CFLAGS-slowexp-fma.c): Remove variable.
21179 (CFLAGS-slowexp-fma4.c): Likewise.
21180 (CFLAGS-slowexp-avx.c): Likewise.
21181 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21183 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21184 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21185 * math/Makefile (type-double-routines): Remove slowexp.
21186 * manual/probes.texi (slowexp_p6): Remove.
21187 (slowexp_p32): Likewise.
21189 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21190 James Clarke <jrtc27@jrtc27.com>
21193 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
21196 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21199 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
21202 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21205 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21206 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21207 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21208 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
21211 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21214 * bits/types/__cancel_jmp_buf_tag.h: New file.
21215 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
21216 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
21217 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
21218 * nptl/Makefile (headers): Add
21219 bits/types/__cancel_jmp_buf_tag.h.
21220 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
21221 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21222 * sysdeps/nptl/pthread.h: Include
21223 <bits/types/__cancel_jmp_buf_tag.h>.
21224 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21226 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
21228 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21230 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21231 --enable-static-pie variants to x86_64, x32 and i686.
21233 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21236 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
21237 argument for attrubutes. All callers changed.
21238 (__inline_mathop1): Likewise. All callers changed.
21239 (__inline_mathop): Likewise. All callers changed.
21240 [__USE_MISC] (scalbn): Use __inline_forward instead of
21241 __inline_forward_c.
21242 [__USE_ISOC99] (scalbln): Likewise.
21243 [__USE_ISOC99] (nearbyint): Likewise.
21244 [__USE_ISOC99] (lrint): Likewise.
21245 [__USE_MISC] (scalbnf): Likewise.
21246 [__USE_ISOC99] (scalblnf): Likewise.
21247 [__USE_ISOC99] (nearbyintf): Likewise.
21248 [__USE_ISOC99] (lrintf): Likewise.
21249 [__USE_MISC] (scalbnl): Likewise.
21250 [__USE_ISOC99] (scalblnl): Likewise.
21251 [__USE_ISOC99] (nearbyintl): Likewise.
21252 [__USE_ISOC99] (lrintl): Likewise.
21253 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
21254 __inline_mathop and __m81_defun changed.
21256 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
21257 CPU or FPU for ARM hard-float configurations.
21259 2017-12-18 Joseph Myers <joseph@codesourcery.com>
21261 * nptl/tst-attr3.c: Include <libc-diag.h>.
21262 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
21264 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
21266 * string/tester.c (test_strncat): Also disable -Warray-bounds
21267 warnings for two tests.
21269 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21272 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
21273 $(cc-pie-default) == yes.
21274 * config.make.in (cc-pie-default): New.
21275 * configure.ac (libc_cv_pie_default): Renamed to ...
21276 (libc_cv_cc_pie_default): This.
21277 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
21278 * configure: Regenerated.
21280 2017-12-18 Florian Weimer <fweimer@redhat.com>
21283 ld.so: Harden dl-libc/libdl hooks.
21284 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
21285 (rtld_active): New function.
21286 * dlfcn/dladdr.c (__dladdr): Call it.
21287 * dlfcn/dladdr1.c (__dladdr1): Likewise.
21288 * dlfcn/dlclose.c (__dlcose): Likewise.
21289 * dlfcn/dlerror.c (__dlerror): Likewise.
21290 * dlfcn/dlinfo.c (__dlinfo): Likewise.
21291 * dlfcn/dlmopen.c (__dlmopen): Likewise.
21292 * dlfcn/dlopen.c (__dlopen): Likewise.
21293 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21294 * dlfcn/dlsym.c (__dlsym): Likewise.
21295 * dlfcn/dlvsym.c (__dlvsym): Likewise.
21296 * libio/vtables.c (_IO_vtable_check): Likewise.
21297 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
21298 (__libc_dlclose): Likewise.
21299 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
21302 2017-12-18 Joseph Myers <joseph@codesourcery.com>
21305 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
21306 buffers for readlink input and output.
21308 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
21311 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
21312 inhibit_stack_protector.
21315 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
21316 inhibit_stack_protector.
21318 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
21321 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
21322 code and invocation.
21324 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
21326 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
21328 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
21331 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
21333 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21335 * sysdeps/s390/fpu/libm-test-ulps: Update.
21337 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21341 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21343 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
21344 constants to s_sincosf.h file.
21345 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21346 * sysdeps/ieee754/flt-32/s_sincosf.c: New
21348 * sysdeps/ieee754/flt-32/s_sincosf.h:
21351 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21354 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
21357 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
21360 * INSTALL: Regenerated.
21361 * Makeconfig (real-static-start-installed-name): New.
21362 (pic-default): Updated for --enable-static-pie.
21363 (pie-default): New for --enable-static-pie.
21364 (default-pie-ldflag): Likewise.
21365 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
21366 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
21367 Replace $(static-start-installed-name) with
21368 $(real-static-start-installed-name).
21369 (+prectorT): Updated for --enable-static-pie.
21370 (+postctorT): Likewise.
21371 (CFLAGS-.o): Add $(pie-default).
21372 (CFLAGS-.op): Likewise.
21373 * NEWS: Mention --enable-static-pie.
21374 * config.h.in (ENABLE_STATIC_PIE): New.
21375 * configure.ac (--enable-static-pie): New configure option.
21376 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
21377 (have-static-pie): Likewise.
21378 Enable static PIE if linker supports --no-dynamic-linker.
21379 (ENABLE_STATIC_PIE): New AC_DEFINE.
21380 (enable-static-pie): New LIBC_CONFIG_VAR.
21381 * configure: Regenerated.
21382 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
21383 gr$(start-installed-name) for --enable-static-pie.
21384 (extra-objs): Likewise.
21385 (install-lib): Likewise.
21386 (extra-objs): Add static-reloc.o and static-reloc.os
21387 ($(objpfx)$(start-installed-name)): Also depend on
21388 $(objpfx)static-reloc.o.
21389 ($(objpfx)r$(start-installed-name)): New.
21390 ($(objpfx)g$(start-installed-name)): Also depend on
21391 $(objpfx)static-reloc.os.
21392 ($(objpfx)gr$(start-installed-name)): New.
21393 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
21395 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
21397 * csu/static-reloc.c: New file.
21398 * elf/Makefile (routines): Add dl-reloc-static-pie.
21399 (elide-routines.os): Likewise.
21400 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
21401 (tst-tls1-static-non-pie-no-pie): New.
21402 * elf/dl-reloc-static-pie.c: New file.
21403 * elf/dl-support.c (_dl_get_dl_main_map): New function.
21404 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
21405 STATIC_PIE_BOOTSTRAP.
21406 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21407 * gmon/Makefile (tests): Add tst-gmon-static-pie.
21408 (tests-static): Likewise.
21409 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
21410 (tst-gmon-static-no-pie): New.
21411 (CFLAGS-tst-gmon-static-pie.c): Likewise.
21412 (CRT-tst-gmon-static-pie): Likewise.
21413 (tst-gmon-static-pie-ENV): Likewise.
21414 (tests-special): Likewise.
21415 ($(objpfx)tst-gmon-static-pie.out): Likewise.
21416 (clean-tst-gmon-static-pie-data): Likewise.
21417 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
21418 * gmon/tst-gmon-static-pie.c: New file.
21419 * manual/install.texi: Document --enable-static-pie.
21420 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
21421 (_dl_get_dl_main_map): Likewise.
21422 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
21423 * sysdeps/x86_64/configure.ac: Likewise.
21424 * sysdeps/i386/configure: Regenerated.
21425 * sysdeps/x86_64/configure: Likewise.
21426 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
21427 (ASFLAGS-.op): Likewise.
21429 2017-12-15 Joseph Myers <joseph@codesourcery.com>
21431 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
21432 * posix/tst-mmap-offset.c (fname): Use /tmp.
21433 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
21435 2017-12-15 Steve Ellcey <sellcey@cavium.com>
21437 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
21439 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
21441 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
21444 2017-12-15 Joseph Myers <joseph@codesourcery.com>
21446 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
21447 --with-float=hard for arm-linux-gnueabihf configurations.
21450 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
21451 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
21452 ($(mo-installed)): Use $(objpfx)%.mo.
21453 (realclean): Remove rule.
21455 * po/Makefile (linguas): Remove rule and dependencies.
21456 (linguas.mo): Likewise.
21457 (.PHONY): Do not depend on linguas and linguas.mo.
21458 (podir): Remove variable.
21459 (pofiles): Likewise.
21460 [$(pofiles)] (%.po): Remove rule.
21462 * sysdeps/sparc/sparc32/Makefile
21463 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
21464 start-of-line whitespace in argument of echo.
21465 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
21466 with whitespace. Generate __wrap_.udiv alias.
21467 * sysdeps/sparc/sparc32/rem.S: Regenerated.
21468 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21469 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21470 * sysdeps/sparc/sparc32/urem.S: Likewise.
21472 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21474 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
21475 for aligned inputs.
21477 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
21479 * benchtests/bench-strcmp.c: Print output in JSON format.
21481 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
21483 2017-12-14 Florian Weimer <fweimer@redhat.com>
21487 * elf/dl-load.c (_dl_init_paths): Compute number of components in
21488 the expanded path string.
21490 2017-12-14 Florian Weimer <fweimer@redhat.com>
21494 * elf/dl-load.c (system_dirs): Update comment.
21495 (nsystem_dirs_len): Use array_length.
21496 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
21498 2017-12-14 Florian Weimer <fweimer@redhat.com>
21500 Simplify compiling most of support/ outside of glibc.
21501 * support/check_addrinfo.c: Include <string.h>.
21502 * support/check_dns_packet.c: Likewise.
21503 * support/check_hostent.c: Likewise.
21504 * support/support_can_chroot.c: Include <support/xunistd.h>.
21505 * support/support_format_addrinfo.c: Include <stdlib.h>
21506 * support/support_format_dns_packet.c: Include <stdbool.h>.
21507 * support/support_format_hostent.c: Include <stdlib.h>.
21508 * support/support_format_netent.c: Likewise.
21509 * support/support_write_string.c: Include <support/xunistd.h>.
21510 * support/xdlfcn.c: Include <stddef.h>.
21512 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
21514 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
21516 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21517 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21519 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21520 (sysdeps_routines): Add memset-niagara7.
21521 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
21523 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
21525 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
21526 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21527 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
21528 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
21529 Add niagara7 option.
21530 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
21533 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21534 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
21535 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
21537 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
21539 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
21540 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
21541 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21542 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
21543 and __memmove_niagara7.
21544 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
21545 Add niagara7 option.
21546 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
21547 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
21548 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
21549 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
21550 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
21552 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
21554 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
21555 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
21556 * sysdeps/sparc/sparc64/memmove.S: Likewise.
21557 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
21559 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
21560 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
21561 _dl_sparc_cap_flags array.
21562 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
21564 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
21566 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
21567 time whenever possible.
21569 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21571 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
21572 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
21574 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21576 * soft-fp/fmadf4.c: Move to ....
21577 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
21578 * soft-fp/fmasf4.c: Move to ....
21579 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
21580 * soft-fp/fmatf4.c: Move to ....
21581 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
21582 * sysdeps/ieee754/soft-fp/Makefile: New file.
21583 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
21584 * sysdeps/arm/preconfigure: Regenerated.
21585 * sysdeps/arm/nofpu/Implies: New file.
21586 * sysdeps/arm/s_fma.c: Remove file.
21587 * sysdeps/arm/s_fmaf.c: Likewise.
21588 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
21589 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
21590 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21591 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21592 * sysdeps/microblaze/s_fma.c: Remove file.
21593 * sysdeps/microblaze/s_fmaf.c: Likewise.
21594 * sysdeps/mips/mips32/nofpu/Implies: New file.
21595 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21596 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21597 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21598 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21599 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21600 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21601 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21603 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21604 * sysdeps/nios2/s_fma.c: Remove file.
21605 * sysdeps/nios2/s_fmaf.c: Likewise.
21606 * sysdeps/sh/nofpu/Implies: New file.
21607 * sysdeps/sh/s_fma.c: Remove file.
21608 * sysdeps/sh/s_fmaf.c: Likewise.
21609 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21610 * sysdeps/tile/s_fma.c: Remove file.
21611 * sysdeps/tile/s_fmaf.c: Likewise.
21613 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21615 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21616 Add s_cosf-sse2 and s_cosf-fma.
21617 (CFLAGS-s_cosf-fma.c): New.
21618 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21619 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21620 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21622 2017-12-12 Steve Ellcey <sellcey@cavium.com>
21624 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21626 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21628 * libio/Makefile (tests): Add tst-bz22415.
21629 (tst-bz22415-ENV): New rule.
21630 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21631 (tests-special): Add tst-bz22415-mem.out.
21632 ($(objpfx)tst-bz22415-mem.out): New rule.
21633 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21634 in case of a successful seek operation.
21635 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21636 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21637 buffer is required.
21638 * libio/tst-bz22415.c: New test.
21640 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21642 2017-12-12 James Clarke <jrtc27@jrtc27.com>
21644 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21645 __IPC_64 to 0 to avoid IPC_64 being set.
21647 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21650 * math/bits/mathcalls.h (nextafter): Remove const.
21651 (nexttoward): Likewise.
21653 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21655 * configure.ac (--with-fp): Remove configure option.
21656 (with_fp_cond): New variable.
21657 (libc_cv_with_fp): New configure test. Use this variable instead
21659 * configure: Regenerated.
21660 * config.make.in (with-fp): Use @libc_cv_with_fp@.
21661 * manual/install.texi (Configuring and compiling): Remove
21663 * INSTALL: Regenerated.
21664 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
21665 * sysdeps/mips/preconfigure (with_fp_cond): Define.
21666 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
21667 * sysdeps/sh/preconfigure (with_fp_cond): Define.
21668 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
21669 use --without-fp to configure glibc.
21671 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
21673 * manual/locale.texi (nl_langinfo): Fix a typo.
21675 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
21678 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
21680 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21682 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
21683 (CFLAGS-argp-parse.c): Likewise.
21684 (CFLAGS-argp-fmtstream.c): Likewise.
21685 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
21686 (CPPFLAGS-sha512-crypt.c): Likewise.
21687 (CPPFLAGS-md5-crypt.c): Likewise.
21688 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
21689 (CFLAGS-stack_chk_fail_local.c): Likewise.
21690 (CFLAGS-backtrace.c): Likewise.
21691 (CFLAGS-sprintf_chk.c): Likewise.
21692 (CFLAGS-snprintf_chk.c): Likewise.
21693 (CFLAGS-vsprintf_chk.c): Likewise.
21694 (CFLAGS-vsnprintf_chk.c): Likewise.
21695 (CFLAGS-asprintf_chk.c): Likewise.
21696 (CFLAGS-vasprintf_chk.c): Likewise.
21697 (CFLAGS-obprintf_chk.c): Likewise.
21698 (CFLAGS-dprintf_chk.c): Likewise.
21699 (CFLAGS-vdprintf_chk.c): Likewise.
21700 (CFLAGS-printf_chk.c): Likewise.
21701 (CFLAGS-fprintf_chk.c): Likewise.
21702 (CFLAGS-vprintf_chk.c): Likewise.
21703 (CFLAGS-vfprintf_chk.c): Likewise.
21704 (CFLAGS-gets_chk.c): Likewise.
21705 (CFLAGS-fgets_chk.c): Likewise.
21706 (CFLAGS-fgets_u_chk.c): Likewise.
21707 (CFLAGS-fread_chk.c): Likewise.
21708 (CFLAGS-fread_u_chk.c): Likewise.
21709 (CFLAGS-swprintf_chk.c): Likewise.
21710 (CFLAGS-vswprintf_chk.c): Likewise.
21711 (CFLAGS-wprintf_chk.c): Likewise.
21712 (CFLAGS-fwprintf_chk.c): Likewise.
21713 (CFLAGS-vwprintf_chk.c): Likewise.
21714 (CFLAGS-vfwprintf_chk.c): Likewise.
21715 (CFLAGS-fgetws_chk.c): Likewise.
21716 (CFLAGS-fgetws_u_chk.c): Likewise.
21717 (CFLAGS-read_chk.c): Likewise.
21718 (CFLAGS-pread_chk.c): Likewise.
21719 (CFLAGS-pread64_chk.c): Likewise.
21720 (CFLAGS-recv_chk.c): Likewise.
21721 (CFLAGS-recvfrom_chk.c): Likewise.
21722 (CFLAGS-tst-longjmp_chk.c): Likewise.
21723 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
21724 (CFLAGS-tst-longjmp_chk2.c): Likewise.
21725 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
21726 (CFLAGS-tst-longjmp_chk3.c): Likewise.
21727 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21728 (CFLAGS-tst-chk1.c): Likewise.
21729 (CFLAGS-tst-chk2.c): Likewise.
21730 (CFLAGS-tst-chk3.c): Likewise.
21731 (CFLAGS-tst-chk4.cc): Likewise.
21732 (CFLAGS-tst-chk5.cc): Likewise.
21733 (CFLAGS-tst-chk6.cc): Likewise.
21734 (CFLAGS-tst-lfschk1.c): Likewise.
21735 (CFLAGS-tst-lfschk2.c): Likewise.
21736 (CFLAGS-tst-lfschk3.c): Likewise.
21737 (CFLAGS-tst-lfschk4.cc): Likewise.
21738 (CFLAGS-tst-lfschk5.cc): Likewise.
21739 (CFLAGS-tst-lfschk6.cc): Likewise.
21740 (CFLAGS-tst-ssp-1.c): Likewise.
21741 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
21742 (CFLAGS-scandir64.c): Likewise.
21743 (CFLAGS-scandir-tail.c): Likewise.
21744 (CFLAGS-scandir64-tail.c): Likewise.
21745 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21746 (CFLAGS-dl-tunables.c): Likewise.
21747 (CFLAGS-dl-runtime.c): Likewise.
21748 (CFLAGS-dl-lookup.c): Likewise.
21749 (CFLAGS-dl-iterate-phdr.c): Likewise.
21750 (CFLAGS-vismain.c): Likewise.
21751 (CFLAGS-tst-linkall-static.c): Likewise.
21752 (CFLAGS-tst-linkall-static.c): Likewise.
21753 (CPPFLAGS-dl-load.c): Likewise.
21754 (CFLAGS-ldconfig.c): Likewise.
21755 (CFLAGS-dl-cache.c): Likewise.
21756 (CFLAGS-cache.c): Likewise.
21757 (CFLAGS-rtld.c): Likewise.
21758 (CFLAGS-multiload.c): Likewise.
21759 (CFLAGS-filtmod1.c): Likewise.
21760 (CFLAGS-tst-align.c): Likewise.
21761 (CFLAGS-tst-align2.c): Likewise.
21762 (CFLAGS-tst-alignmod.c): Likewise.
21763 (CFLAGS-tst-alignmod2.c): Likewise.
21764 (CPPFLAGS-tst-execstack.c): Likewise.
21765 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21766 (CFLAGS-tst-latepthreadmod.c): Likewise.
21767 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21768 (CFLAGS-getgrnam_r.c): Likewise.
21769 (CFLAGS-getgrent_r.c): Likewise.
21770 (CFLAGS-getgrent.c): Likewise.
21771 (CFLAGS-fgetgrent.c): Likewise.
21772 (CFLAGS-fgetgrent_r.c): Likewise.
21773 (CFLAGS-putgrent.c): Likewise.
21774 (CFLAGS-initgroups.c): Likewise.
21775 (CFLAGS-getgrgid.c): Likewise.
21776 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21777 (CFLAGS-getsgent.c): Likewise.
21778 (CFLAGS-fgetsgent.c): Likewise.
21779 (CFLAGS-fgetsgent_r.c): Likewise.
21780 (CFLAGS-putsgent.c): Likewise.
21781 (CFLAGS-getsgnam.c): Likewise.
21782 (CFLAGS-getsgnam_r.c): Likewise.
21783 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21784 (CFLAGS-iconv_charmap.c): Likewise.
21785 (CFLAGS-dummy-repertoire.c): Likewise.
21786 (CFLAGS-charmap.c): Likewise.
21787 (CFLAGS-linereader.c): Likewise.
21788 (CFLAGS-simple-hash.c): Likewise.
21789 (CFLAGS-gconv_conf.c): Likewise.
21790 (CFLAGS-iconvconfig.c): Likewise.
21791 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21792 (CFLAGS-gethstbyad.c): Likewise.
21793 (CFLAGS-gethstbynm_r.c): Likewise.
21794 (CFLAGS-gethstbynm.c): Likewise.
21795 (CFLAGS-gethstbynm2_r.c): Likewise.
21796 (CFLAGS-gethstbynm2.c): Likewise.
21797 (CFLAGS-gethstent_r.c): Likewise.
21798 (CFLAGS-gethstent.c): Likewise.
21799 (CFLAGS-rcmd.c): Likewise.
21800 (CFLAGS-getnetbynm_r.c): Likewise.
21801 (CFLAGS-getnetbynm.c): Likewise.
21802 (CFLAGS-getnetbyad_r.c): Likewise.
21803 (CFLAGS-getnetbyad.c): Likewise.
21804 (CFLAGS-getnetent_r.c): Likewise.
21805 (CFLAGS-getnetent.c): Likewise.
21806 (CFLAGS-getaliasent_r.c): Likewise.
21807 (CFLAGS-getaliasent.c): Likewise.
21808 (CFLAGS-getrpcent_r.c): Likewise.
21809 (CFLAGS-getrpcent.c): Likewise.
21810 (CFLAGS-getservent_r.c): Likewise.
21811 (CFLAGS-getservent.c): Likewise.
21812 (CFLAGS-getprtent_r.c): Likewise.
21813 (CFLAGS-getprtent.c): Likewise.
21814 (CFLAGS-either_ntoh.c): Likewise.
21815 (CFLAGS-either_hton.c): Likewise.
21816 (CFLAGS-getnetgrent.c): Likewise.
21817 (CFLAGS-getnetgrent_r.c): Likewise.
21818 (CFLAGS-tst-checks-posix.c): Likewise.
21819 (CFLAGS-tst-sockaddr.c): Likewise.
21820 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21821 (CFLAGS-tst-translit.c): Likewise.
21822 (CFLAGS-tst-gettext2.c): Likewise.
21823 (CFLAGS-tst-codeset.c): Likewise.
21824 (CFLAGS-tst-gettext3.c): Likewise.
21825 (CFLAGS-tst-gettext4.c): Likewise.
21826 (CFLAGS-tst-gettext5.c): Likewise.
21827 (CFLAGS-tst-gettext6.c): Likewise.
21828 * io/Makefile (CFLAGS-open.c): Likewise.
21829 (CFLAGS-open64.c): Likewise.
21830 (CFLAGS-creat.c): Likewise.
21831 (CFLAGS-creat64.c): Likewise.
21832 (CFLAGS-fcntl.c): Likewise.
21833 (CFLAGS-poll.c): Likewise.
21834 (CFLAGS-ppoll.c): Likewise.
21835 (CFLAGS-lockf.c): Likewise.
21836 (CFLAGS-statfs.c): Likewise.
21837 (CFLAGS-fstatfs.c): Likewise.
21838 (CFLAGS-statvfs.c): Likewise.
21839 (CFLAGS-fstatvfs.c): Likewise.
21840 (CFLAGS-fts.c): Likewise.
21841 (CFLAGS-fts64.c): Likewise.
21842 (CFLAGS-ftw.c): Likewise.
21843 (CFLAGS-ftw64.c): Likewise.
21844 (CFLAGS-lockf.c): Likewise.
21845 (CFLAGS-posix_fallocate.c): Likewise.
21846 (CFLAGS-posix_fallocate64.c): Likewise.
21847 (CFLAGS-fallocate.c): Likewise.
21848 (CFLAGS-fallocate64.c): Likewise.
21849 (CFLAGS-read.c): Likewise.
21850 (CFLAGS-write.c): Likewise.
21851 (CFLAGS-test-stat.c): Likewise.
21852 (CFLAGS-test-lfs.c): Likewise.
21853 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21854 (CFLAGS-fputc.c): Likewise.
21855 (CFLAGS-fputwc.c): Likewise.
21856 (CFLAGS-freopen64.c): Likewise.
21857 (CFLAGS-freopen.c): Likewise.
21858 (CFLAGS-fseek.c): Likewise.
21859 (CFLAGS-fseeko64.c): Likewise.
21860 (CFLAGS-fseeko.c): Likewise.
21861 (CFLAGS-ftello64.c): Likewise.
21862 (CFLAGS-ftello.c): Likewise.
21863 (CFLAGS-fwide.c): Likewise.
21864 (CFLAGS-genops.c): Likewise.
21865 (CFLAGS-getc.c): Likewise.
21866 (CFLAGS-getchar.c): Likewise.
21867 (CFLAGS-getwc.c): Likewise.
21868 (CFLAGS-getwchar.c): Likewise.
21869 (CFLAGS-iofclose.c): Likewise.
21870 (CFLAGS-iofflush.c): Likewise.
21871 (CFLAGS-iofgetpos64.c): Likewise.
21872 (CFLAGS-iofgetpos.c): Likewise.
21873 (CFLAGS-iofgets.c): Likewise.
21874 (CFLAGS-iofgetws.c): Likewise.
21875 (CFLAGS-iofputs.c): Likewise.
21876 (CFLAGS-iofputws.c): Likewise.
21877 (CFLAGS-iofread.c): Likewise.
21878 (CFLAGS-iofsetpos64.c): Likewise.
21879 (CFLAGS-iofsetpos.c): Likewise.
21880 (CFLAGS-ioftell.c): Likewise.
21881 (CFLAGS-iofwrite.c): Likewise.
21882 (CFLAGS-iogetdelim.c): Likewise.
21883 (CFLAGS-iogetline.c): Likewise.
21884 (CFLAGS-iogets.c): Likewise.
21885 (CFLAGS-iogetwline.c): Likewise.
21886 (CFLAGS-ioputs.c): Likewise.
21887 (CFLAGS-ioseekoff.c): Likewise.
21888 (CFLAGS-ioseekpos.c): Likewise.
21889 (CFLAGS-iosetbuffer.c): Likewise.
21890 (CFLAGS-iosetvbuf.c): Likewise.
21891 (CFLAGS-ioungetc.c): Likewise.
21892 (CFLAGS-ioungetwc.c): Likewise.
21893 (CFLAGS-oldfileops.c): Likewise.
21894 (CFLAGS-oldiofclose.c): Likewise.
21895 (CFLAGS-oldiofgetpos64.c): Likewise.
21896 (CFLAGS-oldiofgetpos.c): Likewise.
21897 (CFLAGS-oldiofsetpos64.c): Likewise.
21898 (CFLAGS-oldiofsetpos.c): Likewise.
21899 (CFLAGS-peekc.c): Likewise.
21900 (CFLAGS-putc.c): Likewise.
21901 (CFLAGS-putchar.c): Likewise.
21902 (CFLAGS-putwc.c): Likewise.
21903 (CFLAGS-putwchar.c): Likewise.
21904 (CFLAGS-rewind.c): Likewise.
21905 (CFLAGS-wfileops.c): Likewise.
21906 (CFLAGS-wgenops.c): Likewise.
21907 (CFLAGS-oldiofopen.c): Likewise.
21908 (CFLAGS-iofopen.c): Likewise.
21909 (CFLAGS-iofopen64.c): Likewise.
21910 (CFLAGS-oldtmpfile.c): Likewise.
21911 (CFLAGS-tst_putwc.c): Likewise.
21912 * locale/Makefile (CFLAGS-md5.c): Likewise.
21913 (CFLAGS-charmap.c): Likewise.
21914 (CFLAGS-locfile.c): Likewise.
21915 (CFLAGS-charmap-dir.c): Likewise.
21916 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21917 (CFLAGS-getpt.c): Likewise.
21918 (CFLAGS-pt_chown.c): Likewise.
21919 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21920 (CFLAGS-obstack.c): Likewise.
21921 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21922 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21923 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21924 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21925 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21926 (CFLAGS-test-tgmath.c): Likewise.
21927 (CFLAGS-test-tgmath2.c): Likewise.
21928 (CFLAGS-test-tgmath-ret.c): Likewise.
21929 (CFLAGS-test-powl.c): Likewise.
21930 (CFLAGS-test-snan.c): Likewise.
21931 (CFLAGS-test-signgam-finite.c): Likewise.
21932 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21933 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21934 (CFLAGS-test-signgam-uchar.c): Likewise.
21935 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21936 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21937 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21938 (CFLAGS-test-signgam-uint.c): Likewise.
21939 (CFLAGS-test-signgam-uint-init.c): Likewise.
21940 (CFLAGS-test-signgam-uint-static.c): Likewise.
21941 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21942 (CFLAGS-test-signgam-ullong.c): Likewise.
21943 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21944 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21945 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21946 (CFLAGS-test-math-cxx11.cc): Likewise.
21947 (CFLAGS-test-math-isinff.cc): Likewise.
21948 (CFLAGS-test-math-iszero.cc): Likewise.
21949 (CFLAGS-test-math-issignaling.cc): Likewise.
21950 (CFLAGS-test-math-iscanonical.cc): Likewise.
21951 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21952 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21953 (CFLAGS-test-flt-eval-method.c): Likewise.
21954 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21955 (CFLAGS-test-finite-macros.c): Likewise.
21956 * misc/Makefile (CFLAGS-select.c): Likewise.
21957 (CFLAGS-tsearch.c): Likewise.
21958 (CFLAGS-lsearch.c): Likewise.
21959 (CFLAGS-pselect.c): Likewise.
21960 (CFLAGS-readv.c): Likewise.
21961 (CFLAGS-writev.c): Likewise.
21962 (CFLAGS-preadv.c): Likewise.
21963 (CFLAGS-preadv64.c): Likewise.
21964 (CFLAGS-pwritev.c): Likewise.
21965 (CFLAGS-pwritev64.c): Likewise.
21966 (CFLAGS-preadv2.c): Likewise.
21967 (CFLAGS-preadv64v2.c): Likewise.
21968 (CFLAGS-pwritev2.c): Likewise.
21969 (CFLAGS-pwritev64v2.c): Likewise.
21970 (CFLAGS-usleep.c): Likewise.
21971 (CFLAGS-syslog.c): Likewise.
21972 (CFLAGS-error.c): Likewise.
21973 (CFLAGS-getpass.c): Likewise.
21974 (CFLAGS-mkstemp.c): Likewise.
21975 (CFLAGS-mkstemp64.c): Likewise.
21976 (CFLAGS-getsysstats.c): Likewise.
21977 (CFLAGS-getusershell.c): Likewise.
21978 (CFLAGS-err.c): Likewise.
21979 (CFLAGS-tst-tsearch.c): Likewise.
21980 (CFLAGS-msync.c): Likewise.
21981 (CFLAGS-fdatasync.c): Likewise.
21982 (CFLAGS-fsync.c): Likewise.
21983 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21984 (CFLAGS-unwind.c): Likewise.
21985 (CFLAGS-unwind-forcedunwind.c): Likewise.
21986 (CFLAGS-pthread_cancel.c): Likewise.
21987 (CFLAGS-pthread_setcancelstate.c): Likewise.
21988 (CFLAGS-pthread_setcanceltype.c): Likewise.
21989 (CFLAGS-cancellation.c): Likewise.
21990 (CFLAGS-libc-cancellation.c): Likewise.
21991 (CFLAGS-pthread_exit.c): Likewise.
21992 (CFLAGS-forward.c): Likewise.
21993 (CFLAGS-pthread_testcancel.c): Likewise.
21994 (CFLAGS-pthread_join.c): Likewise.
21995 (CFLAGS-pthread_timedjoin.c): Likewise.
21996 (CFLAGS-pthread_once.c): Likewise.
21997 (CFLAGS-pthread_cond_wait.c): Likewise.
21998 (CFLAGS-sem_wait.c): Likewise.
21999 (CFLAGS-sem_timedwait.c): Likewise.
22000 (CFLAGS-fcntl.c): Likewise.
22001 (CFLAGS-lockf.c): Likewise.
22002 (CFLAGS-pread.c): Likewise.
22003 (CFLAGS-pread64.c): Likewise.
22004 (CFLAGS-pwrite.c): Likewise.
22005 (CFLAGS-pwrite64.c): Likewise.
22006 (CFLAGS-wait.c): Likewise.
22007 (CFLAGS-waitpid.c): Likewise.
22008 (CFLAGS-sigwait.c): Likewise.
22009 (CFLAGS-msgrcv.c): Likewise.
22010 (CFLAGS-msgsnd.c): Likewise.
22011 (CFLAGS-tcdrain.c): Likewise.
22012 (CFLAGS-open.c): Likewise.
22013 (CFLAGS-open64.c): Likewise.
22014 (CFLAGS-pause.c): Likewise.
22015 (CFLAGS-recv.c): Likewise.
22016 (CFLAGS-send.c): Likewise.
22017 (CFLAGS-accept.c): Likewise.
22018 (CFLAGS-sendto.c): Likewise.
22019 (CFLAGS-connect.c): Likewise.
22020 (CFLAGS-recvfrom.c): Likewise.
22021 (CFLAGS-recvmsg.c): Likewise.
22022 (CFLAGS-sendmsg.c): Likewise.
22023 (CFLAGS-close.c): Likewise.
22024 (CFLAGS-read.c): Likewise.
22025 (CFLAGS-write.c): Likewise.
22026 (CFLAGS-nanosleep.c): Likewise.
22027 (CFLAGS-sigsuspend.c): Likewise.
22028 (CFLAGS-msync.c): Likewise.
22029 (CFLAGS-fdatasync.c): Likewise.
22030 (CFLAGS-fsync.c): Likewise.
22031 (CFLAGS-pt-system.c): Likewise.
22032 (CFLAGS-tst-cleanup2.c): Likewise.
22033 (CFLAGS-tst-cleanupx2.c): Likewise.
22034 (CFLAGS-flockfile.c): Likewise.
22035 (CFLAGS-ftrylockfile.c): Likewise.
22036 (CFLAGS-funlockfile.c): Likewise.
22037 (CFLAGS-tst-initializers1.c): Likewise.
22038 (CFLAGS-tst-initializers1-c89.c): Likewise.
22039 (CFLAGS-tst-initializers1-c99.c): Likewise.
22040 (CFLAGS-tst-initializers1-c11.c): Likewise.
22041 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
22042 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
22043 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22044 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
22045 (CFLAGS-nscd_getgr_r.c): Likewise.
22046 (CFLAGS-nscd_gethst_r.c): Likewise.
22047 (CFLAGS-nscd_getai.c): Likewise.
22048 (CFLAGS-nscd_initgroups.c): Likewise.
22049 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
22050 (CFLAGS-pause.c): Likewise.
22051 (CFLAGS-pread.c): Likewise.
22052 (CFLAGS-pread64.c): Likewise.
22053 (CFLAGS-pwrite.c): Likewise.
22054 (CFLAGS-pwrite64.c): Likewise.
22055 (CFLAGS-sleep.c): Likewise.
22056 (CFLAGS-wait.c): Likewise.
22057 (CFLAGS-waitid.c): Likewise.
22058 (CFLAGS-waitpid.c): Likewise.
22059 (CFLAGS-getopt.c): Likewise.
22060 (CFLAGS-wordexp.c): Likewise.
22061 (CFLAGS-sysconf.c): Likewise.
22062 (CFLAGS-pathconf.c): Likewise.
22063 (CFLAGS-fpathconf.c): Likewise.
22064 (CFLAGS-spawn.c): Likewise.
22065 (CFLAGS-spawnp.c): Likewise.
22066 (CFLAGS-spawni.c): Likewise.
22067 (CFLAGS-glob.c): Likewise.
22068 (CFLAGS-glob64.c): Likewise.
22069 (CFLAGS-getconf.c): Likewise.
22070 (CFLAGS-nanosleep.c): Likewise.
22071 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
22072 (CFLAGS-getpwent.c): Likewise.
22073 (CFLAGS-getpw.c): Likewise.
22074 (CFLAGS-fgetpwent_r.c): Likewise.
22075 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
22076 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
22077 (CFLAGS-mq_timedreceive.c): Likewise.
22078 (CFLAGS-mq_timedsend.c): Likewise.
22079 (CFLAGS-clock_nanosleep.c): Likewise.
22080 (CFLAGS-librt-cancellation.c): Likewise.
22081 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
22082 (CFLAGS-getspent.c): Likewise.
22083 (CFLAGS-fgetspent.c): Likewise.
22084 (CFLAGS-fgetspent_r.c): Likewise.
22085 (CFLAGS-putspent.c): Likewise.
22086 (CFLAGS-getspnam.c): Likewise.
22087 (CFLAGS-getspnam_r.c): Likewise.
22088 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
22089 (CFLAGS-sigsuspend.c): Likewise.
22090 (CFLAGS-sigtimedwait.c): Likewise.
22091 (CFLAGS-sigwait.c): Likewise.
22092 (CFLAGS-sigwaitinfo.c): Likewise.
22093 (CFLAGS-sigreturn.c): Likewise.
22094 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22095 (CFLAGS-vfwprintf.c): Likewise.
22096 (CFLAGS-tmpfile.c): Likewise.
22097 (CFLAGS-tmpfile64.c): Likewise.
22098 (CFLAGS-tempname.c): Likewise.
22099 (CFLAGS-psignal.c): Likewise.
22100 (CFLAGS-vprintf.c): Likewise.
22101 (CFLAGS-cuserid.c): Likewise.
22102 (CFLAGS-errlist.c): Likewise.
22103 (CFLAGS-siglist.c): Likewise.
22104 (CFLAGS-scanf15.c): Likewise.
22105 (CFLAGS-scanf17.c): Likewise.
22106 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
22107 (CFLAGS-msort.c): Likewise.
22108 (CFLAGS-qsort.c): Likewise.
22109 (CFLAGS-system.c): Likewise.
22110 (CFLAGS-fmtmsg.c): Likewise.
22111 (CFLAGS-strfmon.c): Likewise.
22112 (CFLAGS-strfmon_l.c): Likewise.
22113 (CFLAGS-strfromd.c): Likewise.
22114 (CFLAGS-strfromf.c): Likewise.
22115 (CFLAGS-strfroml.c): Likewise.
22116 (CFLAGS-tst-bsearch.c): Likewise.
22117 (CFLAGS-tst-qsort.c): Likewise.
22118 (CFLAGS-tst-makecontext2.c): Likewise.
22119 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
22120 (CFLAGS-xnlm_prot.c): Likewise.
22121 (CFLAGS-xrstat.c): Likewise.
22122 (CFLAGS-xyppasswd.c): Likewise.
22123 (CFLAGS-xklm_prot.c): Likewise.
22124 (CFLAGS-xrex.c): Likewise.
22125 (CFLAGS-xsm_inter.c): Likewise.
22126 (CFLAGS-xmount.c): Likewise.
22127 (CFLAGS-xrusers.c): Likewise.
22128 (CFLAGS-xspray.c): Likewise.
22129 (CFLAGS-xnfs_prot.c): Likewise.
22130 (CFLAGS-xrquota.c): Likewise.
22131 (CFLAGS-xkey_prot.c): Likewise.
22132 (CFLAGS-auth_unix.c): Likewise.
22133 (CFLAGS-key_call.c): Likewise.
22134 (CFLAGS-pmap_rmt.c): Likewise.
22135 (CFLAGS-clnt_perr.c): Likewise.
22136 (CFLAGS-openchild.c): Likewise.
22137 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
22138 (CFLAGS-msgsnd.c): Likewise.
22139 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
22140 * time/Makefile (CFLAGS-tzfile.c): Likewise.
22141 (CFLAGS-tzset.c): Likewise.
22142 (CFLAGS-getdate.c): Likewise.
22143 (CFLAGS-test_time.c): Likewise.
22144 (CPPFLAGS-tst-tzname.c): Likewise.
22145 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
22146 (CFLAGS-zic.c): Likewise.
22147 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
22148 (CFLAGS-wcswidth.c): Likewise.
22149 (CFLAGS-wcstol.c): Likewise.
22150 (CFLAGS-wcstoul.c): Likewise.
22151 (CFLAGS-wcstoll.c): Likewise.
22152 (CFLAGS-wcstoull.c): Likewise.
22153 (CFLAGS-wcstod.c): Likewise.
22154 (CFLAGS-wcstold.c): Likewise.
22155 (CFLAGS-wcstof128.c): Likewise.
22156 (CFLAGS-wcstof.c): Likewise.
22157 (CFLAGS-wcstol_l.c): Likewise.
22158 (CFLAGS-wcstoul_l.c): Likewise.
22159 (CFLAGS-wcstoll_l.c): Likewise.
22160 (CFLAGS-wcstoull_l.c): Likewise.
22161 (CFLAGS-wcstod_l.c): Likewise.
22162 (CFLAGS-wcstold_l.c): Likewise.
22163 (CFLAGS-wcstof128_l.c): Likewise.
22164 (CFLAGS-wcstof_l.c): Likewise.
22165 (CPPFLAGS-tst-wchar-h.c): Likewise.
22166 (CPPFLAGS-wcstold_l.c): Likewise.
22168 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
22170 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
22172 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22173 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22175 * manual/tunables.texi (Hardware Capability Tunables): Document
22176 glibc.tune.cached_memopt.
22177 * sysdeps/powerpc/cpu-features.c: New file.
22178 * sysdeps/powerpc/cpu-features.h: New file.
22179 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
22180 _dl_powerpc_cpu_features.
22181 * sysdeps/powerpc/dl-tunables.list: New file.
22182 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
22183 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22184 (INIT_ARCH): Initialize use_aligned_memopt.
22185 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
22186 IS_IN(rtld))]: Restrict dl_platform_init availability and
22187 initialize CPU features used by tunables.
22188 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
22189 Add memcpy-power8-cached.
22190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
22191 __memcpy_power8_cached.
22192 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22193 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
22196 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22198 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
22199 (CFLAGS-noinl-tester.c): Likewise.
22200 (CFLAGS-tst-strlen.c): Likewise.
22201 (CFLAGS-stratcliff.c): Likewise.
22202 (CFLAGS-test-ffs.c): Likewise.
22203 (CFLAGS-tst-inlcall.c): Likewise.
22204 (CFLAGS-tst-xbzero-opt.c): Likewise.
22205 (CFLAGS-memcpy.c): Likewise.
22206 (CFLAGS-wordcopy.c): Likewise.
22208 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22210 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
22211 Store r15 on stack and add cfi rule.
22212 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22215 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
22218 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
22221 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22223 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22224 Add s_sinf-sse2 and s_sinf-fma.
22225 (CFLAGS-s_sinf-fma.c): New.
22226 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
22227 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
22228 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
22230 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22232 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
22234 2017-12-07 Joseph Myers <joseph@codesourcery.com>
22237 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
22238 part of result to imaginary part of argument if it is zero and the
22239 real part of the argument is not finite.
22240 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
22241 of result to real part of argument if it is zero and the imaginary
22242 part of the argument is not finite.
22244 2017-12-07 Mike FABIAN <mfabian@redhat.com>
22247 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
22248 and to the list of locales to be built for testing.
22249 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
22250 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
22251 and build the collation rules upon that.
22253 2017-12-07 Joseph Myers <joseph@codesourcery.com>
22255 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
22256 * manual/math.texi (Mathematics): Document support for _Float32.
22257 * math/Makefile (test-types): Add float32.
22258 * math/Versions (GLIBC_2.27): Add _Float32 functions.
22259 * stdlib/Versions (GLIBC_2.27): Likewise.
22260 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22261 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22262 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22263 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22264 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22265 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22266 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22267 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22268 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22269 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22270 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22271 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22272 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22273 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22274 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22275 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22276 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22277 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22278 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22279 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22280 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22281 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22283 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22284 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22285 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22286 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22287 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22305 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22306 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22307 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22308 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22309 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22310 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22311 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22312 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22313 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22314 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22323 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22324 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22325 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22326 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22327 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22328 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22329 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22330 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22332 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22334 * stdlib/strtof.c: Include <bits/floatn.h>
22335 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
22336 and later undefine as macro. Define as weak alias if
22338 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
22339 and later undefine as macro. Define as weak alias if
22341 * stdlib/strtof_l.c: Include <bits/floatn.h>
22342 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
22343 and later undefine as macro. Define as weak alias if
22345 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
22346 and later undefine as macro. Define as weak alias if
22349 * stdlib/strfromf.c: Include <bits/floatn.h>.
22350 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
22351 and later undefine as macro and define as weak alias.
22353 * math/test-float32.h: New file.
22355 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
22356 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
22357 (libm_alias_float_other_r): Create f32 alias.
22358 (libm_alias_float_r): Use semicolon before call to
22359 libm_alias_float_other_r.
22361 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
22362 second argument to libm_alias_float_other.
22363 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
22364 second argument to libm_alias_float_other.
22365 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
22366 argument to libm_alias_float_other.
22369 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
22370 real part of result for argument 0 + i * NaN.
22371 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
22372 results for tests of 0 + i * NaN.
22374 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22376 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22378 2017-12-06 David S. Miller <davem@davemloft.net>
22380 * sysdeps/sparc/fpu/libm-test-ulps: Update
22381 exp_{downward,towardzero,upward} ulps.
22383 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22385 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
22388 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
22390 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
22392 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
22394 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
22397 2017-12-06 Mike FABIAN <mfabian@redhat.com>
22400 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
22401 and to the list of locales to be built for testing.
22402 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
22403 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
22404 and build the collation rules upon that.
22406 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22408 * NEWS: Add sinf to list of optimized functions.
22410 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22412 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
22413 (__HAVE_FLOAT32X): Likewise.
22414 * manual/math.texi (Mathematics): Document support for _Float64
22416 * math/Makefile (test-types): Add float64 and float32x.
22417 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
22419 * stdlib/Versions (GLIBC_2.27): Likewise.
22420 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22421 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22422 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22423 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22424 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22425 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22426 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22427 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22428 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22429 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22430 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22431 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22432 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22433 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22434 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22435 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22436 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22437 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22438 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22439 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22440 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22441 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22443 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22444 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22445 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22446 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22447 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22464 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22465 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22466 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22467 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22468 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22469 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22470 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22471 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22472 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22473 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22482 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22483 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22484 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22485 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22486 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22487 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22488 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22489 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22491 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22493 * bits/floatn-common.h: Include <bits/long-double.h>.
22494 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22495 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
22496 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22497 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
22498 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22499 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
22500 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22501 (__builtin_huge_valf64): Use __builtin_huge_vall.
22502 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22503 (__builtin_inff64): Use __builtin_infl.
22504 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22505 (__builtin_nanf64): Use __builtin_nanl.
22506 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22507 (__builtin_nansf64): Use __builtin_nansl.
22509 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
22510 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22511 Carlos O'Donnell <carlos@redhat.com>
22513 * elf/dl-tunables.list: Add elision parameters.
22514 * manual/tunables.texi: Add entries about elision tunable.
22515 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
22516 Add callback functions to dynamically enable/disable elision.
22517 Add multiple callbacks functions to set elision parameters.
22518 Deleted __libc_enable_secure check.
22519 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
22520 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
22521 * configure: Regenerated.
22522 * configure.ac: Option enable_lock_elision was deleted.
22523 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
22524 * config.make.in: Remove references to enable_lock_elision.
22525 * manual/install.texi: Elision configure option was removed.
22526 * INSTALL: Regenerated to remove enable_lock_elision.
22528 Disable elision so it can verify error case for destroying a mutex.
22529 * sysdeps/powerpc/nptl/elide.h:
22530 Cleanup ENABLE_LOCK_ELISION check.
22531 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
22532 * sysdeps/s390/configure: Regenerated.
22533 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
22534 * nptl/tst-mutex8.c:
22535 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
22536 * sysdeps/powerpc/powerpc32/sysdep.h:
22537 Deleted all ENABLE_LOCK_ELISION checks.
22538 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22539 * sysdeps/powerpc/sysdep.h: Likewise.
22540 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
22541 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
22542 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22543 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22544 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22545 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
22546 enable-lock-elision.
22548 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22550 * stdlib/strtod.c: Include <bits/floatn.h>.
22551 (BUILD_DOUBLE): New macro.
22552 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22553 (strtof64): Define and later undefine as macro. Define as weak
22554 alias if [!USE_WIDE_CHAR].
22555 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22556 (wcstof64): Define and later undefine as macro. Define as weak
22557 alias if [USE_WIDE_CHAR].
22558 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22559 (strtof32x): Define and later undefine as macro. Define as weak
22560 alias if [!USE_WIDE_CHAR].
22561 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22562 (wcstof32x): Define and later undefine as macro. Define as weak
22563 alias if [USE_WIDE_CHAR].
22564 * stdlib/strtod_l.c: Include <bits/floatn.h>.
22565 (BUILD_DOUBLE): New macro.
22566 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22567 (strtof64_l): Define and later undefine as macro. Define as weak
22568 alias if [!USE_WIDE_CHAR].
22569 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22570 (wcstof64_l): Define and later undefine as macro. Define as weak
22571 alias if [USE_WIDE_CHAR].
22572 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22573 (strtof32x_l): Define and later undefine as macro. Define as weak
22574 alias if [!USE_WIDE_CHAR].
22575 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22576 (wcstof32x_l): Define and later undefine as macro. Define as weak
22577 alias if [USE_WIDE_CHAR].
22579 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22581 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
22582 (reduced): Use ones as double instead of integer.
22584 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
22586 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
22588 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22590 * stdlib/strfromd.c: Include <bits/floatn.h>.
22591 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22592 and later undefine as macro and define as weak alias.
22593 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22596 * math/test-float32x.h: New file.
22597 * math/test-float64.h: Likewise.
22599 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22600 (libm_alias_double_other_r_f64): New macro.
22601 (libm_alias_double_other_r_f32x): Likewise.
22602 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22603 libm_alias_double_other_r_f32x.
22604 (libm_alias_double_r): Use semicolon before call to
22605 libm_alias_double_other_r.
22606 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22608 (libm_alias_double_other_r_f64): New macro.
22609 (libm_alias_double_other_r_f32x): Likewise.
22610 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22611 libm_alias_double_other_r_f32x.
22613 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22615 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22617 (SINF_FUNC): Likewise. Replace floor with simple casts.
22619 2017-12-05 Mike FABIAN <mfabian@redhat.com>
22622 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22623 and to the list of locales to be built for testing.
22624 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22625 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22626 and build the collation rules upon that.
22628 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22630 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22631 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22632 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22633 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22634 instead of __insn__xxx.
22635 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22636 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22637 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22638 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22639 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22640 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22642 2017-12-05 Florian Weimer <fweimer@redhat.com>
22644 Linux: Implement interfaces for memory protection keys
22645 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
22647 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
22648 * support/xunistd.h (xsysconf): Declare.
22649 * support/xraise.c: New file.
22650 * support/xsigaction.c: Likewise.
22651 * support/xsignal.c: Likewise.
22652 * support/xsysconf.c: Likewise.
22653 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
22654 pkey_set, pkey_get, pkey_mprotect.
22655 [misc] (tests): Add tst-pkey.
22656 (tst-pkey): Link with -lpthread.
22657 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
22658 pkey_free, pkey_set, pkey_get, pkey_mprotect.
22659 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
22660 (PKEY_DISABLE_WRITE): Define.
22661 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
22663 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
22664 (SEGV_PKUERR): Add.
22665 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
22666 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
22667 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
22668 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
22670 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
22671 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
22672 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
22673 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
22674 * sysdeps/unix/sysv/linux/**.abilist: Update.
22676 2017-12-05 Florian Weimer <fweimer@redhat.com>
22678 * support/tst-test_compare.c (subprocess): Use long long instead
22679 of long argument for consistent type width across 32-bit and
22680 64-bit architectures.
22681 (do_test): Adjust expected output.
22683 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22685 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
22686 (cosf): Define using libm_alias_float.
22687 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
22688 (fabsf): Define using libm_alias_float.
22689 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
22690 (fmaf): Define using libm_alias_float.
22691 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
22692 (rintf): Define using libm_alias_float.
22693 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
22694 (sinf): Define using libm_alias_float.
22695 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
22696 <libm-alias-float.h>.
22697 (modff): Define using libm_alias_float.
22698 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
22699 <libm-alias-float.h>.
22700 (logbf): Define using libm_alias_float.
22701 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
22702 <libm-alias-float.h>.
22703 (ceilf): Define using libm_alias_float.
22704 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22705 <libm-alias-float.h>.
22706 (copysignf): Define using libm_alias_float.
22707 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
22708 <libm-alias-float.h>.
22709 (floorf): Define using libm_alias_float.
22710 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22711 <libm-alias-float.h>.
22712 (llrintf): Define using libm_alias_float.
22713 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22714 <libm-alias-float.h>.
22715 (llroundf): Define using libm_alias_float.
22716 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22717 <libm-alias-float.h>.
22718 (lrintf): Define using libm_alias_float.
22719 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22720 <libm-alias-float.h>.
22721 (lroundf): Define using libm_alias_float.
22722 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
22723 <libm-alias-float.h>.
22724 (nearbyintf): Define using libm_alias_float.
22725 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
22726 <libm-alias-float.h>.
22727 (rintf): Define using libm_alias_float.
22728 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
22729 <libm-alias-float.h>.
22730 (roundf): Define using libm_alias_float.
22731 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
22732 <libm-alias-float.h>.
22733 (truncf): Define using libm_alias_float.
22734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
22735 Include <libm-alias-float.h>.
22736 (ceilf): Define using libm_alias_float.
22737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
22738 Include <libm-alias-float.h>.
22739 (copysignf): Define using libm_alias_float.
22740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
22741 Include <libm-alias-float.h>.
22742 (floorf): Define using libm_alias_float.
22743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
22744 Include <libm-alias-float.h>.
22745 (llrintf): Define using libm_alias_float.
22746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22747 Include <libm-alias-float.h>.
22748 (llroundf): Define using libm_alias_float.
22749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22750 Include <libm-alias-float.h>.
22751 (logbf): Define using libm_alias_float.
22752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22753 Include <libm-alias-float.h>.
22754 (lrintf): Define using libm_alias_float.
22755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22756 Include <libm-alias-float.h>.
22757 (lroundf): Define using libm_alias_float.
22758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22759 Include <libm-alias-float.h>.
22760 (modff): Define using libm_alias_float.
22761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22762 Include <libm-alias-float.h>.
22763 (roundf): Define using libm_alias_float.
22764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22765 Include <libm-alias-float.h>.
22766 (truncf): Define using libm_alias_float.
22767 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22768 <libm-alias-float.h>.
22769 (llrintf): Define using libm_alias_float.
22770 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22771 <libm-alias-float.h>.
22772 (llroundf): Define using libm_alias_float.
22773 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22774 <libm-alias-float.h>.
22775 (ceilf): Define using libm_alias_float.
22776 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22777 <libm-alias-float.h>.
22778 (floorf): Define using libm_alias_float.
22779 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22780 <libm-alias-float.h>.
22781 (llroundf): Define using libm_alias_float.
22782 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22783 <libm-alias-float.h>.
22784 (lroundf): Define using libm_alias_float.
22785 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22786 <libm-alias-float.h>.
22787 (roundf): Define using libm_alias_float.
22788 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22789 <libm-alias-float.h>.
22790 (truncf): Define using libm_alias_float.
22791 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22792 <libm-alias-float.h>.
22793 (copysignf): Define using libm_alias_float.
22794 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22795 <libm-alias-float.h>.
22796 (llrintf): Define using libm_alias_float.
22797 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22798 <libm-alias-float.h>.
22799 (llroundf): Define using libm_alias_float.
22800 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22801 <libm-alias-float.h>.
22802 (lrintf): Define using libm_alias_float.
22803 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22804 <libm-alias-float.h>.
22805 (lroundf): Define using libm_alias_float.
22806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22807 <libm-alias-float.h>.
22808 (ceilf): Define using libm_alias_float.
22809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22810 <libm-alias-float.h>.
22811 (copysignf): Define using libm_alias_float.
22812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22813 <libm-alias-float.h>.
22814 (cosf): Define using libm_alias_float.
22815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22816 <libm-alias-float.h>.
22817 (floorf): Define using libm_alias_float.
22818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22819 <libm-alias-float.h>.
22820 (llrintf): Define using libm_alias_float.
22821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22822 <libm-alias-float.h>.
22823 (llroundf): Define using libm_alias_float.
22824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22825 <libm-alias-float.h>.
22826 (logbf): Define using libm_alias_float.
22827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22828 <libm-alias-float.h>.
22829 (modff): Define using libm_alias_float.
22830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22831 <libm-alias-float.h>.
22832 (roundf): Define using libm_alias_float.
22833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22834 <libm-alias-float.h>.
22835 (sinf): Define using libm_alias_float.
22836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22837 <libm-alias-float.h>.
22838 (truncf): Define using libm_alias_float.
22839 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22840 <libm-alias-float.h>.
22841 (ceilf): Define using libm_alias_float.
22842 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22843 <libm-alias-float.h>.
22844 (copysignf): Define using libm_alias_float.
22845 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22846 <libm-alias-float.h>.
22847 (floorf): Define using libm_alias_float.
22848 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22849 <libm-alias-float.h>.
22850 (llrintf): Define using libm_alias_float.
22851 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22852 <libm-alias-float.h>.
22853 (llroundf): Define using libm_alias_float.
22854 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22855 <libm-alias-float.h>.
22856 (nearbyintf): Define using libm_alias_float.
22857 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22858 <libm-alias-float.h>.
22859 (rintf): Define using libm_alias_float.
22860 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22861 <libm-alias-float.h>.
22862 (roundf): Define using libm_alias_float.
22863 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22864 <libm-alias-float.h>.
22865 (truncf): Define using libm_alias_float.
22866 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22867 <libm-alias-float.h>.
22868 (ceilf): Define using libm_alias_float.
22869 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22870 <libm-alias-float.h>.
22871 (floorf): Define using libm_alias_float.
22872 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22873 <libm-alias-float.h>.
22874 (llroundf): Define using libm_alias_float.
22875 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22876 <libm-alias-float.h>.
22877 (roundf): Define using libm_alias_float.
22878 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22879 <libm-alias-float.h>.
22880 (truncf): Define using libm_alias_float.
22881 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22882 <libm-alias-float.h>.
22883 (copysignf): Define using libm_alias_float.
22884 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22885 <libm-alias-float.h>.
22886 (llrintf): Define using libm_alias_float.
22887 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22888 <libm-alias-float.h>.
22889 (llroundf): Define using libm_alias_float.
22890 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22891 <libm-alias-float.h>.
22892 (cosf): Define using libm_alias_float.
22893 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22894 <libm-alias-float.h>.
22895 (llrintf): Define using libm_alias_float.
22896 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22897 <libm-alias-float.h>.
22898 (llroundf): Define using libm_alias_float.
22899 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22900 <libm-alias-float.h>.
22901 (sinf): Define using libm_alias_float.
22903 2017-12-04 Florian Weimer <fweimer@redhat.com>
22905 * support/check.h (TEST_COMPARE): Define.
22906 (support_test_compare_failure): Declare.
22907 * support/Makefile (libsupport-routines): Add
22908 support_test_compare_failure.
22909 (tests): Add tst-test_compare.
22910 * support /support_test_compare_failure.c: New file.
22911 * support/tst-test_compare.c: Likewise.
22913 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22916 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22917 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22918 available, this rewrite of the collation rules does reproduce
22919 the test file in the same order.
22921 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22924 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22925 digraphs in the month and day names. Using single code points for
22926 digraphs is deprecated. While there are dedicated Unicode
22927 codepoints, for the digraphs, these are included for backwards
22928 compatibility and modern texts use a sequence of Basic Latin
22929 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22930 This makes the month and day names agree exactly with CLDR now,
22931 CLDR does not use the single code points for the digraphs either.
22933 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22935 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22937 2017-12-04 Joseph Myers <joseph@codesourcery.com>
22939 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22942 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22944 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22945 Define only for libc.so.
22947 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22949 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22950 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
22951 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
22952 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22953 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22955 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22958 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22960 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
22963 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22964 PREINIT_FUNCTION_WEAK is nonzero.
22965 (gmon_initializer): New function. Put procedure label for it in
22966 .init_array section.
22967 (_init): Don't call PREINIT_FUNCTION.
22968 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22969 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22970 value when map argument is null.
22972 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22973 depi instruction from PIC pc-relative sequence.
22974 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22975 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22976 (elf_machine_load_address): Likewise.
22977 (elf_machine_runtime_setup): Likewise.
22979 2017-12-02 Joseph Myers <joseph@codesourcery.com>
22981 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22982 <libm-alias-double.h>.
22983 (logb): Define using libm_alias_double.
22984 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22985 <libm-alias-double.h>.
22986 (copysign): Define using libm_alias_double.
22987 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22988 <libm-alias-double.h>.
22989 (llrint): Define using libm_alias_double.
22990 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22991 <libm-alias-double.h>.
22992 (llround): Define using libm_alias_double.
22993 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22994 <libm-alias-double.h>.
22995 (lrint): Define using libm_alias_double.
22996 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22997 <libm-alias-double.h>.
22998 (lround): Define using libm_alias_double.
22999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23000 Include <libm-alias-double.h>.
23001 (copysign): Define using libm_alias_double.
23002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
23003 Include <libm-alias-double.h>.
23004 (llrint): Define using libm_alias_double.
23005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
23006 Include <libm-alias-double.h>.
23007 (llround): Define using libm_alias_double.
23008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
23009 <libm-alias-double.h>.
23010 (logb): Define using libm_alias_double.
23011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
23012 Include <libm-alias-double.h>.
23013 (lrint): Define using libm_alias_double.
23014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
23015 Include <libm-alias-double.h>.
23016 (lround): Define using libm_alias_double.
23017 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
23018 <libm-alias-double.h>.
23019 (llrint): Define using libm_alias_double.
23020 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23021 <libm-alias-double.h>.
23022 (llround): Define using libm_alias_double.
23023 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23024 <libm-alias-double.h>.
23025 (llround): Define using libm_alias_double.
23026 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23027 <libm-alias-double.h>.
23028 (lround): Define using libm_alias_double.
23029 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23030 <libm-alias-double.h>.
23031 (copysign): Define using libm_alias_double.
23032 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
23033 <libm-alias-double.h>.
23034 (llrint): Define using libm_alias_double.
23035 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23036 <libm-alias-double.h>.
23037 (llround): Define using libm_alias_double.
23038 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23039 <libm-alias-double.h>.
23040 (lrint): Define using libm_alias_double.
23041 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23042 <libm-alias-double.h>.
23043 (lround): Define using libm_alias_double.
23044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
23045 <libm-alias-double.h>.
23046 (copysign): Define using libm_alias_double.
23047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
23048 <libm-alias-double.h>.
23049 (llrint): Define using libm_alias_double.
23051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
23052 <libm-alias-double.h>.
23053 (llround): Define using libm_alias_double.
23054 (lround): Likewise.
23055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
23056 <libm-alias-double.h>.
23057 (logb): Define using libm_alias_double.
23058 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23059 <libm-alias-double.h>.
23060 (copysign): Define using libm_alias_double.
23061 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23062 <libm-alias-double.h>.
23063 (llrint): Define using libm_alias_double.
23065 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
23066 <libm-alias-double.h>.
23067 (llround): Define using libm_alias_double.
23068 (lround): Likewise.
23069 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23070 <libm-alias-double.h>.
23071 (llround): Define using libm_alias_double.
23072 (lround): Likewise.
23073 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23074 <libm-alias-double.h>.
23075 (copysign): Define using libm_alias_double.
23076 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23077 <libm-alias-double.h>.
23078 (llrint): Define using libm_alias_double.
23080 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23081 <libm-alias-double.h>.
23082 (llround): Define using libm_alias_double.
23083 (lround): Likewise.
23084 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23085 <libm-alias-double.h>.
23086 (llrint): Define using libm_alias_double.
23088 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23089 <libm-alias-double.h>.
23090 (llround): Define using libm_alias_double.
23091 (lround): Likewise.
23093 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23096 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
23097 compat symbol based on llround.
23099 * sysdeps/powerpc/power7/fpu/s_logb.c
23100 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
23101 symbol based on __logb, not on logb.
23102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
23103 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
23105 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23107 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
23108 (rint): Define using libm_alias_double.
23109 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
23110 <libm-alias-double.h>.
23111 (modf): Define using libm_alias_double.
23112 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
23113 <libm-alias-double.h>.
23114 (ceil): Define using libm_alias_double.
23115 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
23116 <libm-alias-double.h>.
23117 (floor): Define using libm_alias_double.
23118 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
23119 <libm-alias-double.h>.
23120 (nearbyint): Define using libm_alias_double.
23121 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
23122 <libm-alias-double.h>.
23123 (rint): Define using libm_alias_double.
23124 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
23125 <libm-alias-double.h>.
23126 (round): Define using libm_alias_double.
23127 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
23128 <libm-alias-double.h>.
23129 (trunc): Define using libm_alias_double.
23130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
23131 <libm-alias-double.h>.
23132 (ceil): Define using libm_alias_double.
23133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
23134 Include <libm-alias-double.h>.
23135 (floor): Define using libm_alias_double.
23136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
23137 <libm-alias-double.h>.
23138 (modf): Define using libm_alias_double.
23139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
23140 Include <libm-alias-double.h>.
23141 (round): Define using libm_alias_double.
23142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
23143 Include <libm-alias-double.h>.
23144 (trunc): Define using libm_alias_double.
23145 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
23146 <libm-alias-double.h>.
23147 (ceil): Define using libm_alias_double.
23148 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
23149 <libm-alias-double.h>.
23150 (floor): Define using libm_alias_double.
23151 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
23152 <libm-alias-double.h>.
23153 (round): Define using libm_alias_double.
23154 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
23155 <libm-alias-double.h>.
23156 (trunc): Define using libm_alias_double.
23157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
23158 <libm-alias-double.h>.
23159 (ceil): Define using libm_alias_double.
23160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
23161 <libm-alias-double.h>.
23162 (floor): Define using libm_alias_double.
23163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
23164 <libm-alias-double.h>.
23165 (modf): Define using libm_alias_double.
23166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
23167 <libm-alias-double.h>.
23168 (round): Define using libm_alias_double.
23169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
23170 <libm-alias-double.h>.
23171 (trunc): Define using libm_alias_double.
23172 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
23173 <libm-alias-double.h>.
23174 (ceil): Define using libm_alias_double.
23175 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
23176 <libm-alias-double.h>.
23177 (floor): Define using libm_alias_double.
23178 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
23179 <libm-alias-double.h>.
23180 (nearbyint): Define using libm_alias_double.
23181 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
23182 <libm-alias-double.h>.
23183 (rint): Define using libm_alias_double.
23184 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
23185 <libm-alias-double.h>.
23186 (round): Define using libm_alias_double.
23187 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
23188 <libm-alias-double.h>.
23189 (trunc): Define using libm_alias_double.
23190 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
23191 <libm-alias-double.h>.
23192 (ceil): Define using libm_alias_double.
23193 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
23194 <libm-alias-double.h>.
23195 (floor): Define using libm_alias_double.
23196 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
23197 <libm-alias-double.h>.
23198 (round): Define using libm_alias_double.
23199 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
23200 <libm-alias-double.h>.
23201 (trunc): Define using libm_alias_double.
23203 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
23204 (fabs): Define using libm_alias_double.
23205 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
23206 (fma): Define using libm_alias_double.
23207 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
23208 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
23209 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
23210 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
23212 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23214 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
23216 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
23217 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
23218 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
23221 due redirect macro.
23223 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
23225 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
23227 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23229 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
23230 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
23231 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
23232 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
23234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23235 (libm-sysdep_routines): Add s_nearbyintf-generic and
23236 s_nearbyint-generic.
23237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
23239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
23240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
23242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
23244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
23246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23250 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
23251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
23253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
23254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
23256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
23257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
23258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23261 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
23262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
23264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
23265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
23267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
23268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
23269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
23271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23272 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
23273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
23275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
23276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
23278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
23279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
23280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23283 (sysdep_calls): New rule.
23284 (sysdep_routines): Use sysdep_calls as base.
23285 (libm-sysdep_routines): Add generic rule for symbols shared with
23286 libc. Add s_copysign-generic and s_copysign-generic objects.
23287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
23289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
23290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
23292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
23293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
23294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
23296 2017-12-01 Mike FABIAN <mfabian@redhat.com>
23299 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
23300 the list of locales to be built for testing.
23301 * localedata/is_IS.UTF-8.in: New file.
23302 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
23305 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23307 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
23308 <libm-alias-float.h>.
23309 (fabsf): Define using libm_alias_float.
23311 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23313 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
23315 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23317 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
23318 <libm-alias-float.h>.
23319 (fabsf): Define using libm_alias_float.
23320 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
23321 <libm-alias-float.h>.
23322 (lrintf): Define using libm_alias_float.
23323 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
23324 <libm-alias-float.h>.
23325 (rintf): Define using libm_alias_float.
23327 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
23328 <libm-alias-double.h>.
23329 (fabs): Define using libm_alias_double.
23330 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
23331 <libm-alias-double.h>.
23332 (lrint): Define using libm_alias_double.
23333 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
23334 <libm-alias-double.h>.
23335 (rint): Define using libm_alias_double.
23337 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
23338 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
23339 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
23340 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
23341 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
23342 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
23343 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
23344 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
23345 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
23346 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
23347 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
23348 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
23349 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
23350 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
23351 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
23352 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
23353 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
23354 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
23356 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
23357 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
23358 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
23360 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
23361 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
23362 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
23364 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
23365 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
23366 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
23367 s_expm1_template.c.
23368 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
23369 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
23370 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
23372 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
23373 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
23374 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
23375 s_floor_template.c.
23376 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
23377 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
23378 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
23379 s_frexp_template.c.
23380 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
23381 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
23382 s_lrint_template.c.
23383 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
23384 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
23385 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
23387 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
23388 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
23389 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
23390 s_nearbyint_template.c.
23391 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
23392 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
23393 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
23394 s_remquo_template.c.
23395 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
23396 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
23397 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
23399 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
23400 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
23401 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
23403 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
23404 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
23405 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
23406 s_sincos_template.c.
23407 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
23408 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
23409 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
23411 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
23412 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
23413 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
23415 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
23416 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
23417 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
23418 s_trunc_template.c.
23419 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
23420 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
23421 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
23422 s_atan.c instead of including s_atan.c.
23423 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
23424 s_atanf.c instead of including s_atanf.c.
23425 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
23426 s_atanl.c instead of including s_atanl.c.
23427 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
23428 instead of s_atan.c.
23429 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
23430 instead of s_atanf.c.
23431 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
23432 instead of s_atanl.c.
23434 * scripts/update-copyrights: Do not handle intl/plural.c
23437 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
23440 * configure.ac (BISON): Require to be present.
23441 * configure: Regenerated.
23442 * intl/Makefile (generated): Add plural.c.
23443 [$(BISON) != no]: Make code unconditional.
23444 (plural.c): Change rule to $(objpfx)plural.c.
23445 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
23446 * intl/plural.c: Remove.
23447 * manual/install.texi (Tools for Compilation): Document bison as
23449 * INSTALL: Regenerated.
23451 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23453 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
23454 <libm-alias-double.h>.
23455 (llrint): Define using libm_alias_double.
23456 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
23457 <libm-alias-float.h>.
23458 (llrintf): Define using libm_alias_float.
23459 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
23460 <libm-alias-ldouble.h>.
23461 (llrintl): Define using libm_alias_ldouble.
23463 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
23464 declare_mgen_alias instead of weak_alias.
23465 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
23466 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
23467 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
23469 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23471 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23473 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
23474 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
23475 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
23477 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23478 Add submul_1-generic.
23479 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
23480 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
23481 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
23483 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23484 Add addmul_1-generic.
23485 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
23486 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
23487 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
23489 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23491 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
23492 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
23493 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
23495 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23497 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
23498 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
23499 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
23501 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23503 According to CLDR, collation rules for Serbian and Bosnian
23504 should be the same as for Croatian.
23507 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
23508 and to the list of locales to be built for testing.
23509 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23510 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23511 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
23512 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
23514 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23516 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
23517 to make test case pass.
23518 * localedata/hr_HR.UTF-8.in: Add more test strings.
23520 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23522 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
23524 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
23526 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
23527 the list of locales to built for testing.
23528 * localedata/hr_HR.UTF-8.in: New file.
23530 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
23533 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
23535 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
23536 CLDR (except use ligatures for the digraphs, CLDR does not use
23537 the ligatures), add first_workday, some fixes in the date and time
23539 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
23541 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
23542 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
23543 Add int_p_cs_precedes and int_n_cs_precedes.
23544 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
23545 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
23547 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
23548 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
23550 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
23551 and lang_lib. Change postal_fmt.
23553 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23555 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
23557 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23558 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
23559 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23560 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
23561 * sysdeps/generic/setjmpP.h: New file.
23562 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
23563 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
23564 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
23565 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
23566 Add jmp_buf-ssp.sym.
23567 (tests): Add tst-saved_mask-1.
23569 2017-11-30 Arjun Shankar <arjun@redhat.com>
23573 * malloc/malloc.c (__libc_malloc): Use checked_request2size
23574 instead of request2size.
23576 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
23579 (__lllrint): Remove alias.
23580 (lllrint): Likewise.
23581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
23582 (__lllrintf): Likewise.
23583 (lllrintf): Likewise.
23585 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
23586 <libm-alias-float.h>.
23587 (copysignf): Define using libm_alias_float.
23588 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
23589 <libm-alias-float.h>.
23590 (fabsf): Define using libm_alias_float.
23591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23592 Include <libm-alias-float.h>.
23593 (copysignf): Define using libm_alias_float.
23594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23595 <libm-alias-float.h>.
23596 (fabsf): Define using libm_alias_float.
23597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23598 <libm-alias-float.h>.
23599 (fdimf): Define using libm_alias_float.
23600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23601 <libm-alias-float.h>.
23602 (fmaf): Define using libm_alias_float.
23603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23604 <libm-alias-float.h>.
23605 (llrintf): Define using libm_alias_float.
23606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23607 Include <libm-alias-float.h>.
23608 (nearbyintf): Define using libm_alias_float.
23609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23610 <libm-alias-float.h>.
23611 (rintf): Define using libm_alias_float.
23612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23613 <libm-alias-float.h>.
23614 (llrintf): Define using libm_alias_float.
23615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23616 <libm-alias-float.h>.
23617 (lrintf): Define using libm_alias_float.
23618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23619 <libm-alias-float.h>.
23620 (nearbyintf): Define using libm_alias_float.
23621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23622 <libm-alias-float.h>.
23623 (rintf): Define using libm_alias_float.
23624 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23625 <libm-alias-float.h>.
23626 (ceilf): Define using libm_alias_float.
23627 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23628 <libm-alias-float.h>.
23629 (floorf): Define using libm_alias_float.
23630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23631 <libm-alias-float.h>.
23632 (fmaf): Define using libm_alias_float.
23633 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23634 <libm-alias-float.h>.
23635 (lrintf): Define using libm_alias_float.
23636 (llrintf): Likewise.
23637 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23638 <libm-alias-float.h>.
23639 (nearbyintf): Define using libm_alias_float.
23640 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23641 <libm-alias-float.h>.
23642 (rintf): Define using libm_alias_float.
23643 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23644 <libm-alias-float.h>.
23645 (truncf): Define using libm_alias_float.
23646 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
23647 <libm-alias-float.h>.
23648 (copysignf): Define using libm_alias_float.
23649 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
23650 <libm-alias-float.h>.
23651 (fabsf): Define using libm_alias_float.
23652 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
23653 <libm-alias-float.h>.
23654 (lrintf): Define using libm_alias_float.
23655 (llrintf): Likewise.
23656 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
23657 <libm-alias-float.h>.
23658 (nearbyintf): Define using libm_alias_float.
23659 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
23660 <libm-alias-float.h>.
23661 (rintf): Define using libm_alias_float.
23663 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23665 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23666 <libm-alias-double.h>.
23667 (copysign): Define using libm_alias_double.
23668 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
23669 <libm-alias-double.h>.
23670 (fabs): Define using libm_alias_double.
23671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23672 Include <libm-alias-double.h>.
23673 (copysign): Define using libm_alias_double.
23674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23675 <libm-alias-double.h>.
23676 (fabs): Define using libm_alias_double.
23677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
23678 <libm-alias-double.h>.
23679 (fdim): Define using libm_alias_double.
23680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
23681 <libm-alias-double.h>.
23682 (fma): Define using libm_alias_double.
23683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
23684 <libm-alias-double.h>.
23685 (llrint): Define using libm_alias_double.
23686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
23687 Include <libm-alias-double.h>.
23688 (nearbyint): Define using libm_alias_double.
23689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
23690 <libm-alias-double.h>.
23691 (rint): Define using libm_alias_double.
23692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23693 <libm-alias-double.h>.
23694 (fabs): Define using libm_alias_double.
23695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
23696 <libm-alias-double.h>.
23697 (llrint): Define using libm_alias_double.
23698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
23699 <libm-alias-double.h>.
23700 (nearbyint): Define using libm_alias_double.
23701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
23702 <libm-alias-double.h>.
23703 (rint): Define using libm_alias_double.
23704 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
23705 <libm-alias-double.h>.
23706 (ceil): Define using libm_alias_double.
23707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
23708 <libm-alias-double.h>.
23709 (floor): Define using libm_alias_double.
23710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
23711 <libm-alias-double.h>.
23712 (fma): Define using libm_alias_double.
23713 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
23714 <libm-alias-double.h>.
23715 (lrint): Define using libm_alias_double.
23716 (llrint): Likewise.
23717 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
23718 <libm-alias-double.h>.
23719 (nearbyint): Define using libm_alias_double.
23720 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
23721 <libm-alias-double.h>.
23722 (rint): Define using libm_alias_double.
23723 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
23724 <libm-alias-double.h>.
23725 (trunc): Define using libm_alias_double.
23726 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
23727 <libm-alias-double.h>.
23728 (copysign): Define using libm_alias_double.
23729 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
23730 <libm-alias-double.h>.
23731 (fabs): Define using libm_alias_double.
23732 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
23733 <libm-alias-double.h>.
23734 (lrint): Define using libm_alias_double.
23735 (llrint): Likewise.
23736 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
23737 <libm-alias-double.h>.
23738 (nearbyint): Define using libm_alias_double.
23739 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
23740 <libm-alias-double.h>.
23741 (rint): Define using libm_alias_double.
23744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23746 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23748 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23749 SPARC --disable-multi-arch glibc variants.
23751 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23752 <libm-alias-float.h>.
23753 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23755 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23756 <libm-alias-float.h>.
23757 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23759 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23760 <libm-alias-float.h>.
23761 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23763 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23764 <libm-alias-float.h>.
23765 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23767 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23768 <libm-alias-float.h>.
23769 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23771 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23772 <libm-alias-float.h>.
23773 (ceilf): Define using libm_alias_float.
23774 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23775 <libm-alias-float.h>.
23776 (floorf): Define using libm_alias_float.
23777 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23778 <libm-alias-float.h>.
23779 (fmaf): Define using libm_alias_float.
23780 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23781 <libm-alias-float.h>.
23782 (nearbyintf): Define using libm_alias_float.
23783 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23784 <libm-alias-float.h>.
23785 (rintf): Define using libm_alias_float.
23786 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23787 <libm-alias-float.h>.
23788 (truncf): Define using libm_alias_float.
23789 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23790 (copysignf): Define using libm_alias_float.
23791 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23792 (cosf): Define using libm_alias_float.
23793 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23794 (fabsf): Define using libm_alias_float.
23795 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23796 (fmaxf): Define using libm_alias_float.
23797 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23798 (fminf): Define using libm_alias_float.
23799 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23800 (llrintf): Define using libm_alias_float.
23801 [!__ILP32__] (lrintf): Likewise.
23802 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23803 (sincosf): Define using libm_alias_float.
23804 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23805 (sinf): Define using libm_alias_float.
23806 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23807 (lrintf): Define using libm_alias_float.
23809 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23810 <libm-alias-double.h>.
23811 (atan): Define using libm_alias_double.
23812 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23813 <libm-alias-double.h>.
23814 (ceil): Define using libm_alias_double.
23815 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23816 <libm-alias-double.h>.
23817 (floor): Define using libm_alias_double.
23818 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23819 <libm-alias-double.h>.
23820 (fma): Define using libm_alias_double.
23821 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23822 <libm-alias-double.h>.
23823 (nearbyint): Define using libm_alias_double.
23824 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23825 <libm-alias-double.h>.
23826 (rint): Define using libm_alias_double.
23827 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23828 <libm-alias-double.h>.
23829 (sin): Define using libm_alias_double.
23831 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23832 <libm-alias-double.h>.
23833 (tan): Define using libm_alias_double.
23834 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23835 <libm-alias-double.h>.
23836 (trunc): Define using libm_alias_double.
23837 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23838 (copysign): Define using libm_alias_double.
23839 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23840 (fabs): Define using libm_alias_double.
23841 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23842 (fmax): Define using libm_alias_double.
23843 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23844 (fmin): Define using libm_alias_double.
23845 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23846 (llrint): Define using libm_alias_double.
23847 [!__ILP32__] (lrint): Likewise.
23848 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23849 (lrint): Define using libm_alias_double.
23851 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23853 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23854 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23856 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23857 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23858 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23859 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23860 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23861 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23863 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23864 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23866 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23867 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23868 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23869 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23870 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23871 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23873 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23874 (libm-sysdep_routines): Add s_nearbyint-generic and
23875 s_nearbyintf-generic objects.
23876 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23877 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23878 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23879 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23880 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23881 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23884 Add s_finitef-generic and s_finite-generic objects.
23885 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23886 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23887 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23888 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23889 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23890 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23892 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23893 Add s_isinff-generic and s_isinf-generic objects.
23894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23897 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23898 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23899 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23901 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23902 Add s_isnanf-generic and s_isnan-generic objects.
23903 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23904 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23905 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23906 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23910 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23912 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23914 (sysdep_routines): Use sysdep_calls as base.
23915 (libm-sysdep_routines): Add generic rule for symbols shared with
23916 libc. Add s_signbit-generic and s_signbitf-generic objects.
23917 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23918 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23919 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23920 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23921 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23922 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23924 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23926 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23927 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23928 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23929 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23930 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23931 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23932 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23933 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23934 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23935 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23936 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23937 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23938 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23939 libm_alias_float_r.
23940 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23941 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23943 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23944 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23945 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23946 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23947 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23948 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23949 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23950 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23951 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23952 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23954 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23956 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23957 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23958 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23959 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23960 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23961 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23962 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23963 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23964 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23965 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23966 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23967 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23968 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23969 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23970 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23971 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23972 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23973 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23974 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23976 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23977 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23978 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23979 * sysdeps/ia64/fpu/w_lgammaf_main.c
23980 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23981 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23983 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23984 Alexandre Oliva <aoliva@redhat.com>
23987 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23988 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23990 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23992 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23993 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23994 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23995 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23996 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23997 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23998 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23999 instead of “ifdef DIACRIT_BACKWARD”.
24001 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24003 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
24004 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
24005 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
24006 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
24007 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
24008 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
24009 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
24010 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
24011 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
24012 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
24013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
24014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
24015 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
24016 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
24017 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
24018 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24019 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
24020 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
24021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24022 ($(have-as-vis3) == yes): Remove conditional.
24023 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
24025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
24027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
24029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
24031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
24033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
24034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
24035 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
24036 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
24037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
24038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
24039 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
24040 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
24042 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24044 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
24045 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
24046 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
24047 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
24048 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
24049 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
24050 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
24051 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
24052 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
24053 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
24054 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
24055 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
24056 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
24057 libm_alias_double_r.
24058 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
24060 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
24061 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
24062 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
24063 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
24064 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
24065 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
24066 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
24067 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
24068 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
24069 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
24070 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
24072 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
24074 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
24075 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
24076 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
24077 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
24078 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
24079 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
24080 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
24081 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
24082 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
24083 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
24084 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
24085 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
24086 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
24087 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
24088 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
24089 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
24090 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
24091 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
24093 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
24094 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
24095 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
24096 * sysdeps/ia64/fpu/w_lgamma_main.c
24097 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
24098 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
24100 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
24102 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
24103 address of $global$ into %dp register earlier. Use pc-relative
24104 instruction sequence for PIC case.
24106 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24108 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
24109 (asinhf): Define using libm_alias_float.
24110 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
24111 (atanf): Define using libm_alias_float.
24112 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
24113 (cbrtf): Define using libm_alias_float.
24114 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
24115 (ceilf): Define using libm_alias_float.
24116 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24117 (copysignf): Define using libm_alias_float.
24118 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
24119 (expm1f): Define using libm_alias_float.
24120 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
24121 (fabsf): Define using libm_alias_float.
24122 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
24123 (floorf): Define using libm_alias_float.
24124 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24125 (fmaxf): Define using libm_alias_float.
24126 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
24127 (fminf): Define using libm_alias_float.
24128 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
24129 (frexpf): Define using libm_alias_float.
24130 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24131 (llrintf): Define using libm_alias_float.
24132 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
24133 (logbf): Define using libm_alias_float.
24134 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24135 (lrintf): Define using libm_alias_float.
24136 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
24137 (nearbyintf): Define using libm_alias_float.
24138 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
24139 (remquof): Define using libm_alias_float.
24140 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
24141 (rintf): Define using libm_alias_float.
24142 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
24143 (truncf): Define using libm_alias_float.
24144 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
24145 <libm-alias-float.h>.
24146 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24148 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
24149 <libm-alias-float.h>.
24150 (expf): Define using libm_alias_float, or libm_alias_float_other
24152 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
24153 <libm-alias-float.h>.
24154 (log2f): Define using libm_alias_float, or libm_alias_float_other
24156 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
24157 <libm-alias-float.h>.
24158 (logf): Define using libm_alias_float, or libm_alias_float_other
24160 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
24161 <libm-alias-float.h>.
24162 (powf): Define using libm_alias_float, or libm_alias_float_other
24164 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
24165 <libm-alias-float.h>.
24166 (cosf): Define using libm_alias_float.
24167 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
24168 <libm-alias-float.h>.
24169 (sincosf): Define using libm_alias_float.
24170 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
24171 <libm-alias-float.h>.
24172 (sinf): Define using libm_alias_float.
24173 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24174 (fmaxf): Define using libm_alias_float.
24175 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
24176 (fminf): Define using libm_alias_float.
24177 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24178 <libm-alias-float.h>.
24179 (fmaf): Define using libm_alias_float.
24181 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
24182 (asinh): Define using libm_alias_double.
24183 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
24184 (atan): Define using libm_alias_double.
24185 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
24186 (cbrt): Define using libm_alias_double.
24187 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
24188 (ceil): Define using libm_alias_double.
24189 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
24190 (copysign): Define using libm_alias_double.
24191 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
24192 (expm1): Define using libm_alias_double.
24193 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
24194 (fabs): Define using libm_alias_double.
24195 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
24196 (fdim): Define using libm_alias_double.
24197 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
24198 (floor): Define using libm_alias_double.
24199 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
24200 (fmax): Define using libm_alias_double.
24201 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
24202 (fmin): Define using libm_alias_double.
24203 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
24204 (frexp): Define using libm_alias_double.
24205 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
24206 (llrint): Define using libm_alias_double.
24207 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
24208 (logb): Define using libm_alias_double.
24209 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
24210 (lrint): Define using libm_alias_double.
24211 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
24212 (nearbyint): Define using libm_alias_double.
24213 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
24214 (remquo): Define using libm_alias_double.
24215 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
24216 (rint): Define using libm_alias_double.
24217 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
24218 (trunc): Define using libm_alias_double.
24219 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
24220 (fmax): Define using libm_alias_double.
24221 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
24222 (fmin): Define using libm_alias_double.
24223 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
24224 (fma): Define using libm_alias_double.
24226 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
24229 * elf/dl-hwcaps.c (ROUND): Removed.
24230 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
24231 and ELF_NOTE_NEXT_OFFSET.
24232 * elf/dl-load.c (ROUND): Removed.
24233 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24234 * elf/readelflib.c (ROUND): Removed.
24235 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24236 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
24237 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
24238 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
24240 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24242 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24243 [!__fmaf] (fmaf): Define using libm_alias_float.
24245 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
24246 [!__fma] (fma): Define using libm_alias_double.
24247 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
24249 2017-11-28 Mike FABIAN <mfabian@redhat.com>
24252 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
24253 and implement the collation rules for cs from CLDR on top of that.
24254 * Makefile: Add cs_CZ.UTF-8 to test-input.
24255 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
24257 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
24259 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
24261 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24262 Icarus Sparry <icarus.w.sparry@intel.com>
24264 * benchtests/Makefile:Add BENCHSET to allow subsets of
24265 benchmarks to be run.
24266 * benchtests/README: Add documentation for: Running subsets of
24269 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24271 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
24272 range of tests names.
24274 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
24275 result from property and remove "max", min" and "mean" from
24276 required properties based on benchtests/bench-skeleton.c.
24278 2017-11-28 Florian Weimer <fweimer@redhat.com>
24281 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
24282 due to Internet requirement.
24283 * posix/Makefile (tests): Remove tst-getaddrinfo4,
24285 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
24287 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24289 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24290 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
24291 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24292 (sysdep_routines): Add memset-ultra1.
24293 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
24295 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
24296 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
24297 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
24298 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
24299 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
24300 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
24301 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
24302 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24304 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
24306 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
24307 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
24308 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
24309 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
24310 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
24311 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
24312 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
24314 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24315 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
24316 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24317 (sysdep_routines): Add memcpy-ultra1.
24318 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
24319 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
24321 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24323 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
24324 (cfloat_versions): Take function argument without trailing 'f'.
24325 Call libm_alias_float_other.
24326 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
24327 * sysdeps/alpha/fpu/cargf.c: Likewise.
24328 * sysdeps/alpha/fpu/cimagf.c: Likewise.
24329 * sysdeps/alpha/fpu/conjf.c: Likewise.
24330 * sysdeps/alpha/fpu/crealf.c: Likewise.
24331 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
24332 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
24333 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
24334 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
24335 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
24336 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
24337 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
24338 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
24339 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
24340 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
24341 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
24342 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
24343 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
24344 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
24345 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
24346 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
24347 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
24348 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
24349 (clog10f): Use libm_alias_float_other.
24350 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24351 (ceilf): Define using libm_alias_float.
24352 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
24353 (copysignf): Define using libm_alias_float.
24354 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24355 (fabsf): Define using libm_alias_float.
24356 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
24357 (floorf): Define using libm_alias_float.
24358 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
24359 (fmaxf): Define using libm_alias_float.
24360 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
24361 (fminf): Define using libm_alias_float.
24362 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24363 (lrintf): Define using libm_alias_float.
24364 (llrintf): Likewise.
24365 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24366 (lroundf): Define using libm_alias_float.
24367 (llroundf): Likewise.
24368 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
24369 (rintf): Define using libm_alias_float.
24370 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
24371 (truncf): Define using libm_alias_float.
24373 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24374 (ceilf): Define using libm_alias_float.
24375 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
24376 (floorf): Define using libm_alias_float.
24377 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24378 (fmaf): Define using libm_alias_float.
24379 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
24380 (fmaxf): Define using libm_alias_float.
24381 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
24382 (fminf): Define using libm_alias_float.
24383 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
24384 (llrintf): Define using libm_alias_float.
24385 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
24386 (llroundf): Define using libm_alias_float.
24387 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24388 (lrintf): Define using libm_alias_float.
24389 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24390 (lroundf): Define using libm_alias_float.
24391 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
24392 <libm-alias-float.h>.
24393 (nearbyintf): Define using libm_alias_float.
24394 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
24395 (rintf): Define using libm_alias_float.
24396 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
24397 (roundf): Define using libm_alias_float.
24398 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
24399 (truncf): Define using libm_alias_float.
24401 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
24402 (ceil): Define using libm_alias_double.
24403 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
24404 (copysign): Define using libm_alias_double.
24405 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
24406 (fabs): Define using libm_alias_double.
24407 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
24408 (floor): Define using libm_alias_double.
24409 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
24410 (fmax): Define using libm_alias_double.
24411 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
24412 (fmin): Define using libm_alias_double.
24413 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
24414 (lrint): Define using libm_alias_double.
24415 (llrint): Likewise.
24416 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
24417 (lround): Define using libm_alias_double.
24418 (llround): Likewise.
24419 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
24420 (rint): Define using libm_alias_double.
24421 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
24422 (trunc): Define using libm_alias_double.
24424 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24425 (libm_alias_double_r): Add semicolon after weak_alias call.
24427 2017-11-27 Joseph Myers <joseph@codesourcery.com>
24429 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
24430 (ceil): Define using libm_alias_double.
24431 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
24432 (floor): Define using libm_alias_double.
24433 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
24434 (fma): Define using libm_alias_double.
24435 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
24436 (fmax): Define using libm_alias_double.
24437 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
24438 (fmin): Define using libm_alias_double.
24439 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
24440 (llrint): Define using libm_alias_double.
24441 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
24442 (llround): Define using libm_alias_double.
24443 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
24444 (lrint): Define using libm_alias_double.
24445 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
24446 (lround): Define using libm_alias_double.
24447 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
24448 (nearbyint): Define using libm_alias_double.
24449 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
24450 (rint): Define using libm_alias_double.
24451 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
24452 (round): Define using libm_alias_double.
24453 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
24454 (trunc): Define using libm_alias_double.
24456 2017-11-27 Florian Weimer <fweimer@redhat.com>
24458 * sysdeps/unix/sysv/linux/mlock2.c: New file.
24459 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
24460 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
24461 (tests): Add tst-mlock2.
24462 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
24463 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
24464 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
24465 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
24466 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
24467 for mlock. Document mlock2.
24469 2017-11-27 Joseph Myers <joseph@codesourcery.com>
24471 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
24472 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
24474 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
24476 * sysdeps/x86/Makeconfig: New file.
24477 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
24478 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24479 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
24480 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24481 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24482 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24483 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
24485 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24486 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24487 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24488 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24489 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24490 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24491 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24492 * manual/math.texi (Mathematics): Document support for _Float64x.
24493 * math/Versions (GLIBC_2.27): Add _Float64x functions.
24494 * stdlib/Versions (GLIBC_2.27): Likewise.
24495 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24496 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24497 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24498 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24499 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24500 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24501 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24502 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24503 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24504 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24505 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24506 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24511 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24512 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24513 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24514 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24515 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24516 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24517 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24518 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24519 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24520 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24521 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24522 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24523 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24524 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24526 2017-11-27 Andreas Schwab <schwab@suse.de>
24528 * elf/Makefile (dl-routines): Add dl-sort-maps.
24529 * elf/dl-sort-maps.c: New file.
24530 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
24531 (_dl_sort_maps): Declare.
24532 * elf/dl-fini.c (_dl_sort_fini): Remove.
24533 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
24534 * elf/dl-close.c (_dl_close_worker): Likewise.
24535 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
24537 * elf/dl-open.c (dl_open_worker): Likewise.
24539 2017-11-24 Joseph Myers <joseph@codesourcery.com>
24541 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
24542 using libm_alias_float128.
24543 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
24545 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
24547 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
24548 (setpayloadsigf128): Likewise.
24549 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
24551 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
24554 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
24555 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
24556 -mfloat128 to CFLAGS.
24558 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
24560 (CFLAGS-libm-test-support-float64x.c): New variable.
24561 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
24562 $(f128-loader-link) to gnulib-tests.
24564 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
24565 (libm_alias_float128_other_r): If
24566 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
24568 (libm_alias_float128_r): Add semicolon after weak_alias call.
24569 * sysdeps/generic/libm-alias-ldouble.h
24570 (libm_alias_ldouble_other_r_f128): New macro.
24571 (libm_alias_ldouble_other_r_f64x): Likewise.
24572 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24573 and libm_alias_ldouble_other_r_f64x.
24574 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24575 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24576 (libm_alias_ldouble_other_r_f128): New macro.
24577 (libm_alias_ldouble_other_r_f64x): Likewise.
24578 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24579 and libm_alias_ldouble_other_r_f64x.
24581 * stdlib/strfroml.c: Always include <stdlib.h>.
24582 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
24583 undefine as macro and define as weak alias.
24584 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
24585 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
24587 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
24588 Define and later undefine as macro and define as weak alias.
24590 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24591 Define and later undefine as macro. Define as weak alias if
24593 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24594 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24595 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24596 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24597 Define and later undefine as macro. Define as weak alias if
24599 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24600 Define and later undefine as macro. Define as weak alias if
24602 * sysdeps/ieee754/float128/strtof128_l.c
24603 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24604 Define and later undefine as macro. Define as weak alias if
24606 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24607 Define and later undefine as macro. Define as weak alias if
24609 * sysdeps/ieee754/ldbl-128/strtold_l.c
24610 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24611 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24612 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24613 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24614 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24615 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24616 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24617 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24618 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24619 * sysdeps/ieee754/ldbl-96/strtold_l.c
24620 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24621 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24622 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24623 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24625 * math/test-float64x.h: New file.
24626 * math/Makefile (type-float64x-yes): New variable.
24627 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24629 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24630 function-like macro.
24631 (min_of_type_): Likewise.
24632 (min_of_type_l): Likewise.
24633 (min_of_type_f128): Likewise.
24634 (min_of_type): Pass () as last argument of __MATH_TG.
24636 * stdlib/tst-strtod-round-skeleton.c
24637 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24640 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24641 for combinations of long double with _Float64 and _Float64x.
24643 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24644 (__DECL_SIMD_cosf32): Likewise.
24645 (__DECL_SIMD_cosf64): Likewise.
24646 (__DECL_SIMD_cosf32x): Likewise.
24647 (__DECL_SIMD_cosf64x): Likewise.
24648 (__DECL_SIMD_cosf128x): Likewise.
24649 (__DECL_SIMD_sinf16): Likewise.
24650 (__DECL_SIMD_sinf32): Likewise.
24651 (__DECL_SIMD_sinf64): Likewise.
24652 (__DECL_SIMD_sinf32x): Likewise.
24653 (__DECL_SIMD_sinf64x): Likewise.
24654 (__DECL_SIMD_sinf128x): Likewise.
24655 (__DECL_SIMD_sincosf16): Likewise.
24656 (__DECL_SIMD_sincosf32): Likewise.
24657 (__DECL_SIMD_sincosf64): Likewise.
24658 (__DECL_SIMD_sincosf32x): Likewise.
24659 (__DECL_SIMD_sincosf64x): Likewise.
24660 (__DECL_SIMD_sincosf128x): Likewise.
24661 (__DECL_SIMD_logf16): Likewise.
24662 (__DECL_SIMD_logf32): Likewise.
24663 (__DECL_SIMD_logf64): Likewise.
24664 (__DECL_SIMD_logf32x): Likewise.
24665 (__DECL_SIMD_logf64x): Likewise.
24666 (__DECL_SIMD_logf128x): Likewise.
24667 (__DECL_SIMD_expf16): Likewise.
24668 (__DECL_SIMD_expf32): Likewise.
24669 (__DECL_SIMD_expf64): Likewise.
24670 (__DECL_SIMD_expf32x): Likewise.
24671 (__DECL_SIMD_expf64x): Likewise.
24672 (__DECL_SIMD_expf128x): Likewise.
24673 (__DECL_SIMD_powf16): Likewise.
24674 (__DECL_SIMD_powf32): Likewise.
24675 (__DECL_SIMD_powf64): Likewise.
24676 (__DECL_SIMD_powf32x): Likewise.
24677 (__DECL_SIMD_powf64x): Likewise.
24678 (__DECL_SIMD_powf128x): Likewise.
24680 * stdlib/Versions (libc): Move entries for wcstof128 and
24681 wcstof128_l to ....
24682 * wcsmbs/Versions (libc): ... here.
24683 Include <float128-abi.h>.
24685 2017-11-24 Florian Weimer <fweimer@redhat.com>
24687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24688 bits/mman-shared.h.
24689 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
24690 <bits/mman-shared.h>.
24691 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
24693 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
24694 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
24695 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
24696 <bits/mman-shared.h>.
24698 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24701 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
24702 posix_memalign/free.
24703 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
24705 2017-11-22 Mike FABIAN <mfabian@redhat.com>
24708 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
24709 and implement the collation rules for pl from CLDR on top of that.
24710 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
24711 of locales to be built for testing.
24712 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
24714 2017-11-23 Joseph Myers <joseph@codesourcery.com>
24716 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
24717 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
24718 libm_alias_ldouble_other.
24719 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
24720 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
24721 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
24722 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
24723 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
24724 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
24725 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
24726 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
24727 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
24728 libm_alias_ldouble_r.
24729 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
24730 libm_alias_ldouble_other.
24731 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
24732 (log10l): Likewise.
24733 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
24734 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
24735 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
24736 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
24737 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
24738 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
24739 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
24740 (atan2l): Likewise.
24741 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
24742 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
24743 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
24744 libm_alias_ldouble.
24745 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24747 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24748 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24749 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24751 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24752 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24753 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24754 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24755 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24756 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24757 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24758 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24759 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24760 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24761 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24762 libm_alias_ldouble.
24763 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24764 libm_alias_ldouble_other.
24765 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24766 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24767 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24768 libm_alias_ldouble.
24769 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24770 libm_alias_ldouble_other.
24771 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24772 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24773 * sysdeps/ia64/fpu/w_lgammal_main.c
24774 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24775 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24777 2017-11-23 Florian Weimer <fweimer@redhat.com>
24779 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24780 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24781 alike. Remove freeres marker.
24782 * malloc/arena.c (arena_thread_freeres): Call
24783 tcache_thread_shutdown.
24785 2017-11-23 Florian Weimer <fweimer@redhat.com>
24788 Export nscd hash function as __nss_hash.
24789 * include/nss.h (__nss_hash): Declare.
24790 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24792 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24793 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24795 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24796 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24797 * nss/Makefiles (routines): Add nss_hash.
24798 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24799 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24800 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24801 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24803 2017-11-23 Florian Weimer <fweimer@redhat.com>
24806 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24807 Return error code, not -1.
24808 * signal/tst-sigwait-eintr.c: New file.
24809 * signal/Makefile (tests): Add tst-sigwait-eintr.
24811 2017-11-23 Florian Weimer <fweimer@redhat.com>
24813 Linux: Add memfd_create system call wrapper
24814 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24816 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24817 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24818 [__USE_GNU] (memfd_create): Declare.
24819 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24820 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24821 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24822 * sysdeps/unix/sysv/linux/**.abilist: Update.
24823 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24825 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24827 * localedata/gen-locale.sh: Fix typo in variable name.
24829 * resolv/res_debug.c (p_secstodate): Condition definition on
24830 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24831 directly as __p_secstodate, and as a compat symbol. Do not use
24832 libresolv_hidden_def.
24833 * resolv/resolv.h (p_secstodate): Remove macro and function
24835 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24836 using p_secstodate.
24837 * include/resolv.h (__p_secstodate): Do not use
24838 libresolv_hidden_proto.
24839 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24840 (tests-internal): ... here.
24841 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24842 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24843 and declare and use __p_secstodate and use compat_symbol_reference
24845 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24846 implementation returning 77.
24849 * resolv/res_debug.c: Include <libc-diag.h>.
24850 (p_secstodate): Assert time_t at least as wide as u_long. On
24851 overflow, use integer seconds since the epoch as output, or use
24852 "<overflow>" as output and set errno to EOVERFLOW if integer
24853 seconds since the epoch would be 14 or more characters.
24854 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24856 * resolv/tst-p_secstodate.c: New file.
24857 * resolv/Makefile (tests): Add tst-p_secstodate.
24858 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24860 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24861 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24862 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24864 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24866 * posix/regcomp.c (init_word_char): Add comments.
24868 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24871 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24872 strlen to compute length of ut_user and set trailing NUL byte of
24875 2017-11-21 Mike FABIAN <mfabian@redhat.com>
24878 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24879 using “copy "iso14651_t1"” and then implementing the
24880 collation rules for lv from CLDR on top of that.
24881 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24882 of locales to be built for testing.
24883 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24886 2017-11-21 Joseph Myers <joseph@codesourcery.com>
24888 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24889 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24890 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24891 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24892 [__USE_MISC] (MADV_HWPOISON): New macro.
24893 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24895 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24897 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24898 -Wmissing-braces on GCC 4.9.
24900 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24902 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24903 * sysdeps/s390/s390-32/start.S (_start): Likewise
24904 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24905 (thread_start): Likewise.
24906 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24907 (thread_start): Likewise.
24908 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24909 (__makecontext_ret): Likewise.
24910 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24911 (__makecontext_ret): Likewise.
24913 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24915 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24916 __wcschrnul): Remove attribute_hidden.
24918 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24920 regex: don't assume uint64_t or uint32_t
24921 This avoids -Werror=overflow errors for 32-bit systems in
24922 the 64-bit case. Problem reported by Joseph Myers in:
24923 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24924 Also, when this code is used in Gnulib it ports to platforms
24925 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24926 them, and on some 32-bit compilers there is no uint64_t.
24927 Problem reported by Gianluigi Tiesi in:
24928 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24929 * posix/regcomp.c (init_word_char): Don't assume that the types
24930 uint64_t and uint32_t exist. Adapted from Gnulib patch
24931 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24932 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24934 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24936 * sysdeps/aarch64/memset-reg.h: New file.
24937 * sysdeps/aarch64/memset.S: Use it.
24938 (__memset): Rename to MEMSET macro.
24939 [ZVA_MACRO]: Use zva_macro.
24940 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24941 Add memset_generic and memset_falkor.
24942 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24943 (__libc_ifunc_impl_list): Add memset ifuncs.
24944 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24945 local variable zva_size.
24946 * sysdeps/aarch64/multiarch/memset.c: New file.
24947 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24948 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24949 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24950 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24951 (DCZID_DZP_MASK): New macro.
24952 (DCZID_BS_MASK): Likewise.
24953 (init_cpu_features): Read and set zva_size.
24954 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24955 (struct cpu_features): New member zva_size.
24957 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24958 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24959 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24961 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24962 backwards. Fix timing computation.
24963 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24964 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24965 on memset by N at a time. Fix timing computation.
24967 2017-11-20 Florian Weimer <fweimer@redhat.com>
24969 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24970 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24972 2017-11-19 Florian Weimer <fweimer@redhat.com>
24974 manual: Document mprotect
24975 * manual/memory.texi (Memory Protection): New section.
24976 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24977 documentation of PROT_* flags and reference the Memory Protection
24980 2017-11-19 Florian Weimer <fweimer@redhat.com>
24982 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24983 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24984 (Scatter-Gather): ... to here. Remove misleading comment.
24986 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
24988 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24991 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24992 when /proc/<pid>/setgroups does not exist.
24994 2017-11-18 Florian Weimer <fweimer@redhat.com>
24996 * sysdeps/unix/sysv/linux/tst-ttyname.c
24997 (become_root_in_mount_ns): Remove.
24998 (do_in_chroot_1): Call support_enter_mount_namespace.
24999 (do_in_chroot_2): Likewise.
25000 (do_test): Call support_become_root early.
25002 2017-11-18 Florian Weimer <fweimer@redhat.com>
25004 * support/namespace.h (support_enter_mount_namespace): Declare.
25005 * support/support_enter_mount_namespace.c: New file.
25006 * support/Makefile (libsupport-routines): Add
25007 support_enter_mount_namespace.
25009 2017-11-18 Florian Weimer <fweimer@redhat.com>
25011 * support/temp_file.c (support_create_temp_directory): Use
25012 test_dir and do not rely on the presence of the XXXXXX suffix.
25013 * support/temp_file.h (support_create_temp_directory): Update
25015 * support/tst-xreadlink.c (do_test): Adjust.
25016 * support/support_chroot.c (support_chroot_create): Likewise.
25018 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25020 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
25022 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
25025 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25027 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25028 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25029 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25030 (ceill): Define using libm_alias_ldouble.
25031 * sysdeps/x86_64/fpu/s_copysignl.S: Include
25032 <libm-alias-ldouble.h>.
25033 (copysignl): Define using libm_alias_ldouble.
25034 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25035 (fabsl): Define using libm_alias_ldouble.
25036 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25037 (floorl): Define using libm_alias_ldouble.
25038 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25039 (fmaxl): Define using libm_alias_ldouble.
25040 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25041 (fminl): Define using libm_alias_ldouble.
25042 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25043 (llrintl): Define using libm_alias_ldouble.
25044 (lrintl): Likewise.
25045 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
25046 <libm-alias-ldouble.h>.
25047 (nearbyintl): Define using libm_alias_ldouble.
25048 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25049 (truncl): Define using libm_alias_ldouble.
25050 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
25051 <libm-alias-ldouble.h>.
25052 (lrintl): Define using libm_alias_ldouble.
25054 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25055 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25056 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
25057 (asinhl): Define using libm_alias_ldouble.
25058 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
25059 (atanl): Define using libm_alias_ldouble.
25060 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
25061 (cbrtl): Define using libm_alias_ldouble.
25062 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25063 (ceill): Define using libm_alias_ldouble.
25064 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
25065 (copysignl): Define using libm_alias_ldouble.
25066 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25067 (fabsl): Define using libm_alias_ldouble.
25068 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25069 (floorl): Define using libm_alias_ldouble.
25070 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25071 (fmaxl): Define using libm_alias_ldouble.
25072 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25073 (fminl): Define using libm_alias_ldouble.
25074 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
25075 (frexpl): Define using libm_alias_ldouble.
25076 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25077 (llrintl): Define using libm_alias_ldouble.
25078 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
25079 (logbl): Define using libm_alias_ldouble.
25080 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
25081 (lrintl): Define using libm_alias_ldouble.
25082 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
25083 (nearbyintl): Define using libm_alias_ldouble.
25084 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
25085 (nextafterl): Define using libm_alias_ldouble.
25086 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
25087 (remquol): Define using libm_alias_ldouble.
25088 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
25089 (rintl): Define using libm_alias_ldouble.
25090 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25091 (truncl): Define using libm_alias_ldouble.
25092 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25093 (fmaxl): Define using libm_alias_ldouble.
25094 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25095 (fminl): Define using libm_alias_ldouble.
25097 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
25098 to C syntax instead of availability and properties of types.
25099 * bits/floatn.h [!__ASSEMBLER]: Likewise.
25100 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
25101 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
25102 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
25103 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
25104 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
25106 2017-11-17 Florian Weimer <fweimer@redhat.com>
25108 support_become_root: Enable file creation in namespaces.
25109 * support/support_become_root.c (setup_mapping): New function.
25110 (support_become_root): Call it.
25112 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25114 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
25117 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25119 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
25120 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
25122 2017-11-16 Joseph Myers <joseph@codesourcery.com>
25124 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
25126 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25129 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25131 * INSTALL: Fix botched up regeneration.
25133 * NEWS: Update sourceare link to https.
25134 * configure.ac: Likewise.
25135 * crypt/md5test-giant.c: Likewise.
25136 * dlfcn/bug-atexit1.c: Likewise.
25137 * dlfcn/bug-atexit2.c: Likewise.
25138 * localedata/README: Likewise.
25139 * malloc/tst-mallocfork.c: Likewise.
25140 * manual/install.texi: Likewise.
25141 * nptl/tst-pthread-getattr.c: Likewise.
25142 * stdio-common/tst-fgets.c: Likewise.
25143 * stdio-common/tst-fwrite.c: Likewise.
25144 * sunrpc/Makefile: Likewise.
25145 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
25146 * wcsmbs/tst-mbrtowc2.c: Likewise.
25147 * configure: Regenerate.
25148 * INSTALL: Regenerate.
25150 2017-11-15 Martin Sebor <msebor@redhat.com>
25152 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
25153 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
25154 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
25156 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25159 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
25160 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
25163 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
25164 Defer is_pty check until end of the function.
25165 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25168 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
25169 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
25170 (ttyname): Likewise.
25171 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
25172 (__ttyname_r): Likewise.
25174 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
25177 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
25179 * manual/terminal.texi (Is It a Terminal):
25180 Mention ENODEV for ttyname and ttyname_r.
25182 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25184 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
25185 constant and macro.
25187 * sysdeps/unix/sysv/linux/bits/mman-linux.h
25188 [__USE_MISC] (MADV_WIPEONFORK): New macro.
25189 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25190 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25191 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
25192 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25194 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25196 * signal/sigrelse.c (sigrelse): Optimize implementation.
25198 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
25199 (__sigpause): Rely on __sigsuspend to implement single thread
25200 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
25202 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25204 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
25205 kernel version to 4.14.
25207 2017-11-15 Steve Ellcey <sellcey@cavium.com>
25210 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
25211 Check if ifname is too long.
25213 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25215 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
25217 2017-11-15 Mike FABIAN <mfabian@redhat.com>
25219 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
25220 was accidentally lost.
25222 2017-11-15 Mike FABIAN <mfabian@redhat.com>
25224 * localedata/locales/az_IR: Add standard copyright header.
25226 2017-11-15 Florian Weimer <fweimer@redhat.com>
25229 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
25230 not just the top one. Output a new "subheaps" statistic.
25232 2017-11-15 Florian Weimer <fweimer@redhat.com>
25235 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
25236 under the per-arena lock.
25237 * malloc/Makefile (tests): Add tst-malloc_info.
25238 (tst-malloc_info): Link with libpthread.
25239 * malloc/tst-malloc_info.c: New file.
25241 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25244 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
25245 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
25246 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
25247 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
25248 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
25249 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
25250 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
25251 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
25252 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
25253 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
25254 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
25255 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
25256 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
25257 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
25258 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
25259 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
25260 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
25261 (__floating_type): Likewise.
25262 (__real_integer_type): Likewise.
25263 (__complex_integer_type): Likewise.
25264 (__expr_is_real): Likewise.
25265 (__tgmath_real_type_sub): Likewise.
25266 (__tgmath_real_type): Likewise.
25267 (__tgmath_complex_type_sub): Likewise.
25268 (__tgmath_complex_type): Likewise.
25269 (__TGMATH_F128): Likewise.
25270 (__TGMATH_CF128): Likewise.
25271 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
25273 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
25274 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
25276 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
25278 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
25279 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
25280 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
25281 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
25283 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
25284 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
25286 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
25287 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
25288 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
25290 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
25291 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
25292 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
25296 2017-11-14 Joseph Myers <joseph@codesourcery.com>
25298 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
25299 for stpncpy calls for GCC 8.
25300 (test_strncat): Disable -Wstringop-truncation warning for strncat
25301 calls for GCC 8. Disable -Wstringop-overflow= warning for one
25302 strncat call for GCC 7.
25303 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
25305 (test_memcmp): Use memcpy instead of strncpy for calls not copying
25308 * string/bug-strncat1.c: Include <libc-diag.h>.
25309 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
25311 2017-11-13 Claude Paroz <claude@2xlibre.net>
25314 * localedata/locales/aa_DJ: Improved readibility by replacing
25315 <Uxxxx> sequences in the ASCII printable range by their ASCII
25316 character equivalents.
25317 * localedata/locales/aa_ER: Likewise.
25318 * localedata/locales/aa_ER@saaho: Likewise.
25319 * localedata/locales/aa_ET: Likewise.
25320 * localedata/locales/af_ZA: Likewise.
25321 * localedata/locales/agr_PE: Likewise.
25322 * localedata/locales/ak_GH: Likewise.
25323 * localedata/locales/am_ET: Likewise.
25324 * localedata/locales/anp_IN: Likewise.
25325 * localedata/locales/ar_AE: Likewise.
25326 * localedata/locales/ar_BH: Likewise.
25327 * localedata/locales/ar_DZ: Likewise.
25328 * localedata/locales/ar_EG: Likewise.
25329 * localedata/locales/ar_IN: Likewise.
25330 * localedata/locales/ar_IQ: Likewise.
25331 * localedata/locales/ar_JO: Likewise.
25332 * localedata/locales/ar_KW: Likewise.
25333 * localedata/locales/ar_LB: Likewise.
25334 * localedata/locales/ar_LY: Likewise.
25335 * localedata/locales/ar_MA: Likewise.
25336 * localedata/locales/ar_OM: Likewise.
25337 * localedata/locales/ar_QA: Likewise.
25338 * localedata/locales/ar_SA: Likewise.
25339 * localedata/locales/ar_SD: Likewise.
25340 * localedata/locales/ar_SS: Likewise.
25341 * localedata/locales/ar_SY: Likewise.
25342 * localedata/locales/ar_TN: Likewise.
25343 * localedata/locales/ar_YE: Likewise.
25344 * localedata/locales/as_IN: Likewise.
25345 * localedata/locales/ast_ES: Likewise.
25346 * localedata/locales/ayc_PE: Likewise.
25347 * localedata/locales/az_AZ: Likewise.
25348 * localedata/locales/az_IR: Likewise.
25349 * localedata/locales/be_BY: Likewise.
25350 * localedata/locales/be_BY@latin: Likewise.
25351 * localedata/locales/bem_ZM: Likewise.
25352 * localedata/locales/ber_DZ: Likewise.
25353 * localedata/locales/ber_MA: Likewise.
25354 * localedata/locales/bg_BG: Likewise.
25355 * localedata/locales/bhb_IN: Likewise.
25356 * localedata/locales/bho_IN: Likewise.
25357 * localedata/locales/bi_VU: Likewise.
25358 * localedata/locales/bn_BD: Likewise.
25359 * localedata/locales/bn_IN: Likewise.
25360 * localedata/locales/bo_CN: Likewise.
25361 * localedata/locales/bo_IN: Likewise.
25362 * localedata/locales/br_FR: Likewise.
25363 * localedata/locales/brx_IN: Likewise.
25364 * localedata/locales/bs_BA: Likewise.
25365 * localedata/locales/byn_ER: Likewise.
25366 * localedata/locales/ca_AD: Likewise.
25367 * localedata/locales/ca_ES: Likewise.
25368 * localedata/locales/ca_FR: Likewise.
25369 * localedata/locales/ca_IT: Likewise.
25370 * localedata/locales/ce_RU: Likewise.
25371 * localedata/locales/chr_US: Likewise.
25372 * localedata/locales/cmn_TW: Likewise.
25373 * localedata/locales/crh_UA: Likewise.
25374 * localedata/locales/cs_CZ: Likewise.
25375 * localedata/locales/csb_PL: Likewise.
25376 * localedata/locales/cv_RU: Likewise.
25377 * localedata/locales/cy_GB: Likewise.
25378 * localedata/locales/da_DK: Likewise.
25379 * localedata/locales/de_AT: Likewise.
25380 * localedata/locales/de_BE: Likewise.
25381 * localedata/locales/de_CH: Likewise.
25382 * localedata/locales/de_DE: Likewise.
25383 * localedata/locales/de_IT: Likewise.
25384 * localedata/locales/de_LI: Likewise.
25385 * localedata/locales/de_LU: Likewise.
25386 * localedata/locales/doi_IN: Likewise.
25387 * localedata/locales/dv_MV: Likewise.
25388 * localedata/locales/dz_BT: Likewise.
25389 * localedata/locales/el_CY: Likewise.
25390 * localedata/locales/el_GR: Likewise.
25391 * localedata/locales/en_AG: Likewise.
25392 * localedata/locales/en_AU: Likewise.
25393 * localedata/locales/en_BW: Likewise.
25394 * localedata/locales/en_CA: Likewise.
25395 * localedata/locales/en_DK: Likewise.
25396 * localedata/locales/en_GB: Likewise.
25397 * localedata/locales/en_HK: Likewise.
25398 * localedata/locales/en_IE: Likewise.
25399 * localedata/locales/en_IL: Likewise.
25400 * localedata/locales/en_IN: Likewise.
25401 * localedata/locales/en_NG: Likewise.
25402 * localedata/locales/en_NZ: Likewise.
25403 * localedata/locales/en_PH: Likewise.
25404 * localedata/locales/en_SG: Likewise.
25405 * localedata/locales/en_US: Likewise.
25406 * localedata/locales/en_ZA: Likewise.
25407 * localedata/locales/en_ZM: Likewise.
25408 * localedata/locales/en_ZW: Likewise.
25409 * localedata/locales/eo: Likewise.
25410 * localedata/locales/es_AR: Likewise.
25411 * localedata/locales/es_BO: Likewise.
25412 * localedata/locales/es_CL: Likewise.
25413 * localedata/locales/es_CO: Likewise.
25414 * localedata/locales/es_CR: Likewise.
25415 * localedata/locales/es_CU: Likewise.
25416 * localedata/locales/es_DO: Likewise.
25417 * localedata/locales/es_EC: Likewise.
25418 * localedata/locales/es_ES: Likewise.
25419 * localedata/locales/es_GT: Likewise.
25420 * localedata/locales/es_HN: Likewise.
25421 * localedata/locales/es_MX: Likewise.
25422 * localedata/locales/es_NI: Likewise.
25423 * localedata/locales/es_PA: Likewise.
25424 * localedata/locales/es_PE: Likewise.
25425 * localedata/locales/es_PR: Likewise.
25426 * localedata/locales/es_PY: Likewise.
25427 * localedata/locales/es_SV: Likewise.
25428 * localedata/locales/es_US: Likewise.
25429 * localedata/locales/es_UY: Likewise.
25430 * localedata/locales/es_VE: Likewise.
25431 * localedata/locales/et_EE: Likewise.
25432 * localedata/locales/eu_ES: Likewise.
25433 * localedata/locales/eu_ES@euro: Likewise.
25434 * localedata/locales/fa_IR: Likewise.
25435 * localedata/locales/ff_SN: Likewise.
25436 * localedata/locales/fi_FI: Likewise.
25437 * localedata/locales/fil_PH: Likewise.
25438 * localedata/locales/fo_FO: Likewise.
25439 * localedata/locales/fr_BE: Likewise.
25440 * localedata/locales/fr_CA: Likewise.
25441 * localedata/locales/fr_CH: Likewise.
25442 * localedata/locales/fr_FR: Likewise.
25443 * localedata/locales/fr_LU: Likewise.
25444 * localedata/locales/fur_IT: Likewise.
25445 * localedata/locales/fy_DE: Likewise.
25446 * localedata/locales/fy_NL: Likewise.
25447 * localedata/locales/ga_IE: Likewise.
25448 * localedata/locales/gd_GB: Likewise.
25449 * localedata/locales/gez_ER: Likewise.
25450 * localedata/locales/gez_ET: Likewise.
25451 * localedata/locales/gl_ES: Likewise.
25452 * localedata/locales/gu_IN: Likewise.
25453 * localedata/locales/gv_GB: Likewise.
25454 * localedata/locales/ha_NG: Likewise.
25455 * localedata/locales/hak_TW: Likewise.
25456 * localedata/locales/he_IL: Likewise.
25457 * localedata/locales/hi_IN: Likewise.
25458 * localedata/locales/hif_FJ: Likewise.
25459 * localedata/locales/hne_IN: Likewise.
25460 * localedata/locales/hr_HR: Likewise.
25461 * localedata/locales/hsb_DE: Likewise.
25462 * localedata/locales/ht_HT: Likewise.
25463 * localedata/locales/hu_HU: Likewise.
25464 * localedata/locales/hy_AM: Likewise.
25465 * localedata/locales/i18n: Likewise.
25466 * localedata/locales/ia_FR: Likewise.
25467 * localedata/locales/id_ID: Likewise.
25468 * localedata/locales/ig_NG: Likewise.
25469 * localedata/locales/ik_CA: Likewise.
25470 * localedata/locales/is_IS: Likewise.
25471 * localedata/locales/it_CH: Likewise.
25472 * localedata/locales/it_IT: Likewise.
25473 * localedata/locales/iu_CA: Likewise.
25474 * localedata/locales/ja_JP: Likewise.
25475 * localedata/locales/ka_GE: Likewise.
25476 * localedata/locales/kk_KZ: Likewise.
25477 * localedata/locales/kl_GL: Likewise.
25478 * localedata/locales/kn_IN: Likewise.
25479 * localedata/locales/ko_KR: Likewise.
25480 * localedata/locales/kok_IN: Likewise.
25481 * localedata/locales/ks_IN: Likewise.
25482 * localedata/locales/ks_IN@devanagari: Likewise.
25483 * localedata/locales/ku_TR: Likewise.
25484 * localedata/locales/kw_GB: Likewise.
25485 * localedata/locales/ky_KG: Likewise.
25486 * localedata/locales/lb_LU: Likewise.
25487 * localedata/locales/lg_UG: Likewise.
25488 * localedata/locales/li_BE: Likewise.
25489 * localedata/locales/li_NL: Likewise.
25490 * localedata/locales/lij_IT: Likewise.
25491 * localedata/locales/ln_CD: Likewise.
25492 * localedata/locales/lo_LA: Likewise.
25493 * localedata/locales/lt_LT: Likewise.
25494 * localedata/locales/lv_LV: Likewise.
25495 * localedata/locales/lzh_TW: Likewise.
25496 * localedata/locales/mag_IN: Likewise.
25497 * localedata/locales/mai_IN: Likewise.
25498 * localedata/locales/mg_MG: Likewise.
25499 * localedata/locales/mhr_RU: Likewise.
25500 * localedata/locales/mi_NZ: Likewise.
25501 * localedata/locales/mk_MK: Likewise.
25502 * localedata/locales/ml_IN: Likewise.
25503 * localedata/locales/mn_MN: Likewise.
25504 * localedata/locales/mni_IN: Likewise.
25505 * localedata/locales/mr_IN: Likewise.
25506 * localedata/locales/ms_MY: Likewise.
25507 * localedata/locales/mt_MT: Likewise.
25508 * localedata/locales/my_MM: Likewise.
25509 * localedata/locales/nan_TW: Likewise.
25510 * localedata/locales/nan_TW@latin: Likewise.
25511 * localedata/locales/nb_NO: Likewise.
25512 * localedata/locales/nds_DE: Likewise.
25513 * localedata/locales/nds_NL: Likewise.
25514 * localedata/locales/ne_NP: Likewise.
25515 * localedata/locales/nhn_MX: Likewise.
25516 * localedata/locales/niu_NU: Likewise.
25517 * localedata/locales/niu_NZ: Likewise.
25518 * localedata/locales/nl_AW: Likewise.
25519 * localedata/locales/nl_BE: Likewise.
25520 * localedata/locales/nl_NL: Likewise.
25521 * localedata/locales/nn_NO: Likewise.
25522 * localedata/locales/nr_ZA: Likewise.
25523 * localedata/locales/nso_ZA: Likewise.
25524 * localedata/locales/oc_FR: Likewise.
25525 * localedata/locales/om_ET: Likewise.
25526 * localedata/locales/om_KE: Likewise.
25527 * localedata/locales/or_IN: Likewise.
25528 * localedata/locales/os_RU: Likewise.
25529 * localedata/locales/pa_IN: Likewise.
25530 * localedata/locales/pa_PK: Likewise.
25531 * localedata/locales/pap_AW: Likewise.
25532 * localedata/locales/pap_CW: Likewise.
25533 * localedata/locales/pl_PL: Likewise.
25534 * localedata/locales/ps_AF: Likewise.
25535 * localedata/locales/pt_BR: Likewise.
25536 * localedata/locales/pt_PT: Likewise.
25537 * localedata/locales/quz_PE: Likewise.
25538 * localedata/locales/raj_IN: Likewise.
25539 * localedata/locales/ro_RO: Likewise.
25540 * localedata/locales/ru_RU: Likewise.
25541 * localedata/locales/ru_UA: Likewise.
25542 * localedata/locales/rw_RW: Likewise.
25543 * localedata/locales/sa_IN: Likewise.
25544 * localedata/locales/sat_IN: Likewise.
25545 * localedata/locales/sc_IT: Likewise.
25546 * localedata/locales/sd_IN: Likewise.
25547 * localedata/locales/sd_IN@devanagari: Likewise.
25548 * localedata/locales/se_NO: Likewise.
25549 * localedata/locales/sgs_LT: Likewise.
25550 * localedata/locales/shs_CA: Likewise.
25551 * localedata/locales/si_LK: Likewise.
25552 * localedata/locales/sid_ET: Likewise.
25553 * localedata/locales/sk_SK: Likewise.
25554 * localedata/locales/sl_SI: Likewise.
25555 * localedata/locales/sm_WS: Likewise.
25556 * localedata/locales/so_DJ: Likewise.
25557 * localedata/locales/so_ET: Likewise.
25558 * localedata/locales/so_KE: Likewise.
25559 * localedata/locales/so_SO: Likewise.
25560 * localedata/locales/sq_AL: Likewise.
25561 * localedata/locales/sq_MK: Likewise.
25562 * localedata/locales/sr_ME: Likewise.
25563 * localedata/locales/sr_RS: Likewise.
25564 * localedata/locales/sr_RS@latin: Likewise.
25565 * localedata/locales/ss_ZA: Likewise.
25566 * localedata/locales/st_ZA: Likewise.
25567 * localedata/locales/sv_FI: Likewise.
25568 * localedata/locales/sv_SE: Likewise.
25569 * localedata/locales/sw_KE: Likewise.
25570 * localedata/locales/sw_TZ: Likewise.
25571 * localedata/locales/szl_PL: Likewise.
25572 * localedata/locales/ta_IN: Likewise.
25573 * localedata/locales/ta_LK: Likewise.
25574 * localedata/locales/tcy_IN: Likewise.
25575 * localedata/locales/te_IN: Likewise.
25576 * localedata/locales/tg_TJ: Likewise.
25577 * localedata/locales/th_TH: Likewise.
25578 * localedata/locales/the_NP: Likewise.
25579 * localedata/locales/ti_ER: Likewise.
25580 * localedata/locales/ti_ET: Likewise.
25581 * localedata/locales/tig_ER: Likewise.
25582 * localedata/locales/tk_TM: Likewise.
25583 * localedata/locales/tl_PH: Likewise.
25584 * localedata/locales/tn_ZA: Likewise.
25585 * localedata/locales/to_TO: Likewise.
25586 * localedata/locales/tpi_PG: Likewise.
25587 * localedata/locales/tr_CY: Likewise.
25588 * localedata/locales/tr_TR: Likewise.
25589 * localedata/locales/ts_ZA: Likewise.
25590 * localedata/locales/tt_RU: Likewise.
25591 * localedata/locales/tt_RU@iqtelif: Likewise.
25592 * localedata/locales/ug_CN: Likewise.
25593 * localedata/locales/uk_UA: Likewise.
25594 * localedata/locales/unm_US: Likewise.
25595 * localedata/locales/ur_IN: Likewise.
25596 * localedata/locales/ur_PK: Likewise.
25597 * localedata/locales/uz_UZ: Likewise.
25598 * localedata/locales/uz_UZ@cyrillic: Likewise.
25599 * localedata/locales/ve_ZA: Likewise.
25600 * localedata/locales/vi_VN: Likewise.
25601 * localedata/locales/wa_BE: Likewise.
25602 * localedata/locales/wae_CH: Likewise.
25603 * localedata/locales/wal_ET: Likewise.
25604 * localedata/locales/wo_SN: Likewise.
25605 * localedata/locales/xh_ZA: Likewise.
25606 * localedata/locales/yi_US: Likewise.
25607 * localedata/locales/yo_NG: Likewise.
25608 * localedata/locales/yue_HK: Likewise.
25609 * localedata/locales/yuw_PG: Likewise.
25610 * localedata/locales/zh_CN: Likewise.
25611 * localedata/locales/zh_HK: Likewise.
25612 * localedata/locales/zh_SG: Likewise.
25613 * localedata/locales/zh_TW: Likewise.
25614 * localedata/locales/zu_ZA: Likewise.
25616 2017-11-13 Florian Weimer <fweimer@redhat.com>
25618 * support/next_to_fault.h, support/next_to_fault.c: New files.
25619 * support/Makefile (libsupport-routines): Add next_to_fault.
25620 * resolv/tst-inet_pton.c (struct next_to_fault)
25621 (next_to_fault_allocate, next_to_fault_free): Remove.
25622 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25624 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25626 * elf/dl-support.c: Include <dl-procruntime.c>.
25627 * include/link.h: Include <link_map.h>.
25628 * sysdeps/generic/dl-procruntime.c: New file.
25629 * sysdeps/generic/link_map.h: Likewise.
25630 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25631 the writable ld.so namespace.
25633 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25635 timezone: pacify GCC -Wstringop-truncation
25636 Problem reported by Martin Sebor in:
25637 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25638 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25640 2017-11-12 Florian Weimer <fweimer@redhat.com>
25642 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25644 (tests): Add tst-xreadlink.
25645 * support/support.h (xstrndup): Declare.
25646 * support/xunistd.h (xunlink, xreadlink): Declare.
25647 * support/temp_file.h (support_create_temp_directory): Declare.
25648 * support/temp_file.c (support_create_temp_directory): New function.
25649 * support/support_chroot.c (support_chroot_create): Use it.
25650 * support/xreadlink.c: New file.
25651 * support/xstrndup.c: Likewise.
25652 * support/xunlink.c: Likewise.
25653 * support/tst-xreadlink.c: Likewise.
25655 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
25657 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
25659 2017-11-11 Florian Weimer <fweimer@redhat.com>
25663 * resolv/res_comp.c (printable_string, binary_hnok)
25664 (binary_leading_dash): New functions.
25665 (res_hnok): Reimplement using these functions and ns_name_pton.
25666 (res_ownok): Likewise.
25667 (res_mailok): Reimplement using printable_string, ns_name_pton and
25669 (res_dnok): Reimplement using printable_string and ns_name_pton.
25670 * resolv/tst-res_hnok.c (tests): Add additional tests.
25671 (LETTERDIGITS, PRINTABLE): Define.
25672 (do_test): Adjust one_char results.
25674 2017-11-11 Florian Weimer <fweimer@redhat.com>
25677 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
25678 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
25680 2017-11-11 Florian Weimer <fweimer@redhat.com>
25682 * resolv/tst-ns_name_pton.c: New file.
25683 * resolv/Makefile (tests): Add tst-ns_name_pton.
25684 (tst-ns_name_pton): Link against libresolv.
25686 2017-11-11 Florian Weimer <fweimer@redhat.com>
25688 * resolv/tst-res_hnok.c: New file.
25689 * resolv/Makefile (tests): Add tst-res_hnok.
25690 (tst-res_hnok): Link against libresolv.
25692 2017-11-11 Florian Weimer <fweimer@redhat.com>
25694 * resolv/tst-resolv-network.c: Use test framework instead explicit
25697 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
25699 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
25700 <jmp_buf-macros.h>.
25701 [!_ISOMAC] (STR_HELPER): New.
25702 [!_ISOMAC] (STR): Likewise.
25703 [!_ISOMAC] (TEST_SIZE): Likewise.
25704 [!_ISOMAC] (TEST_ALIGN): Likewise.
25705 [!_ISOMAC] (TEST_OFFSET): Likewise.
25706 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
25707 field offsets of jmp_buf as well as sigjmp_buf.
25708 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
25709 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
25710 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
25711 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
25712 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
25713 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
25714 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
25715 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
25716 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
25717 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
25719 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
25721 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
25722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
25724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
25726 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
25727 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
25728 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
25729 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
25730 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
25731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
25733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
25735 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
25736 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
25737 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
25739 2017-11-07 Joseph Myers <joseph@codesourcery.com>
25742 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25743 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
25744 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25745 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25746 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25747 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25748 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25749 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25750 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25751 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25752 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25753 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25754 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25755 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25756 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25757 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25758 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25759 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25760 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25761 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25762 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25763 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25764 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25765 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25766 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25767 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25768 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25769 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25770 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25771 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25772 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25773 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25774 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25775 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25776 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25777 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25778 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25779 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25780 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25781 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25782 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25783 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25784 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25785 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25786 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25787 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25788 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25789 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25790 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25791 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25792 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25793 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25794 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25795 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25796 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25797 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25798 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25799 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25800 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25801 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25802 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25803 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25804 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25805 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25806 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25807 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25808 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25809 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25810 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25811 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25812 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25813 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25814 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25815 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25816 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25817 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25818 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25819 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25820 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25821 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25822 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25823 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25824 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25825 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25826 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25827 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25828 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25829 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25831 * stdlib/tst-strtod.h (F16): New macro.
25837 (IF_FLOAT16): Likewise.
25838 (IF_FLOAT32): Likewise.
25839 (IF_FLOAT64): Likewise.
25840 (IF_FLOAT32X): Likewise.
25841 (IF_FLOAT64X): Likewise.
25842 (IF_FLOAT128X): Likewise.
25843 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25844 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25845 (STRTOD_TEST_FOREACH): Likewise.
25846 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25847 (CHOOSE_f64): Likewise.
25848 (CHOOSE_f32x): Likewise.
25849 (CHOOSE_f64x): Likewise.
25851 2017-11-07 Andreas Schwab <schwab@suse.de>
25853 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25855 2017-11-07 Mike FABIAN <mfabian@redhat.com>
25858 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25860 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25863 2017-11-07 Claude Paroz <claude@2xlibre.net>
25866 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25868 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25870 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25873 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25876 * nptl/allocatestack.c (allocate_stack): Check if
25877 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25878 __PTHREAD_MUTEX_HAVE_PREV is defined.
25879 * nptl/descr.h (pthread): Likewise.
25880 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25882 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25883 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25884 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25885 * sysdeps/nptl/bits/thread-shared-types.h
25886 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25888 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25889 of __WORDSIZE for internal layout.
25890 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25891 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25892 instead of __WORDSIZE whether to use an union for __spins and __list
25894 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25896 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25897 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25899 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25900 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25902 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25903 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25905 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25906 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25908 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25909 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25911 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25912 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25914 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25915 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25917 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25918 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25920 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25921 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25923 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25924 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25926 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25927 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25929 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25930 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25932 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25933 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25935 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25936 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25938 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25939 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25942 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25944 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25945 checks for expected input type size.
25946 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25947 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25949 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25950 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25951 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25952 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25953 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25954 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25955 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25956 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25957 superflous runtime assert check.
25958 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25960 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25962 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25964 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25966 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25968 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25970 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25971 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25972 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25974 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25976 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25978 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25980 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25982 * nptl/pthread_attr_setinheritsched.c
25983 (__pthread_attr_setinheritsched): Likewise.
25984 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25986 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25988 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25989 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25990 __old_pthread_attr_setstack): Likewise.
25991 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25993 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25995 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25997 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25998 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26000 * nptl/tst-typesizes.c: Remove file.
26002 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
26003 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
26004 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
26005 checks for internal pthread_mutex_t offsets.
26006 * sysdeps/aarch64/nptl/pthread-offsets.h
26007 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
26008 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
26009 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
26010 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
26011 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
26012 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
26013 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
26014 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
26015 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
26016 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
26017 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
26018 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
26019 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
26020 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
26021 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
26022 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
26023 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
26024 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
26026 2017-11-07 Florian Weimer <fweimer@redhat.com>
26028 * bits/mman-linux.h: Move ...
26029 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
26031 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
26034 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26036 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
26037 Redefine STRNLEN as __strnlen_power8.
26039 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26041 * signal/sighold.c (sighold): Optimize implementation.
26043 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
26044 __NR_rt_sigqueueinfo.
26046 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
26048 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
26049 assume __NR_rt_sigtimedwait.
26050 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
26051 and add LIBC_CANCEL_HANDLED for cancellation marking.
26052 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26054 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26055 (sysdeps_routines): Add memchr_noneon.
26056 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
26057 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
26058 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
26059 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
26060 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
26061 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
26062 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
26064 * sysdeps/arm/arm-ifunc.h: New file.
26065 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
26066 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
26067 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
26068 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
26069 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
26070 (__memcpy_neon): Avoid create hidden alias.
26071 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
26072 (__memcpy_vfp): Likewise.
26073 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26074 (sysdep_routines): Add memcpy_arm.
26075 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
26077 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
26080 * Makerules (make-link-multidir): New.
26081 * config.make.in (multidir): New.
26082 * configure.ac (libc_cv_multidir): New. AC_SUBST.
26083 * configure: Regenerated.
26084 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
26085 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
26086 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
26089 2017-11-06 Joseph Myers <joseph@codesourcery.com>
26092 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
26093 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
26095 2017-11-04 Mike FABIAN <mfabian@redhat.com>
26097 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
26100 2017-11-04 Florian Weimer <fweimer@redhat.com>
26102 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
26104 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26106 * math/math.h [__HAVE_DISTINCT_FLOAT16
26107 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26108 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26109 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26110 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
26111 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
26112 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
26113 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26114 (__MATH_TG_F32): New macro.
26115 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26116 (__MATH_TG_F64X): Likewise.
26117 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26118 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
26120 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
26122 * po/de.po: Update translations.
26123 * po/ru.po: Likewise.
26125 2017-11-03 Florian Weimer <fweimer@redhat.com>
26127 * manual/filesys.texi (Hard Links): Document linkat.
26129 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26131 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
26132 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26133 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26134 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26135 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26136 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26137 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
26138 the same as _Float128.
26139 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26140 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26141 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
26144 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
26146 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
26148 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
26150 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26151 (strtof32x): Likewise.
26152 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26153 (strtof64x): Likewise.
26154 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26155 (strtof128x): Likewise.
26156 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26157 (strfromf16): Likewise.
26158 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26159 (strfromf32): Likewise.
26160 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26161 (strfromf64): Likewise.
26162 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26163 (strfromf32x): Likewise.
26164 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26165 (strfromf64x): Likewise.
26166 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26167 (strfromf128x): Likewise.
26168 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
26169 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
26170 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
26171 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
26172 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
26173 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
26175 2017-11-03 Richard Henderson <rth@twiddle.net>
26177 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
26179 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26181 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
26183 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26185 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
26186 DT_TLSDESC_GOT initialization.
26187 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
26188 (_dl_tlsdesc_resolve_hold): Likewise.
26189 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
26190 (_dl_tlsdesc_resolve_hold): Likewise.
26191 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
26192 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26194 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26196 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
26198 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26201 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
26202 non-lazily for R_ARM_TLS_DESC.
26204 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26207 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
26208 R_ARM_TLS_DESC case.
26209 (elf_machine_lazy_rel): Remove the prelink check.
26211 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26213 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
26214 DT_TLSDESC_GOT initialization.
26215 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
26216 (_dl_tlsdesc_resolve_rela): Likewise.
26217 (_dl_tlsdesc_resolve_hold): Likewise.
26218 (_dl_tlsdesc_undefweak): Remove ldar.
26219 (_dl_tlsdesc_dynamic): Likewise.
26220 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
26221 (_dl_tlsdesc_resolve_rela): Likewise.
26222 (_dl_tlsdesc_resolve_hold): Likewise.
26223 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
26224 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26225 (_dl_tlsdesc_resolve_rela): Likewise.
26226 (_dl_tlsdesc_resolve_hold): Likewise.
26228 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26230 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
26231 binding and initialization non-lazily for R_AARCH64_TLSDESC.
26233 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26235 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
26236 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26238 2017-11-02 Joseph Myers <joseph@codesourcery.com>
26240 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
26242 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
26243 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
26244 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
26245 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
26246 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
26247 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
26248 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
26249 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
26250 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
26251 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
26252 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
26254 2017-11-02 Mike FABIAN <mfabian@redhat.com>
26257 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
26258 * localedata/locales/tpi_PG: Add standard header.
26260 2017-11-02 Florian Weimer <fweimer@redhat.com>
26262 test-errno-linux: quotactl can fail with EPERM in containers.
26263 * sysdeps/unix/sysv/linux/test-errno-linux.c
26264 (LIST, LIST_FORWARD): New macros.
26265 (check_error_in_list): New function.
26266 (test_wrp_rv): Accept list of permitted error codes.
26267 (test_wrp_rv2): Remove.
26268 (test_wrp): Call test_wrp_rv with list of error codes.
26269 (test_wrp2): Accept list of error codes.
26270 (do_test): Adjust. Allow EPERM for quotactl.
26272 2017-11-02 Florian Weimer <fweimer@redhat.com>
26274 * stdio-common/bug16.c (do_test): Use array_length.
26275 * stdio-common/errlist.c (_sys_nerr): Likewise.
26276 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
26277 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
26278 * stdio-common/psiginfo.c (psiginfo): Use array_length.
26279 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
26280 (do_test): Use array_length.
26281 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
26282 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
26283 * stdio-common/tst-printf-round.c (do_test): Likewise.
26284 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
26285 (CHECK): Use array_length.
26286 * stdio-common/tstdiomisc.c (t3, F): Likewise.
26287 * stdio-common/tstscanf.c (main): Likewise.
26288 * stdio-common/vfprintf.c (process_string_arg): Likewise.
26290 2017-11-02 Florian Weimer <fweimer@redhat.com>
26292 Add array_length and array_end macros.
26293 * include/array_length.h: New file.
26295 2017-11-02 Florian Weimer <fweimer@redhat.com>
26298 * posix/tst-glob-tilde.c (do_noescape): New variable.
26299 (one_test): Process it.
26300 (do_test): Set do_noescape. Add unescaping test case.
26302 2017-11-01 Joseph Myers <joseph@codesourcery.com>
26305 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
26306 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
26307 with appropriate macros defined and undefined.
26308 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
26309 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26310 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
26311 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26312 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
26313 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26314 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
26315 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26316 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
26317 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26320 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
26321 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
26322 that for long double. Do not condition define and undefine of
26323 _Mdouble_complex_ on [__CFLOAT128].
26325 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
26327 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26328 of <sysdeps/generic/sysdep.h>.
26329 (ALIGNARG): Removed.
26330 (ASM_SIZE_DIRECTIVE): Likewise.
26333 (ENTRY_CHK): Likewise.
26334 (END_CHK): Likewise.
26335 (syscall_error): Likewise.
26336 (mcount): Likewise.
26337 (PSEUDO_END): Likewise.
26339 (atom_text_section): Likewise.
26340 * sysdeps/x86/sysdep.h: New file.
26341 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26342 of <sysdeps/generic/sysdep.h>.
26343 (ALIGNARG): Removed.
26344 (ASM_SIZE_DIRECTIVE): Likewise.
26347 (ENTRY_CHK): Likewise.
26348 (END_CHK): Likewise.
26349 (syscall_error): Likewise.
26350 (mcount): Likewise.
26351 (PSEUDO_END): Likewise.
26353 (atom_text_section): Likewise.
26355 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
26357 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
26358 category of LC_CTYPE set to "i18n:2012".
26359 * localedata/locales/i18n_ctype: Regenerate.
26361 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
26363 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
26364 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
26365 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26366 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26368 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
26369 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
26370 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
26371 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
26373 2017-10-31 Joseph Myers <joseph@codesourcery.com>
26376 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
26378 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
26380 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
26382 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26383 (CMPLXF32X): Likewise.
26384 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26385 (CMPLXF64X): Likewise.
26386 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26387 (CMPLXF128X): Likewise.
26390 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
26391 (__MATH_EVAL_FMT2): Define to add 0.0f.
26393 2017-10-31 Alan Modra <amodra@gmail.com>
26395 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
26397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
26398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
26399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
26400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
26401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
26402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
26403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
26404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
26405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
26406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
26407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
26408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
26409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
26410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
26411 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
26412 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
26413 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
26414 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
26415 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
26416 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
26417 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
26418 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
26419 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
26420 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
26421 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26422 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
26423 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
26424 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
26425 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
26426 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
26427 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26428 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26429 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
26430 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
26431 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
26432 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
26433 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
26434 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
26435 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
26436 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26437 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
26438 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
26439 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
26440 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
26441 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
26442 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
26443 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
26444 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
26445 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26446 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26447 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
26448 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
26449 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
26450 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
26451 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26452 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
26453 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
26454 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
26455 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26456 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26457 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26458 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
26459 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
26460 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26461 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
26462 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
26463 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
26464 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
26465 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
26467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
26468 include sysdep.h and math_ldbl_opt.h.
26470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
26471 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
26472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
26473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
26474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
26475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
26476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
26477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
26478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
26479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
26480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
26481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
26482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
26483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
26484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
26485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
26486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
26487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
26488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
26489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
26490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
26491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
26492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
26493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
26494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
26495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
26497 2017-10-31 Alan Modra <amodra@gmail.com>
26499 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
26500 string/strncase_l.c, not string/strncase.c.
26501 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
26502 (libc_hidden_def): Redefine.
26504 2017-10-31 Alan Modra <amodra@gmail.com>
26506 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
26507 (__STRCMP, STRCMP, __strcasecmp_l): Define.
26508 (__strcasecmp): Don't define.
26510 2017-10-31 Alan Modra <amodra@gmail.com>
26512 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
26514 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26515 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26516 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26518 2017-10-31 Alan Modra <amodra@gmail.com>
26520 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
26523 2017-10-31 Alan Modra <amodra@gmail.com>
26525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
26526 Redefine only when SHARED.
26528 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26530 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26531 Include <bits/math-finite.h> with appropriate macros defined and
26533 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26534 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26535 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26536 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26537 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26539 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
26540 [!_Mlong_double_] (_Mlong_double_): Likewise.
26541 [!_Mfloat16_] (_Mfloat16_): Likewise.
26542 [!_Mfloat32_] (_Mfloat32_): Likewise.
26543 [!_Mfloat64_] (_Mfloat64_): Likewise.
26544 [!_Mfloat128_] (_Mfloat128_): Likewise.
26545 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
26546 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
26547 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
26548 (_Mdouble_): Define without indirection through those macros.
26549 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
26550 [!_Mfloat128_] (_Mfloat128_): Likewise.
26551 [_Mlong_double_] (_Mlong_double_): Likewise.
26552 (_Mdouble_): Define without indirection through those macros.
26553 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
26554 not add -D_Mlong_double_=double.
26555 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
26556 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
26558 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26560 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
26562 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26564 * sysdeps/x86/libc-start.c: Reformat.
26566 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26569 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
26570 (1): Renamed to ...
26573 (L(Src2)): Likewise.
26574 (L(1)): Renamed to ...
26577 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26579 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
26580 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
26581 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
26582 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
26583 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
26584 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
26585 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
26586 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
26587 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
26588 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
26589 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
26590 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
26591 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26592 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26593 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26594 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26595 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26596 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26597 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26598 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26599 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26600 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26601 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26602 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26603 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26604 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26605 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26606 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26607 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26608 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26609 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26610 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26611 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26612 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26613 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26614 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26615 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26616 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26617 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26618 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26619 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26620 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26621 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26622 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26623 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26624 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26625 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26626 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26627 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26628 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26629 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26630 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26631 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26632 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26633 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26634 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26635 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26636 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26637 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26638 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26639 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26640 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26641 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26642 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26643 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26644 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26646 2017-10-30 Florian Weimer <fweimer@redhat.com>
26648 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
26650 * io/tst-mkdirat.c (do_test): Likewise.
26651 * io/tst-mkfifoat.c (do_test): Likewise.
26652 * io/tst-mknodat.c (do_test): Likewise.
26653 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
26654 * locale/programs/locale.c (select_dirs): Likewise.
26655 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
26656 * posix/bug-glob2.c (my_readdir): Likewise.
26657 * posix/tst-dir.c (main): Likewise.
26658 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
26659 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
26661 2017-10-30 Florian Weimer <fweimer@redhat.com>
26663 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
26666 2017-10-30 Florian Weimer <fweimer@redhat.com>
26668 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
26669 Convert to support/test-driver.c.
26670 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
26671 New macro parameters.
26672 (PRINTF): Remove macro. Use test_verbose conditionals instead.
26673 * posix/tst-gnuglob.c: New file.
26674 * posix/tst-gnuglob64.c: Likewise.
26675 * posix/Makefile (tests): Add tst-gnuglob64.
26677 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
26680 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
26681 and use a better translation for March in “mon”.
26682 * localedata/locales/csb_PL: Use more ASCII to improve the
26683 readability of the source.
26685 2017-10-30 Mike FABIAN <mfabian@redhat.com>
26688 * localedata/locales/km_KH: Use ASCII as much
26689 as possible for better readability of the source and
26690 remove useless comments.
26691 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
26692 was commented out and apparently wrong anyway because it was
26693 using Lao characters. If Buddhist era should be used
26694 for km_KH, a native speaker should write the correct formaat
26696 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
26697 (According to CLDR, the first weekday for Cambodia is Sunday).
26698 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
26699 (These were using Lao characters which must be wrong. If we get
26700 the correct data from a native speaker, we could add it back, until
26701 then it is better not to have name_mr and name_mrs at all than
26704 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
26706 * locale/loadlocale.c: Correct size of
26707 _nl_value_type_LC_<category> arrays.
26709 2017-10-27 Joseph Myers <joseph@codesourcery.com>
26711 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26712 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
26713 with appropriate macros defined and undefined.
26714 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26715 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26716 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26717 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26718 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26720 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
26722 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
26725 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26727 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
26728 with lowercase letters to make it agree with CLDR.
26730 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26733 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
26734 first letters of yesstr and nostr in yesexpr and noexpr,
26735 not for the full words.
26736 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26737 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
26738 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
26739 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
26740 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
26741 first letters of yesstr and nostr in yesexpr and noexpr,
26742 until now only English was matched in yesexpr and noexpr.
26743 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
26744 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
26745 fil but not for tl. As tl and fil are very similar, using fil
26746 is probably better than using English.
26748 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
26751 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26752 in yesstr and nostr.
26754 2017-10-26 Joseph Myers <joseph@codesourcery.com>
26756 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26757 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26758 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26760 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26762 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26764 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26766 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26767 (SNANF128X): Likewise.
26769 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26770 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26771 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26772 (HUGE_VAL_F32): Likewise.
26773 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26774 (HUGE_VAL_F64): Likewise.
26775 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26776 (HUGE_VAL_F32X): Likewise.
26777 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26778 (HUGE_VAL_F64X): Likewise.
26779 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26780 (HUGE_VAL_F128X): Likewise.
26782 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26784 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26785 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26786 for the br_FR locale.
26788 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26791 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26793 2017-10-25 Carlos O'Donell <carlos@redhat.com>
26795 * locale/programs/record-status.h: Define globals, and function
26796 prototypes. Move function bodies...
26797 * locale/programs/record-status.c: ... to here. New file.
26798 * iconv/Makefile (iconv_prog-modules): Add record-status.
26799 * locale/Makefile (lib-modules): Likewise.
26800 * iconv/iconv_prog.c: Remove verbose.
26801 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26802 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26803 record a warning about ASCII compatibility.
26804 * locale/programs/ld-monetary.c (monetary_finish): If
26805 warn_int_curr_symbol is true then record a warning about the symbol
26806 not being in our ISO 4217 list.
26807 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26808 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26809 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26810 (OPT_NO_WARN): Define.
26811 (OPT_WARN): Define.
26812 (options): Add entry for --no-warnings, and --warnings.
26813 (set_warnings): New function to enable/disable warnings.
26814 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26815 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26816 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26817 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26818 Pass flags to generate_locale.
26819 (generate_locale): Accept new flag argument and pass it to localedef
26821 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26822 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26824 * localedata/Makefile (test-input-data): Use full file name.
26825 * localedata/da_DK.in: Rename to...
26826 * localedata/da_DK.ISO-8859-1.in: ...this.
26827 * localedata/de_DE.in: Rename to...
26828 * localedata/de_DE.ISO-8859-1.in: ...this.
26829 * localedata/en_US.in: Rename to...
26830 * localedata/en_US.ISO-8859-1.in: ...this.
26831 * localedata/fr_FR.in: Rename to...
26832 * localedata/fr_FR.UTF-8.in: ... this.
26833 * localedata/hr_HR.in: Rename to...
26834 * localedata/hr_HR.ISO-8859-2.in: ...this.
26835 * localedata/hu_HU.in: Rename to...
26836 * localedata/hu_HU.UTF-8.in: ...this.
26837 * localedata/si_LK.in: Rename to...
26838 * localedata/si_LK.UTF-8.in: ...this.
26839 * localedata/sv_SE.in: Rename to...
26840 * localedata/sv_SE.ISO-8859-1.in: ...this.
26841 * localedata/tr_TR.in: Rename to...
26842 * localedata/tr_TR.UTF-8.in: ...this.
26843 * localedata/uk_UA.in: Rename to...
26844 * localedata/uk_UA.UTF-8.in: ...this.
26845 * localedata/sort-test.sh: Test file is locale name with the
26848 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26849 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26851 * localedata/locales/i18n_ctype: Regenerate.
26852 * localedata/locales/tr_TR: Likewise.
26853 * localedata/locales/translit_circle: Likewise.
26854 * localedata/locales/translit_cjk_compat: Likewise.
26855 * localedata/locales/translit_combining: Likewise.
26856 * localedata/locales/translit_compat: Likewise.
26857 * localedata/locales/translit_font: Likewise.
26858 * localedata/locales/translit_fraction: Likewise.
26860 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26862 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26863 lxvd2x/stxvd2x with lvx/stvx.
26864 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26866 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26868 * include/alloc_buffer.h: Replace "if if " with "if " in
26870 * sysdeps/mips/memcpy.S: Likkewise.
26871 * sysdeps/mips/memset.S: Likewise.
26872 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26874 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26876 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26879 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26882 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26883 yesexpr and noexpr.
26884 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26885 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26886 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26887 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26888 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26889 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26890 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26892 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26894 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26895 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26896 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26897 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26898 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26899 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26900 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26901 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26902 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26903 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26904 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26905 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26907 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26909 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26910 as possible for better readability of the source.
26911 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26912 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26913 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26914 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26915 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26916 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26917 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26918 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26919 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26920 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26921 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26922 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26923 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26924 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26925 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26926 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26927 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26928 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26929 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26930 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26931 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26932 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26933 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26934 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26935 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26936 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26937 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26938 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26939 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26940 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26941 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26942 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26943 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26944 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26945 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26946 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26947 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26948 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26949 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26950 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26951 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26952 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26953 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26954 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26955 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26956 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26957 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26958 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26959 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26960 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26961 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26962 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26963 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26964 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26965 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26966 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26967 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26968 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26969 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26970 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26971 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26972 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26973 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26974 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26975 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26976 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26977 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26978 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26979 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26980 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26981 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26982 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26983 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26984 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26985 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26986 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26987 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26988 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26989 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26990 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26991 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26992 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26993 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26994 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26995 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26996 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26997 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26998 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26999 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
27000 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
27001 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
27002 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
27003 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27004 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
27005 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
27006 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27007 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
27008 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27009 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
27010 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
27011 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
27012 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
27013 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
27014 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
27015 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
27016 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
27017 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
27018 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
27019 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
27020 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
27021 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
27022 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
27023 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27024 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
27025 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
27026 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
27027 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
27028 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
27029 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
27030 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
27031 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
27032 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
27033 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
27034 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
27035 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
27036 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
27037 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
27038 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
27039 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
27040 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
27041 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
27042 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
27043 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
27044 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
27045 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
27046 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
27047 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
27048 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
27049 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
27050 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
27051 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
27052 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
27053 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
27054 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
27055 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
27056 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27057 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
27058 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
27059 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
27060 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
27061 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
27062 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
27063 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
27064 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
27065 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27066 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
27067 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
27068 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
27069 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
27070 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
27071 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
27072 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
27073 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
27074 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
27075 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
27076 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27077 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
27078 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
27079 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
27080 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
27081 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27082 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27083 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27084 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
27086 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27088 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
27089 (Use first letters of yesstr and nostr correctly instead of using
27092 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27094 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
27095 (Use first letters of yesstr and nostr correctly).
27097 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27099 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
27100 also check for the first characters of yesstr and nostr.
27101 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
27102 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
27104 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27106 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
27107 also check for Chinese characters.
27109 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27111 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
27112 match also for the contents of yesstr and nostr. As the first letter
27113 of yesstr and nostr is equal, checking only for the first letter
27116 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27118 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
27119 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
27121 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27123 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
27124 of main contributor.
27126 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27128 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
27129 instead of using English.
27131 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27133 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
27134 by including the first letters of nostr and yesexpr in the regexp.
27135 Also make it more readable by using ASCII where possible.
27137 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27139 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
27140 the first letter of nostr in the regexp. It agrees with CLDR now.
27141 Also make it more readable by using ASCII where possible.
27143 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27145 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
27146 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
27147 these strings contain a U+17D6 (which somewhat looks like a colon)
27148 instead of a real colon to separate the full words for “yes”
27149 and “no” from the single letter responses.
27151 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27153 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
27154 it agree with CLDR (include the first letter of yesstr).
27155 Also make it more readable by using ASCII where possible.
27157 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27159 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
27160 and improve yesexpr and noexpr. The yesstr and nostr apparently
27161 came from CLDR. And CLDR has a bug there: these strings contain
27162 a U+0903 (which looks like a colon) instead of a real colon
27163 to separate the full words for “yes” and “no” from the single
27166 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27168 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
27169 letters of the full yesstr and nostr in yesexpr and noexpr.
27171 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27173 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
27174 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
27175 * localedata/locales/an_ES: Make source more readable by using ASCII
27178 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27181 * localedata/locales/yuw_PG: New file.
27182 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
27183 * locale/iso-639.def: Add Yau (Uruwa).
27185 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27187 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
27189 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27191 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
27192 (__libc_realloc): Likewise.
27193 (_mid_memalign): Likewise.
27194 (__libc_calloc): Likewise.
27196 2017-10-23 Mike FABIAN <mfabian@redhat.com>
27198 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
27199 by adding the generic +1 and -0 as in all other locales.
27200 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
27201 day names and make it more readable by using ASCII where possible.
27203 2017-10-24 Joseph Myers <joseph@codesourcery.com>
27205 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
27206 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
27208 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27210 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
27211 WNOHANG in waitpid call.
27213 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
27215 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
27216 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
27218 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
27219 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
27220 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
27221 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
27222 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
27223 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
27224 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
27225 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
27228 2017-10-23 Michael Collison <michael.collison@arm.com>
27230 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
27231 with __builtin_sqrt.
27232 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
27233 with __builtin_sqrtf.
27234 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
27235 with __builtin_ceil.
27236 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
27237 with __builtin_ceilf.
27238 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
27239 with __builtin_floor.
27240 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
27241 with __builtin_floorf.
27242 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
27243 with __builtin_fma.
27244 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
27245 with __builtin_fmaf.
27246 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
27247 with __builtin_fmax.
27248 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
27249 with __builtin_fmaxf.
27250 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
27251 with __builtin_fmin.
27252 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
27253 with __builtin_fminf.
27254 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
27255 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
27256 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
27257 with builtin_rint and conversion to int.
27258 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
27259 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
27260 with builtin_llround.
27261 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
27262 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
27263 with builtin_rint and conversion to long int.
27264 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
27265 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
27266 with builtin_lround.
27267 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
27268 with builtin_lroundf.
27269 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
27270 statements with __builtin_nearbyint.
27271 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
27272 statements with __builtin_nearbyintf.
27273 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
27274 with __builtin_rint.
27275 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
27276 with __builtin_rintf.
27277 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
27278 with __builtin_round.
27279 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
27280 with __builtin_roundf.
27281 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
27282 with __builtin_trunc.
27283 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
27284 with __builtin_truncf.
27285 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
27286 and s_l[l]round[f].c too.
27288 2017-10-23 Alan Modra <amodra@gmail.com>
27290 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
27291 Adjust stack after restoring regs. Add missing LR cfi_restore.
27293 2017-10-23 Alan Modra <amodra@gmail.com>
27295 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
27296 Move LR save and frame setup/teardown and LR restore to
27297 immediately around memset call. Provide cfi.
27299 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27301 * sysdeps/i386/fpu/e_powf.S: Removed.
27302 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
27303 * sysdeps/i386/fpu/w_powf.c: Likewise.
27304 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
27305 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27306 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27308 (CFLAGS-e_powf-sse2.c): New.
27309 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
27310 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
27312 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27314 * sysdeps/i386/fpu/e_log2f.S: Removed.
27315 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
27316 * sysdeps/i386/fpu/w_log2f.c: Likewise.
27317 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
27318 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27319 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27321 (CFLAGS-e_log2f-sse2.c): New.
27322 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
27323 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
27325 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27327 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27329 (CFLAGS-e_powf-fma.c): New.
27330 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
27331 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
27333 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27335 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27337 (CFLAGS-e_log2f-fma.c): New.
27338 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
27339 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
27341 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27343 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27345 (CFLAGS-e_logf-fma.c): New.
27346 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
27347 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
27349 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27351 * sysdeps/i386/fpu/e_logf.S: Removed.
27352 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
27353 * sysdeps/i386/fpu/w_logf.c: Likewise.
27354 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
27355 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
27356 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27357 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27359 (CFLAGS-e_logf-sse2.c): New.
27360 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
27361 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
27363 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27365 * sysdeps/i386/fpu/e_exp2f.S: Removed.
27366 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
27367 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
27368 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27369 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27371 (CFLAGS-e_exp2f-sse2.c): New.
27372 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
27373 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
27375 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27377 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27379 (CFLAGS-e_exp2f-fma.c): New.
27380 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
27381 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
27383 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27385 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
27386 * sysdeps/i386/fpu/e_expf.S: Likewise.
27387 * sysdeps/i386/fpu/math_errf.c: Likewise.
27388 * sysdeps/i386/fpu/w_expf.c: Likewise.
27389 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
27390 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27391 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
27392 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
27393 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27394 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27395 Remove e_expf-ia32.
27396 (CFLAGS-e_expf-sse2.c): New.
27397 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
27398 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
27400 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27402 * sysdeps/x86_64/fpu/e_expf.S: Removed.
27403 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
27404 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
27405 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
27407 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
27409 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
27410 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
27412 (__redirect_expf): This.
27413 (SYMBOL_NAME): Changed to expf.
27414 (__ieee754_expf): Renamed to ...
27416 (__GI___expf): This.
27417 (__ieee754_expf): Add strong_alias.
27418 (__expf_finite): Likewise.
27420 Include <sysdeps/ieee754/flt-32/e_expf.c>.
27422 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
27425 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
27428 2017-10-21 Florian Weimer <fweimer@redhat.com>
27430 * posix/Makefile (tests): Add tst-glob-tilde.
27431 (tests-special): Add tst-glob-tilde-mem.out
27432 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
27433 (tst-glob-tilde-mem.out): Add mtrace check.
27434 * posix/tst-glob-tilde.c: New file.
27436 2017-10-20 Joseph Myers <joseph@codesourcery.com>
27438 * bits/floatn-common.h: New file.
27439 * math/Makefile (headers): Add bits/floatn-common.h.
27440 * bits/floatn.h: Include <bits/floatn-common.h>.
27441 * sysdeps/ia64/bits/floatn.h: Likewise.
27442 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27443 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
27444 * sysdeps/powerpc/bits/floatn.h: Likewise.
27445 * sysdeps/x86/bits/floatn.h: Likewise.
27447 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27449 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
27450 indicates whether compiler emits an warning for alias for
27451 functions with incompatible types.
27454 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
27455 the auxiliary process is terminated by a signal before calling _exit
27458 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27461 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
27463 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
27464 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
27465 and bit_arch_XSAVEC_Usable if needed.
27466 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
27467 and bit_arch_Use_dl_runtime_resolve_opt.
27468 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
27470 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
27471 (bit_arch_Prefer_No_AVX512): Updated.
27472 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
27473 (bit_arch_XSAVEC_Usable): New.
27474 (STATE_SAVE_OFFSET): Likewise.
27475 (STATE_SAVE_MASK): Likewise.
27476 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
27477 (cpu_features): Add xsave_state_size and xsave_state_full_size.
27478 (index_arch_Use_dl_runtime_resolve_opt): Removed.
27479 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
27480 (index_arch_XSAVEC_Usable): New.
27481 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27482 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
27483 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
27485 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
27486 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
27487 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
27488 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
27489 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
27490 _dl_runtime_resolve_xsavec.
27491 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
27493 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
27494 instead of VEC_SIZE.
27495 (REGISTER_SAVE_BND0): Removed.
27496 (REGISTER_SAVE_BND1): Likewise.
27497 (REGISTER_SAVE_BND3): Likewise.
27498 (REGISTER_SAVE_RAX): Always defined to 0.
27500 (_dl_runtime_resolve_avx): Likewise.
27501 (_dl_runtime_resolve_avx_slow): Likewise.
27502 (_dl_runtime_resolve_avx_opt): Likewise.
27503 (_dl_runtime_resolve_avx512): Likewise.
27504 (_dl_runtime_resolve_avx512_opt): Likewise.
27505 (_dl_runtime_resolve_sse): Likewise.
27506 (_dl_runtime_resolve_sse_vex): Likewise.
27508 (_dl_runtime_resolve_fxsave): Likewise.
27509 (USE_XSAVE): Likewise.
27510 (_dl_runtime_resolve_xsave): Likewise.
27511 (USE_XSAVEC): Likewise.
27512 (_dl_runtime_resolve_xsavec): Likewise.
27513 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
27515 (_dl_runtime_resolve_avx512_opt): Likewise.
27516 (_dl_runtime_resolve_avx): Likewise.
27517 (_dl_runtime_resolve_avx_opt): Likewise.
27518 (_dl_runtime_resolve_sse): Likewise.
27519 (_dl_runtime_resolve_sse_vex): Likewise.
27520 (_dl_runtime_resolve_fxsave): New.
27521 (_dl_runtime_resolve_xsave): Likewise.
27522 (_dl_runtime_resolve_xsavec): Likewise.
27524 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
27528 * posix/glob.c (__glob): Fix one-byte overflow.
27530 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27532 * malloc/malloc.c (sysdep-cancel.h): Add include.
27534 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27536 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
27538 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
27540 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
27541 (tests): Remove $(objpfx)ga_test depdendency.
27542 * resolv/ga_test.c: Remove file.
27544 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27547 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
27548 * localedata/locales/kab_DZ: New file.
27550 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27552 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
27553 _dl_relocate_static_pie instead of _dl_start to compute load
27554 address in static PIE.
27556 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27558 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
27560 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27563 * localedata/SUPPORTED: Add shn_MM/UTF-8.
27564 * localedata/locales/shn_MM: New file.
27566 2017-10-20 Florian Weimer <fweimer@redhat.com>
27569 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
27570 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
27571 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
27572 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
27573 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
27574 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
27576 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
27578 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27580 2017-10-19 Joseph Myers <joseph@codesourcery.com>
27582 * sysdeps/mips/ieee754/bits/floatn.h: New file.
27585 * sysdeps/mips/bits/long-double.h: Move to ....
27586 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
27588 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
27590 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
27592 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
27593 H.J. Lu <hongjiu.lu@intel.com>
27596 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27597 GLRO(dl_platform) to NULL.
27598 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27599 (modules-names): Add tst-platformmod-1 and
27600 x86_64/tst-platformmod-2.
27601 (CFLAGS-tst-platform-1.c): New.
27602 (CFLAGS-tst-platformmod-1.c): Likewise.
27603 (CFLAGS-tst-platformmod-2.c): Likewise.
27604 (LDFLAGS-tst-platformmod-2.so): Likewise.
27605 ($(objpfx)tst-platform-1): Likewise.
27606 ($(objpfx)tst-platform-1.out): Likewise.
27607 (tst-platform-1-ENV): Likewise.
27608 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27609 * sysdeps/x86_64/tst-platform-1.c: New file.
27610 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27611 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27613 2017-10-19 Mike FABIAN <mfabian@redhat.com>
27616 * locale/iso-639.def: Add Karbi.
27617 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27618 * localedata/locales/mjw_IN: New file.
27620 2017-10-18 Joseph Myers <joseph@codesourcery.com>
27622 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27623 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27624 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27625 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27626 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27627 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27628 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27630 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27631 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27632 * manual/math.texi (Mathematics): Document additional architecture
27633 support for _Float128.
27634 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27635 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27636 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27637 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27638 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27639 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27640 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27641 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27642 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27643 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27644 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27645 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27646 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27647 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27648 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27650 2017-10-18 Renlin Li <renlin.li@arm.com>
27652 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
27653 _DYNAMIC symbol to calculate load address.
27655 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
27657 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
27658 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
27660 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
27661 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
27663 2017-10-18 Mike FABIAN <mfabian@redhat.com>
27666 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
27667 and improve readability by using more ASCII.
27668 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
27669 and improve readability by using more ASCII.
27671 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
27673 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
27674 not all targets support atomics on bool.
27676 2017-10-17 Joseph Myers <joseph@codesourcery.com>
27678 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
27679 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
27681 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27682 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
27683 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27684 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
27685 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27686 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
27688 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27690 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
27693 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27696 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
27697 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
27698 (do_check_remalloced_chunk): Fix build bug.
27699 (do_check_malloc_state): Add assert that checks arena->top.
27700 (malloc_consolidate): Remove initialization.
27701 (int_mallinfo): Remove call to malloc_consolidate.
27702 (__libc_mallopt): Clarify why malloc_consolidate is needed.
27704 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27706 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
27707 (have_fastchunks): Remove.
27708 (clear_fastchunks): Remove.
27709 (set_fastchunks): Remove.
27710 (malloc_state): Add have_fastchunks.
27711 (malloc_init_state): Use have_fastchunks.
27712 (do_check_malloc_state): Remove incorrect invariant checks.
27713 (_int_malloc): Use have_fastchunks.
27714 (_int_free): Likewise.
27715 (malloc_consolidate): Likewise.
27717 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27719 * malloc/malloc.c (tcache_put): Inline.
27720 (tcache_get): Inline.
27722 2017-10-17 Jordi Mallach <jordi@gnu.org>
27724 Aurelien Jarno <aurelien@aurel32.net>
27726 * localedata/locales/ca_ES@valencia: New file.
27727 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
27729 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
27732 * math/math.h: Let signbit use the builtin in C++ mode with gcc
27735 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27737 * scripts/build-many-glibcs.py (Context.add_all_configs):
27738 Add arm-linux-gnueabihf multiarch extra_glibcs.
27740 * sysdeps/generic/ifunc-init.h: New file.
27741 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
27743 2017-10-17 Mike FABIAN <mfabian@redhat.com>
27746 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27747 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27748 * stdlib/tst-strfmon_l.c: adapt test case.
27750 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27752 * sysdeps/generic/float128-abi.h: New file.
27753 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27754 non-__prefixed symbols to ....
27755 * math/Versions: ... here. Include <float128-abi.h>.
27756 * stdlib/Versions ... and here. Include <float128-abi.h>
27758 2017-10-16 Florian Weimer <fweimer@redhat.com>
27760 * version.h (VERSION): Switch to ".9000" as the development
27763 2017-10-16 Florian Weimer <fweimer@redhat.com>
27766 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27767 compat_symbol_reference to access non-default version.
27769 2017-10-16 Florian Weimer <fweimer@redhat.com>
27771 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27773 2017-10-16 Carlos O'Donell <carlos@redhat.com>
27775 * include/shlib-compat.h (compat_symbol_reference): Update
27778 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27780 * math/Makefile (test-types): Add
27781 $(type-float128-$(float128-alias-fcts)).
27782 * math/test-float128.h (TYPE_STR): Define conditional on
27783 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27784 (ULP_IDX): Likewise.
27785 (ULP_I_IDX): Likewise.
27787 * stdlib/strtold.c: Include <bits/floatn.h>
27788 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27789 and later undefine as macro. Define as weak alias if
27791 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27792 and later undefine as macro. Define as weak alias if
27794 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27795 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27796 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27797 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27798 Define and later undefine as macro. Define as weak alias if
27800 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27802 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27803 Define and later undefine as macro. Define as weak alias if
27805 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27806 Define and later undefine as macro. Define as weak alias if
27809 2017-10-15 Carlos O'Donell <carlos@redhat.com>
27811 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27812 record_verbose messages.
27814 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27817 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27818 to silence -O3 -Wall warning with GCC 7.
27820 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27822 * Makeconfig (+link-static-before-libc): Use the first of
27823 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27824 * gmon/Makefile (tests): Add tst-gmon-static.
27825 (tests-static): Likewise.
27826 (CFLAGS-tst-gmon-static.c): New.
27827 (CRT-tst-gmon-static): Likewise.
27828 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27829 (tst-gmon-static-ENV): Likewise.
27830 (tests-special): Likewise.
27831 ($(objpfx)tst-gmon-static.out): Likewise.
27832 (clean-tst-gmon-static-data): Likewise.
27833 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27834 * gmon/tst-gmon-static-gprof.sh: New file.
27835 * gmon/tst-gmon-static.c: Likewise.
27837 2017-10-13 Carlos O'Donell <carlos@redhat.com>
27840 * locale/programs/linereader.c (get_string): Don't warn on
27841 non-symbolic character.
27844 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27848 * locale/programs/record-status.h: New file
27849 * locale/programs/locale.c: Add comment.
27850 * locale/programs/charmap-dir.c: Don't include error.h.
27851 (charmap_opendir): Use record_error.
27852 * locale/programs/charmap.c: Don't include error.h.
27853 (charmap_read): Use record_error, and record_warning.
27854 (parse_charmap): Likewise.
27855 * locale/programs/ld-address.c: Don't include error.h.
27856 (address_finish): Use record_error, and record_warning.
27857 * locale/programs/ld-collate.c: Don't include error.h.
27858 (collate_finish): Use record_error, and record_error_at_line.
27859 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27860 (ctype_class_new): Likewise.
27861 (ctype_map_new): Likewise.
27862 (set_one_default): Likewise.
27863 (set_class_defaults): Likewise.
27864 (translit_flatten): Likewise.
27865 (allocate_arrays): Use record_error, and record_verbose.
27866 * locale/programs/ld-identification.c: Don't include error.h.
27867 (indentation_finish): Use record_error and record_warning.
27868 * locale/programs/ld-measurement.c: Don't include error.h.
27869 (measurement_finish): Use record_error.
27870 * locale/programs/ld-messages.c
27871 (message_finish): Likewise.
27872 * locale/programs/ld-monetary.c
27873 (monetary_finish): Likewise.
27874 * locale/programs/ld-name.c (name_finish): Use record_error
27875 and record_warning.
27876 * locale/programs/ld-numeric.c
27877 (numeric_finish): Use record_error.
27878 * locale/programs/ld-paper.c: Don't include error.h.
27879 (paper_finish): Use record_error.
27880 * locale/programs/ld-telephone.c: Don't include error.h.
27881 (telephone_finish): Use record_error.
27882 * locale/programs/ld-time.c (time_finish): Likewise.
27883 * locale/programs/linereader.h (lr_error): Make inline func.
27884 * locale/programs/localedef.c: Define recorded_warning_count,
27885 and recorded_error_count.
27886 (main): Use record_error. Use recorded_error_count and
27887 recorded_warning_count to issue correct error returns.
27888 (add_to_readlist): Use record_error.
27889 (find_locale): Likewise.
27890 (load_locale): Likewise.
27891 * locale/programs/localedef.h: Remove be_quiet
27892 and WITH_CUR_LOCALE.
27893 * locale/programs/locarchive.c (compare_from_file): Use
27895 * locale/programs/locfile.c (write_locale_data): Use
27897 * locale/programs/repertoire.c: Dont include error.h.
27898 (repertoire_complain): Use record_error.
27899 * localedata/tst-fmon.sh: Expect failures from localedef.
27900 * localedata/tst-locale.sh: Likewise.
27901 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27903 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27904 (REPORTS): Likewise.
27906 (i18n): Rename to...
27907 (i18n_ctype): ...this.
27908 (i18n-report): Rename to...
27909 (i18n_ctype-report): ...this.
27910 * localedata/locales/i18n_ctype: Regenerate.
27911 * localedata/locales/i18n: copy i18n_ctype.
27913 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27915 * stdlib/strfroml.c: Include <bits/floatn.h>.
27916 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27917 Define before include of <stdlib.h> and undefine afterwards, then
27918 define as weak alias.
27920 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27921 Undefine and restore default definition. Use
27922 libm_alias_ldouble_other.
27924 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27927 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27930 2017-10-13 James Clarke <jrtc27@jrtc27.com>
27932 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27933 Assign sym_map to be map for local symbols, as TLS relocations
27934 use sym_map to determine whether the symbol is defined and to
27935 extract the TLS information.
27936 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27937 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27939 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27942 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27943 (math_force_eval): Add powerpc version.
27946 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27948 (do_test): Likewise.
27949 * stdio-common/tst-printf.sh: Likewise.
27950 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27951 ifdef clause in order to set the carry bit right. Replace r0 by
27952 0 without changing the behavior.
27954 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27956 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27957 <libm-alias-ldouble.h>.
27958 (fabsl): Define using libm_alias_ldouble.
27959 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27960 <libm-alias-ldouble.h>.
27961 (fabsl): Define using libm_alias_ldouble.
27963 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27964 Remove conditional code.
27966 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27967 Rename to __clog10_internal_l.
27968 (__clog10_internal_l): Define aliases using
27969 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27972 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27974 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27975 * benchtests/sincosf-inputs: New file.
27976 * benchtests/cosf-inputs: New file.
27977 * benchtests/sinf-inputs: New file.
27979 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27981 * posix/tst-spawn.c (do_test): Wait for both children.
27983 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27986 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27987 tests-pie): Add tst-gmon-pie.
27988 (CFLAGS-tst-gmon-pie.c): New.
27989 (CRT-tst-gmon-pie): Likewise.
27990 (tst-gmon-pie-ENV): Likewise.
27991 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27992 ($(objpfx)tst-gmon-pie.out): Likewise.
27993 (clean-tst-gmon-pie-data): Likewise.
27994 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27995 * gmon/gmon.c [PIC]: Include <link.h>.
27996 [PIC] (callback): New function.
27997 (write_hist): Add an argument for load address. Subtract load
27999 (write_call_graph): Likewise.
28000 (write_gmon): Call __dl_iterate_phdr to get load address, pass
28001 it to write_hist and write_call_graph.
28002 * gmon/tst-gmon-pie.c: New file.
28004 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28006 * math/Makefile (test-types-basic): New variable.
28007 (test-types): Likewise.
28008 (libm-test-support): Use $(test-types) instead of $(types).
28009 (libm-tests-base-normal): Likewise.
28010 (libm-tests-base-finite): Likewise.
28011 (libm-tests-base-inline): Likewise.
28012 (generated): Likewise.
28013 ($(objpfx)libm-test-support-$(t).c): Likewise.
28014 (libm-tests-for-type iterator): Likewise.
28015 (libm-test-support iterator): Likewise.
28016 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
28017 (ulp_idx): Use ULP_IDX.
28018 * math/test-ldouble.h: Include <float.h>.
28019 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
28020 (ULP_IDX): New macro.
28021 (ULP_I_IDX): Likewise.
28022 * math/test-double.h (ULP_IDX): Likewise.
28023 (ULP_I_IDX): Likewise.
28024 * math/test-float.h (ULP_IDX): Likewise.
28025 (ULP_I_IDX): Likewise.
28026 * math/test-float128.h (ULP_IDX): Likewise.
28027 (ULP_I_IDX): Likewise.
28029 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28031 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
28032 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28033 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28034 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
28035 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28036 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
28037 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
28038 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28039 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28040 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28041 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
28042 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28043 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28044 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28045 (SINGLE_THREAD_BY_GLOBAL): Define.
28046 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28048 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28050 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28052 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28054 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
28055 (SINGLE_THREAD_BY_GLOBAL): Likewise.
28056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28059 2017-10-11 Andreas Schwab <schwab@suse.de>
28061 * nis/Makefile (aux): Remove.
28062 * nscd/Makefile (aux): Add nscd_hash.
28063 (nscd-modules): Likewise.
28064 ($(objpfx)nscd): Don't depend on libnsl.
28065 * nscd/nscd_hash.c: New file.
28066 * nscd/nscd_hash.h: Likewise.
28067 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
28068 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
28069 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
28070 instead of <nis/rpcsvc/nis.h>.
28071 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
28073 2017-10-11 Florian Weimer <fweimer@redhat.com>
28076 Avoid large NSS buffers with many addresses, aliases.
28077 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
28078 using dynarrays and struct alloc_buffer.
28079 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
28080 (tst-nss-files-hosts-multi): Link with -ldl.
28081 * nss/tst-nss-files-hosts-multi.c: New file.
28083 2017-10-11 Florian Weimer <fweimer@redhat.com>
28086 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
28087 scratch_buffer. Eliminate gotos.
28089 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28091 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
28092 libm_alias_ldouble_other.
28093 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
28094 undefine and redefine.
28095 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28096 (exp10l): Do not define here.
28097 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
28098 (weak_alias): Undefine and redefine.
28099 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
28100 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28101 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
28102 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
28104 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
28105 [!__fma] (fma): Define using libm_alias_double.
28106 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
28107 [!__fmaf] (fmaf): Define using libm_alias_float.
28108 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
28109 (fmal): Define using libm_alias_ldouble.
28111 2017-10-10 Joseph Myers <joseph@codesourcery.com>
28113 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
28115 (libm_alias_double_other): Likewise.
28116 (libm_alias_double_r): Use libm_alias_double_other_r.
28117 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
28119 (libm_alias_float_other): Likewise.
28120 (libm_alias_float_r): Use libm_alias_float_other_r.
28121 * sysdeps/generic/libm-alias-float128.h
28122 (libm_alias_float128_other_r): New macro.
28123 (libm_alias_float128_other): Likewise.
28124 (libm_alias_float128_r): Use libm_alias_float128_other_r.
28125 * sysdeps/generic/libm-alias-ldouble.h
28126 (libm_alias_ldouble_other_r): New macro.
28127 (libm_alias_ldouble_other): Likewise.
28128 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28129 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
28130 (libm_alias_double_other_r): New macro.
28131 (libm_alias_double_other): Likewise.
28132 (libm_alias_double_r): Use libm_alias_double_other_r.
28133 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
28134 (libm_alias_ldouble_other_r): New macro.
28135 (libm_alias_ldouble_other): Likewise.
28136 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28137 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
28138 [!USE_AS_COMPAT]: Use libm_alias_double_other.
28139 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
28140 [!USE_AS_COMPAT]: Use libm_alias_float_other.
28141 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
28142 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
28143 * math/w_exp2f.c: Use libm_alias_float_other.
28144 * math/w_expf.c: Likewise.
28145 * math/w_log2f.c: Likewise.
28146 * math/w_logf.c: Likewise.
28147 * math/w_powf.c: Likewise.
28148 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
28149 [!__exp2f]: Use libm_alias_float_other.
28150 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
28151 [!__expf]: Use libm_alias_float_other.
28152 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
28153 [!__log2f]: Use libm_alias_float_other.
28154 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
28155 [!__logf]: Use libm_alias_float_other.
28156 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
28157 [!__powf]: Use libm_alias_float_other.
28159 2017-10-10 Florian Weimer <fweimer@redhat.com>
28161 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
28163 (_nss_files_gethostbyname3_r): Call it.
28165 2017-10-09 Joseph Myers <joseph@codesourcery.com>
28167 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
28168 error. Remove default definition of declare_mgen_alias.
28169 [!declare_mgen_alias_r]: Likewise.
28170 * sysdeps/generic/math-type-macros-double.h
28171 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
28172 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
28173 (declare_mgen_alias_r): Likewise.
28174 * sysdeps/generic/math-type-macros-float128.h
28175 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28176 * sysdeps/generic/math-type-macros-ldouble.h
28177 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28178 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
28180 (declare_mgen_alias_r_s): Likewise.
28181 (declare_mgen_alias_r): Likewise.
28182 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
28183 (lgamma_r): Define using libm_alias_double_r.
28184 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
28185 (lgammaf_r): Define using libm_alias_float_r.
28186 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
28187 (lgammal_r): Define using libm_alias_ldouble_r.
28188 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
28189 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28191 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28193 * lib/glob.c (__glob_pattern_type): Remove now-spurious
28194 extern declaration.
28196 2017-10-09 Joseph Myers <joseph@codesourcery.com>
28198 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
28200 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
28203 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
28204 [__cplusplus >= 201103] (__USE_ISOC99): Define.
28205 * math/Makefile (test-math-cxx11): New test.
28206 * math/test-math-cxx11.cc: New file.
28208 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
28210 * login/openpty.c (openpty): Close slave pty file descriptor on error.
28212 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
28213 call to allocate the slave pty file descriptor.
28215 2017-10-06 Joseph Myers <joseph@codesourcery.com>
28217 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
28218 [!__fma] (fma): Define using libm_alias_double.
28219 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
28220 [!__fma] (fma): Define using libm_alias_double.
28222 * sysdeps/ieee754/float128/float128_private.h: Include
28223 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
28224 (libm_alias_ldouble_r): Undefine and redefine.
28225 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
28226 <libm-alias-ldouble.h>.
28227 (asinhl): Define using libm_alias_ldouble.
28228 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
28229 <libm-alias-ldouble.h>.
28230 (atanl): Define using libm_alias_ldouble.
28231 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
28232 <libm-alias-ldouble.h>.
28233 (cbrtl): Define using libm_alias_ldouble.
28234 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
28235 <libm-alias-ldouble.h>.
28236 (ceill): Define using libm_alias_ldouble.
28237 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
28238 <libm-alias-ldouble.h>.
28239 (copysignl): Define using libm_alias_ldouble.
28240 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
28241 <libm-alias-ldouble.h>.
28242 (cosl): Define using libm_alias_ldouble.
28243 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
28244 <libm-alias-ldouble.h>.
28245 (erfl): Define using libm_alias_ldouble.
28247 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
28248 <libm-alias-ldouble.h>.
28249 (expm1l): Define using libm_alias_ldouble.
28250 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
28251 <libm-alias-ldouble.h>.
28252 (fabsl): Define using libm_alias_ldouble.
28253 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
28254 <libm-alias-ldouble.h>.
28255 (floorl): Define using libm_alias_ldouble.
28256 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
28257 <libm-alias-ldouble.h>.
28258 (fmal): Define using libm_alias_ldouble.
28259 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
28260 <libm-alias-ldouble.h>.
28261 (frexpl): Define using libm_alias_ldouble.
28262 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
28263 libm_alias_ldouble.
28264 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
28265 <libm-alias-ldouble.h>.
28266 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
28267 libm_alias_ldouble.
28268 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
28269 <libm-alias-ldouble.h>.
28270 (getpayloadl): Define using libm_alias_ldouble.
28271 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
28272 <libm-alias-ldouble.h>.
28273 (llrintl): Define using libm_alias_ldouble.
28274 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
28275 <libm-alias-ldouble.h>.
28276 (llroundl): Define using libm_alias_ldouble.
28277 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
28278 <libm-alias-ldouble.h>.
28279 (logbl): Define using libm_alias_ldouble.
28280 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
28281 <libm-alias-ldouble.h>.
28282 (lrintl): Define using libm_alias_ldouble.
28283 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
28284 <libm-alias-ldouble.h>.
28285 (lroundl): Define using libm_alias_ldouble.
28286 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
28287 <libm-alias-ldouble.h>.
28288 (modfl): Define using libm_alias_ldouble.
28289 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
28290 <libm-alias-ldouble.h>.
28291 (nearbyintl): Define using libm_alias_ldouble.
28292 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
28293 <libm-alias-ldouble.h>.
28294 (nextafterl): Define using libm_alias_ldouble.
28295 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
28296 <libm-alias-ldouble.h>.
28297 (nextupl): Define using libm_alias_ldouble.
28298 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
28299 <libm-alias-ldouble.h>.
28300 (remquol): Define using libm_alias_ldouble.
28301 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
28302 <libm-alias-ldouble.h>.
28303 (rintl): Define using libm_alias_ldouble.
28304 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
28305 <libm-alias-ldouble.h>.
28306 (roundevenl): Define using libm_alias_ldouble.
28307 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
28308 <libm-alias-ldouble.h>.
28309 (roundl): Define using libm_alias_ldouble.
28310 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
28311 using libm_alias_ldouble.
28312 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
28313 <libm-alias-ldouble.h>.
28314 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
28315 Define using libm_alias_ldouble.
28316 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
28317 <libm-alias-ldouble.h>.
28318 (sincosl): Define using libm_alias_ldouble.
28319 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
28320 <libm-alias-ldouble.h>.
28321 (sinl): Define using libm_alias_ldouble.
28322 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
28323 <libm-alias-ldouble.h>.
28324 (tanhl): Define using libm_alias_ldouble.
28325 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
28326 <libm-alias-ldouble.h>.
28327 (tanl): Define using libm_alias_ldouble.
28328 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
28329 <libm-alias-ldouble.h>.
28330 (totalorderl): Define using libm_alias_ldouble.
28331 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
28332 <libm-alias-ldouble.h>.
28333 (totalordermagl): Define using libm_alias_ldouble.
28334 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
28335 <libm-alias-ldouble.h>.
28336 (truncl): Define using libm_alias_ldouble.
28337 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
28338 libm_alias_ldouble.
28339 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
28340 libm_alias_ldouble.
28341 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
28342 <libm-alias-ldouble.h>.
28343 (weak_alias): Do not undefine and redefine.
28344 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28345 (copysignl): Define with long_double_symbol only if [IS_IN
28347 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
28348 <libm-alias-ldouble.h>.
28349 (weak_alias): Do not undefine and redefine.
28350 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28351 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
28352 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
28353 <libm-alias-ldouble.h>.
28354 (weak_alias): Do not undefine and redefine.
28355 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28356 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
28357 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
28358 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
28359 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
28360 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
28361 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
28362 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
28363 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
28364 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
28365 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
28366 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
28367 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
28368 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
28369 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
28370 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
28371 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
28372 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
28373 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
28374 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
28375 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
28376 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
28377 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
28378 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
28379 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
28380 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
28382 2017-10-06 Carlos O'Donell <carlos@redhat.com>
28385 * malloc/malloc.c (tcache_shutting_down): Use bool type.
28386 (tcache_thread_freeres): Set tcache_shutting_down before
28387 freeing the tcache.
28388 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
28389 * malloc/tst-malloc-tcache-leak.c: New file.
28391 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28393 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
28394 back to powerpc32 file.
28395 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28396 (memrchr): Add __memrchr_power8 to ifunc list.
28397 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
28398 extra bytes for unaligned inputs.
28400 2017-10-06 Joseph Myers <joseph@codesourcery.com>
28402 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
28403 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
28404 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
28405 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28406 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28408 2017-10-05 Joseph Myers <joseph@codesourcery.com>
28410 * sysdeps/arm/libm-test-ulps: Update.
28412 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
28413 <libm-alias-ldouble.h>.
28414 (asinhl): Define using libm_alias_ldouble.
28415 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
28416 <libm-alias-ldouble.h>.
28417 (cbrtl): Define using libm_alias_ldouble.
28418 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
28419 <libm-alias-ldouble.h>.
28420 (copysignl): Define using libm_alias_ldouble.
28421 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
28422 <libm-alias-ldouble.h>.
28423 (cosl): Define using libm_alias_ldouble.
28424 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
28425 <libm-alias-ldouble.h>.
28426 (erfl): Define using libm_alias_ldouble.
28428 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
28429 <libm-alias-ldouble.h>.
28430 (fmal): Define using libm_alias_ldouble.
28431 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
28432 <libm-alias-ldouble.h>.
28433 (frexpl): Define using libm_alias_ldouble.
28434 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
28435 libm_alias_ldouble.
28436 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
28437 <libm-alias-ldouble.h>.
28438 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
28439 libm_alias_ldouble.
28440 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
28441 <libm-alias-ldouble.h>.
28442 (getpayloadl): Define using libm_alias_ldouble.
28443 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
28444 <libm-alias-ldouble.h>.
28445 (llrintl): Define using libm_alias_ldouble.
28446 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
28447 <libm-alias-ldouble.h>.
28448 (llroundl): Define using libm_alias_ldouble.
28449 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
28450 <libm-alias-ldouble.h>.
28451 (lrintl): Define using libm_alias_ldouble.
28452 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
28453 <libm-alias-ldouble.h>.
28454 (lroundl): Define using libm_alias_ldouble.
28455 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
28456 <libm-alias-ldouble.h>.
28457 (modfl): Define using libm_alias_ldouble.
28458 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
28459 <libm-alias-ldouble.h>.
28460 (nextupl): Define using libm_alias_ldouble.
28461 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
28462 <libm-alias-ldouble.h>.
28463 (remquol): Define using libm_alias_ldouble.
28464 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
28465 <libm-alias-ldouble.h>.
28466 (roundevenl): Define using libm_alias_ldouble.
28467 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
28468 <libm-alias-ldouble.h>.
28469 (roundl): Define using libm_alias_ldouble.
28470 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
28471 using libm_alias_ldouble.
28472 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
28473 <libm-alias-ldouble.h>.
28474 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
28475 <libm-alias-ldouble.h>.
28476 (setpayloadsigl): Define using libm_alias_ldouble.
28477 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
28478 <libm-alias-ldouble.h>.
28479 (sincosl): Define using libm_alias_ldouble.
28480 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
28481 <libm-alias-ldouble.h>.
28482 (sinl): Define using libm_alias_ldouble.
28483 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
28484 <libm-alias-ldouble.h>.
28485 (tanhl): Define using libm_alias_ldouble.
28486 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
28487 <libm-alias-ldouble.h>.
28488 (tanl): Define using libm_alias_ldouble.
28489 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
28490 <libm-alias-ldouble.h>.
28491 (totalorderl): Define using libm_alias_ldouble.
28492 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
28493 <libm-alias-ldouble.h>.
28494 (totalordermagl): Define using libm_alias_ldouble.
28495 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
28496 libm_alias_ldouble.
28497 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
28498 libm_alias_ldouble.
28500 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
28502 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28504 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28505 (__libc_ifunc_impl_list): Likewise.
28506 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
28507 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
28509 * benchtests/bench-memmove-walk.c: New file.
28510 * benchtests/Makefile (string-benchset): Add it.
28512 * benchtests/bench-memset-walk.c: New file.
28513 * benchtests/Makefile (string-benchset): Add it.
28515 * benchtests/bench-memcpy-walk.c: New file.
28516 * benchtests/Makefile (string-benchset): Add it.
28518 2017-10-05 Florian Weimer <fweimer@redhat.com>
28520 nscd: Eliminate compilation time dependency in the build output.
28521 * nscd/nscd_stat.c (STATDATA_VERSION)
28522 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
28523 (STATDATA_VERSION_FULL): New macro definitions.
28524 (compilation): Remove.
28525 (struct statdata): Adjust version member.
28526 (send_stats): Set version from STATDATA_VERSION_FULL.
28527 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
28529 2017-10-05 Joseph Myers <joseph@codesourcery.com>
28531 * configure.ac (--enable-add-ons): Remove option.
28532 (machine): Do not mention add-ons in comment.
28533 (LIBC_PRECONFIGURE): Likewise.
28534 (add_ons): Remove variable and sanity checks and logic to locate
28536 (add_ons_automatic): Remove variable.
28537 (configured_add_ons): Likewise.
28538 (add_ons_sfx): Likewise.
28539 (add_ons_pfx): Likewise.
28540 (add_on_subdirs): Likewise.
28541 (sysnames_add_ons): Likewise. Remove loop over add-ons and
28542 consideration of add-ons in Implies handling.
28543 (sysdeps_add_ons): Likewise.
28544 * configure: Regenerated.
28545 * libidn/configure.ac: Remove.
28546 * libidn/configure: Likewise.
28547 * sysdeps/unix/inet/configure.ac: New file.
28548 * sysdeps/unix/inet/configure: New generated file.
28549 * sysdeps/unix/inet/Subdirs: Add libidn.
28550 * Makeconfig (sysdeps-srcdirs): Remove variable.
28551 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
28552 ($(common-objpfx)config.status): Do not depend on add-on files.
28553 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
28555 (all-subdirs): Do not include $(add-on-subdirs).
28556 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
28557 * config.make.in (add-ons): Remove variable.
28558 (add-on-subdirs): Likewise.
28559 (sysdeps-add-ons): Likewise.
28560 * manual/Makefile (add-chapters): Remove.
28561 ($(objpfx)texis): Do not depend on $(add-chapters).
28562 (nonexamples): Do not handle $(add-chapters).
28563 (examples): Do not handle $(add-ons).
28564 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
28566 * manual/install.texi (Installation): Do not mention add-ons.
28567 (--enable-add-ons): Do not document configure option.
28568 * INSTALL: Regenerated.
28569 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
28570 * manual/maint.texi (Hierarchy Conventions): Do not mention
28572 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
28574 * scripts/gen-sorted.awk: Do not handle Subdirs files from
28576 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
28577 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
28579 2017-10-05 Andreas Schwab <schwab@suse.de>
28582 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
28583 (_IO_flush_all_lockp): Always lock list_all_lock.
28584 (_IO_flush_all_linebuffered): Likewise.
28585 (_IO_unbuffer_all): Likewise.
28587 2017-10-05 Florian Weimer <fweimer@redhat.com>
28590 Do not flush stdio streams on abort.
28591 * stdlib/abort.c (fflush): Remove macro definition.
28592 (abort): Remove stages related to stdio flushing.
28594 2017-10-05 Florian Weimer <fweimer@redhat.com>
28596 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28598 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28600 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28602 2017-10-05 Florian Weimer <fweimer@redhat.com>
28604 * support/support_format_hostent.c (support_format_hostent): Add
28605 more error information for NETDB_INTERNAL.
28607 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28609 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28610 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28611 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28612 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28613 AC_DEFINE if multi-arch is enabled.
28614 * sysdeps/i386/configure: Regenerated.
28616 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28618 * Makeconfig (+link-static-before-libc): Use
28619 $(DEFAULT-LDFLAGS-$(@F)).
28620 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28621 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28622 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28624 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28626 * elf/Makefile (tests): Add tst-main1.
28627 (modules-names): Add tst-main1mod.
28628 ($(objpfx)tst-main1): New.
28629 (CRT-tst-main1): Likewise.
28630 (LDFLAGS-tst-main1): Likewise.
28631 (LDLIBS-tst-main1): Likewise.
28632 (tst-main1mod.so-no-z-defs): Likewise.
28633 * elf/tst-main1.c: New file.
28634 * elf/tst-main1mod.c: Likewise.
28636 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28638 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28640 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28642 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28643 (fma): Define using libm_alias_double.
28644 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28645 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
28647 (fmal): Do not define as compat symbol here.
28648 * sysdeps/alpha/fpu/s_fma.c: New file.
28650 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28652 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
28654 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28657 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
28659 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28661 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
28662 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28663 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
28664 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
28665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28666 Include <math_ldbl_opt.h>
28667 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28669 (compat_symbol): Undefine and redefine.
28670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
28672 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28673 (compat_symbol): Undefine and redefine.
28674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
28675 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
28676 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
28677 GLIBC_2_1 for libm.
28678 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
28679 GLIBC_2.0 copysignl symbol.
28680 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28681 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
28683 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
28685 2017-10-04 Florian Weimer <fweimer@redhat.com>
28687 * scripts/check-local-headers.sh: Ignore nspr4 header file
28688 directory in addition to nspr.
28690 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
28693 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
28694 * configure: Regenerate.
28695 * crypt/Makefile (nss-cpp-flags): New variable.
28696 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
28697 (CPPFLAGS-md5-crypt.c): Use it.
28698 * scripts/check-local-headers.sh: Ignore nspr header file
28701 2017-10-04 Andreas Schwab <schwab@suse.de>
28703 * nis/Makefile (services): Remove compat.
28704 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
28705 ($(objpfx)libnss_compat.so): Remove rule.
28706 * nis/Versions (libnss_compat): Remove.
28707 * nss/Makefile (services): Add compat.
28708 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
28709 * nss/Versions (libnss_compat): Define.
28710 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
28711 Don't include <rpc/types.h>. Replace bool_t by bool.
28712 * nss/nss_compat/compat-initgroups.c: Likewise.
28713 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
28714 instead of <rpcsrv/ypclnt.h>.
28715 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
28716 yp_get_default_domain.
28717 * nss/nss_compat/compat-pwd.c: Likewise.
28718 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
28719 yp_get_default_domain.
28720 * nss/nss_compat/nisdomain.c: New file.
28721 * nss/nss_compat/nisdomain.h: Likewise.
28723 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28726 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
28727 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28729 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28732 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
28733 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
28735 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28737 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
28738 "movl main@GOTOFF(%ebx), %eax".
28740 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28742 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
28743 allow undefined _DYNAMIC in PIE libc.a.
28744 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28747 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28749 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28752 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28754 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28757 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28759 * math/test-math-iscanonical.cc (error): Replace bool with int.
28761 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28763 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28764 (modf): Define using libm_alias_double, only if [!__modf].
28765 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28766 <libm-alias-double.h>.
28767 (modf): Define using libm_alias_double, only if [!__modf].
28768 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28769 compat symbol here.
28770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28771 (weak_alias): Do not undefine and redefine.
28772 (strong_alias): Likewise.
28773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28774 (weak_alias): Likewise.
28775 (strong_alias): Likewise.
28777 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28778 (logb): Define using libm_alias_double, only if [!__logb].
28779 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28780 <libm-alias-double.h>.
28781 (logb): Define using libm_alias_double, only if [!__logb].
28782 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28784 (weak_alias): Do not undefine and redefine.
28785 (strong_alias): Likewise.
28786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28787 (weak_alias): Likewise.
28788 (strong_alias): Likewise.
28790 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28792 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28793 Check SHARED instead PIC.
28795 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28797 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28798 [!__fmaf] (fmaf): Define using libm_alias_float.
28800 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28801 (frexp): Define using libm_alias_double.
28802 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28803 <libm-alias-double.h>.
28804 (frexp): Define using libm_alias_double.
28805 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28806 compat symbol here.
28808 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28811 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28812 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28813 (CFLAGS-test-math-iscanonical.cc): New variable.
28814 * math/test-math-iscanonical.cc: New file.
28815 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28816 Provide a C++ implementation based on function overloading,
28817 rather than using __MATH_TG, which uses C-only builtins.
28818 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28820 * sysdeps/powerpc/powerpc64le/Makefile
28821 (CFLAGS-test-math-iscanonical.cc): New variable.
28823 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28825 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28826 (ceil): Define using libm_alias_double.
28827 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28828 (floor): Define using libm_alias_double.
28829 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28830 <libm-alias-double.h>.
28831 (llround): Define using libm_alias_double.
28832 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28833 <libm-alias-double.h>.
28834 (lround): Define using libm_alias_double.
28835 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28836 <libm-alias-double.h>.
28837 (nearbyint): Define using libm_alias_double.
28838 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28839 <libm-alias-double.h>.
28840 (remquo): Define using libm_alias_double.
28841 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28842 (rint): Define using libm_alias_double.
28843 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28844 (round): Define using libm_alias_double.
28845 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28846 (trunc): Define using libm_alias_double.
28847 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28848 <libm-alias-double.h>.
28849 (ceil): Define using libm_alias_double.
28850 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28851 <libm-alias-double.h>.
28852 (floor): Define using libm_alias_double.
28853 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28854 <libm-alias-double.h>.
28855 (llround): Define using libm_alias_double.
28856 [_LP64] (lround): Likewise.
28857 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28858 <libm-alias-double.h>.
28859 [!_LP64] (lround): Define using libm_alias_double.
28860 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28861 <libm-alias-double.h>.
28862 (nearbyint): Define using libm_alias_double.
28863 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28864 <libm-alias-double.h>.
28865 (remquo): Define using libm_alias_double.
28866 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28867 <libm-alias-double.h>.
28868 (rint): Define using libm_alias_double.
28869 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28870 <libm-alias-double.h>.
28871 (round): Define using libm_alias_double.
28872 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28873 <libm-alias-double.h>.
28874 (trunc): Define using libm_alias_double.
28875 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28876 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28877 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28878 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28879 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28880 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28881 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28882 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28883 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28885 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28887 * math/w_remainder.c: New file.
28888 * math/w_remainderf.c: New file.
28889 * math/w_remainderl.c: New file.
28891 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28893 * elf/rtld.c (BOOTSTRAP_MAP): New.
28894 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28895 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28897 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28899 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28902 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28904 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28905 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28906 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28907 rtld_hidden_data_ver): Define to empty.
28908 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28909 __assert_perror_fail): Likewise.
28910 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28911 (__rewinddir): Likewise.
28912 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28913 (__profile_frequency): Likewise.
28914 * include/setjmp.h (__sigsetjmp): Likewise.
28915 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28916 __libc_sigaction): Likewise.
28917 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28918 not set hidden attribute.
28919 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28920 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28921 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28922 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28923 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28924 __fxstatat64): Likewise.
28925 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28926 (__uname): Likewise.
28927 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28928 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28929 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28930 (NO_RTLD_HIDDEN): Set.
28931 * sysdeps/mach/hurd/configure: Refresh.
28932 * config.h.in: Refresh.
28934 2017-10-02 Joseph Myers <joseph@codesourcery.com>
28936 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28937 (atan): Define using libm_alias_double.
28938 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28939 (tan): Define using libm_alias_double.
28940 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28941 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28943 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28944 define as weak alias of __atan. Do not define any aliases if
28946 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28947 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28948 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28949 as weak alias of __tan. Do not define any aliases if [__tan].
28950 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28951 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28952 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28954 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28955 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28956 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28957 and define as weak alias of __atan.
28958 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28960 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28961 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28962 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28963 define as weak alias of __tan.
28965 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28967 * math/w_lgamma.c: New file.
28968 * math/w_lgammaf.c: New file.
28969 * math/w_lgammal.c: New file.
28971 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28973 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28974 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28975 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28976 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28977 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28978 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28979 * sysdeps/i386/fpu/w_log2f.c: New file.
28980 * sysdeps/i386/fpu/w_logf.c: New file.
28981 * sysdeps/i386/fpu/w_powf.c: New file.
28982 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28983 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28984 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28986 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28987 H.J. Lu <hongjiu.lu@intel.com>
28989 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28990 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28991 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28992 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28993 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28995 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28996 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28997 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28998 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28999 * sysdeps/i386/fpu/w_exp2f.c: New file.
29000 * sysdeps/i386/fpu/w_expf.c: New file.
29001 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
29002 * sysdeps/x86_64/fpu/w_expf.c: New file.
29004 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29006 * math/Versions (logf): New libm symbol at GLIBC_2.27.
29009 * math/w_log2f.c: New file.
29010 * math/w_logf.c: New file.
29011 * math/w_powf.c: New file.
29012 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
29013 * math/w_logf_compat.c (__logf_compat): Likewise.
29014 * math/w_powf_compat.c (__powf_compat): Likewise.
29015 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
29016 * sysdeps/ia64/fpu/e_logf.S: Likewise.
29017 * sysdeps/ia64/fpu/e_powf.S: Likewise.
29018 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29019 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29020 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29021 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29022 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29023 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29024 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29025 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29026 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29027 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29028 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29029 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29038 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29039 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29040 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29041 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29042 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29047 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29048 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29049 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29051 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29053 * sysdeps/powerpc/powerpc64/multiarch/Makefile
29054 (sysdep_routines): Add memrchr_power8.
29055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29056 (memrchr): Add __memrchr_power8 to list of memrchr functions.
29057 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
29059 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29060 (memrchr): Add __memrchr_power8 to ifunc list.
29061 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
29063 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29066 * sysdeps/unix/sysv/linux/posix_fadvise64.c
29067 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
29069 * sysdeps/unix/sysv/linux/posix_fallocate64.c
29070 (__posix_fallocate64_l64): Likewise.
29072 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29075 * sysdeps/unix/sysv/linux/sched_setaffinity.c
29076 (__sched_setaffinity_new): Add libc_hidden_proto and
29079 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29082 * include/glob.h (__glob64): Add libc_hidden_proto.
29083 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
29086 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29089 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
29092 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29095 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
29097 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29100 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
29103 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29106 * csu/version.c (__libc_print_version): Add attribute_hidden.
29108 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29111 * include/libc-internal.h (__init_misc): Add attribute_hidden.
29113 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29116 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
29118 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29121 * nscd/nscd_helper.c (__nis_hash): New prototype.
29123 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29126 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
29127 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
29129 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29130 * termios/tcgetattr.c (__tcgetattr): Likewise.
29132 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29135 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
29136 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
29137 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
29138 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
29139 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
29141 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29144 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
29146 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29149 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
29150 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
29152 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29155 * intl/hash-string.h (__hash_string): Add attribute_hidden.
29157 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29160 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
29161 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
29163 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29166 * include/ifreq.h: New file.
29167 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
29168 (__ifreq): Likewise.
29169 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
29170 (__ifreq): Likewise.
29172 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29175 * include/idna.h: New file.
29176 * inet/getnameinfo.c: Include <idna.h> instead of
29178 (__idna_to_unicode_lzlz): Removed.
29179 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
29181 (__idna_to_ascii_lz): Removed.
29182 (__idna_to_unicode_lzlz): Likewise.
29184 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29187 * include/plural-exp.h: New file.
29188 * intl/plural-exp.c: Include <plural-exp.h> instead of
29191 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29194 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
29195 "getsourcefilter.h".
29196 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
29197 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
29198 "getsourcefilter.h".
29199 (__get_sol): Removed.
29201 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29204 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
29206 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
29208 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29211 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
29214 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29217 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
29219 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29222 * include/search.h (__tdestroy): Add libc_hidden_proto.
29223 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
29225 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29228 * include/assert.h (__assert_fail_base): Add attribute_hidden.
29230 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29233 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
29236 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29239 * include/signal.h (__kill): Add libc_hidden_proto.
29240 (__sigblock): Likewise.
29241 (__sigprocmask): Likewise.
29242 (__sigaltstack): Likewise.
29243 * signal/kill.c (__kill): Add libc_hidden_def.
29244 * signal/sigblock.c (__sigblock): Likewise.
29245 * signal/sigprocmask.c (__sigprocmask): Likewise.
29246 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
29247 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
29248 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
29249 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
29250 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
29252 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
29254 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
29255 (__sigprocmask): Likewise.
29256 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
29258 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
29259 (__sigprocmask): Likewise.
29260 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
29263 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29266 * include/string.h (__strsep): Add libc_hidden_proto.
29267 * string/strsep.c (__strsep): Add libc_hidden_def.
29269 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29272 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
29274 (__spawni): Likewise.
29276 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29279 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
29280 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
29283 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29286 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
29288 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29291 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
29292 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
29293 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
29294 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
29295 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
29297 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
29298 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
29300 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29303 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
29304 (__dcigettext): Likewise.
29306 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29309 * include/sys/sysinfo.h (__get_nprocs_conf): Add
29311 (__get_nprocs): Likewise.
29312 (__get_phys_pages): Likewise.
29313 (__get_avphys_pages): Likewise.
29314 (__get_child_max): Add attribute_hidden.
29315 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
29316 (__get_nprocs): Likewise.
29317 (__get_phys_pages): Likewise.
29318 (__get_avphys_pages): Likewise.
29319 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
29321 (__get_nprocs): Likewise.
29322 (__get_phys_pages): Likewise.
29323 (__get_avphys_pages): Likewise.
29324 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
29326 (__get_nprocs_conf): Likewise.
29327 (__get_phys_pages): Likewise.
29328 (__get_avphys_pages): Likewise.
29330 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29333 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
29335 (__netlink_close): Likewise.
29336 (__netlink_free_handle): Likewise.
29337 (__netlink_request): Likewise.
29339 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29342 * include/rpc/rpc.h (__rpc_thread_variables): Add
29344 (__rpc_thread_svc_cleanup): Likewise.
29345 (__rpc_thread_clnt_cleanup): Likewise.
29346 (__rpc_thread_key_cleanup): Likewise.
29348 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29351 * include/sys/uio.h (__readv): Add libc_hidden_proto.
29352 (__writev): Likewise.
29353 * misc/readv.c (__readv): Add libc_hidden_def.
29354 * misc/writev.c (__writev): Likewise.
29355 * sysdeps/posix/readv.c (__readv): Likewise.
29356 * sysdeps/posix/writev.c (__writev): Likewise.
29357 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
29358 (__readv): Likewise.
29359 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
29360 (__writev): Likewise.
29362 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29365 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
29366 (__regcomp): Add libc_hidden_proto.
29367 (__regexec): Likewise.
29368 (__regfree): Likewise.
29369 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
29370 (__regfree): Likewise.
29371 * posix/regexec.c (__regexec): Likewise.
29373 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29376 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
29377 (__getutent): Likewise.
29378 (__getutid): Likewise.
29379 (__getutline): Likewise.
29380 (__pututline): Likewise.
29381 (__getutent_r): Likewise.
29382 (__getutid_r): Likewise.
29383 (__getutline_r): Likewise.
29384 (__utmpname): Add attribute_hidden.
29385 (__setutent): Likewise.
29386 (__endutent): Likewise.
29387 * login/getutent.c (__getutent): Add libc_hidden_def.
29388 * login/getutent_r.c (__getutent_r): Likewise.
29389 (__pututline): Likewise.
29390 * login/getutid.c (__getutid): Likewise.
29391 * login/getutid_r.c (__getutid_r): Likewise.
29392 * login/getutline.c (__getutline): Likewise.
29393 * login/getutline_r.c (__getutline_r): Likewise.
29394 * login/updwtmp.c (__updwtmp): Likewise.
29396 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29399 * include/dirent.h (__opendir): Always add attribute_hidden.
29400 (__fdopendir): Likewise.
29401 (__closedir): Likewise.
29402 (__readdir): Likewise.
29403 (__readdir64): Add libc_hidden_proto.
29404 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
29405 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
29406 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
29407 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
29410 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29413 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
29414 * include/netdb.h (__gethostbyaddr_r): Likewise.
29415 (__gethostbyname_r): Likewise.
29416 (__gethostbyname2_r): Likewise.
29417 (__getnetbyaddr_r): Likewise.
29418 (__getnetbyname_r): Likewise.
29419 (__getservbyname_r): Likewise.
29420 (__getservbyport_r): Likewise.
29421 (__getprotobyname_r): Likewise.
29422 (__getprotobynumber_r): Likewise.
29423 (__getnetgrent_r): Likewise.
29424 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
29425 (__getrpcbynumber_r): Likewise.
29426 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
29428 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29431 * include/stdio.h (__fcloseall): Add attribute_hidden.
29432 (__getline): Likewise.
29433 (__path_search): Likewise.
29434 (__gen_tempname): Likewise.
29435 (__libc_message): Likewise.
29436 (__flockfile): Likewise.
29437 (__funlockfile): Likewise.
29438 (__fxprintf): Likewise.
29439 (__fxprintf_nocancel): Likewise.
29441 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29444 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
29445 (__sgetsgent_r): Likewise.
29447 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29450 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
29451 (__statfs64): Likewise.
29452 (__fstatfs64): Likewise.
29453 * include/sys/statvfs.h (__statvfs64): Likewise.
29454 (__fstatvfs64): Likewise.
29455 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
29456 (__statfs_filesize_max): Likewise.
29457 (__statfs_symlinks): Likewise.
29458 (__statfs_chown_restricted): Likewise.
29460 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29463 * include/time.h (__tzstring): Add attribute_hidden.
29464 (__tzfile_read): Likewise.
29465 (__tzfile_compute): Likewise.
29466 (__tzfile_default): Likewise.
29467 (__tzset_parse_tz): Likewise.
29468 (__offtime): Likewise.
29469 (__asctime_r): Likewise.
29470 (__tzset): Likewise.
29471 (__tz_convert): Likewise.
29472 (__getdate_r): Likewise.
29473 (__getclktck): Likewise.
29475 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29478 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
29479 (__nscd_unmap): Likewise.
29480 (__nscd_cache_search): Likewise.
29481 (__nscd_get_nl_timestamp): Likewise.
29482 (__nscd_getpwnam_r): Likewise.
29483 (__nscd_getpwuid_r): Likewise.
29484 (__nscd_getgrnam_r): Likewise.
29485 (__nscd_getgrgid_r): Likewise.
29486 (__nscd_gethostbyname_r): Likewise.
29487 (__nscd_gethostbyname2_r): Likewise.
29488 (__nscd_gethostbyaddr_r): Likewise.
29489 (__nscd_getai): Likewise.
29490 (__nscd_getgrouplist): Likewise.
29491 (__nscd_getservbyname_r): Likewise.
29492 (__nscd_getservbyport_r): Likewise.
29493 (__nscd_innetgr): Likewise.
29494 (__nscd_setnetgrent): Likewise.
29496 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29499 * include/gmp.h: Declare internal functions only if _ISOMAC is
29501 (__mpn_extract_double): Add attribute_hidden.
29502 (__mpn_extract_long_double): Likewise.
29503 (__mpn_extract_float128): Likewise.
29504 (__mpn_construct_float): Likewise.
29505 (__mpn_construct_double): Likewise.
29506 (__mpn_construct_long_double): Likewise.
29507 (__mpn_construct_float128): Likewise.
29508 (mpn_add_1): Likewise.
29509 (mpn_addmul_1): Likewise.
29510 (mpn_add_n): Likewise.
29511 (mpn_cmp): Likewise.
29512 (mpn_divrem): Likewise.
29513 (mpn_lshift): Likewise.
29514 (mpn_mul): Likewise.
29515 (mpn_mul_1): Likewise.
29516 (mpn_rshift): Likewise.
29517 (mpn_sub_1): Likewise.
29518 (mpn_submul_1): Likewise.
29519 (mpn_sub_n): Likewise.
29521 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29524 * include/wchar.h (__wcsnlen): Add attribute_hidden.
29525 (__wcscat): Likewise.
29526 (__btowc): Likewise.
29527 (__wcrtomb): Likewise.
29528 (__mbsrtowcs): Likewise.
29529 (__wcsrtombs): Likewise.
29530 (__mbsnrtowcs): Likewise.
29531 (__wcsnrtombs): Likewise.
29532 (__wcsncpy): Likewise.
29533 (__wcpncpy): Likewise.
29534 (__wmemcpy): Likewise.
29535 (__wmempcpy): Likewise.
29536 (__wmemmove): Likewise.
29537 (__wcschrnul): Likewise.
29538 (__vfwscanf): Likewise.
29539 (__vswprintf): Likewise.
29540 (__fwprintf): Likewise.
29541 (__vfwprintf): Likewise.
29543 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29546 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
29547 (__getgrgid_r): Likewise.
29548 (__getgrnam_r): Likewise.
29549 * include/pwd.h (__getpwuid_r): Likewise.
29550 (__getpwnam_r): Likewise.
29551 (__fgetpwent_r): Likewise.
29552 * include/shadow.h (__getspnam_r): Likewise.
29553 (__sgetspent_r): Likewise.
29554 (__fgetspent_r): Likewise.
29556 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29559 * include/unistd.h (__access): Add attribute_hidden.
29560 (__lseek64): Likewise.
29561 (__libc_pread64): Likewise.
29562 (__pipe2): Likewise.
29563 (__sleep): Likewise.
29564 (__chdir): Likewise.
29565 (__fchdir): Likewise.
29566 (__getcwd): Likewise.
29567 (__rmdir): Likewise.
29568 (__execvpe): Likewise.
29569 (__execve): Likewise.
29570 (__setsid): Likewise.
29571 (__getuid): Likewise.
29572 (__geteuid): Likewise.
29573 (__getgid): Likewise.
29574 (__getegid): Likewise.
29575 (__getgroups): Likewise.
29576 (__group_member): Likewise.
29577 (__ttyname_r): Likewise.
29578 (__isatty): Likewise.
29579 (__readlink): Likewise.
29580 (__unlink): Likewise.
29581 (__gethostname): Likewise.
29582 (__profil): Likewise.
29583 (__getdtablesize): Likewise.
29585 (__ftruncate): Likewise.
29586 (__ftruncate64): Likewise.
29588 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29591 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29592 * argp/argp-fs-xinl.c: Likewise.
29593 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29594 * argp/argp-parse.c: Include <argp.h>.
29595 * argp/argp-xinl.c: Likewise.
29596 * include/argp-fmtstream.h: New file.
29597 * include/argp.h (__argp_error): Add attribute_hidden.
29598 (__argp_failure): Likewise.
29599 (__argp_input): Likewise.
29600 (__argp_state_help): Likewise.
29602 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29605 * include/wchar.h (____wcstof_l_internal): New prototype.
29606 (____wcstod_l_internal): Likewise.
29607 (____wcstold_l_internal): Likewise.
29608 (____wcstol_l_internal): Likewise.
29609 (____wcstoul_l_internal): Likewise.
29610 (____wcstoll_l_internal): Likewise.
29611 (____wcstoull_l_internal): Likewise.
29612 (____wcstof128_l_internal): Likewise.
29613 * sysdeps/ieee754/float128/wcstof128.c
29614 (____wcstof128_l_internal): Removed.
29615 * sysdeps/ieee754/float128/wcstof128_l.c
29616 (____wcstof128_l_internal): Likewise.
29617 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29618 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29619 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29620 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29621 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29622 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29623 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29624 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29625 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29626 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29628 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29631 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29632 instead of <sys/statvfs.h>.
29633 (__internal_statvfs): Removed.
29634 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29635 instead of <sys/statvfs.h>.
29636 (__internal_statvfs64): Removed.
29637 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29638 "internal_statvfs.h" instead of <sys/statvfs.h>.
29639 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29640 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29641 instead of <sys/statvfs.h>.
29642 (__internal_statvfs): Removed.
29643 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29644 instead of <sys/statvfs.h>.
29645 (__internal_statvfs64): Removed.
29647 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29650 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
29651 (__gconv_close): Likewise.
29652 (__gconv): Likewise.
29653 (__gconv_find_transform): Likewise.
29654 (__gconv_lookup_cache): Likewise.
29655 (__gconv_compare_alias_cache): Likewise.
29656 (__gconv_load_cache): Likewise.
29657 (__gconv_get_path): Likewise.
29658 (__gconv_close_transform): Likewise.
29659 (__gconv_release_cache): Likewise.
29660 (__gconv_find_shlib): Likewise.
29661 (__gconv_release_shlib): Likewise.
29662 (__gconv_get_builtin_trans): Likewise.
29663 (__gconv_compare_alias): Likewise.
29664 * include/dlfcn.h (_dlerror_run): Likewise.
29665 * include/stdio.h (__fortify_fail_abort): Likewise.
29666 * include/time.h (__tz_compute): Likewise.
29667 (__strptime_internal): Likewise.
29668 * intl/gettextP.h (_nl_find_domain): Likewise.
29669 (_nl_load_domain): Likewise.
29670 (_nl_find_msg): Likewise.
29671 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
29672 (EXTRACT_PLURAL_EXPRESSION): Likewise.
29673 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
29674 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
29675 (__gai_find_request): Likewise.
29676 (__gai_remove_request): Likewise.
29677 (__gai_notify): Likewise.
29678 (__gai_notify_only): Likewise.
29679 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29680 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29681 (_dl_non_dynamic_init): Likewise.
29682 (_dl_aux_init): Likewise.
29683 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
29684 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29686 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
29687 (__wcsmbs_clone_conv): Likewise.
29688 (__wcsmbs_named_conv): Likewise.
29690 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29693 * include/stdlib.h (__random): Add attribute_hidden.
29694 (__random_r): Likewise.
29695 (__srandom_r): Likewise.
29696 (__initstate_r): Likewise.
29697 (__setstate_r): Likewise.
29698 (__erand48_r): Likewise.
29699 (__nrand48_r): Likewise.
29700 (__jrand48_r): Likewise.
29701 (__srand48_r): Likewise.
29702 (__seed48_r): Likewise.
29703 (__lcong48_r): Likewise.
29704 (__drand48_iterate): Likewise.
29705 (__setenv): Likewise.
29706 (__unsetenv): Likewise.
29707 (__clearenv): Likewise.
29708 (__ptsname_r): Likewise.
29709 (__posix_openpt): Likewise.
29710 (__add_to_environ): Likewise.
29711 (__realpath): Add libc_hidden_proto.
29712 (__ecvt_r): Likewise.
29713 (__fcvt_r): Likewise.
29714 (__qecvt_r): Likewise.
29715 (__qfcvt_r): Likewise.
29716 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
29717 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
29719 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29722 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
29723 * include/time.h (__mktime_internal): Likewise.
29724 * libio/iolibio.h (__fopen_internal): Likewise.
29726 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
29728 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
29730 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
29731 Correct offset used to restore PIC register.
29733 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
29736 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
29737 code to load address of __getcontext_ret when generating PIC code.
29739 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
29741 * elf/Makefile (tests-static-internal): Add
29742 tst-tls1-static-non-pie.
29743 (LDFLAGS-tst-tls1-static-non-pie): New.
29744 * elf/tst-tls1-static-non-pie.c: New file.
29746 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29748 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29749 (asinh): Define using libm_alias_double.
29750 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29751 (cbrt): Define using libm_alias_double.
29752 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29753 <libm-alias-double.h>.
29754 (copysign): Define using libm_alias_double.
29755 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29756 (erf): Define using libm_alias_double.
29758 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29759 (expm1): Define using libm_alias_double.
29760 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29761 (fabs): Define using libm_alias_double.
29762 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29764 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29765 <libm-alias-double.h>.
29766 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29768 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29769 <libm-alias-double.h>.
29770 (getpayload): Define using libm_alias_double.
29771 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29772 <libm-alias-double.h>.
29773 (llrint): Define using libm_alias_double.
29774 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29775 (lrint): Define using libm_alias_double.
29776 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29777 <libm-alias-double.h>.
29778 (nextup): Define using libm_alias_double.
29779 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29780 <libm-alias-double.h>.
29781 (roundeven): Define using libm_alias_double.
29782 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29784 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29785 <libm-alias-double.h>.
29786 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29787 using libm_alias_double.
29788 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29789 (cos): Define using libm_alias_double.
29791 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29792 <libm-alias-double.h>.
29793 (sincos): Define using libm_alias_double.
29794 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29795 (tanh): Define using libm_alias_double.
29796 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29797 <libm-alias-double.h>.
29798 (totalorder): Define using libm_alias_double.
29799 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29800 <libm-alias-double.h>.
29801 (totalordermag): Define using libm_alias_double.
29802 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29804 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29806 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29807 <libm-alias-double.h>.
29808 (getpayload): Define using libm_alias_double.
29809 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29810 <libm-alias-double.h>.
29811 (roundeven): Define using libm_alias_double.
29812 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29813 <libm-alias-double.h>.
29814 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29815 <libm-alias-double.h>.
29816 (totalorder): Define using libm_alias_double.
29817 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29818 <libm-alias-double.h>.
29819 (totalordermag): Define using libm_alias_double.
29820 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29821 libc compat symbol here.
29822 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29823 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29824 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29825 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29826 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29827 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29828 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29829 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29830 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29831 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29833 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29835 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29836 _dl_relocate_static_pie instead of _dl_start to compute load
29837 address in static PIE. Return 0 if _DYNAMIC is undefined for
29840 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29842 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29843 _DYNAMIC is undefined for static executable.
29845 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29847 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29849 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29853 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29855 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29856 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29857 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29858 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29859 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29860 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29861 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29862 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29863 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29864 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29865 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29866 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29867 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29868 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29869 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29870 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29871 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29873 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29875 * math/bits/cmathcalls.h (cimag): Remove inline.
29876 (creal): Remove inline.
29877 (conj): Remove inline.
29879 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29881 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29882 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29883 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29884 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29885 (issignalingf_inline): Likewise.
29886 (POWF_LOG2_TABLE_BITS): Likewise.
29887 (POWF_LOG2_POLY_ORDER): Likewise.
29888 (POWF_SCALE_BITS): Likewise.
29889 (POWF_SCALE): Likewise.
29890 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29891 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29892 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29894 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29896 * math/Makefile (type-float-routines): Add e_log2f_data.
29897 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29898 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29899 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29900 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29901 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29902 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29903 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29905 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29907 * math/Makefile (type-float-routines): Add e_logf_data.
29908 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29909 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29910 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29911 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29912 * sysdeps/i386/fpu/e_logf_data.c: New file.
29913 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29914 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29916 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29918 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29919 undefined _DYNAMIC in PIE libc.a.
29920 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29923 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29925 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29926 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29927 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29928 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29929 (__signbit): Remove.
29930 (__signbitl): Remove.
29931 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29932 (__signbit): Remove.
29933 (__signbitl): Remove.
29934 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29935 (__signbit): Remove.
29936 (__signbitl): Remove.
29937 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29938 (__signbit): Remove.
29939 (__signbitl): Remove.
29940 * sysdeps/tile/bits/mathinline.h: Delete file.
29941 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29942 (__signbit): Remove.
29943 (__signbitl): Remove.
29945 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29947 * math/math.h: Improve handling of C99 isgreater macros.
29948 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29949 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29950 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29951 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29952 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29954 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29956 * sysdeps/aarch64/libm-test-ulps: Update.
29958 2017-09-28 Joseph Myers <joseph@codesourcery.com>
29961 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29962 math_opt_barrier on argument when doing arithmetic on it.
29963 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29964 Likewise. Use math_force_eval not math_opt_barrier after
29966 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29967 math_opt_barrier on argument when doing arithmetic on it.
29968 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29971 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29973 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29975 (__freeifaddrs): Likewise.
29977 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29979 * include/dirent.h (__dirfd): New declaration.
29980 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29982 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29983 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29984 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
29985 * include/unistd.h (__revoke): New declaration.
29986 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29988 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29989 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29991 * include/dirent.h (__seekdir): New declaration.
29992 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29993 redefine as weak alias.
29994 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29996 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29997 and use libc_hidden_def on them.
29998 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
30000 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
30001 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
30002 instead of getifaddrs and freeifaddrs.
30004 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30007 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
30008 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
30009 (__dso_handle): Remove declaration.
30010 * dlfcn/tstatexit.c (__dso_handle): Removed.
30011 (main): Don't check __dso_handle.
30012 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
30013 (main): Don't check __dso_handle.
30014 * include/dso_handle.h: New file.
30015 * malloc/mtrace.c: Include <dso_handle.h>.
30016 (mtrace): Pass __dso_handle directly.
30017 * nptl/pthread_atfork.c: Include <dso_handle.h>.
30018 (__dso_handle): Remove declaration.
30019 (__pthread_atfork): Pass __dso_handle directly.
30020 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
30021 (__dso_handle): Removed.
30022 * posix/wordexp-test.c: Include <dso_handle.h>.
30023 (__dso_handle): Remove declaration.
30024 (__app_register_atfork): Pass __dso_handle directly.
30025 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
30026 (__dso_handle): Remove declaration.
30027 (at_quick_exit): Pass __dso_handle directly.
30028 * stdlib/atexit.c: Include <dso_handle.h>.
30029 (__dso_handle): Remove declaration.
30030 (atexit): Pass __dso_handle directly.
30031 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
30032 (__dso_handle): Removed.
30034 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30036 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
30039 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
30041 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
30042 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
30043 values to correct default value for given type.
30045 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30048 * elf/Makefile (tests): Add tst-debug1.
30049 ($(objpfx)tst-debug1): New.
30050 ($(objpfx)tst-debug1.out): Likewise.
30051 ($(objpfx)tst-debug1mod1.so): Likewise.
30052 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
30053 with p_filesz == 0.
30054 * elf/tst-debug1.c: New file.
30056 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30058 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
30059 Define using __ifunc.
30061 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30063 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
30066 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30069 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
30071 2017-09-26 Florian Weimer <fweimer@redhat.com>
30073 * resolv/Makefile (tests-internal): Fix typo in comment.
30075 2017-09-26 Florian Weimer <fweimer@redhat.com>
30077 * resolv/nss_dns/dns-host.c: Fix typo in comment.
30079 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30081 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
30082 Use an union instead of a max_align_t array for __space,
30083 so that __space is the same size on all platforms.
30084 * malloc/scratch_buffer_grow_preserve.c
30085 (__libc_scratch_buffer_grow_preserve): Likewise.
30088 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
30090 * posix/Makefile (routines): Add glob-lstat-compat and
30091 glob64-lstat-compat.
30092 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
30093 * posix/glob-lstat-compat.c: New file.
30094 * posix/glob64-lstat-compat.c: Likewise.
30095 * posix/tst-glob_lstat_compat.c: Likewise.
30096 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
30097 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
30098 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
30099 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
30101 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
30102 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30103 * posix/glob.c (glob_lstat): New function.
30104 (glob): Rename to __glob and add versioned symbol to 2.27.
30105 (glob_in_dir): Use glob_lstat.
30106 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
30107 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
30108 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
30110 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
30111 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
30112 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
30113 gl_lstat on glob call.
30114 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
30115 and glob64 symbols.
30116 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30117 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
30118 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
30119 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
30120 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
30121 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
30122 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
30123 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
30124 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
30125 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30126 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30127 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
30128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
30130 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
30131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
30132 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30133 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30134 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
30135 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30136 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
30138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
30139 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
30140 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
30141 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
30143 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
30145 * configure.ac (AS): Require binutils 2.25 or later.
30146 * configure: Regenerated.
30148 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30151 * stdlib/test-atexit-race-common.c (do_test): Minimize required
30154 2017-09-25 DJ Delorie <dj@redhat.com>
30157 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
30160 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
30162 * sysdeps/ieee754/dbl-64/sincos32.h
30163 [SINCCOS32_H]: Remove define.
30164 [SINCOS32_H]: Define.
30166 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30168 * math/Versions (expf): New libm symbol at GLIBC_2.27.
30170 * math/w_exp2f.c: New file.
30171 * math/w_expf.c: New file.
30172 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
30173 * math/w_expf_compat.c (__expf_compat): Likewise.
30174 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
30175 * sysdeps/ia64/fpu/e_expf.S: Likewise.
30176 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30177 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30178 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30179 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30180 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30181 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30182 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30183 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30184 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30185 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30186 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30187 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30196 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30197 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30198 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30199 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30200 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
30203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
30205 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
30206 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
30207 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
30209 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30211 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
30212 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
30213 (roundtoint, converttoint): Likewise.
30214 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
30215 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
30216 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
30217 * sysdeps/ieee754/flt-32/math_config.h: New file.
30218 * sysdeps/ieee754/flt-32/math_errf.c: New file.
30219 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
30220 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
30221 * sysdeps/i386/fpu/math_errf.c: New file.
30222 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
30223 * sysdeps/ia64/fpu/math_errf.c: New file.
30224 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
30225 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
30227 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
30229 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
30230 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
30231 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
30232 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
30233 to make sure that these symbols are defined.
30234 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
30236 (__need_NULL): Do not define.
30237 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
30239 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
30240 CMGROUP_MAX, cmsgcred): Do not define.
30241 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
30243 * bits/socket.h: Likewise.
30244 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
30245 __gettimeofday instead of gettimeofday.
30246 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
30247 instead of settimeofday.
30249 2017-09-22 Joseph Myers <joseph@codesourcery.com>
30251 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
30252 (asinhf): Define using libm_alias_float.
30253 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
30254 (atanf): Define using libm_alias_float.
30255 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
30256 (cbrtf): Define using libm_alias_float.
30257 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
30258 (ceilf): Define using libm_alias_float.
30259 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
30260 <libm-alias-float.h>.
30261 (copysignf): Define using libm_alias_float.
30262 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
30263 (cosf): Define using libm_alias_float.
30264 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
30265 (erff): Define using libm_alias_float.
30267 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
30268 (expm1f): Define using libm_alias_float.
30269 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
30270 (fabsf): Define using libm_alias_float.
30271 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
30272 (floorf): Define using libm_alias_float.
30273 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
30274 (frexpf): Define using libm_alias_float.
30275 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
30277 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
30278 <libm-alias-float.h>.
30279 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
30281 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
30282 <libm-alias-float.h>.
30283 (getpayloadf): Define using libm_alias_float.
30284 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
30285 <libm-alias-float.h>.
30286 (llrintf): Define using libm_alias_float.
30287 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
30288 <libm-alias-float.h>.
30289 (llroundf): Define using libm_alias_float.
30290 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
30291 (logbf): Define using libm_alias_float.
30292 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
30293 (lrintf): Define using libm_alias_float.
30294 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
30295 (lroundf): Define using libm_alias_float.
30296 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
30297 (modff): Define using libm_alias_float.
30298 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
30299 <libm-alias-float.h>.
30300 (nearbyintf): Define using libm_alias_float.
30301 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
30302 <libm-alias-float.h>.
30303 (nextafterf): Define using libm_alias_float.
30304 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
30305 <libm-alias-float.h>.
30306 (nextupf): Define using libm_alias_float.
30307 * sysdeps/ieee754/flt-32/s_remquof.c: Include
30308 <libm-alias-float.h>.
30309 (remquof): Define using libm_alias_float.
30310 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
30311 (rintf): Define using libm_alias_float.
30312 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
30313 <libm-alias-float.h>.
30314 (roundevenf): Define using libm_alias_float.
30315 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
30316 (roundf): Define using libm_alias_float.
30317 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
30318 using libm_alias_float.
30319 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
30320 <libm-alias-float.h>.
30321 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
30322 Define using libm_alias_float.
30323 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
30324 <libm-alias-float.h>.
30325 (sincosf): Define using libm_alias_float.
30326 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
30327 (sinf): Define using libm_alias_float.
30328 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
30329 (tanf): Define using libm_alias_float.
30330 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
30331 (tanhf): Define using libm_alias_float.
30332 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
30333 <libm-alias-float.h>.
30334 (totalorderf): Define using libm_alias_float.
30335 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
30336 <libm-alias-float.h>.
30337 (totalordermagf): Define using libm_alias_float.
30338 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
30339 (truncf): Define using libm_alias_float.
30340 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
30342 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
30345 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30348 math/math.h: Let fpclassify use the builtin in C++ mode, even
30349 when optimazing for size.
30351 2017-09-22 Joseph Myers <joseph@codesourcery.com>
30353 * csu/Makefile (generated): Do not add version-info.h.
30354 (before-compile): Likewise.
30355 (all-Banner-files): Remove variable.
30356 ($(objpfx)version-info.h): Remove rule.
30357 * csu/version.c (banner): Do not include "version-info.h".
30358 * libidn/Banner: Remove.
30359 * manual/contrib.texi (Simon Josefsson): New entry.
30361 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30363 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30364 Remove conditionals on LDBL_MANT_DIG.
30365 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30366 (__ieee754_lgammal_r): Likewise.
30368 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30370 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
30372 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
30373 _Float128 and L(). Replace _Float128 with long double and L(x)
30374 with xL, throughout the file.
30375 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30376 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30377 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30378 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30380 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30382 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
30383 sysdeps/ieee754/ldbl-128ibm.
30384 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
30385 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
30386 of including it. Keep _Float128 and L() intact. These will be
30387 reviewed by a separate patch.
30388 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30389 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30390 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30391 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30393 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
30396 (__finitef128): Define to __redirect___finitef128.
30397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
30398 (__isinff128): Define to __redirect___isinff128.
30399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
30400 (__isnanf128): Define to __redirect___isnanf128.
30402 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30404 * sysdeps/powerpc/powerpc64le/Makefile
30405 (CFLAGS-tst-strtod-nan-locale.c): New variable.
30406 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
30408 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
30409 Carlos O'Donell <carlos@redhat.com>
30412 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
30413 * stdlib/test-dlclose-exit-race.c: New file.
30414 * stdlib/test-dlclose-exit-race-helper.c: New file.
30415 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
30417 2017-09-21 Joseph Myers <joseph@codesourcery.com>
30419 * crypt/Banner: Remove file.
30420 * nptl/Banner: Likewise.
30421 * resolv/Banner: Likewise.
30422 * soft-fp/Banner: Likewise.
30423 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
30424 ($(objpfx)version.d): Remove dependency on banner.h.
30425 ($(objpfx)version.os): Likewise.
30426 * nptl/version.c (banner): Do not include banner.h.
30427 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
30428 Jelinek and BIND code.
30430 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30431 Carlos O'Donell <carlos@redhat.com>
30433 * support/xdlfcn.h: New file.
30434 * support/xdlfcn.c: New file.
30435 * support/Makefile (libsupport-routines): Add xdlfcn.
30436 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
30438 2017-09-20 Joseph Myers <joseph@codesourcery.com>
30441 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30442 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
30443 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
30444 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
30445 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
30446 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
30447 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
30448 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
30450 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30451 Ricky Zhou <rickyz@google.com>
30452 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
30455 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
30457 (__new_exitfn): Fail registration when we finished at_exit processing.
30458 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30459 * stdlib/on_exit.c (__on_exit): Likewise.
30460 * stdlib/exit.c (__exit_funcs_done): New variable.
30461 (__run_exit_handlers): Use __exit_funcs_lock.
30462 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
30464 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
30465 (test-cxa_atexit-race, test-on_exit-race): New tests.
30466 * stdlib/test-atexit-race-common.c: New file.
30467 * stdlib/test-atexit-race.c: New file.
30468 * stdlib/test-at_quick_exit-race.c: New file.
30469 * stdlib/test-cxa_atexit-race.c: New file.
30470 * stdlib/test-on_exit-race.c: New file.
30472 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
30474 * benchtests/Makefile: Add exp2f and log2f benchmarks.
30475 * benchtests/exp2f-inputs: Copy of expf-inputs.
30476 * benchtests/log2f-inputs: Copy of logf-inputs.
30478 2017-09-19 Joseph Myers <joseph@codesourcery.com>
30480 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
30481 Explicitly take address of first element of array arguments in
30482 call to INLINE_SYSCALL.
30484 2017-09-19 Andreas Schwab <schwab@suse.de>
30487 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
30489 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
30491 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
30492 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
30493 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30494 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
30495 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30496 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30497 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30498 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30499 * posix/Makefile (tests): Add tst-fexecve.
30500 * posix/tst-fexecve.c: New file.
30502 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30504 * benchtests/Makefile: Add logf benchmark.
30505 * benchtests/logf-inputs: Add reduced trace from wrf_r.
30507 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30509 * benchtests/Makefile: Add expf benchmark.
30510 * benchtests/expf-inputs: Add reduced trace from wrf_r.
30512 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30514 * csu/Makefile: Add -funwind-tables to libc-start.c.
30515 * debug/Makefile: Add -funwind-tables to backtrace.c.
30516 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
30517 * sysdeps/arm/Makefile: Likewise.
30518 * sysdeps/i386/Makefile: Likewise.
30519 * sysdeps/m68k/Makefile: Likewise.
30520 * sysdeps/mips/Makefile: Likewise.
30521 * sysdeps/nios2/Makefile: Likewise.
30522 * sysdeps/sh/Makefile: Likewise.
30523 * sysdeps/sparc/Makefile: Likewise.
30525 2017-09-19 Joseph Myers <joseph@codesourcery.com>
30527 * benchtests/Makefile (bench-math): Add trunc and truncf.
30528 (CFLAGS-bench-trunc.c): New variable.
30529 (CFLAGS-bench-truncf.c): Likewise.
30530 * benchtests/trunc-inputs: New file.
30531 * benchtests/truncf-inputs: Likewise.
30533 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30535 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
30537 2017-09-18 Joseph Myers <joseph@codesourcery.com>
30539 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
30540 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
30542 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30543 (exp10l): Define as weak alias.
30544 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
30545 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
30547 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
30548 (remainderl): Define as weak alias.
30550 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
30551 (fmal): Define using libm_alias_ldouble.
30552 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
30553 (acoshl): Define using libm_alias_ldouble.
30554 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
30555 (acosl): Define using libm_alias_ldouble.
30556 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
30557 (asinl): Define using libm_alias_ldouble.
30558 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
30559 (atan2l): Define using libm_alias_ldouble.
30560 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
30561 (atanhl): Define using libm_alias_ldouble.
30562 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
30563 (coshl): Define using libm_alias_ldouble.
30564 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
30565 (exp10l): Define using libm_alias_ldouble.
30566 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
30567 (exp2l): Define using libm_alias_ldouble.
30568 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
30569 (expl): Define using libm_alias_ldouble.
30570 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
30571 (fmodl): Define using libm_alias_ldouble.
30572 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
30573 (hypotl): Define using libm_alias_ldouble.
30574 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
30575 (j0l): Define using libm_alias_ldouble.
30577 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
30578 (j1l): Define using libm_alias_ldouble.
30580 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
30581 (jnl): Define using libm_alias_ldouble.
30583 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
30584 (log10l): Define using libm_alias_ldouble.
30585 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
30586 (log2l): Define using libm_alias_ldouble.
30587 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
30588 (logl): Define using libm_alias_ldouble.
30589 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
30590 (powl): Define using libm_alias_ldouble.
30591 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30592 (remainderl): Define using libm_alias_ldouble.
30593 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30594 (sinhl): Define using libm_alias_ldouble.
30595 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30596 (sqrtl): Define using libm_alias_ldouble.
30597 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30598 (tgammal): Define using libm_alias_ldouble.
30599 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30600 (exp10l): Do not use long_double_symbol here.
30601 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30602 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30603 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30604 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30605 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30606 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30607 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30608 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30609 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30610 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30611 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30612 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30613 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30614 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30615 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30616 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30617 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30618 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30619 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30620 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30621 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30622 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30624 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30626 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30627 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30629 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30631 * io/read.c (read): Add libc_hidden_weak.
30632 * sysdeps/mach/hurd/read.c (read): Likewise.
30633 * io/write.c (write): Likewise.
30634 * sysdeps/mach/hurd/write.c (write): Likewise.
30635 * io/pread64.c (__pread64): Likewise.
30636 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30637 * posix/pread64.c (__pread64): Add libc_hidden_def.
30639 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30641 * benchtests/scripts/compare_strings.py: New option -g.
30642 (draw_graph): Print a message that a graph is being generated.
30643 (process_results): Generate graph only if -g is passed.
30644 (main): Process option -g.
30646 * benchtests/scripts/compare_strings.py (process_results):
30647 Better spacing for output.
30649 * benchtests/scripts/compare_strings.py: Use argparse.
30650 * benchtests/README: Document existence of compare_strings.py.
30652 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30654 * math/s_fma.c: Include <libm-alias-double.h>.
30655 (fma): Define using libm_alias_double.
30656 * math/s_nextafter.c: Include <libm-alias-double.h>.
30657 (nextafter): Define using libm_alias_double.
30658 * math/w_acos_compat.c: Include <libm-alias-double.h>.
30659 (acos): Define using libm_alias_double.
30660 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
30661 (aocsh): Define using libm_alias_double.
30662 * math/w_asin_compat.c: Include <libm-alias-double.h>.
30663 (asin): Define using libm_alias_double.
30664 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
30665 (atan2): Define using libm_alias_double.
30666 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
30667 (atanh): Define using libm_alias_double.
30668 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
30669 (cosh): Define using libm_alias_double.
30670 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
30671 (exp10): Define using libm_alias_double.
30672 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
30673 (exp2): Define using libm_alias_double.
30674 * math/w_exp_compat.c: Include <libm-alias-double.h>.
30675 (exp): Define using libm_alias_double.
30676 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
30677 (fmod): Define using libm_alias_double.
30678 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
30679 (hypot): Define using libm_alias_double.
30680 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30681 (j0): Define using libm_alias_double.
30683 * math/w_j1_compat.c: Include <libm-alias-double.h>.
30684 (j1): Define using libm_alias_double.
30686 * math/w_jn_compat.c: Include <libm-alias-double.h>.
30687 (jn): Define using libm_alias_double.
30689 * math/w_log10_compat.c: Include <libm-alias-double.h>.
30690 (log10): Define using libm_alias_double.
30691 * math/w_log2_compat.c: Include <libm-alias-double.h>.
30692 (log2): Define using libm_alias_double.
30693 * math/w_log_compat.c: Include <libm-alias-double.h>.
30694 (log): Define using libm_alias_double.
30695 * math/w_pow_compat.c: Include <libm-alias-double.h>.
30696 (pow): Define using libm_alias_double.
30697 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
30698 (remainder): Define using libm_alias_double.
30699 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
30700 (sinh): Define using libm_alias_double.
30701 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
30702 (sqrt): Define using libm_alias_double.
30703 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
30704 (tgamma): Define using libm_alias_double.
30705 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
30706 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
30707 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
30708 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
30709 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
30710 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
30711 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
30712 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
30713 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
30714 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
30715 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
30716 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
30717 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
30718 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
30719 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
30720 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
30721 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
30722 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
30723 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
30724 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
30725 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
30726 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
30727 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
30728 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
30729 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
30731 * math/e_acoshl.c: Remove.
30732 * math/e_acosl.c: Likewise.
30733 * math/e_asinl.c: Likewise.
30734 * math/e_atan2l.c: Likewise.
30735 * math/e_atanhl.c: Likewise.
30736 * math/e_coshl.c: Likewise.
30737 * math/e_expl.c: Likewise.
30738 * math/e_fmodl.c: Likewise.
30739 * math/e_gammal_r.c: Likewise.
30740 * math/e_hypotl.c: Likewise.
30741 * math/e_j0l.c: Likewise.
30742 * math/e_j1l.c: Likewise.
30743 * math/e_jnl.c: Likewise.
30744 * math/e_lgammal_r.c: Likewise.
30745 * math/e_log10l.c: Likewise.
30746 * math/e_log2l.c: Likewise.
30747 * math/e_logl.c: Likewise.
30748 * math/e_powl.c: Likewise.
30749 * math/e_rem_pio2l.c: Likewise.
30750 * math/e_sinhl.c: Likewise.
30751 * math/e_sqrtf128.c: Likewise.
30752 * math/e_sqrtl.c: Likewise.
30753 * math/k_cosl.c: Likewise.
30754 * math/k_sinl.c: Likewise.
30755 * math/k_tanl.c: Likewise.
30756 * math/s_asinhl.c: Likewise.
30757 * math/s_atanl.c: Likewise.
30758 * math/s_cbrtl.c: Likewise.
30759 * math/s_erfl.c: Likewise.
30760 * math/s_expm1l.c: Likewise.
30761 * math/s_log1pl.c: Likewise.
30762 * math/s_tanhl.c: Likewise.
30764 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30767 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30768 [$(subdir) = math] (sysdep_calls): New variable. Has the
30769 previous contents of sysdep_routines, but re-sorted..
30770 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30772 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30773 defined in sysdep_calls and replace by the respective m_* names.
30774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30775 (compat_symbol): Undefine to avoid duplicated compat symbols in
30778 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30780 * math/s_fmaf.c: Include <libm-alias-float.h>.
30781 (fmaf): Define using libm_alias_float.
30782 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30783 (acosf): Define using libm_alias_float.
30784 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30785 (acoshf): Define using libm_alias_float.
30786 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30787 (asinf): Define using libm_alias_float.
30788 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30789 (atan2f): Define using libm_alias_float.
30790 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30791 (atanhf): Define using libm_alias_float.
30792 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30793 (coshf): Define using libm_alias_float.
30794 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30795 (exp10f): Define using libm_alias_float.
30796 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30797 (fmodf): Define using libm_alias_float.
30798 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30799 (hypotf): Define using libm_alias_float.
30800 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30801 (j0f): Define using libm_alias_float.
30803 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30804 (j1f): Define using libm_alias_float.
30806 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30807 (jnf): Define using libm_alias_float.
30809 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30810 (log10f): Define using libm_alias_float.
30811 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30812 (log2f): Define using libm_alias_float.
30813 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30814 (logf): Define using libm_alias_float.
30815 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30816 (powf): Define using libm_alias_float.
30817 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30818 (remainderf): Define using libm_alias_float.
30819 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30820 (sinhf): Define using libm_alias_float.
30821 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30822 (sqrtf): Define using libm_alias_float.
30823 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30824 (tgammaf): Define using libm_alias_float.
30826 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30828 * include/math.h (roundeven): Change hidden_proto call to
30830 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30832 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30833 (y0): Rename to __y0 and define as weak alias.
30834 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30835 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30837 (y0f): Rename to __y0f and define as weak alias.
30838 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30840 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30841 (y1): Rename to __y1 and define as weak alias.
30842 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30843 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30845 (y1f): Rename to __y1f and define as weak alias.
30846 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30848 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30849 (yn): Rename to __yn and define as weak alias.
30850 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30851 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30853 (ynf): Rename to __ynf and define as weak alias.
30854 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30855 (fromfp): Define as weak alias.
30856 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30857 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30858 (fromfpx): Define as weak alias.
30859 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30860 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30861 __getpayload and define as weak alias.
30862 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30863 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30864 __roundeven and define as weak alias.
30865 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30866 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30868 (setpayload): Define as weak alias.
30869 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30870 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30872 (setpayloadsig): Define as weak alias.
30873 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30874 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30875 __totalorder and define as weak alias.
30876 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30877 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30878 to __totalordermag and define as weak alias.
30879 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30880 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30881 (ufromfp): Define as weak alias.
30882 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30883 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30885 (ufromfpx): Define as weak alias.
30886 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30887 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30888 Rename to __getpayload and define as weak alias.
30889 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30890 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30891 Rename to __roundeven and define as weak alias.
30892 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30893 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30894 Rename to __totalorder and define as weak alias.
30895 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30896 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30897 (totalordermag): Rename to __totalordermag and define as weak
30899 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30900 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30902 (__roundevenl): Likewise.
30903 (__totalorderl): Likewise.
30904 (__totalordermagl): Likewise
30905 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30907 (fromfpf128): Define as weak alias.
30908 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30910 (fromfpxf128): Define as weak alias.
30911 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30913 (setpayloadf128): Define as weak alias.
30914 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30915 __setpayloadsigf128.
30916 (setpayloadsigf128): Define as weak alias.
30917 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30919 (ufromfpf128): Define as weak alias.
30920 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30922 (ufromfpxf128): Define as weak alias.
30923 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30924 (fromfpf): Define as weak alias.
30925 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30927 (fromfpxf): Define as weak alias.
30928 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30929 __getpayloadf and define as weak alias.
30930 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30931 __roundevenf and define as weak alias.
30932 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30934 (setpayloadf): Define as weak alias.
30935 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30937 (setpayloadsigf): Define as weak alias.
30938 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30939 __totalorderf and define as weak alias.
30940 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30941 Rename to __totalordermagf and define as weak alias.
30942 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30944 (ufromfpf): Define as weak alias.
30945 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30947 (ufromfpxf): Define as weak alias.
30948 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30950 (fromfpl): Define as weak alias.
30951 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30953 (fromfpxl): Define as weak alias.
30954 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30955 to __getpayloadl and define as weak alias.
30956 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30957 __roundevenl and define as weak alias.
30958 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30960 (setpayloadl): Define as weak alias.
30961 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30963 (setpayloadsigl): Define as weak alias.
30964 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30965 to __totalorderl and define as weak alias.
30966 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30967 Rename to __totalordermagl and define as weak alias.
30968 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30970 (ufromfpl): Define as weak alias.
30971 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30973 (ufromfpxl): Define as weak alias.
30974 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30976 (fromfpl): Define as weak alias.
30977 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30979 (fromfpxl): Define as weak alias.
30980 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30981 Rename to __getpayloadl and define as weak alias.
30982 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30983 to __roundevenl and define as weak alias. Call __roundeven
30984 instead of roundeven.
30985 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30987 (setpayloadl): Define as weak alias.
30988 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30990 (setpayloadsigl): Define as weak alias.
30991 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30992 Rename to __totalorderl and define as weak alias.
30993 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30994 Rename to __totalordermagl and define as weak alias.
30995 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30997 (ufromfpl): Define as weak alias.
30998 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
31000 (ufromfpxl): Define as weak alias.
31001 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
31003 (fromfpl): Define as weak alias.
31004 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
31006 (fromfpxl): Define as weak alias.
31007 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
31008 __getpayloadl and define as weak alias.
31009 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
31010 __roundevenl and define as weak alias.
31011 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
31013 (setpayloadl): Define as weak alias.
31014 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
31016 (setpayloadsigl): Define as weak alias.
31017 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
31018 __totalorderl and define as weak alias.
31019 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
31020 Rename to __totalordermagl and define as weak alias.
31021 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
31023 (ufromfpl): Define as weak alias.
31024 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
31026 (ufromfpxl): Define as weak alias.
31028 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
31030 * benchtests/bench-string.h (realloc_bufs): New function.
31031 (test_init): Call it.
31032 * benchtests/bench-memset-large.c (do_test): Likewise.
31033 * benchtests/bench-memset.c (do_test): Likewise.
31035 * benchtests/bench-memset-large.c: Print output in JSON
31037 * benchtests/bench-memset.c: Likewise.
31039 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31042 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
31043 * iconvdata/Makefile: Add IBM858.
31044 * iconvdata/gconv-modules: Likewise.
31045 * iconvdata/tst-tables.sh: Likewise.
31046 * iconvdata/ibm858.c: New file.
31047 * localedata/charmaps/IBM858: Likewise.
31049 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
31052 * locales/niu_NZ (LC_TIME): copy "niu_NU".
31053 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
31055 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31058 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
31059 and add tel_int_fmt.
31061 2017-09-14 Joseph Myers <joseph@codesourcery.com>
31063 * sysdeps/generic/libm-alias-float128.h: New file.
31064 * sysdeps/generic/math-type-macros-float128.h: Include
31065 <libm-alias-float128.h>.
31066 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31068 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31070 * sysdeps/generic/libm-alias-ldouble.h: New file.
31071 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
31072 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
31073 * sysdeps/generic/math-type-macros-ldouble.h: Include
31074 <libm-alias-ldouble.h>.
31075 [!declare_mgen_alias] (declare_mgen_alias): Define to use
31076 libm_alias_ldouble.
31078 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
31080 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
31081 * math/w_exp_compat.c: ... here.
31082 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
31083 * math/w_expf_compat.c: ... here.
31084 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
31085 * math/w_expl_compat.c: ... here.
31086 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
31087 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
31088 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
31089 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31091 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31093 * math/w_scalbln_template.c (strong_alias): Do not undefine and
31095 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
31097 (ldexpl): Only define as compat symbol for libc, not libm.
31098 (scalbnl): Define as compat symbol for libc here.
31099 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
31100 define for [IS_IN (libc)].
31101 (__ldexpl_2): Remove alias.
31102 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
31103 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
31104 name in long_double_symbol call.
31105 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
31106 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31107 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31108 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
31109 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
31111 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
31112 Define as compat symbol.
31114 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31116 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
31117 * sysdeps/unix/sysv/linux/alpha/Makefile
31118 [$(subdir) = csu] (sysdep_routines): Remove rule.
31120 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31122 * sysdeps/generic/libm-alias-double.h: New file.
31123 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
31124 * sysdeps/generic/math-type-macros-double.h: Include
31125 <libm-alias-double.h>.
31126 [declare_mgen_alias] (declare_mgen_alias): Define to use
31128 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
31129 (M_LIBM_NEED_COMPAT): Remove macro.
31130 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
31131 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
31132 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
31134 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31135 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31136 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31137 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31138 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31139 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31140 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31141 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31142 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31143 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31144 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31145 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31146 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31147 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31148 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31149 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31150 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31151 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31152 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31153 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31154 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31155 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31156 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31157 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31158 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31159 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31160 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31161 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
31162 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
31164 (declare_mgen_alias): New macro.
31165 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
31166 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
31167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
31168 (M_LIBM_NEED_COMPAT): Remove macro.
31169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
31170 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
31171 <first-versions.h>.
31172 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
31173 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
31175 2017-09-12 Joseph Myers <joseph@codesourcery.com>
31177 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
31178 (declare_mgen_alias_2): Remove.
31179 * sysdeps/generic/math-type-macros-double.h
31180 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
31182 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
31184 (ldexp): Define with declare_mgen_alias.
31185 (scalbn): Likewise.
31187 2017-09-12 Steve Ellcey <sellcey@cavium.com>
31189 * grp/initgroups.c: Include config.h.
31190 (DEFAULT_CONFIG): New macro.
31191 (internal_getgrouplist): Use DEFAULT_CONFIG.
31192 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31193 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
31194 (DEFAULT_DEFCONFIG): New macro.
31195 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
31196 * nss/grp-lookup.c: Include config.h
31197 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
31198 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
31199 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
31200 * manual/nss.texi: Update default values section.
31202 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
31205 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
31207 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
31208 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31209 Handle MathVec_Prefer_No_AVX512.
31210 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
31211 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
31214 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
31216 * posix/sched_primax.c (__sched_get_priority_max): Add
31218 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
31219 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31220 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31221 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
31222 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
31223 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
31224 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
31225 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
31228 2017-09-11 Joseph Myers <joseph@codesourcery.com>
31230 * sysdeps/generic/libm-alias-float.h: New file.
31231 * sysdeps/generic/math-type-macros-float.h: Include
31232 <libm-alias-float.h>.
31233 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31235 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
31238 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
31239 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
31240 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
31241 (HWCAP_IMPORTANT): Likewise.
31242 (HWCAP_X86_64): New enum.
31243 (HWCAP_X86_AVX512_1): Updated.
31244 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
31245 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
31246 (modules-names): Add x86_64/tst-x86_64mod-1.
31247 (LDFLAGS-tst-x86_64mod-1.so): New.
31248 ($(objpfx)tst-x86_64-1): Likewise.
31249 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
31250 (tst-x86_64-1-clean): Likewise.
31251 * sysdeps/x86_64/tst-x86_64-1.c: New file.
31252 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
31254 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31256 * po/sv.po: Update translations.
31257 * po/fr.po: Likewise.
31259 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31261 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
31263 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
31265 * elf/rtld-Rules: Fix $(error) use.
31267 2017-09-09 Mike FABIAN <mfabian@redhat.com>
31270 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
31271 * locale/iso-639.def: Change “Bengali” to “Bangla”.
31272 * localedata/locales/bn_BD: “Bengali” was still used in some
31273 comments. Change it to “Bangla”.
31275 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
31277 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
31279 2017-09-08 Steve Ellcey <sellcey@cavium.com>
31281 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
31282 thunderx2t99p1 to list of cpu names.
31283 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31284 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
31286 2017-09-08 Steve Ellcey <sellcey@cavium.com>
31288 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
31289 Use strcmp instead of tunable_is_name.
31291 2017-09-08 Joseph Myers <joseph@codesourcery.com>
31293 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31294 (F_GET_RW_HINT): New macro.
31295 [__USE_GNU] (F_SET_RW_HINT): Likewise.
31296 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
31297 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
31298 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
31299 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
31300 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
31301 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
31302 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
31303 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
31305 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31306 (F_ADD_SEALS): New macro.
31307 [__USE_GNU] (F_GET_SEALS): Likewise.
31308 [__USE_GNU] (F_SEAL_SEAL): Likewise.
31309 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
31310 [__USE_GNU] (F_SEAL_GROW): Likewise.
31311 [__USE_GNU] (F_SEAL_WRITE): Likewise.
31313 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31315 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
31316 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
31317 * posix/glob_internal.h (__glob_pattern_type):
31318 * posix/glob.c (glob):
31319 * posix/glob_pattern_p.c (__glob_pattern_p):
31322 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
31323 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31324 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
31325 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
31326 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
31328 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
31329 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
31330 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31331 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31332 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31333 * sysdeps/wordsize-64/glob.c: Likewise.
31334 * sysdeps/wordsize-64/glob64.c: Likewise.
31335 * sysdeps/wordsize-64/globfree.c: Likewise.
31336 * sysdeps/wordsize-64/globfree64.c: Likewise.
31337 * sysdeps/unix/sysv/linux/glob.c: New file.
31338 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
31339 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
31340 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
31341 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31342 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
31343 adds !GLOB_NO_OLD_VERSION as an extra condition.
31344 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
31345 using relative path instead of absolute one.
31346 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
31347 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31348 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31349 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
31350 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
31351 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
31354 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
31355 (glob): Use the same scratch buffer for both getlogin_r and
31356 getpwnam_r. Don’t require preallocation of the login name. This
31357 simplifies storage allocation, and corrects the handling of
31361 * posix/glob.c (glob): Port recent patches to platforms
31362 lacking getpwnam_r.
31363 (glob): Fix longstanding misuse of errno after getpwnam_r, which
31364 returns an error number rather than setting errno.
31366 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
31367 instead of GCC extension.
31368 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
31369 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
31370 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
31374 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
31375 * posix/bug-glob1.c: Remove file.
31376 * posix/tst-glob_symlinks.c: New file.
31377 * posix/glob.c (__lstat64): New macro.
31378 (is_dir): New function.
31379 (glob, glob_in_dir): Match symlinks even if they are dangling.
31380 (link_stat, link_exists_p): Remove. All uses removed.
31384 * posix/glob.c (struct readdir_result): Remove skip_entry member.
31385 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
31390 * posix/Makefile (routines): Add globfree, globfree64, and
31392 * posix/flexmember.h: New file.
31393 * posix/glob_internal.h: Likewise.
31394 * posix/glob_pattern_p.c: Likewise.
31395 * posix/globfree.c: Likewise.
31396 * posix/globfree64.c: Likewise.
31397 * sysdeps/gnu/globfree64.c: Likewise.
31398 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
31399 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31400 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
31401 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31402 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31403 * sysdeps/wordsize-64/globfree.c: Likewise.
31404 * sysdeps/wordsize-64/globfree64.c: Likewise.
31405 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
31406 [NDEBUG): Remove comments.
31407 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
31408 (dirent_type): New type. Use uint_fast8_t not
31409 uint8_t, as C99 does not require uint8_t.
31410 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
31411 (struct readdir_result): Use dirent_type. Do not define skip_entry
31412 unless it is needed; this saves a byte on platforms lacking d_ino.
31413 (readdir_result_type, readdir_result_skip_entry):
31414 New functions, replacing ...
31415 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
31416 these functions, which were removed. This makes the callers
31417 easier to read. All callers changed.
31418 (D_INO_TO_RESULT): Now empty if there is no d_ino.
31419 (size_add_wrapv, glob_use_alloca): New static functions.
31420 (glob, glob_in_dir): Check for size_t overflow in several places,
31421 and fix some size_t checks that were not quite right.
31422 Remove old code using SHELL since Bash no longer
31424 (glob, prefix_array): Separate MS code better.
31425 (glob_in_dir): Remove old Amiga and VMS code.
31426 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
31428 (glob_in_dir): Do not rely on undefined behavior in accessing
31429 struct members beyond their bounds. Use a flexible array member
31431 (link_stat): Rename from link_exists2_p and return -1/0 instead of
31432 0/1. Caller changed.
31433 (glob): Fix memory leaks.
31434 * posix/glob64 (globfree64): Move to separate file.
31435 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
31436 (globfree64): Remove hidden alias.
31437 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
31439 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
31441 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
31443 Move compat code to separate file.
31444 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
31447 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
31449 * resolv/tst-resolv-qtypes.c (domain): Changed to
31450 "const char domain[] =".
31452 2017-09-07 Joseph Myers <joseph@codesourcery.com>
31454 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
31457 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
31458 (TCP_MD5SIG_EXT): Likewise.
31459 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
31460 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
31461 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
31463 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
31465 2017-09-07 Mike FABIAN <mfabian@redhat.com>
31467 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
31469 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
31472 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
31474 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31476 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
31477 before assuming that the file is empty. Avoid testing buffer content
31480 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31483 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31485 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
31487 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
31489 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
31491 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31493 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
31495 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
31498 2017-09-06 Florian Weimer <fweimer@redhat.com>
31500 * malloc/dynarray_emplace_enlarge.c
31501 (__libc_dynarray_emplace_enlarge): Add missing else.
31503 2017-09-06 Florian Weimer <fweimer@redhat.com>
31506 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
31507 case of failure to obtain the global conf object.
31509 2017-09-06 Florian Weimer <fweimer@redhat.com>
31512 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
31513 dynarray allocation failure.
31515 2017-09-06 Florian Weimer <fweimer@redhat.com>
31517 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
31518 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
31519 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
31521 (response): Call them. Add 'p', '6' flag processing.
31522 (test_reverse): New function.
31523 (test_get2_any): Call it.
31524 (test_no_inet6): Add 'p' test.
31525 (test_inet6): Likewise.
31527 2017-09-06 Florian Weimer <fweimer@redhat.com>
31529 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
31530 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
31532 (test_gai): Adjust query names. Add additional tests.
31533 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
31534 test_get2. Adjust query names. Add additional tests.
31535 (test_no_inet6): New function, extracted from threadfunc.
31536 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
31537 Add additional tests.
31539 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31542 * localedata/unicode-gen/utf8_gen.py: Set the width for
31543 characters with Prepended_Concatenation_Mark property to 1
31544 * localedata/charmaps/UTF-8: Updated using the improved script.
31546 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31549 * localedata/unicode-gen/utf8_gen.py: Improve the script to
31550 use the range notation for all ranges of neighbouring characters
31551 with the same width.
31553 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31555 * sysdeps/generic/math-type-macros-double.h: Include
31556 <math-svid-compat.h>.
31557 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31558 * sysdeps/generic/math-type-macros-float.h: Include
31559 <math-svid-compat.h>.
31560 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31561 * sysdeps/generic/math-type-macros-ldouble.h: Include
31562 <math-svid-compat.h>.
31563 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31564 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
31566 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
31567 * math/w_acosf_compat.c: Likewise.
31568 * math/w_acosh_compat.c: Likewise.
31569 * math/w_acoshf_compat.c: Likewise.
31570 * math/w_acoshl_compat.c: Likewise.
31571 * math/w_acosl_compat.c: Likewise.
31572 * math/w_asin_compat.c: Likewise.
31573 * math/w_asinf_compat.c: Likewise.
31574 * math/w_asinl_compat.c: Likewise.
31575 * math/w_atan2_compat.c: Likewise.
31576 * math/w_atan2f_compat.c: Likewise.
31577 * math/w_atan2l_compat.c: Likewise.
31578 * math/w_atanh_compat.c: Likewise.
31579 * math/w_atanhf_compat.c: Likewise.
31580 * math/w_atanhl_compat.c: Likewise.
31581 * math/w_cosh_compat.c: Likewise.
31582 * math/w_coshf_compat.c: Likewise.
31583 * math/w_coshl_compat.c: Likewise.
31584 * math/w_exp10_compat.c: Likewise.
31585 * math/w_exp10f_compat.c: Likewise.
31586 * math/w_exp10l_compat.c: Likewise.
31587 * math/w_exp2_compat.c: Likewise.
31588 * math/w_exp2f_compat.c: Likewise.
31589 * math/w_exp2l_compat.c: Likewise.
31590 * math/w_fmod_compat.c: Likewise.
31591 * math/w_fmodf_compat.c: Likewise.
31592 * math/w_fmodl_compat.c: Likewise.
31593 * math/w_hypot_compat.c: Likewise.
31594 * math/w_hypotf_compat.c: Likewise.
31595 * math/w_hypotl_compat.c: Likewise.
31596 * math/w_j0_compat.c: Likewise.
31597 * math/w_j0f_compat.c: Likewise.
31598 * math/w_j0l_compat.c: Likewise.
31599 * math/w_j1_compat.c: Likewise.
31600 * math/w_j1f_compat.c: Likewise.
31601 * math/w_j1l_compat.c: Likewise.
31602 * math/w_jn_compat.c: Likewise.
31603 * math/w_jnf_compat.c: Likewise.
31604 * math/w_jnl_compat.c: Likewise.
31605 * math/w_lgamma_r_compat.c: Likewise.
31606 * math/w_lgammaf_r_compat.c: Likewise.
31607 * math/w_lgammal_r_compat.c: Likewise.
31608 * math/w_log10_compat.c: Likewise.
31609 * math/w_log10f_compat.c: Likewise.
31610 * math/w_log10l_compat.c: Likewise.
31611 * math/w_log2_compat.c: Likewise.
31612 * math/w_log2f_compat.c: Likewise.
31613 * math/w_log2l_compat.c: Likewise.
31614 * math/w_log_compat.c: Likewise.
31615 * math/w_logf_compat.c: Likewise.
31616 * math/w_logl_compat.c: Likewise.
31617 * math/w_pow_compat.c: Likewise.
31618 * math/w_powf_compat.c: Likewise.
31619 * math/w_powl_compat.c: Likewise.
31620 * math/w_remainder_compat.c: Likewise.
31621 * math/w_remainderf_compat.c: Likewise.
31622 * math/w_remainderl_compat.c: Likewise.
31623 * math/w_sinh_compat.c: Likewise.
31624 * math/w_sinhf_compat.c: Likewise.
31625 * math/w_sinhl_compat.c: Likewise.
31626 * math/w_sqrt_compat.c: Likewise.
31627 * math/w_sqrtf_compat.c: Likewise.
31628 * math/w_sqrtl_compat.c: Likewise.
31629 * math/w_tgamma_compat.c: Likewise.
31630 * math/w_tgammaf_compat.c: Likewise.
31631 * math/w_tgammal_compat.c: Likewise.
31632 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31633 [LIBM_SVID_COMPAT].
31634 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31635 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31636 [LIBM_SVID_COMPAT].
31637 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31638 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31639 [LIBM_SVID_COMPAT].
31640 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31641 * sysdeps/i386/fpu/w_sqrt.c: New file.
31642 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31643 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31644 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31645 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31646 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
31647 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
31648 * sysdeps/ia64/fpu/w_asin.c: Likewise.
31649 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
31650 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
31651 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
31652 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
31653 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
31654 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
31655 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
31656 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
31657 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
31658 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
31659 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
31660 * sysdeps/ia64/fpu/w_exp.c: Likewise.
31661 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
31662 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
31663 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
31664 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
31665 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
31666 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
31667 * sysdeps/ia64/fpu/w_expf.c: Likewise.
31668 * sysdeps/ia64/fpu/w_expl.c: Likewise.
31669 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
31670 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
31671 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
31672 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
31673 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
31674 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
31675 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
31676 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
31677 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
31678 * sysdeps/ia64/fpu/w_log.c: Likewise.
31679 * sysdeps/ia64/fpu/w_log10.c: Likewise.
31680 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
31681 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
31682 * sysdeps/ia64/fpu/w_log2.c: Likewise.
31683 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
31684 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
31685 * sysdeps/ia64/fpu/w_logf.c: Likewise.
31686 * sysdeps/ia64/fpu/w_logl.c: Likewise.
31687 * sysdeps/ia64/fpu/w_pow.c: Likewise.
31688 * sysdeps/ia64/fpu/w_powf.c: Likewise.
31689 * sysdeps/ia64/fpu/w_powl.c: Likewise.
31690 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
31691 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
31692 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
31693 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
31694 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
31695 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
31696 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
31697 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
31698 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
31699 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
31700 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
31701 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
31702 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
31703 [LIBM_SVID_COMPAT].
31704 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31705 * sysdeps/ieee754/k_standard.c: Likewise.
31706 * sysdeps/ieee754/k_standardf.c: Likewise.
31707 * sysdeps/ieee754/k_standardl.c: Likewise.
31708 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31709 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31710 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31711 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
31712 long_double_symbol call on [LIBM_SVID_COMPAT].
31713 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31714 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31715 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31716 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31717 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31718 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31719 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31720 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31721 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31722 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31723 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31724 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31725 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31726 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31727 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31728 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31729 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
31730 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31731 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31732 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31733 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
31734 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
31736 2017-09-05 Steve Ellcey <sellcey@cavium.com>
31738 * include/shlib-compat.h (TEST_COMPAT): New Macro.
31739 * malloc/tst-mallocstate.c: Convert from test-skeleton
31740 to test-driver. Ifdef code using TEST_COMPAT macro.
31741 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
31742 * math/test-matherr.c: Likewise.
31744 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31747 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31748 comparing word with byte-swapped constant.
31750 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
31753 * locale/iso-639.def: add Miskito.
31754 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31755 * localedata/locales/miq_NI: New file.
31757 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31760 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31761 (__mkdir): Likewise.
31762 * io/chmod.c (__chmod): Add libc_hidden_def.
31763 * io/mkdir.c (__mkdir): Likewise.
31764 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31765 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31766 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31767 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31769 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31771 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31775 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31776 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31778 2017-09-04 Florian Weimer <fweimer@redhat.com>
31780 * math/math.h: Issue warning if log is defined.
31782 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31784 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31785 kernel version to 4.13.
31787 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31789 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
31790 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31792 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31793 just <bits/types.h>.
31794 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
31795 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
31796 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
31797 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
31798 * misc/preadv2.c: Include <errno.h>.
31799 * misc/preadv64v2.c: Include <errno.h>.
31800 * misc/pwritev2.c: Include <errno.h>.
31801 * misc/pwritev64v2.c: Include <errno.h>.
31802 * sysdeps/posix/preadv2.c: Include <errno.h>.
31803 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31804 Fix <unistd.h> inclusion.
31805 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31806 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
31807 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31808 __strtoul_internal): New functions.
31809 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31810 * sysdeps/posix/system.c: Include <sigsetops.h>.
31811 * sysdeps/mach/hurd/i386/Makefile
31812 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31813 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31814 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
31815 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31816 __feraiseexcept_renamed to feraiseexcept instead of
31817 __GI_feraiseexcept.
31818 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
31819 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
31820 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31821 RWF_NOWAIT): Define to 0 if undefined already.
31822 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31824 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31825 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
31827 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31829 * manual/math.texi (pow10): Do not document.
31830 (pow10f): Likewise.
31831 (pow10l): Likewise.
31832 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31833 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31834 * math/libm-test-exp10.inc (pow10_test): Remove.
31835 (do_test): Do not call pow10.
31836 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31837 [NO_LONG_DOUBLE] (pow10l): Likewise.
31838 * math/w_exp10f_compat.c (pow10f): Likewise.
31839 * math/w_exp10l_compat.c (pow10l): Likewise.
31840 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31841 (pow10): Make into compat symbol.
31842 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31843 (pow10f): Make into compat symbol.
31844 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31845 (pow10l): Make into compat symbol.
31846 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31848 (CFLAGS-nldbl-pow10.c): Remove variable..
31849 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31850 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31851 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31852 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31853 Undefine and redefine.
31854 (pow10l): Make into compat symbol.
31855 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31856 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31857 * sysdeps/arm/libm-test-ulps: Likewise.
31858 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31859 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31860 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31861 * sysdeps/microblaze/libm-test-ulps: Likewise.
31862 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31863 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31864 * sysdeps/nios2/libm-test-ulps: Likewise.
31865 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31866 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31867 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31868 * sysdeps/sh/libm-test-ulps: Likewise.
31869 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31870 * sysdeps/tile/libm-test-ulps: Likewise.
31871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31873 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31875 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31877 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31879 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31880 "../ChangeLog.old/ChangeLog.8".
31881 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31882 "../ChangeLog.old/ChangeLog.14".
31884 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31886 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31889 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31891 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31893 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31895 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31896 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31898 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31900 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31901 32 atexit handlers.
31903 2017-09-01 Zack Weinberg <zackw@panix.com>
31905 * math/math.h (HUGE_VAL): Improve commentary.
31907 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31908 Andreas Schwab <schwab@suse.de>
31911 * include/stdio.h (__gen_tempfd): New function.
31912 * stdio-common/Makefile (routines): Add gentempfd.
31913 * stdio-common/gentempfd.c: New file.
31914 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31915 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31916 unnamed file first.
31918 2017-09-01 Florian Weimer <fweimer@redhat.com>
31922 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31923 result to determine success or failure, not the errno value.
31924 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31925 (tst-nss-files-hosts-erange): Link with -ldl.
31926 * nss/tst-nss-files-hosts-erange.c: New file.
31927 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31928 (do_test): Add NO_DATA tests.
31929 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31930 (do_test): Call it.
31932 2017-09-01 Florian Weimer <fweimer@redhat.com>
31935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31936 coming from gethostbyname2_r.
31938 2017-09-01 Florian Weimer <fweimer@redhat.com>
31940 * support/namespace.h (struct support_chroot_configuration): Add
31942 (struct support_chroot): Add path_hosts, path_host_conf.
31943 * support/support_chroot.c (write_file): New function.
31944 (support_chroot_create): Call it to process /etc/resolv.conf,
31945 /etc/hosts, /etc/host.conf.
31946 (support_chroot_free): Update.
31948 2017-09-01 Florian Weimer <fweimer@redhat.com>
31950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31951 status indicates it is set.
31953 2017-09-01 Florian Weimer <fweimer@redhat.com>
31956 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31957 function lookup failures more reliable.
31959 2017-09-01 Florian Weimer <fweimer@redhat.com>
31961 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31962 (getcanonname): Likewise.
31963 (gaih_inet): Likewise.
31965 2017-09-01 Florian Weimer <fweimer@redhat.com>
31967 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31968 (getcanonname): Likewise.
31969 (gaih_inet): Likewise.
31971 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31972 Richard Henderson <rth@twiddle.net>
31974 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31975 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31976 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31977 (IREG_SIZE, OREG_SIZE): New macros.
31978 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31979 (IREG_SIZE, OREG_SIZE): New macros.
31980 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31981 (IREG_SIZE): New macro.
31982 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31983 (IREG_SIZE): New macro.
31984 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31986 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31987 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31988 (__CONCATX): Handle exceptions correctly on large values that may
31990 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31991 Initialize if not already set.
31992 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31994 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31996 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31997 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31999 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
32001 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
32003 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
32005 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
32007 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
32009 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
32011 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
32012 (NO_CANCELLATION): Likewise.
32013 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
32015 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
32017 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
32019 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
32020 (NO_CANCELLATION): Likewise.
32021 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
32022 (NO_CANCELLATION): Likewise.
32023 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
32025 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
32027 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
32029 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
32031 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
32033 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
32034 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
32036 2017-08-31 Steve Ellcey <sellcey@cavium.com>
32038 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
32041 2017-08-31 Florian Weimer <fweimer@redhat.com>
32043 * include/libc-symbols.h (internal_function): Remove.
32045 2017-08-31 Florian Weimer <fweimer@redhat.com>
32047 * stdlib/fmtmsg.c (internal_addseverity): Remove
32050 2017-08-31 Florian Weimer <fweimer@redhat.com>
32052 * stdio-common/printf_fp.c (group_number): Remove
32054 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
32056 2017-08-31 Florian Weimer <fweimer@redhat.com>
32058 * posix/fnmatch.c (internal_function): Remove definition.
32059 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
32060 * posix/regcomp.c (peek_token, init_word_char)
32061 (duplicate_node_closure, fetch_token, peek_token)
32062 (peek_token_bracket, build_range_exp, build_collating_symbol):
32064 * posix/regex_internal.c (re_string_construct_common)
32065 (create_ci_newstate, create_cd_newstate, re_string_allocate)
32066 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
32067 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
32068 (re_string_translate_buffer, re_string_reconstruct)
32069 (re_string_peek_byte_case, re_string_fetch_byte_case)
32070 (re_string_destruct, re_string_context_at, re_node_set_alloc)
32071 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
32072 (re_node_set_add_intersect, re_node_set_init_union)
32073 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
32074 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
32075 (re_dfa_add_node, calc_state_hash, re_acquire_state)
32076 (re_acquire_state_context): Likewise.
32077 * posix/regex_internal.h (internal_function): Remove definition.
32078 (re_string_realloc_buffers, build_wcs_buffer)
32079 (build_wcs_upper_buffer, build_upper_buffer)
32080 (re_string_translate_buffer, re_string_context_at)
32081 (re_string_char_size_at, re_string_wchar_at)
32082 (re_string_elem_size_at): Likewise.
32083 * posix/regexec.c (match_ctx_init, match_ctx_clean)
32084 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
32085 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
32086 (re_search_internal, re_search_2_stub, re_search_stub)
32087 (re_copy_regs, prune_impossible_nodes, check_matching)
32088 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
32089 (free_fail_stack_return, sift_states_iter_mb)
32090 (sift_states_backward, build_sifted_states)
32091 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
32092 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
32093 (check_subexp_limits, sift_states_bkref, merge_state_array)
32094 (find_recover_state, transit_state, merge_state_with_log)
32095 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
32096 (transit_state_mb, transit_state_bkref, get_subexp)
32097 (get_subexp_sub, find_subexp_node, check_arrival)
32098 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
32099 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
32100 (check_node_accept_bytes, find_collation_sequence_value)
32101 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
32102 (acquire_init_state_context, check_halt_node_context)
32103 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
32104 (sub_epsilon_src_nodes): Likewise.
32105 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
32106 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
32107 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
32108 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
32109 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
32110 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
32111 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
32112 * sysdeps/posix/ttyname.c (getttyname): Likewise.
32113 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
32114 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
32115 (PREADV): Likewise.
32116 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
32117 (PREADV): Likewise.
32118 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
32119 (PWRITEV): Likewise.
32120 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
32121 (PWRITEV): Likewise.
32122 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
32123 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
32125 2017-08-31 Florian Weimer <fweimer@redhat.com>
32127 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
32128 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
32129 Remove internal_function.
32130 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32131 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
32132 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
32133 (__deallocate_stack, __libc_pthread_init)
32134 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
32135 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
32136 (__libc_disable_asynccancel, __librt_disable_asynccancel):
32138 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
32139 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
32140 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
32142 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
32143 (__pthread_mutex_unlock_usercnt): Likewise.
32145 2017-08-31 Florian Weimer <fweimer@redhat.com>
32147 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
32148 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
32149 (fts_safe_changedir): Remove internal_function.
32150 * io/ftw.c (internal_function): Remove definition.
32151 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
32153 2017-08-31 Florian Weimer <fweimer@redhat.com>
32155 * inet/deadline.c (__deadline_current_time)
32156 (__deadline_from_timeval, __deadline_to_ms): Remove
32158 * inet/getnameinfo.c (nrl_domainname): Likewise.
32159 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
32160 * inet/inet6_option.c (add_pad): Likewise.
32161 * inet/net-internal.h (__deadline_current_time)
32162 (__deadline_from_timeval, __deadline_to_ms): Likewise.
32163 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
32164 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
32165 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
32167 2017-08-31 Joseph Myers <joseph@codesourcery.com>
32169 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
32170 include <bits/nan.h>.
32171 * math/Makefile (headers): Remove bits/nan.h.
32172 * bits/nan.h: Remove.
32173 * sysdeps/ieee754/bits/nan.h: Likewise.
32174 * sysdeps/mips/bits/nan.h: Likewise.
32176 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
32177 not include <bits/inf.h>.
32178 * math/Makefile (headers): Remove bits/inf.h.
32179 * bits/inf.h: Remove.
32180 * sysdeps/ieee754/bits/inf.h: Likewise.
32182 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
32183 bits/huge_vall.h or bits/huge_val_flt128.h.
32184 (HUGE_VAL): Define directly here.
32185 [__USE_ISOC99] (HUGE_VALF): Likewise.
32186 [__USE_ISOC99] (HUGE_VALL): Likewise.
32187 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32188 (HUGE_VAL_F128): Likewise.
32189 * math/Makefile (headers): Remove bits/huge_val.h,
32190 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
32191 * bits/huge_val.h: Remove.
32192 * bits/huge_val_flt128.h: Likewise.
32193 * bits/huge_valf.h: Likewise.
32194 * bits/huge_vall.h: Likewise.
32195 * sysdeps/ia64/bits/huge_vall.h: Likewise.
32196 * sysdeps/ieee754/bits/huge_val.h: Likewise.
32197 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
32198 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
32199 * sysdeps/sh/bits/huge_val.h: Likewise.
32200 * sysdeps/sparc/bits/huge_vall.h: Likewise.
32201 * sysdeps/x86/bits/huge_vall.h: Likewise.
32203 2017-08-31 Florian Weimer <fweimer@redhat.com>
32205 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
32207 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
32209 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
32210 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32211 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
32212 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
32213 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32214 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32215 * elf/dl-libc.c (dlerror_run): Likewise.
32216 * elf/dl-load.c (add_name_to_object, decompose_rpath)
32217 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
32218 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
32219 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
32221 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
32222 (_dl_higher_prime_number, _dl_strtoul): Likewise.
32223 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
32224 * elf/dl-profile.c (_dl_start_profile): Likewise.
32225 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
32226 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
32228 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
32229 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
32230 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
32231 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
32232 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
32233 (_dl_allocate_tls_storage): Likewise.
32234 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
32235 (_dl_check_all_versions): Likewise.
32236 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
32237 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
32238 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
32239 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32240 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
32241 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
32242 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
32243 internal_function from __dl_start.
32244 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
32245 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
32246 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
32247 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
32248 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
32249 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
32250 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
32251 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
32252 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
32253 (_dl_next_ld_env_entry, _dl_important_hwcaps)
32254 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
32255 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
32256 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
32257 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
32258 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
32260 (struct rtld_global_ro): Remove internal_function from the
32261 _dl_lookup_symbol_x member.
32262 (_dl_symbol_value): Remove. No longer defined anywhere.
32263 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
32265 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32266 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32267 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
32268 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
32269 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
32270 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
32271 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
32272 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
32273 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
32274 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
32275 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32276 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32278 2017-08-31 Florian Weimer <fweimer@redhat.com>
32280 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
32281 Remove internal_function.
32282 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32284 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32287 2017-08-31 Florian Weimer <fweimer@redhat.com>
32289 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
32290 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
32291 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
32293 2017-08-31 Florian Weimer <fweimer@redhat.com>
32295 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
32296 (__gai_enqueue_request): Remove internal_function.
32297 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
32298 (__gai_remove_request, __gai_notify, __gai_notify_only)
32299 (__gai_sigqueue): Likewise.
32300 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
32301 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
32302 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
32303 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32306 2017-08-31 Florian Weimer <fweimer@redhat.com>
32308 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
32309 * include/dirent.h (__opendirat, __getdents, __getdents64)
32310 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
32311 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
32312 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32313 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32315 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
32317 2017-08-31 Florian Weimer <fweimer@redhat.com>
32319 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
32321 (GETCWD_RETURN_TYPE): Likewise.
32323 2017-08-31 Florian Weimer <fweimer@redhat.com>
32325 * include/time.h (__tz_compute, __strptime_internal): Remove
32327 * time/strptime_l.c (__strptime_internal): Likewise.
32328 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
32330 2017-08-31 Florian Weimer <fweimer@redhat.com>
32332 * iconv/gconv.c (__gconv): Remove internal_function.
32333 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
32334 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
32335 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
32336 (__gconv_release_cache): Likewise.
32337 * iconv/gconv_close.c (__gconv_close): Likewise.
32338 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
32339 (read_conf_file, __gconv_get_path): Likewise.
32340 * iconv/gconv_db.c (derivation_lookup, add_derivation)
32341 (__gconv_release_step, gen_steps, increment_counter)
32342 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
32343 (__gconv_close_transform, free_modules_db): Likewise.
32344 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
32346 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
32347 (__gconv_find_transform, __gconv_lookup_cache)
32348 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
32349 (__gconv_close_transform, __gconv_release_cache)
32350 (__gconv_loaded_object, __gconv_release_shlib)
32351 (__gconv_compare_alias): Likewise.
32352 * iconv/gconv_open.c (__gconv_open): Likewise.
32353 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
32354 * iconv/iconvconfig.c (add_module): Likewise.
32355 * intl/dcigettext.c (plural_lookup, guess_category_value)
32356 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
32357 * intl/eval-plural.h (plural_eval): Likewise.
32358 * intl/finddomain.c (_nl_find_domain): Likewise.
32359 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
32360 (_nl_load_domain, _nl_find_msg): Likewise.
32361 (internal_function): Remove definition.
32362 * intl/loadinfo.h (internal_function): Likewise.
32363 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
32365 * intl/localealias.c (internal_function): Remove definition.
32366 (read_alias_file): Remove internal_function.
32367 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
32368 * intl/plural-exp.h (internal_function): Remove definition.
32369 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
32371 * intl/plural.c: Regenerate.
32372 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
32373 * locale/coll-lookup.c (__collidx_table_lookup)
32374 (__collseq_table_lookup): Likewise.
32375 * locale/coll-lookup.h (__collidx_table_lookup)
32376 (__collseq_table_lookup): Likewise.
32377 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
32378 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32379 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
32380 (_nl_unload_locale): Likewise.
32381 * locale/localeinfo.h (struct __locale_data): Remove
32382 internal_function from cleanup member.
32383 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
32384 (_nl_remove_locale, _nl_load_locale_from_archive)
32385 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
32386 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
32387 (_nl_cleanup_time): Remove internal_function.
32388 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
32389 (_nl_parse_alt_digit): Likewise.
32390 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
32391 (_nl_select_era_entry): Likewise.
32392 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
32393 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32394 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
32395 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32396 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
32398 2017-08-31 Florian Weimer <fweimer@redhat.com>
32400 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
32401 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32402 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
32403 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
32405 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
32406 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
32407 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
32408 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32410 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
32412 2017-08-31 Florian Weimer <fweimer@redhat.com>
32414 * misc/getttyent.c (skip, value): Remove internal_function.
32415 * misc/syslog.c (openlog_internal): Likewise.
32416 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
32418 2017-08-31 Florian Weimer <fweimer@redhat.com>
32420 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
32421 (__nss_rewrite_field): Remove internal_function.
32422 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32423 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32424 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32425 * nss/nsswitch.c (nss_parse_file, nss_getline)
32426 (nss_parse_service_list, nss_new_service): Likewise.
32427 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
32428 * nss/valid_field.c (__nss_valid_field): Likewise.
32429 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
32431 2017-08-31 Florian Weimer <fweimer@redhat.com>
32433 * malloc/arena.c (__malloc_fork_lock_parent)
32434 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
32435 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
32436 internal_function from defintions.
32437 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
32438 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
32439 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
32440 internal_function from declarations.
32441 * malloc/malloc.c (internal_function): Do not define.
32442 (mem2mem_check): Remove internal_function from declaration.
32443 (munmap_chunk, mremap_chunk): Remove internal_function.
32444 * malloc/mtrace.c (tr_where): Likewise.
32446 2017-08-31 Florian Weimer <fweimer@redhat.com>
32448 * include/rpc/pmap_clnt.h (__get_socket): Remove
32450 * sunrpc/auth_des.c (synchronize): Likewise.
32451 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
32452 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
32453 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
32454 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
32455 (key_call): Likewise.
32456 * sunrpc/pm_getport.c (__get_socket): Likewise.
32457 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
32458 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
32459 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
32460 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
32461 (invalidate): Likewise.
32462 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
32463 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
32464 (set_input_fragment, get_input_bytes): Likewise.
32466 2017-08-31 Florian Weimer <fweimer@redhat.com>
32468 * malloc/malloc.c (_int_free): Remove locked variable and related
32471 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
32474 * Makerules (build-module-helper-objlist): Filter out
32475 $(elf-objpfx)sofini.os.
32476 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
32479 2017-08-31 Florian Weimer <fweimer@redhat.com>
32481 * libio/fcloseall.c: Assume weak_alias is defined.
32482 * libio/feof.c: Likewise.
32483 * libio/fileno.c: Likewise.
32484 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
32485 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32487 (_IO_file_open): Call __open directly.
32488 (_IO_new_file_sync): Assume ESPIPE is defined.
32489 (_IO_file_seekoff_maybe_mmap): Call __read directly.
32490 (_IO_new_file_write): Call __write directly.
32491 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
32492 * libio/ftello64.c (__ftello64): Assume EIO is defined.
32493 * libio/genops.c: Assume _LIBC is defined.
32494 (save_for_backup): Remove internal_function.
32495 * libio/getc.c: Assume weak_alias is defined.
32496 * libio/getwc.c: Likewise.
32497 * libio/iofclose.c: Assume _LIBC is defined.
32498 * libio/iofdopen.c: Likewise.
32499 (_IO_fcntl): Remove macro definition.
32500 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
32501 Call __fcntl directly.
32502 * libio/iofflush.c: Assume weak_alias is defined.
32503 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
32505 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
32506 * libio/iofgets.c: Likewise.
32507 * libio/iofopen.c: Assume _LIBC is defined.
32508 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
32509 * libio/iofputs.c: Assume weak_alias is defined.
32510 * libio/iofread.c: Likewise.
32511 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
32512 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
32513 * libio/ioftell.c: Assume weak_alias is defined.
32514 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
32515 * libio/iofwide.c: Assume _LIBC is defined.
32516 (_IO_fwide): Drop SHARED conditional because it is implied by
32518 * libio/iofwrite.c: Assume weak_alias is defined.
32519 * libio/iogetdelim.c: Likewise.
32520 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
32521 * libio/iogetwline.c (wmemcpy): Remove macro definition.
32522 (_IO_getwline): Call __wmemcpy directly.
32523 * libio/iopopen.c: Assume _LIBC is defined.
32524 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32525 (_IO_close): Remove macro definitions.
32526 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
32528 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
32530 * libio/ioputs.c: Assume weak_alias is defined.
32531 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
32532 * libio/iosetbuffer.c: Assume weak_alias is defined.
32533 * libio/iosetvbuf.c: Likewise.
32534 * libio/ioungetc.c: Likewise.
32535 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
32536 libc_hidden_def, libc_hidden_weak, NULL are defined.
32537 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
32538 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
32540 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32542 (_IO_old_file_init_internal): Drop SHARED conditional because it
32543 is implied by SHLIB_COMPAT.
32544 (_IO_old_file_fopen): Call __open directly.
32545 (_IO_old_file_sync): Assume ESPIPE is defined.
32546 (_IO_old_file_write): Call __write directly.
32547 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
32548 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
32549 Call __fcntl directly.
32550 * libio/oldiofgetpos.c: Assume weak_alias is defined.
32551 (_IO_old_fgetpos): Assume EIO is defined.
32552 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
32553 (_IO_old_fgetpos64): Assume EIO is defined.
32554 * libio/oldiofsetpos.c: Assume weak_alias is defined.
32555 (_IO_old_fsetpos): Assume EIO is defined.
32556 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
32557 (_IO_old_fsetpos64): Assume EIO is defined.
32558 * libio/oldiopopen.c: Assume _LIBC is defined.
32559 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32560 (_IO_close): Remove macro definitions.
32561 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
32563 (_IO_old_proc_close): Call __close, __waitpid directly.
32564 * libio/put.c: Assume weak_alias is defined.
32565 * libio/stdfiles.c: Assume _LIBC is defined.
32566 * libio/stdio.c: Likewise.
32567 * libio/wfileops.c: Likewise.
32568 (_IO_wfile_sync): Assume ESPIPE is defined.
32569 * libio/wgenops.c: Assume _LIBC is defined.
32570 (save_for_wbackup): Remove internal_function.
32572 2017-08-31 Florian Weimer <fweimer@redhat.com>
32574 * malloc/malloc.c (top_check): Change return type to void. Remove
32576 * malloc/hooks.c (top_check): Likewise.
32577 (malloc_check, realloc_check, memalign_check): Adjust.
32579 2017-08-30 Joseph Myers <joseph@codesourcery.com>
32582 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32583 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
32584 sigcontext and namespace requirements.
32585 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32586 * sysdeps/m68k/sys/ucontext.h: Likewise.
32587 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
32588 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
32589 <bits/sigcontext.h>.
32590 (__ctx): Define earlier.
32591 (mcontext_t): Define structure contents rather than using struct
32593 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32594 __glibc_reserved1 instead of __reserved.
32595 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32596 <bits/sigcontext.h>.
32597 (__ctx): Define earlier.
32598 (mcontext_t): Define structure contents rather than using struct
32600 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32601 mcontext_t instead of struct sigcontext.
32602 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32603 <bits/sigcontext.h>.
32604 (__ctx): Define earlier.
32605 (mcontext_t): Define structure contents rather than using struct
32607 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32608 <bits/sigcontext.h>.
32609 (__ctx): Define earlier.
32610 (mcontext_t): Define structure contents rather than using struct
32612 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32613 mcontext_t instead of struct sigcontext.
32614 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32615 mcontext_t instead of struct sigcontext.
32616 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32617 <bits/sigcontext.h>.
32618 (__ctx): New macro.
32619 (struct __ia64_fpreg_mcontext): New type.
32620 (mcontext_t): Define structure contents rather than using struct
32622 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32623 (uc_sigmask): Define using __ctx.
32624 (uc_stack): Likewise.
32625 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32626 <bits/sigcontext.h>.
32627 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32628 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32629 <bits/sigcontext.h>.
32630 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32631 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32632 <bits/sigcontext.h>.
32633 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32634 <bits/sigcontext.h>.
32635 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32636 <bits/sigcontext.h>.
32637 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32638 <bits/sigcontext.h>.
32639 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32640 <bits/sigcontext.h>.
32641 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32642 <bits/sigcontext.h>.
32643 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32644 <bits/sigcontext.h>.
32645 (__ctx): Define earlier.
32646 (mcontext_t): Define structure contents rather than using struct
32648 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
32649 <bits/sigcontext.h>. Include <bits/types.h>.
32650 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
32651 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
32652 (test-xfail-XPG42/ucontext.h/conform): Likewise.
32653 (test-xfail-UNIX98/signal.h/conform): Likewise.
32654 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32655 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32656 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32657 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32658 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32659 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32660 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32661 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32662 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32664 2017-08-30 Florian Weimer <fweimer@redhat.com>
32666 * malloc/dynarray_emplace_enlarge.c
32667 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
32668 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
32669 * malloc/tst-dynarray.c (test_long_overflow): New function.
32670 (do_test): Call it.
32672 2017-08-30 Florian Weimer <fweimer@redhat.com>
32674 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
32675 (set_arena_corrupt): Remove definitions.
32676 (mtrim): Do not check for corrupt arena.
32677 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
32680 2017-08-30 Florian Weimer <fweimer@redhat.com>
32683 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
32685 (ptmalloc_init): Do not set or use check_action.
32686 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
32687 call to malloc_printerr. Remove return statement.
32688 (free_check): Likewise. Remove arena unlock.
32689 (top_check): Update comment. Adjust call to malloc_printerr.
32690 Remove heap repair code.
32691 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
32692 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
32693 (sysmalloc): Adjust call to malloc_printerr.
32694 (munmap_chunk, __libc_realloc): Likewise. Remove return
32696 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
32697 Remove errout label and corresponding gotos.
32698 (_int_free): Likewise. Remove arena unlock.
32699 (do_set_mallopt_check): Do not set check_action.
32700 (malloc_printerr): Adjust parameter list. Do not mark arena as
32702 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
32704 * manual/probes.texi (Memory Allocation Probes): Remove
32705 memory_mallopt_check_action.
32707 2017-08-30 Steve Ellcey <sellcey@cavium.com>
32709 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
32710 Use pointer to uint64_t instead of long int for sp.
32712 2017-08-30 Florian Weimer <fweimer@redhat.com>
32715 * malloc/malloc.c (malloc_printerr): Always terminate the process,
32716 without printing a backtrace. Do not leak any information in the
32718 * manual/memory.texi (Heap Consistency Checking): Update.
32719 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
32721 2017-08-30 Florian Weimer <fweimer@redhat.com>
32723 Do not scale NPTL tests with available number of CPUs.
32724 * nptl/tst-cond16.c (count): Set to constant value of 8.
32725 * nptl/tst-cond18.c (count): Likewise.
32727 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32730 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
32731 Define to take a second argument that is a macro that
32732 concatentates a suffix, not the suffix itself.
32733 (__CONCAT_d): New macro.
32734 (__CONCAT_f): Likewise.
32735 (__CONCAT_l): Likewise.
32737 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
32739 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
32742 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32743 Aurelien Jarno <aurelien@aurel32.net>
32744 Maciej W. Rozycki <macro@imgtec.com>
32747 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32748 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32749 `mips16-syscall6' and `mips16-syscall7'.
32750 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32751 (CFLAGS-mips16-syscall7.c): Remove.
32752 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32753 Remove `__mips16_syscall5', `__mips16_syscall6' and
32754 `__mips16_syscall7'.
32755 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32756 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32757 `__mips_syscall_return'.
32758 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32759 (__mips16_syscall1): Likewise.
32760 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32761 (__mips16_syscall2): Likewise.
32762 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32763 (__mips16_syscall3): Likewise.
32764 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32765 (__mips16_syscall4): Likewise.
32766 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32768 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32770 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32772 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32773 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32774 `__mips16_syscall5'. Remove prototype.
32775 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32776 `__mips16_syscall6'. Remove prototype.
32777 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32778 `__mips16_syscall7'. Remove prototype.
32779 (__nomips16, __mips16_syscall_return): Move to...
32780 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32781 (__nomips16, __mips_syscall_return): ... here.
32782 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32783 `__mips16_syscall_return' to `__mips_syscall_return'.
32784 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32785 `internal_syscall##nr'.
32786 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32787 `internal_syscall##nr'.
32788 (FORCE_FRAME_POINTER): Remove.
32789 (__mips_syscall5): New prototype.
32790 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32791 (__mips_syscall6): New prototype.
32792 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32793 (__mips_syscall7): New prototype.
32794 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32795 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32796 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32797 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32798 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32799 (sysdep_routines): Add libc-do-syscall.
32800 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32801 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32803 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32806 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32807 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32808 (advise_stack_range): New function.
32809 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32810 stack non required to advise_stack_range at allocatestack.c
32812 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32814 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32816 2017-08-29 Florian Weimer <fweimer@redhat.com>
32819 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32820 __end_fct. Mangle __end_fct after setting it to NULL.
32821 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32822 (modules-names, modules-names-tests): Add
32823 tst-gconv-init-failure-mod.
32824 (gconv-modules): New target.
32825 (tst-gconv-init-failure-mod.so): Link against libsupport.
32826 (tst-gconv-init-failure): Depend on gconv-modules,
32827 tst-gconv-init-failure-mod.so.
32828 * iconv/tst-gconv-init-failure-mod.c: New file.
32829 * iconv/tst-gconv-init-failure.c: Likewise.
32830 * iconv/test-gconv-modules: Likewise.
32832 2017-08-29 Florian Weimer <fweimer@redhat.com>
32835 * iconv/gconv_db.c (free_derivation): Remove redundant
32837 (gen_steps): Unconditionally mangle __btowc_fct after
32839 (increment_counter): Likewise. Do not call init_fct for internal
32842 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32845 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32846 (_MSUF_): Remove macro.
32847 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32849 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32850 (__REDIRFROM_X): New macro.
32851 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32853 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32854 (__REDIRTO_X): Likewise.
32855 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32857 (__MATH_REDIRCALL_2): Likewise.
32858 (__MATH_REDIRCALL_INTERNAL): Likewise.
32859 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32860 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32861 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32862 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32863 * math/test-finite-macros.c: New file.
32864 * math/Makefile (tests): Add test-finite-macros.
32865 (CFLAGS-test-finite-macros.c): New variable.
32867 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
32868 Jeff Law <law@redhat.com>
32871 Mangle NULL pointers in iconv/gconv.
32872 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32873 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32874 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32875 is non-NULL before demangling the end_fct. Check for NULL
32876 end_fct after demangling.
32877 (__gconv_release_step): Demangle the end_fct before checking
32878 it for NULL. Remove assert on __shlibc_handle != NULL.
32879 (gen_steps): Don't check btowc_fct for NULL before mangling.
32880 Demangle init_fct before checking for NULL.
32881 (increment_counter): Likewise.
32882 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32883 end_fct for NULL before mangling.
32884 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32887 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
32890 * locale/iso-639.def: add Morisyen.
32892 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32895 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32896 (iszero): New C++ implementation that does not use
32897 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32898 signaling nans are enabled, since __builtin_types_compatible_p
32899 is a C-only feature.
32900 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32901 defined, include ieee754_float128.h for access to the union and
32902 member ieee854_float128.ieee.
32903 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32904 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32905 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32906 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32907 options of test-math-zero on powerpc64le.
32909 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32911 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32912 Change double to float.
32914 2017-08-28 Joseph Myers <joseph@codesourcery.com>
32916 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32918 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32919 conditional code; define contents only for [LIBM_SVID_COMPAT].
32921 2017-08-28 Florian Weimer <fweimer@redhat.com>
32923 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32924 (abi-lp64_be-options): Remove.
32925 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32926 (abi-hard-options): Likewise.
32927 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32928 (abi-o32_hard-options, abi-o32_soft_2008-options)
32929 (abi-o32_hard_2008-options, abi-n32_soft-options)
32930 (abi-n32_hard-options, abi-n32_soft_2008-options)
32931 (abi-n32_hard_2008-options, abi-n64_soft-options)
32932 (abi-n64_hard-options, abi-n64_soft_2008-options)
32933 (abi-n64_hard_2008-options): Likewise.
32934 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32935 (abi-64-v1-options, abi-64-v2-options): Likewise.
32936 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32937 (abi-64-options): Likewise.
32938 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32939 (abi-64-options): Likewise.
32940 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32941 (abi-64-options): Likewise.
32942 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32943 (abi-64-options, abi-x32-options): Likewise.
32945 2017-08-28 Florian Weimer <fweimer@redhat.com>
32947 Store supported list of SYS_* system calls in the source tree.
32948 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32949 (bits/syscall.h): Generate from list file.
32950 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32951 [$(subdir) = misc] (tests): Add tst-syscall-list.
32952 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32953 [$(subdir) = misc] (tst-syscall-list-macros.list)
32954 [$(subdir) = misc] (tst-syscall-list-nr.list)
32955 (tst-syscall-list-sys.list): Helper targets for new
32956 tst-syscall-list test.
32957 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32958 tst-syscall-list.sh.
32959 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32960 target. Do not include bits/syscall.d.
32961 [$(subdir) = misc] (generated): Do not update.
32962 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32963 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32964 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32965 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32967 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32969 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32970 (tst-cxa_atexit, tst-on_exit): Likewise.
32971 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32972 tst-cxa_atexit, and tst-on_exit.
32973 * stdlib/tst-atexit-common.c: New file.
32974 * stdlib/tst-atexit.c: New file.
32975 * stdlib/tst-at_quick_exit.c: New file.
32976 * stdlib/tst-cxa_atexit.c: New file.
32977 * stdlib/tst-on_exit.c: New file.
32979 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32981 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
32982 * mach/stack_chk_fail_local.c: New file.
32983 * hurd/stack_chk_fail_local.c: New file.
32984 * mach/Machrules ($(interface-library)-routines): Add
32985 stack_chk_fail_local.
32986 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32987 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32988 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32989 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32990 * hurd/Makefile (CFLAGS-hurdstartup.o,
32991 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
32993 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32995 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32996 (index_cpu_*, index_arch_*): Removed.
32998 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33000 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
33001 Use uint64_t instead of unsigned long.
33003 2017-08-25 Joseph Myers <joseph@codesourcery.com>
33005 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
33006 [__HAVE_DISTINCT_FLOAT128].
33008 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
33009 of <bits/math-finite.h>.
33010 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
33011 inclusion of <bits/math-finite.h>.
33012 * math/bits/math-finite.h (__REDIRTO_X): Do not define
33013 conditionally on [__MATH_DECLARING_LDOUBLE && defined
33014 __NO_LONG_DOUBLE_MATH].
33015 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
33016 (__MATH_REDIRCALL_2): Likewise.
33017 (__MATH_REDIRCALL_INTERNAL): Likewise.
33018 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33019 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
33020 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
33024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
33026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
33028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
33030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
33032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
33034 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33035 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33036 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33037 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
33039 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
33040 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
33041 w_sqrtf_compat-ppc32.
33043 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33045 * math/math.h [defined __cplusplus] (issignaling): In the long
33046 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
33047 is not defined. Call __issignaling, otherwise.
33049 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33051 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
33052 syscall definitions and replace __builtin_expect with __glibc_likely.
33053 * sysdeps/unix/syscall-template.S: Update comment about cancellable
33055 (SYSCALL_CANCELLABLE): Removedefinition
33056 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
33058 (PSEUDO_END): Likewise.
33059 [IS_IN (libpthread)] (CENABLE): Likewise.
33060 [IS_IN (libpthread)] (CDISABLE): Likewise.
33061 [IS_IN (libc)] (CENABLE): Likewise.
33062 [IS_IN (libc)] (CENABLE): Likewise.
33063 [IS_IN (librt)] (CDISABLE): Likewise.
33064 [IS_IN (librt)] (CDISABLE): Likewise.
33065 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33066 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
33068 (PSEUDO_END): Likewise.
33069 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
33070 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
33071 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33072 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33073 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33074 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33075 (CENABLE): Likewise.
33076 (CDISABLE): Likewise.
33077 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33078 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
33080 (PSEUDO_END): Likewise.
33081 [IS_IN (libpthread)] (CENABLE): Likewise.
33082 [IS_IN (libpthread)] (CDISABLE): Likewise.
33083 [IS_IN (libc)] (CENABLE): Likewise.
33084 [IS_IN (libc)] (CENABLE): Likewise.
33085 [IS_IN (librt)] (CDISABLE): Likewise.
33086 [IS_IN (librt)] (CDISABLE): Likewise.
33087 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33088 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
33090 (PSEUDO_END): Likewise.
33091 [IS_IN (libpthread)] (CENABLE): Likewise.
33092 [IS_IN (libpthread)] (CDISABLE): Likewise.
33093 [IS_IN (libc)] (CENABLE): Likewise.
33094 [IS_IN (libc)] (CENABLE): Likewise.
33095 [IS_IN (librt)] (CDISABLE): Likewise.
33096 [IS_IN (librt)] (CDISABLE): Likewise.
33097 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33098 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
33100 (PSEUDO_END): Likewise.
33101 [IS_IN (libpthread)] (CENABLE): Likewise.
33102 [IS_IN (libpthread)] (CDISABLE): Likewise.
33103 [IS_IN (libc)] (CENABLE): Likewise.
33104 [IS_IN (libc)] (CENABLE): Likewise.
33105 [IS_IN (librt)] (CDISABLE): Likewise.
33106 [IS_IN (librt)] (CDISABLE): Likewise.
33107 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33108 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
33110 (PSEUDO_END): Likewise.
33111 [IS_IN (libpthread)] (CENABLE): Likewise.
33112 [IS_IN (libpthread)] (CDISABLE): Likewise.
33113 [IS_IN (libc)] (CENABLE): Likewise.
33114 [IS_IN (libc)] (CENABLE): Likewise.
33115 [IS_IN (librt)] (CDISABLE): Likewise.
33116 [IS_IN (librt)] (CDISABLE): Likewise.
33117 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33118 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
33120 (PSEUDO_END): Likewise.
33121 [IS_IN (libpthread)] (CENABLE): Likewise.
33122 [IS_IN (libpthread)] (CDISABLE): Likewise.
33123 [IS_IN (libc)] (CENABLE): Likewise.
33124 [IS_IN (libc)] (CENABLE): Likewise.
33125 [IS_IN (librt)] (CDISABLE): Likewise.
33126 [IS_IN (librt)] (CDISABLE): Likewise.
33127 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33128 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
33130 (PSEUDO_END): Likewise.
33131 [IS_IN (libpthread)] (CENABLE): Likewise.
33132 [IS_IN (libpthread)] (CDISABLE): Likewise.
33133 [IS_IN (libc)] (CENABLE): Likewise.
33134 [IS_IN (libc)] (CENABLE): Likewise.
33135 [IS_IN (librt)] (CDISABLE): Likewise.
33136 [IS_IN (librt)] (CDISABLE): Likewise.
33137 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33138 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
33140 (PSEUDO_END): Likewise.
33141 [IS_IN (libpthread)] (CENABLE): Likewise.
33142 [IS_IN (libpthread)] (CDISABLE): Likewise.
33143 [IS_IN (libc)] (CENABLE): Likewise.
33144 [IS_IN (libc)] (CENABLE): Likewise.
33145 [IS_IN (librt)] (CDISABLE): Likewise.
33146 [IS_IN (librt)] (CDISABLE): Likewise.
33147 (SINGLE_THREAD_P): Likewise.
33148 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
33150 (PSEUDO_END): Likewise.
33151 [IS_IN (libpthread)] (CENABLE): Likewise.
33152 [IS_IN (libpthread)] (CDISABLE): Likewise.
33153 [IS_IN (libc)] (CENABLE): Likewise.
33154 [IS_IN (libc)] (CENABLE): Likewise.
33155 [IS_IN (librt)] (CDISABLE): Likewise.
33156 [IS_IN (librt)] (CDISABLE): Likewise.
33157 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33158 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
33160 (PSEUDO_END): Likewise.
33161 [IS_IN (libpthread)] (CENABLE): Likewise.
33162 [IS_IN (libpthread)] (CDISABLE): Likewise.
33163 [IS_IN (libc)] (CENABLE): Likewise.
33164 [IS_IN (libc)] (CENABLE): Likewise.
33165 [IS_IN (librt)] (CDISABLE): Likewise.
33166 [IS_IN (librt)] (CDISABLE): Likewise.
33167 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33168 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
33169 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33170 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
33171 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
33173 (PSEUDO_END): Likewise.
33174 [IS_IN (libpthread)] (CENABLE): Likewise.
33175 [IS_IN (libpthread)] (CDISABLE): Likewise.
33176 [IS_IN (libc)] (CENABLE): Likewise.
33177 [IS_IN (libc)] (CENABLE): Likewise.
33178 [IS_IN (librt)] (CDISABLE): Likewise.
33179 [IS_IN (librt)] (CDISABLE): Likewise.
33180 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33181 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
33183 (PSEUDO_END): Likewise.
33184 [IS_IN (libpthread)] (CENABLE): Likewise.
33185 [IS_IN (libpthread)] (CDISABLE): Likewise.
33186 [IS_IN (libc)] (CENABLE): Likewise.
33187 [IS_IN (libc)] (CENABLE): Likewise.
33188 [IS_IN (librt)] (CDISABLE): Likewise.
33189 [IS_IN (librt)] (CDISABLE): Likewise.
33190 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33191 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
33193 (PSEUDO_END): Likewise.
33194 [IS_IN (libpthread)] (CENABLE): Likewise.
33195 [IS_IN (libpthread)] (CDISABLE): Likewise.
33196 [IS_IN (libc)] (CENABLE): Likewise.
33197 [IS_IN (libc)] (CENABLE): Likewise.
33198 [IS_IN (librt)] (CDISABLE): Likewise.
33199 [IS_IN (librt)] (CDISABLE): Likewise.
33200 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33201 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
33202 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33203 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
33204 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
33206 (PSEUDO_END): Likewise.
33207 [IS_IN (libpthread)] (CENABLE): Likewise.
33208 [IS_IN (libpthread)] (CDISABLE): Likewise.
33209 [IS_IN (libc)] (CENABLE): Likewise.
33210 [IS_IN (libc)] (CENABLE): Likewise.
33211 [IS_IN (librt)] (CDISABLE): Likewise.
33212 [IS_IN (librt)] (CDISABLE): Likewise.
33213 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33214 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
33216 (PSEUDO_END): Likewise.
33217 [IS_IN (libpthread)] (CENABLE): Likewise.
33218 [IS_IN (libpthread)] (CDISABLE): Likewise.
33219 [IS_IN (libc)] (CENABLE): Likewise.
33220 [IS_IN (libc)] (CENABLE): Likewise.
33221 [IS_IN (librt)] (CDISABLE): Likewise.
33222 [IS_IN (librt)] (CDISABLE): Likewise.
33223 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33225 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33227 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
33229 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33231 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33233 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33236 * string/stratcliff.c (do_test): Declare size, nchars, inner,
33237 middle and outer with size_t instead of int. Repleace %d and
33238 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
33239 "MAX (outer, nchars - 64)" to support unsigned outer and
33240 nchars. Also exit loop when outer == 0.
33242 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33244 * include/fcntl.h (__fcntl_nocancel): Remove definition.
33245 * include/signal.h (__sigsuspend_nocancel): Likewise.
33246 * include/time.h (__nanosleep_nocancel): Likewise.
33247 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
33248 * login/utmp_file.c: Include non cancellable syscall header.
33249 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
33252 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33254 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
33255 .byte sequences with AVX512F instructions.
33256 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
33257 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
33258 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33259 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
33261 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
33264 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
33265 Steve Ellcey <sellcey@cavium.com>
33267 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
33268 Use PTR_REG macro in cmp instruction.
33270 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33272 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
33273 Change the return type of the ifunc resolver to match the return
33274 type of the target function.
33276 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33278 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
33279 (preadv64): Likewise.
33280 (pwrite64(: Likewise.
33281 (pwritev64): Likewise.
33283 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33284 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
33285 (LOAD_ARGS_0): Likewise.
33286 (LOAD_ARGS_1): Likewise.
33287 (LOAD_ARGS_2): Likewise.
33288 (LOAD_ARGS_3): Likewise.
33289 (LOAD_ARGS_4): Likewise.
33290 (LOAD_ARGS_5): Likewise.
33291 (LOAD_ARGS_6): Likewise.
33292 (LOAD_REGS_0): Likewise.
33293 (LOAD_REGS_1): Likewise.
33294 (LOAD_REGS_2): Likewise.
33295 (LOAD_REGS_3): Likewise.
33296 (LOAD_REGS_4): Likewise.
33297 (LOAD_REGS_5): Likewise.
33298 (LOAD_REGS_6): Likewise.
33299 (ASM_ARGS_0): Likewise.
33300 (ASM_ARGS_1): Likewise.
33301 (ASM_ARGS_2): Likewise.
33302 (ASM_ARGS_3): Likewise.
33303 (ASM_ARGS_4): Likewise.
33304 (ASM_ARGS_5): Likewise.
33305 (ASM_ARGS_6): Likewise.
33306 (LOAD_ARGS_TYPES_1): Likewise.
33307 (LOAD_ARGS_TYPES_2): Likewise.
33308 (LOAD_ARGS_TYPES_3): Likewise.
33309 (LOAD_ARGS_TYPES_4): Likewise.
33310 (LOAD_ARGS_TYPES_5): Likewise.
33311 (LOAD_ARGS_TYPES_6): Likewise.
33312 (LOAD_REGS_TYPES_1): Likewise.
33313 (LOAD_REGS_TYPES_2): Likewise.
33314 (LOAD_REGS_TYPES_3): Likewise.
33315 (LOAD_REGS_TYPES_4): Likewise.
33316 (LOAD_REGS_TYPES_5): Likewise.
33317 (LOAD_REGS_TYPES_6): Likewise.
33318 (TYPEFY): New define.
33319 (ARGIFY): Likewise.
33320 (internal_syscall0): Likewise.
33321 (internal_syscall1): Likewise.
33322 (internal_syscall2): Likewise.
33323 (internal_syscall3): Likewise.
33324 (internal_syscall4): Likewise.
33325 (internal_syscall5): Likewise.
33326 (internal_syscall6): Likewise.
33327 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
33328 (INTERNAL_SYSCALL_NCS): Remove define.
33329 (internal_syscall1): Add define.
33331 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33333 * math/w_remainder_compat.c: Remove duplicate inclusion of
33334 math-svid-compat.h.
33335 * math/w_remainderf_compat.c: Likewise.
33336 * math/w_remainderl_compat.c: Likewise.
33338 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33342 2017-08-22 Joseph Myers <joseph@codesourcery.com>
33345 * math/tgmath.h (__floating_type): Simplify definitions.
33346 (__real_integer_type): New macro.
33347 (__complex_integer_type): Likewise.
33348 (__expr_is_real): Likewise.
33349 (__tgmath_real_type_sub): Update comment to describe handling of
33351 (__tgmath_complex_type_sub): New macro.
33352 (__tgmath_complex_type): Likewise.
33353 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33354 (__TGMATH_CF128): Use __expr_is_real.
33355 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
33357 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33358 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
33359 * math/gen-tgmath-tests.py (Type.create_type): Create complex
33362 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33364 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
33366 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
33368 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
33371 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
33372 nanosleep_not_cancel with __nanosleep_nocancel.
33373 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
33374 (__nanosleep_nocancel): New macro.
33375 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
33377 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
33379 (__nanosleep_nocancel): New prototype.
33381 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
33382 pause_not_cancel with __pause_nocancel.
33383 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
33384 (__pause_nocancel): New macro.
33385 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
33387 (__pause_nocancel): New prototype.
33388 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
33390 2017-08-22 Martin Sebor <msebor@redhat.com>
33392 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
33393 to return a pointer to the same type as the target function.
33395 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33399 * include/printf.h (__printf_fphex): Add attribute_hidden.
33400 (__guess_grouping): New prototype.
33401 * stdio-common/printf_fp.c (__guess_grouping): Removed.
33402 * stdio-common/reg-printf.c (__register_printf_specifier): Add
33403 libc_hidden_proto and libc_hidden_def.
33404 * stdlib/strfmon_l.c (__guess_grouping): Removed.
33405 (__vstrfmon_l): Remove the third argument passed to
33408 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33410 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
33411 definition for issignaling that does not rely on __MATH_TG,
33412 since __MATH_TG uses __builtin_types_compatible_p, which is only
33413 available in C mode.
33414 (CFLAGS-test-math-issignaling.cc): New variable.
33415 * math/Makefile [CXX] (tests): Add test-math-issignaling.
33416 * math/test-math-issignaling.cc: New test for C++ implementation
33417 of type-generic issignaling.
33418 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33419 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
33420 options of test-math-issignaling on powerpc64le.
33422 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33424 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33426 (hidden_proto): Likewise.
33427 (hidden_tls_proto): Likewise.
33428 (__hidden_proto): Likewise.
33430 2017-08-22 Florian Weimer <fweimer@redhat.com>
33432 math: Statically link tests of internal functionality.
33433 * math/Makefile (tests): Remove atest-exp, atest-sincos,
33435 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
33436 (gmp-objs): Remove assignment.
33437 (atest-exp, atest-sincos, atest-exp2): Remove targets.
33439 2017-08-22 Joseph Myers <joseph@codesourcery.com>
33442 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
33444 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
33446 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
33449 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
33450 variable definitions above inclusion of ../Rules.
33452 2017-08-21 Joseph Myers <joseph@codesourcery.com>
33454 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
33455 case calling __builtin_unreachable.
33457 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33459 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
33460 __waitpid_nocancel.
33461 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
33462 (__waitpid_nocancel): New macro.
33463 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
33465 (__waitpid_nocancel): Replace macro with a function.
33466 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
33469 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
33471 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
33472 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
33474 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
33475 __writev_nocancel_nostatus.
33476 (write_call_graph): Likewise.
33477 (write_bb_counts): Likewise.
33478 * resolv/herror.c (herror): Likewise.
33479 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
33481 (__writev_nocancel_nostatus): New macro.
33482 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
33484 (__writev_nocancel_nostatus): New function.
33486 2017-08-21 Joseph Myers <joseph@codesourcery.com>
33489 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33491 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33493 (hidden_proto): Likewise.
33494 (hidden_tls_proto): Likewise.
33495 (__hidden_proto): Likewise.
33498 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
33499 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
33504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
33508 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
33509 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33510 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33511 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33512 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
33513 GLIBC_2.0 sqrtl symbol.
33515 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
33516 [__USE_MISC] (_LIB_VERSION): Likewise.
33517 [__USE_MISC] (struct exception): Likewise.
33518 [__USE_MISC] (matherr): Likewise.
33519 [__USE_MISC] (DOMAIN): Likewise.
33520 [__USE_MISC] (SING): Likewise.
33521 [__USE_MISC] (OVERFLOW): Likewise.
33522 [__USE_MISC] (UNDERFLOW): Likewise.
33523 [__USE_MISC] (TLOSS): Likewise.
33524 [__USE_MISC] (PLOSS): Likewise.
33525 [__USE_MISC] (HUGE): Likewise.
33526 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
33527 * math/math-svid-compat.h: New file.
33528 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
33530 * include/math.h [!_ISOMAC] (__matherr): Remove.
33531 * manual/arith.texi (FP Exceptions): Do not document matherr.
33532 * math/Makefile (tests): Change test-matherr to test-matherr-3.
33533 (tests-internal): New variable.
33534 (install-lib): Do not add libieee.a.
33535 (non-lib.a): Likewise.
33536 (extra-objs): Do not add libieee.a and ieee-math.o.
33537 (CPPFLAGS-s_lib_version.c): Remove variable.
33538 ($(objpfx)libieee.a): Remove rule.
33539 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
33540 * math/ieee-math.c: Remove.
33541 * math/libm-test-support.c (matherr): Remove.
33542 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
33543 and license notices. Include <math-svid-compat.h> and
33545 (matherr): Undefine as macro. Use compat_symbol_reference.
33546 (_LIB_VERSION): Likewise.
33547 * math/test-matherr-2.c: New file.
33548 * math/test-matherr-3.c: Likewise.
33549 * sysdeps/generic/math_private.h (__kernel_standard): Remove
33551 (__kernel_standard_f): Likewise.
33552 (__kernel_standard_l): Likewise.
33553 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
33554 <math_private.h>. Include <math-svid-compat.h>.
33555 (_LIB_VERSION): Undefine as macro.
33556 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
33557 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
33558 [LIBM_SVID_COMPAT], use compat_symbol.
33559 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
33560 <math_private.h>. Include <math-svid-compat.h>.
33561 (matherr): Undefine as macro.
33562 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
33564 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
33565 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
33566 compat_symbol_reference.
33567 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
33568 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
33569 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
33570 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
33571 (MATHERR_D): Remove declaration.
33572 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
33573 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
33574 [LIBM_BUILD] (pmatherrf): Likewise.
33575 [LIBM_BUILD] (pmatherr): Likewise.
33576 [LIBM_BUILD] (pmatherrl): Likewise.
33577 (DOMAIN): Likewise.
33579 (OVERFLOW): Likewise.
33580 (UNDERFLOW): Likewise.
33583 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
33584 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
33586 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
33587 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
33589 * math/lgamma-compat.h: Include <math-svid-compat.h>.
33590 * math/w_acos_compat.c: Likewise.
33591 * math/w_acosf_compat.c: Likewise.
33592 * math/w_acosh_compat.c: Likewise.
33593 * math/w_acoshf_compat.c: Likewise.
33594 * math/w_acoshl_compat.c: Likewise.
33595 * math/w_acosl_compat.c: Likewise.
33596 * math/w_asin_compat.c: Likewise.
33597 * math/w_asinf_compat.c: Likewise.
33598 * math/w_asinl_compat.c: Likewise.
33599 * math/w_atan2_compat.c: Likewise.
33600 * math/w_atan2f_compat.c: Likewise.
33601 * math/w_atan2l_compat.c: Likewise.
33602 * math/w_atanh_compat.c: Likewise.
33603 * math/w_atanhf_compat.c: Likewise.
33604 * math/w_atanhl_compat.c: Likewise.
33605 * math/w_cosh_compat.c: Likewise.
33606 * math/w_coshf_compat.c: Likewise.
33607 * math/w_coshl_compat.c: Likewise.
33608 * math/w_exp10_compat.c: Likewise.
33609 * math/w_exp10f_compat.c: Likewise.
33610 * math/w_exp10l_compat.c: Likewise.
33611 * math/w_exp2_compat.c: Likewise.
33612 * math/w_exp2f_compat.c: Likewise.
33613 * math/w_exp2l_compat.c: Likewise.
33614 * math/w_fmod_compat.c: Likewise.
33615 * math/w_fmodf_compat.c: Likewise.
33616 * math/w_fmodl_compat.c: Likewise.
33617 * math/w_hypot_compat.c: Likewise.
33618 * math/w_hypotf_compat.c: Likewise.
33619 * math/w_hypotl_compat.c: Likewise.
33620 * math/w_j0_compat.c: Likewise.
33621 * math/w_j0f_compat.c: Likewise.
33622 * math/w_j0l_compat.c: Likewise.
33623 * math/w_j1_compat.c: Likewise.
33624 * math/w_j1f_compat.c: Likewise.
33625 * math/w_j1l_compat.c: Likewise.
33626 * math/w_jn_compat.c: Likewise.
33627 * math/w_jnf_compat.c: Likewise.
33628 * math/w_jnl_compat.c: Likewise.
33629 * math/w_lgamma_main.c: Likewise.
33630 * math/w_lgamma_r_compat.c: Likewise.
33631 * math/w_lgammaf_main.c: Likewise.
33632 * math/w_lgammaf_r_compat.c: Likewise.
33633 * math/w_lgammal_main.c: Likewise.
33634 * math/w_lgammal_r_compat.c: Likewise.
33635 * math/w_log10_compat.c: Likewise.
33636 * math/w_log10f_compat.c: Likewise.
33637 * math/w_log10l_compat.c: Likewise.
33638 * math/w_log2_compat.c: Likewise.
33639 * math/w_log2f_compat.c: Likewise.
33640 * math/w_log2l_compat.c: Likewise.
33641 * math/w_log_compat.c: Likewise.
33642 * math/w_logf_compat.c: Likewise.
33643 * math/w_logl_compat.c: Likewise.
33644 * math/w_pow_compat.c: Likewise.
33645 * math/w_powf_compat.c: Likewise.
33646 * math/w_powl_compat.c: Likewise.
33647 * math/w_remainder_compat.c: Likewise.
33648 * math/w_remainderf_compat.c: Likewise.
33649 * math/w_remainderl_compat.c: Likewise.
33650 * math/w_scalb_compat.c: Likewise.
33651 * math/w_scalbf_compat.c: Likewise.
33652 * math/w_scalbl_compat.c: Likewise.
33653 * math/w_sinh_compat.c: Likewise.
33654 * math/w_sinhf_compat.c: Likewise.
33655 * math/w_sinhl_compat.c: Likewise.
33656 * math/w_sqrt_compat.c: Likewise.
33657 * math/w_sqrtf_compat.c: Likewise.
33658 * math/w_sqrtl_compat.c: Likewise.
33659 * math/w_tgamma_compat.c: Likewise.
33660 * math/w_tgammaf_compat.c: Likewise.
33661 * math/w_tgammal_compat.c: Likewise.
33662 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
33663 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33664 * sysdeps/ieee754/k_standard.c: Likewise.
33665 * sysdeps/ieee754/k_standardf.c: Likewise.
33666 * sysdeps/ieee754/k_standardl.c: Likewise.
33667 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33668 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33669 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33670 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33671 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33672 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33673 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33674 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
33675 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33680 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
33681 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33682 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33683 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33685 2017-08-21 Florian Weimer <fweimer@redhat.com>
33688 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
33689 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
33690 Move before inclusion of ../Rules.
33692 2017-08-21 Florian Weimer <fweimer@redhat.com>
33695 * assert/assert.h (assert): Use static_cast (bool) for C++.
33696 Use the ternary operator in the warning branch for GNU C.
33697 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
33698 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
33699 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
33700 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
33701 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
33703 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33706 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33707 (__syscall_clock_gettime): Add attribute_hidden.
33708 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
33709 (__start_context): Likewise.
33711 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33713 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33715 (hidden_proto): Likewise.
33716 (hidden_tls_proto): Likewise.
33717 (__hidden_proto): Likewise.
33719 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33721 * include/libc-symbols.h (attribute_hidden): Enable hidden
33722 visibility in libc.a compiled with PIE.
33724 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33727 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
33728 Add attribute_hidden.
33730 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33733 * Makerules (all-nonlib): Add $(others-extras).
33734 * catgets/Makefile (others-extras): New.
33735 * elf/Makefile (others-extras): Likewise.
33736 * nss/Makefile (others-extras): Likewise.
33738 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33741 * csu/libc-start.c (__libc_multiple_libcs): Removed.
33742 * elf/dl-open.c: Include <libc-internal.h>.
33743 (__libc_multiple_libcs): Removed.
33744 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33746 * include/libc-internal.h (__libc_multiple_libcs): New.
33747 * misc/sbrk.c: Include <libc-internal.h>.
33748 (__libc_multiple_libcs): Removed.
33750 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33753 * grp/initgroups.c (__nss_group_database): Removed.
33754 (__nss_initgroups_database): Likewise.
33755 * nscd/gai.c (__nss_hosts_database): Likewise.
33756 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33757 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33758 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33759 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33760 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33761 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33763 * nss/nsswitch.c (__nss_database_custom): Define only if
33764 USE_NSCD is defined.
33765 (__nss_configure_lookup): Use __nss_database_custom only if
33766 USE_NSCD is defined.
33767 * nss/nsswitch.h (__nss_database_custom): Declare only if
33768 USE_NSCD is defined. Add attribute_hidden.
33769 (__nss_setent): Add attribute_hidden.
33770 (__nss_endent): Likewise.
33771 (__nss_getent_r): Likewise.
33772 (__nss_getent): Likewise.
33773 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33775 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33778 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33779 libc_hidden_proto and libc_hidden_def.
33781 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33784 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33785 Add libc_hidden_proto.
33786 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33787 Add libc_hidden_def.
33789 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33792 * gmon/Makefile (routines): Remove bb_init_func and
33794 (elide-routines.os): Removed.
33795 * gmon/bb_exit_func.c: Likewise.
33796 * gmon/bb_init_func.c: Likewise.
33797 * include/sys/gmon.h (__bb): Likewise.
33798 (__bb_init_func): Likewise.
33799 (__bb_exit_func): Likewise.
33800 * sysdeps/alpha/bb_init_func.S: Likewise.
33802 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33804 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33805 * include/setjmp.h (____longjmp_chk): Here. Add
33808 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33811 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33813 (__strspn_sse2): Likewise.
33815 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33817 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33818 (close_not_cancel_no_status): Likewise.
33819 (__close_nocancel): New macro.
33820 (__close_nocancel_nostatus): Likewise.
33821 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33823 (close_not_cancel): Likewise.
33824 (close_not_cancel_no_status): Likewise.
33825 (__close_nocancel): New prototype.
33826 (__close_nocancel_nostatus): New function.
33827 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33828 * catgets/open_catalog.c (__open_catalog): Replace
33829 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33830 * gmon/gmon.c (write_gmon): Likewise.
33831 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33832 * intl/loadmsgcat.c (close): Likewise.
33833 * io/ftw.c (open_dir_stream): Likewise.
33834 (ftw_startup): Likewise.
33835 * libio/fileops.c (_IO_file_open): Likewise.
33836 (_IO_file_close_mmap): Likewise.
33837 (_IO_file_close): Likewise.
33838 * libio/iopopen.c (_IO_dup2): Likewise.
33839 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33840 * locale/loadlocale.c (_nl_load_locale): Likewise.
33841 * login/utmp_file.c (pututline_file): Likewise.
33842 (endutent_file): Likewise.
33843 * misc/daemon.c (daemon): Likewise.
33844 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33845 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33846 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33847 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33848 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33849 * nscd/nscd_helper.c (open_socket): Likewise.
33850 (__nscd_open_socket): Likewise.
33851 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33852 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33853 (__nscd_innetgr): Likewise.
33854 * nss/nss_db/db-open.c (internal_setent): Likewise.
33855 * resolv/res-close.c (__res_iclose): Likewise.
33856 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33857 * sysdeps/posix/closedir.c (__closedir): Likewise.
33858 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33859 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33860 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33861 (opendir_tail): Likewise.
33862 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33863 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33864 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33865 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33866 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33867 (gethostid): Likewise.
33868 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33869 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33871 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33872 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33873 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33874 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33876 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33877 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33878 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33880 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33881 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33883 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33885 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33886 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33887 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33890 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33891 (openat_not_cancel_3): Likewise.
33892 (openat64_not_cancel_3): Likewise).
33893 (openat_not_cancel_3): Likewise).
33894 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33896 (openat_not_cancel_3): Likewise.
33897 (openat64_not_cancel): Likewise.
33898 (openat64_not_cancel_3): Likewise.
33899 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33900 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33901 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33902 __open{64}_nocancel.
33903 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33904 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33905 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33907 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33910 * include/argz.h (__argz_create_sep): New function prototype.
33911 (__argz_append): Likewise.
33912 (__argz_add): Likewise.
33913 (__argz_add_sep): Likewise.
33914 (__argz_delete): Likewise.
33915 (__argz_insert): Likewise.
33916 (__argz_replace): Likewise.
33917 * string/argz.h (__argz_create_sep): Removed.
33918 (__argz_append): Likewise.
33919 (__argz_add): Likewise.
33920 (__argz_add_sep): Likewise.
33921 (__argz_delete): Likewise.
33922 (__argz_insert): Likewise.
33923 (__argz_replace): Likewise.
33925 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33927 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33928 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33929 (GNU_PROPERTY_STACK_SIZE): Likewie.
33930 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33931 (GNU_PROPERTY_LOPROC): Likewise.
33932 (GNU_PROPERTY_HIPROC): Likewise.
33933 (GNU_PROPERTY_LOUSER): Likewise.
33934 (GNU_PROPERTY_HIUSER): Likewise.
33935 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33936 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33937 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33938 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33939 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33940 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33941 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33942 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33943 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33944 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33945 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33946 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33947 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33948 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33949 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33950 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33951 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33952 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33953 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33954 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33955 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33956 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33957 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33959 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33961 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33964 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33967 * math/math.h (isinf): Check if in C or C++ mode before using
33968 __builtin_types_compatible_p, since this is a C mode feature.
33970 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33972 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33973 (__write_nocancel): New macro.
33974 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33975 Rewrite as a function prototype.
33976 (write_not_cancel): Remove macro.
33977 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33978 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33979 (write_gmon): Likewise.
33980 * libio/fileops.c (_IO_new_file_write): Likewise.
33981 * login/utmp_file.c (pututline_file): Likewise.
33982 (updwtmp_file): Likewise.
33983 * stdio-common/psiginfo.c (psiginfo): Likewise.
33984 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33985 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33986 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33988 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33991 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33992 (__read_nocancel): New macro.
33993 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33995 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33997 (__read_nocancel): New prototype.
33998 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33999 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
34000 with __read_nocancel.
34001 * intl/loadmsgcat.c (read): Likewise.
34002 * libio/fileops.c (_IO_file_read): Likewise.
34003 * locale/loadlocale.c (_nl_load_locale): Likewise.
34004 * login/utmp_file.c (getutent_r_file): Likewise.
34005 (internal_getut_r): Likewise.
34006 (getutline_r_file): Likewise.
34007 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34008 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34009 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34010 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34012 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
34013 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34014 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34016 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34018 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34020 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34022 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34024 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34027 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
34028 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
34031 2017-08-17 DJ Delorie <dj@redhat.com>
34033 * bug17079.c: Update to new test harness.
34034 * test-digits-dots.c: Likewise.
34035 * test-netdb.c: Likewise.
34036 * tst-field.c: Likewise.
34037 * tst-nss-getpwent.c: Likewise.
34038 * tst-nss-static.c: Likewise.
34039 * tst-nss-test1.c: Likewise.
34040 * tst-nss-test2.c: Likewise.
34041 * tst-nss-test3.c: Likewise.
34042 * tst-nss-test4.c: Likewise.
34043 * tst-nss-test5.c: Likewise.
34045 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34047 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
34048 (open_not_cancel_2): Likewise.
34049 (open_nocancel): New macro.
34050 (open64_nocancel): Likewise.
34051 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
34052 (open_not_cancel_2): Likewise.
34053 (__open_nocancel): New prototype.
34054 (__open64_nocancel): Likewise.
34055 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34057 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
34058 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
34059 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
34060 with __open_nocancel.
34061 * csu/check_fds.c (check_one_fd): Likewise.
34062 * gmon/gmon.c (write_gmon): Likewise.
34063 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
34064 * intl/loadmsgcat.c (open): Likewise.
34065 * libio/fileops.c (_IO_file_open): Likewise.
34066 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34067 * locale/loadlocale.c (_nl_load_locale): Likewise.
34068 * login/utmp_file.c (setutent_file): Likewise.
34069 * misc/daemon.c (daemon): Likewise.
34070 * nss/nss_db/db-open.c (internal_setent): Likewise.
34071 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34072 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
34073 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34074 (__opendir): Likewise.
34075 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34076 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34077 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34078 (gethostid): Likewise.
34079 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34080 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34082 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34083 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
34084 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34085 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34087 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34089 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34091 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34093 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34095 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34097 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34098 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34100 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
34102 * benchtests/bench-skeleton.c (main): Add support for
34103 latency benchmarking.
34104 * benchtests/scripts/bench.py: Add support for latency benchmarking.
34106 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
34108 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
34109 the startup object.
34111 2017-08-17 Florian Weimer <fweimer@redhat.com>
34113 * include/sys/socket.h (__opensock): Remove internal_function.
34114 * socket/opensock.c (__opensock): Likewise.
34115 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
34117 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34120 * signal/bits/types/__sigval_t.h: New file.
34121 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
34122 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
34123 and define sigval_t using __sigval_t.
34124 * include/bits/types/__sigval_t.h: New file.
34125 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
34126 instead of <bits/types/__sigval_t.h>.
34127 (struct sigevent): Use __sigval_t instead of sigval_t.
34128 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
34129 instead of <bits/types/__sigval_t.h>.
34130 (siginfo_t): Use __sigval_t instead of sigval_t.
34131 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
34132 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34133 (struct sigevent): Use __sigval_t instead of sigval_t.
34134 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
34135 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34136 (siginfo_t): Use __sigval_t instead of sigval_t.
34137 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
34139 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34141 * NEWS: Remove "[Add new features here]" for 2.27.
34143 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34145 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
34148 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34150 * NEWS: Mention x86-64 FMA optimization.
34152 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34155 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34157 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
34158 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
34159 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
34161 2017-08-16 Andreas Schwab <schwab@suse.de>
34165 * elf/ldd.bash.in: Never run file directly.
34167 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
34170 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
34171 (L(SP_INF_0)): Likewise.
34173 2017-08-15 Florian Weimer <fweimer@redhat.com>
34175 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
34178 2017-08-15 Florian Weimer <fweimer@redhat.com>
34180 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
34181 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
34182 BROKEN_THREAD_SIGNALS code.
34183 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
34184 request_list): Remove caller_pid member used for
34185 BROKEN_THREAD_SIGNALS.
34186 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
34187 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34188 Remove BROKEN_THREAD_SIGNALS support.
34189 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
34190 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
34192 2017-08-15 Florian Weimer <fweimer@redhat.com>
34194 * gmon/Makefile (tests): Add tst-gmon.
34195 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
34197 (tests-special): Add tst-gmon-prof.out.
34198 (tst-gmon.out): Depend on clean-tst-gmon-data.
34199 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
34200 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
34201 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
34203 * aclocal.m4 (GPROF): Set and substitute.
34204 * config.amke.in (GPROF): Set.
34205 * configure: Regenerate.
34207 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
34209 * elf/elf.h A (NT_PPC_TAR): New macro.
34210 (NT_PPC_PPR): Likewise.
34211 (NT_PPC_DSCR): Likewise.
34212 (NT_PPC_EBB): Likewise.
34213 (NT_PPC_PMU): Likewise.
34214 (NT_PPC_TM_CGPR): Likewise.
34215 (NT_PPC_TM_CFPR): Likewise.
34216 (NT_PPC_TM_CVMX): Likewise.
34217 (NT_PPC_TM_CVSX): Likewise.
34218 (NT_PPC_TM_SPR): Likewise.
34219 (NT_PPC_TM_CTAR): Likewise.
34220 (NT_PPC_TM_CPPR): Likewise.
34221 (NT_PPC_TM_CDSCR): Likewise.
34223 2017-08-15 Florian Weimer <fweimer@redhat.com>
34225 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
34226 regparm (2) instead of internal_function.
34227 (_MCOUNT_DECL): Adjust.
34229 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34231 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
34232 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
34234 2017-08-14 Joseph Myers <joseph@codesourcery.com>
34236 * conform/data/sys/wait.h-data (si_value): Do not expect for
34239 2017-08-14 Florian Weimer <fweimer@redhat.com>
34242 NSS: Create stubs for accidentally exported lookup functions.
34243 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
34244 Remove declaration.
34245 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
34246 (ether_hostton): Call __nss_ethers_lookup2 instead.
34247 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
34248 (ether_ntohost): Call __nss_ethers_lookup2 instead.
34249 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
34250 (setup): Call __nss_netgroup_lookup2 instead.
34251 * nss/Makefile (routines): Add compat-lookup.
34252 * nss/Versions (GLIBC_2.27): Add symbol version.
34253 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
34254 (DB_COMPAT_FCT): Remove.
34255 * nss/compat-lookup.c: New file.
34256 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
34257 from databases.def.
34258 * nss/service-lookup.c (NO_COMPAT): Remove definition.
34259 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
34260 (netname2user): Call __nss_publickey_lookup2 instead.
34261 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
34262 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
34265 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34266 Sergei Trofimovich <slyfox@inbox.ru>
34269 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
34270 Rename to MMAP2_PAGE_UNIT.
34271 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
34272 __OFF_T_MATCHES_OFF64_T is not defined.
34273 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
34275 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
34276 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
34278 2017-08-14 Florian Weimer <fweimer@redhat.com>
34280 i386: Do not set internal_function.
34281 * config.h.in (USE_REGPARMS, internal_function): Remove.
34282 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
34283 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
34285 2017-08-14 Florian Weimer <fweimer@redhat.com>
34287 * elf/dl-init.c (_dl_init): Remove internal_function.
34288 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
34289 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
34291 2017-08-14 Florian Weimer <fweimer@redhat.com>
34293 * elf/rtld.c (_dl_start): Remove internal_function.
34294 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
34297 2017-08-14 Florian Weimer <fweimer@redhat.com>
34299 * elf/dl-fini.c (_dl_fini): Remove internal_function
34300 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
34302 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
34304 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
34305 (bit_cpu_SHSTK): Likewise.
34306 (index_cpu_IBT): Likewise.
34307 (index_cpu_SHSTK): Likewise.
34308 (reg_IBT): Likewise.
34309 (reg_SHSTK): Likewise.
34310 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34311 Handle index_cpu_IBT and index_cpu_SHSTK.
34313 2017-08-14 Mike FABIAN <mfabian@redhat.com>
34316 * po/fr.po: Fix spelling mistake.
34318 2017-08-13 Florian Weimer <fweimer@redhat.com>
34320 * elf/dl-addr.c (_dl_addr): Remove internal_function.
34321 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
34322 (_dl_catch_error, _dl_receive_error): Likewise.
34323 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
34324 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
34325 (_dl_deallocate_tls): Likewise.
34326 * include/dlfcn.h (_dl_addr): Likewise.
34327 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
34328 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
34329 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
34332 2017-08-13 Florian Weimer <fweimer@redhat.com>
34334 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
34335 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
34337 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
34339 2017-08-13 Florian Weimer <fweimer@redhat.com>
34341 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
34343 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
34344 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
34345 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
34346 internal_function from _dl_make_stack_executable_hook member.
34347 (_dl_make_stack_executable): Remove internal_function.
34348 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
34350 * sysdeps/unix/sysv/linux/dl-execstack.c
34351 (_dl_make_stack_executable): Likewise.
34353 2017-08-13 Florian Weimer <fweimer@redhat.com>
34355 * sysdeps/unix/sysv/linux/netlinkaccess.h
34356 (__netlink_assert_response): Remove internal_function.
34357 * sysdeps/unix/sysv/linux/netlink_assert_response.c
34358 (__netlink_assert_response): Likewise.
34360 2017-08-13 Florian Weimer <fweimer@redhat.com>
34362 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
34364 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
34366 2017-08-13 Florian Weimer <fweimer@redhat.com>
34368 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
34370 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
34371 * inet/netgroup.h (__internal_setnetgrent)
34372 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34373 * inet/getnetgrent_r.c (__internal_setnetgrent)
34374 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34375 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
34376 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
34377 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
34378 * nss/nsswitch.h (db_lookup_function): Likewise.
34380 2017-08-13 Florian Weimer <fweimer@redhat.com>
34382 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
34383 Remove internal_function.
34384 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
34385 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
34386 message argument on the stack.
34387 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
34390 2017-08-12 Mike FABIAN <mfabian@redhat.com>
34392 Adapt test case data to the changes in the thousands
34396 * localedata/tst-langinfo.sh: Adapt test case data.
34397 * stdlib/tst-strfmon_l.c: Likewise.
34398 * stdlib/tst-strtod4.c: Likewise.
34399 * stdlib/tst-strtod5i.c: Likewise.
34401 2017-08-11 Florian Weimer <fweimer@redhat.com>
34404 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
34405 Suppress pedantic warning resulting from statement expression.
34406 (__ASSERT_FUNCTION): Add missing __extension__.
34408 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34410 * benchtests/bench-memmove-large.c: Print output in JSON
34412 * benchtests/bench-memmove.c: Likewise.
34414 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
34415 * benchtests/bench-memchr.c (do_one_test): Likewise.
34416 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
34417 * benchtests/bench-memcpy.c (do_one_test): Likewise.
34418 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
34419 * benchtests/bench-memmove.c (do_one_test): Likewise.
34420 * benchtests/bench-memset-large.c (do_one_test): Likewise.
34421 * benchtests/bench-memset.c (do_one_test): Likewise.
34422 * benchtests/bench-string.h (test_init): Remove memsets.
34424 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
34427 (Computing the Width of an Integer Data Type): Rename section to
34428 "Width of an Integer Type". Remove inaccurate statement regarding
34429 lack of C language facilities for determining width of integer
34430 types, and reorder content to improve flow and context of
34433 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
34435 * lang.texi (va_copy): Change standard from ISO to C99.
34436 (__va_copy): Add standard and header annotation.
34437 Update description for clarity of origins and current use.
34439 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34442 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
34443 xssqrtqp requires operands to be in Vector Registers
34444 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
34445 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
34446 (__ieee754_sqrtf128): Likewise.
34448 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
34450 * sysdeps/aarch64/memcmp.S (memcmp):
34451 Rewrite of optimized memcmp.
34453 2017-08-10 Florian Weimer <fweimer@redhat.com>
34455 Introduce ld.so exceptions.
34456 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
34457 (_dl_exception_create, _dl_exception_create_format)
34458 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
34459 (_dl_catch_exception): Declare.
34460 (_dl_catch_error): Update comment.
34461 * elf/dl-error-skeleton.c (struct catch): Replace objname,
34462 errstring, malloced members with exception member.
34463 (_dl_out_of_memory): Remove.
34464 (fatal_error): New function, extracted from _dl_signal_error.
34465 (_dl_signal_exception, _dl_signal_cexception): New functions.
34466 (_dl_signal_error): Call _dl_exception_create to allocate an
34468 (_dl_catch_exception): New function, based on _dl_catch_error.
34469 (_dl_catch_error): Implement using _dl_catch_exception.
34470 * elf/dl-exception.c: New file.
34471 * elf/Makefile (dl-routines): Add dl-exception.
34472 (elide-routines.os): Likewise.
34473 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
34474 _dl_exception_create_format, _dl_exception_free.
34475 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
34476 _dl_signal_exception.
34477 * elf/dl-lookup.c (make_string): Remove.
34478 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
34479 _dl_signal_cexception, _dl_exception_free.
34480 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
34481 _dl_signal_exception.
34482 * elf/dl-sym.c (do_sym): Likewise.
34483 * elf/dl-version.c (make_string): Remove.
34484 (match_symbol): Use _dl_exception_create_format,
34485 _dl_signal_cexception, _dl_exception_free.
34486 (_dl_check_map_versions): Likewise.
34487 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
34488 _dl_catch_exception.
34489 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
34490 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
34491 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
34492 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
34493 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
34494 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
34495 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
34496 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
34498 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
34499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
34501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
34503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
34505 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
34506 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
34507 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
34509 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
34511 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
34513 2017-08-10 Florian Weimer <fweimer@redhat.com>
34515 * inet/net-internal.h (__inet6_scopeid_pton): Remove
34516 attribute_hidden, internal_function.
34517 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
34520 2017-08-10 Florian Weimer <fweimer@redhat.com>
34522 * malloc/malloc.c (get_max_fast): Reimplement as an inline
34523 function which calls __builtin_unreachable.
34525 2017-08-10 Mike FABIAN <mfabian@redhat.com>
34527 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
34528 Indian monetary formatting
34529 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
34532 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
34534 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
34535 Fix typo in comment.
34538 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
34539 PTRACE_SEIZE_DEVEL): Remove.
34540 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
34541 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34542 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34543 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34544 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34546 2017-08-09 Joseph Myers <joseph@codesourcery.com>
34548 * posix/bits/types.h (__qaddr_t): Remove.
34551 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
34552 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34554 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
34555 (ucontext_t): Use __ctx with uc_flags.
34556 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
34557 (__ctxt): Likewise.
34558 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34560 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
34561 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34563 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
34564 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34566 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
34568 (ucontext_t): Use __ctx with uc_flags.
34569 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
34570 (ucontext_t): Use __ctx with uc_flags.
34571 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
34572 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
34573 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
34574 (ucontext_t): Use __ctx with uc_flags.
34575 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
34576 undefine further down.
34577 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34579 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
34580 undefine further down.
34581 (ucontext_t): Use __ctx with uc_flags.
34582 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
34583 undefine further down.
34584 (ucontext_t): Use __ctx with uc_flags.
34585 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
34586 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
34587 Rename uc_pad to __glibc_reserved1.
34588 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
34589 undefine further down.
34590 (ucontext_t): Use __ctx with uc_flags.
34591 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34593 (ucontext_t): Use __ctx with uc_flags.
34594 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34595 __ctx with uc_flags.
34596 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34597 (ucontext_t): Use __ctx with uc_flags.
34598 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34599 __ctx with uc_flags.
34601 2017-08-09 Florian Weimer <fweimer@redhat.com>
34604 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34605 before early return.
34607 2017-08-09 Andreas Schwab <schwab@suse.de>
34610 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34614 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34615 tst-compat-forwarder.
34616 (modules-names): Add tst-compat-forwarder-mod.
34617 ($(objpfx)tst-compat-forwarder): Depend on
34618 $(objpfx)tst-compat-forwarder-mod.so.
34619 * nptl/tst-compat-forwarder.c: New file.
34620 * nptl/tst-compat-forwarder-mod.c: New file.
34622 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34624 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34627 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34628 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34630 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34632 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34633 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34634 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34635 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34637 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34640 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34643 * manual/setjmp.texi (getcontex): Document uc_stack value
34644 compatibility differences.
34646 2017-08-08 Joseph Myers <joseph@codesourcery.com>
34648 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
34649 (old_malloc_hook): Likewise.
34650 (old_memalign_hook): Likewise.
34651 (old_realloc_hook): Likewise.
34652 (struct hdr): Likewise.
34654 (freehook): Likewise.
34655 (mallochook): Likewise.
34656 (memalignhook): Likewise.
34657 (reallochook): Likewise.
34658 (mprobe): Likewise.
34659 * malloc/mtrace.c (mallwatch): Likewise.
34660 (tr_old_free_hook): Likewise.
34661 (tr_old_malloc_hook): Likewise.
34662 (tr_old_realloc_hook): Likewise.
34663 (tr_old_memalign_hook): Likewise.
34664 (tr_where): Likewise.
34665 (lock_and_info): Likewise.
34666 (tr_freehook): Likewise.
34667 (tr_mallochook): Likewise.
34668 (tr_reallochook): Likewise.
34669 (tr_memalignhook): Likewise.
34670 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
34671 * misc/mmap.c (__mmap): Likewise.
34672 * misc/mmap64.c (__mmap64): Likewise.
34673 * misc/mprotect.c (__mprotect): Likewise.
34674 * misc/msync.c (msync): Likewise.
34675 * misc/munmap.c (__munmap): Likewise.
34676 * posix/posix_madvise.c (posix_madvise): Likewise.
34677 * socket/send.c (__send): Likewise.
34678 * socket/sendto.c (__sendto): Likewise.
34679 * socket/setsockopt.c (__setsockopt): Likewise.
34680 * string/memcmp.c (__ptr_t): Remove macro.
34681 (MEMCMP): Use void * instead of ptr_t.
34682 * string/memrchr.c (__ptr_t): Remove macro.
34683 (__memrchr): Use void * instead of ptr_t.
34684 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
34685 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34686 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34687 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
34688 * sysdeps/mach/msync.c (msync): Likewise.
34689 * sysdeps/mach/munmap.c (__munmap): Likewise.
34690 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
34692 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34693 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
34694 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
34695 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
34696 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
34697 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34698 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
34699 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
34701 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34702 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
34703 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
34704 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
34705 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
34706 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
34707 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
34708 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
34709 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
34711 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
34712 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
34713 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
34714 (MEMCMP): Use void * instead of ptr_t.
34715 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
34716 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
34718 2017-08-08 Florian Weimer <fweimer@redhat.com>
34720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
34723 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
34726 * csu/libc-tls.c: Include <startup.h> first.
34727 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
34728 * elf/dl-tunables.c: Include <startup.h> first.
34729 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
34730 * sysdeps/generic/startup.h: New file.
34731 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
34732 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
34733 (I386_USE_SYSENTER): New. Defined to 0.
34735 2017-08-08 Andreas Schwab <schwab@suse.de>
34738 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
34739 * nptl/pt-system.c (system): Likewise.
34741 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34744 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34746 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34747 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34748 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34749 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34750 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34751 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34752 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34754 2017-08-07 Joseph Myers <joseph@codesourcery.com>
34757 * bits/sigaction.h (struct sigaction): Define sa_handler and
34758 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34759 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34760 [__USE_XOPEN_EXTENDED].
34761 (SA_RESTART): Likewise.
34762 (SA_NODEFER): Likewise.
34763 (SA_RESETHAND): Likewise.
34764 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34765 (struct sigaction): Define sa_handler and sa_sigaction using union
34766 also for [__USE_XOPEN_EXTENDED].
34767 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34768 [__USE_XOPEN_EXTENDED].
34769 (SA_RESTART): Likewise.
34770 (SA_NODEFER): Likewise.
34771 (SA_RESETHAND): Likewise.
34772 * sysdeps/unix/sysv/linux/bits/sigaction.h
34773 (struct sigaction): Define sa_handler and sa_sigaction using union
34774 also for [__USE_XOPEN_EXTENDED].
34775 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34776 [__USE_XOPEN_EXTENDED].
34777 (SA_RESTART): Likewise.
34778 (SA_NODEFER): Likewise.
34779 (SA_RESETHAND): Likewise.
34780 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34781 (struct sigaction): Define sa_handler and sa_sigaction using union
34782 also for [__USE_XOPEN_EXTENDED].
34783 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34784 [__USE_XOPEN_EXTENDED].
34785 (SA_RESTART): Likewise.
34786 (SA_NODEFER): Likewise.
34787 (SA_RESETHAND): Likewise.
34788 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34789 (struct sigaction): Define sa_handler and sa_sigaction using union
34790 also for [__USE_XOPEN_EXTENDED].
34791 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34792 [__USE_XOPEN_EXTENDED].
34793 (SA_RESTART): Likewise.
34794 (SA_NODEFER): Likewise.
34795 (SA_RESETHAND): Likewise.
34796 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34797 (struct sigaction): Define sa_handler and sa_sigaction using union
34798 also for [__USE_XOPEN_EXTENDED].
34799 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34800 [__USE_XOPEN_EXTENDED].
34801 (SA_RESTART): Likewise.
34802 (SA_NODEFER): Likewise.
34803 (SA_RESETHAND): Likewise.
34804 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34805 (struct sigaction): Define sa_handler and sa_sigaction using union
34806 also for [__USE_XOPEN_EXTENDED].
34807 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34808 [__USE_XOPEN_EXTENDED].
34809 (SA_RESTART): Likewise.
34810 (SA_NODEFER): Likewise.
34811 (SA_RESETHAND): Likewise.
34812 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34813 (struct sigaction): Define sa_handler and sa_sigaction using union
34814 also for [__USE_XOPEN_EXTENDED].
34815 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34816 [__USE_XOPEN_EXTENDED].
34817 (SA_RESTART): Likewise.
34818 (SA_NODEFER): Likewise. Define directly rather than as alias.
34819 (SA_RESETHAND): Likewise.
34820 (SA_INTERRUPT): Define only for [__USE_MISC].
34821 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34822 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34824 (SA_STACK): Define only for [__USE_MISC].
34825 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34826 (struct sigaction): Define sa_handler and sa_sigaction using union
34827 also for [__USE_XOPEN_EXTENDED].
34828 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34829 [__USE_XOPEN_EXTENDED].
34830 (SA_RESTART): Likewise.
34831 (SA_NODEFER): Likewise.
34832 (SA_RESETHAND): Likewise.
34833 (SA_NOPTRACE): Define only for [__USE_MISC].
34835 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34836 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34837 (struct catalog_info): Likewise.
34838 * inet/htontest.c (lo): Likewise.
34840 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34841 * inet/inet_net.c (inet_network): Likewise.
34842 * inet/inet_netof.c (inet_netof): Likewise.
34843 * inet/rcmd.c (__ivaliduser): Likewise.
34844 (iruserok): Likewise.
34845 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34846 * locale/programs/locale-spec.c (locale_special): Likewise.
34847 * nis/nis_findserv.c (struct findserv_req): Likewise.
34848 (__nis_findfastest_with_timeout): Likewise.
34849 * nss/test-netdb.c (test_network): Likewise.
34850 * resolv/inet_neta.c (inet_neta): Likewise.
34851 * resolv/ns_date.c (ns_datetosecs): Likewise.
34852 (SECS_PER_DAY): Likewise.
34853 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34855 * resolv/res_comp.c (__putlong): Likewise.
34856 (__putshort): Likewise.
34857 (_getlong): Likewise.
34858 (_getshort): Likewise.
34859 * resolv/res_debug.c (p_time): Likewise.
34860 (precsize_ntoa): Likewise.
34861 (precsize_aton): Likewise.
34862 (latlon2ul): Likewise.
34863 (loc_aton): Likewise.
34864 (loc_ntoa): Likewise.
34865 * resolv/res_hconf.c (struct netaddr): Likewise.
34866 (_res_hconf_reorder_addrs): Likewise.
34867 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34868 (clnttcp_control): Likewise.
34869 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34870 (clntudp_control): Likewise.
34871 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34872 (clntunix_control): Likewise.
34873 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34874 * sunrpc/rpc/auth.h (union des_block): Likewise.
34875 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34876 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34877 (xdrrec_create): Likewise.
34878 (xdrrec_endofrecord): Likewise.
34879 (flush_out): Likewise.
34880 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34881 (xdrstdio_putlong): Likewise.
34882 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34885 * misc/sys/cdefs.h (__long_double_t): Remove.
34886 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34887 instead of __long_double_t,
34888 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34890 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34892 * benchtests/scripts/compare_strings.py: Avoid display error when
34893 running on a text terminal.
34895 * benchtests/scripts/compare_strings.py (main): Add an
34896 optional -base option.
34897 (process_results): New argument base_func.
34899 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34901 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34902 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34904 2017-08-07 Andreas Schwab <schwab@suse.de>
34906 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34907 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34908 * intl/Makefile ($(objpfx)tst-gettext.out)
34909 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34910 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34911 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34912 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34913 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34914 * posix/Makefile ($(objpfx)globtest.out)
34915 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34916 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34917 ($(objpfx)tst-printf.out): Likewise.
34918 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34919 ($(objpfx)tst-setcontext3.out): Likewise.
34921 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34923 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34924 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34925 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34926 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34927 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34929 (CFLAGS-doasin-fma.c): New.
34930 (CFLAGS-dosincos-fma.c): Likewise.
34931 (CFLAGS-e_asin-fma.c): Likewise.
34932 (CFLAGS-e_atan2-fma.c): Likewise.
34933 (CFLAGS-e_exp-fma.c): Likewise.
34934 (CFLAGS-e_log-fma.c): Likewise.
34935 (CFLAGS-e_pow-fma.c): Likewise.
34936 (CFLAGS-halfulp-fma.c): Likewise.
34937 (CFLAGS-mpa-fma.c): Likewise.
34938 (CFLAGS-mpatan-fma.c): Likewise.
34939 (CFLAGS-mpatan2-fma.c): Likewise.
34940 (CFLAGS-mpexp-fma.c): Likewise.
34941 (CFLAGS-mplog-fma.c): Likewise.
34942 (CFLAGS-mpsqrt-fma.c): Likewise.
34943 (CFLAGS-mptan-fma.c): Likewise.
34944 (CFLAGS-s_atan-fma.c): Likewise.
34945 (CFLAGS-sincos32-fma.c): Likewise.
34946 (CFLAGS-slowexp-fma.c): Likewise.
34947 (CFLAGS-slowpow-fma.c): Likewise.
34948 (CFLAGS-s_sin-fma.c): Likewise.
34949 (CFLAGS-s_tan-fma.c): Likewise.
34950 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34951 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34952 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34953 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34954 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34955 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34956 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34957 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34958 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34959 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34960 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34961 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34962 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34963 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34964 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34965 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34966 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34967 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34968 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34969 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34970 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34971 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34972 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34973 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34974 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34975 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34976 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34977 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34978 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34979 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34980 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34982 2017-08-04 Joseph Myers <joseph@codesourcery.com>
34984 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34985 (min_of_type_f): New macro.
34986 (min_of_type_): Likewise.
34987 (min_of_type_l): Likewise.
34988 (min_of_type_f128): Likewise.
34989 (min_of_type): Define using __MATH_TG and taking an expression
34991 (math_check_force_underflow): Pass expression instead of type to
34993 (math_check_force_underflow_nonneg): Likewise.
34995 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34997 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34998 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34999 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
35001 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35004 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
35005 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
35006 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
35007 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
35008 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
35009 memcpy_chk-nonshared, mempcpy_chk-nonshared,
35010 memmove_chk-nonshared and memset_chk-nonshared
35011 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
35012 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
35013 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
35014 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
35015 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
35016 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
35017 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
35018 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
35019 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
35020 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
35021 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
35022 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
35023 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
35024 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
35025 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
35026 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
35027 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
35028 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
35029 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
35030 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
35031 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
35032 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
35033 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
35034 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
35035 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
35036 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
35037 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
35038 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
35039 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
35040 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
35041 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
35042 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
35043 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
35044 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35045 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35046 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
35047 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
35048 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
35049 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
35050 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
35051 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
35052 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
35053 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
35054 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
35055 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
35056 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
35057 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
35058 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
35059 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
35060 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
35061 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
35062 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
35063 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
35064 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
35065 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
35066 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
35067 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
35068 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
35069 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
35070 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
35071 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
35072 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
35073 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
35074 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
35075 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
35076 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
35077 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
35078 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
35079 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
35080 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
35081 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
35082 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35083 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35084 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35085 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35086 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35087 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35088 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35089 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35090 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35091 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35092 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35093 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35094 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35095 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35096 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35097 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35098 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35099 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35100 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35101 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35102 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35103 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35104 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35105 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35106 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35107 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35108 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35109 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35110 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35111 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35112 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35113 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35114 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35115 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35116 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35117 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35118 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35120 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35122 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
35123 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
35124 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
35125 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
35126 svml_d_log2_core-sse2, svml_d_log4_core-sse,
35127 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
35128 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
35129 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
35130 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
35131 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
35132 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
35133 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
35134 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
35135 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
35136 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
35137 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
35138 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
35139 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
35140 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
35141 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
35142 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
35143 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
35144 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
35145 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
35146 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
35147 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
35148 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
35149 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
35150 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
35151 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
35152 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
35153 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
35154 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
35155 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
35156 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
35157 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
35158 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
35159 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
35160 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
35161 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
35162 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
35163 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
35164 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
35165 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
35166 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
35167 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
35168 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
35169 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
35170 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
35171 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
35172 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
35173 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
35174 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
35175 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
35176 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
35177 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
35178 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
35179 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
35180 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
35182 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
35183 Don't include <sysdep.h> nor <init-arch.h>.
35184 (_ZGVbN2v_cos): Removed.
35185 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
35187 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
35188 Don't include <sysdep.h> nor <init-arch.h>.
35189 (_ZGVdN4v_cos): Removed.
35190 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
35192 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
35193 Don't include <sysdep.h> nor <init-arch.h>.
35194 (_ZGVeN8v_cos): Removed.
35195 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
35197 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
35198 Don't include <sysdep.h> nor <init-arch.h>.
35199 (_ZGVbN2v_exp): Removed.
35200 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
35202 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
35203 Don't include <sysdep.h> nor <init-arch.h>.
35204 (_ZGVdN4v_exp): Removed.
35205 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
35207 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
35208 Don't include <sysdep.h> nor <init-arch.h>.
35209 (_ZGVeN8v_exp): Removed.
35210 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
35212 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
35213 Don't include <sysdep.h> nor <init-arch.h>.
35214 (_ZGVbN2v_log): Removed.
35215 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
35217 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
35218 Don't include <sysdep.h> nor <init-arch.h>.
35219 (_ZGVdN4v_log): Removed.
35220 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
35222 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
35223 Don't include <sysdep.h> nor <init-arch.h>.
35224 (_ZGVeN8v_log): Removed.
35225 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
35227 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
35228 Don't include <sysdep.h> nor <init-arch.h>.
35229 (_ZGVbN2vv_pow): Removed.
35230 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
35232 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
35233 Don't include <sysdep.h> nor <init-arch.h>.
35234 (_ZGVdN4vv_pow): Removed.
35235 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
35237 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
35238 Don't include <sysdep.h> nor <init-arch.h>.
35239 (_ZGVeN8vv_pow): Removed.
35240 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
35242 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
35243 Don't include <sysdep.h> nor <init-arch.h>.
35244 (_ZGVbN2v_sin): Removed.
35245 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
35247 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
35248 Don't include <sysdep.h> nor <init-arch.h>.
35249 (_ZGVbN4v_sin): Removed.
35250 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
35252 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
35253 Don't include <sysdep.h> nor <init-arch.h>.
35254 (_ZGVbN8v_sin): Removed.
35255 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
35257 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
35258 Don't include <sysdep.h> nor <init-arch.h>.
35259 (_ZGVbN2vvv_sincos): Removed.
35260 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
35262 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
35263 Don't include <sysdep.h> nor <init-arch.h>.
35264 (_ZGVdN4vvv_sincos): Removed.
35265 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
35267 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
35268 Don't include <sysdep.h> nor <init-arch.h>.
35269 (_ZGVeN8vvv_sincos): Removed.
35270 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
35272 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
35273 Don't include <sysdep.h> nor <init-arch.h>.
35274 (_ZGVeN16v_cosf): Removed.
35275 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
35277 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
35278 Don't include <sysdep.h> nor <init-arch.h>.
35279 (_ZGVbN4v_cosf): Removed.
35280 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
35282 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
35283 Don't include <sysdep.h> nor <init-arch.h>.
35284 (_ZGVdN8v_cosf): Removed.
35285 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
35287 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
35288 Don't include <sysdep.h> nor <init-arch.h>.
35289 (_ZGVeN16v_expf): Removed.
35290 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
35292 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
35293 Don't include <sysdep.h> nor <init-arch.h>.
35294 (_ZGVbN4v_expf): Removed.
35295 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
35297 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
35298 Don't include <sysdep.h> nor <init-arch.h>.
35299 (_ZGVdN8v_expf): Removed.
35300 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
35302 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
35303 Don't include <sysdep.h> nor <init-arch.h>.
35304 (_ZGVeN16v_logf): Removed.
35305 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
35307 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
35308 Don't include <sysdep.h> nor <init-arch.h>.
35309 (_ZGVbN4v_logf): Removed.
35310 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
35312 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
35313 Don't include <sysdep.h> nor <init-arch.h>.
35314 (_ZGVdN8v_logf): Removed.
35315 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
35317 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
35318 Don't include <sysdep.h> nor <init-arch.h>.
35319 (_ZGVeN16vv_powf): Removed.
35320 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
35322 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
35323 Don't include <sysdep.h> nor <init-arch.h>.
35324 (_ZGVbN4vv_powf): Removed.
35325 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
35327 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
35328 Don't include <sysdep.h> nor <init-arch.h>.
35329 (_ZGVdN8vv_powf): Removed.
35330 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
35332 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
35333 Don't include <sysdep.h> nor <init-arch.h>.
35334 (_ZGVeN16vvv_sincosf): Removed.
35335 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
35337 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
35338 Don't include <sysdep.h> nor <init-arch.h>.
35339 (_ZGVbN4vvv_sincosf): Removed.
35340 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
35342 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
35343 Don't include <sysdep.h> nor <init-arch.h>.
35344 (_ZGVdN8vvv_sincosf): Removed.
35345 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
35347 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
35348 Don't include <sysdep.h> nor <init-arch.h>.
35349 (_ZGVeN16v_sinf): Removed.
35350 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
35352 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
35353 Don't include <sysdep.h> nor <init-arch.h>.
35354 (_ZGVbN4v_sinf): Removed.
35355 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
35357 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
35358 Don't include <sysdep.h> nor <init-arch.h>.
35359 (_ZGVdN8v_sinf): Removed.
35361 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35363 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35364 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
35365 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
35366 s_rint-sse4_1 and s_rintf-sse4_1.
35367 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
35368 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
35369 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
35370 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
35371 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
35372 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
35373 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
35374 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
35375 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
35376 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
35377 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
35378 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35380 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
35381 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
35382 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35383 (__ceilf): Removed.
35384 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
35385 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
35386 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35387 (__floor): Removed.
35388 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
35389 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
35390 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35391 (__floorf): Removed.
35392 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
35393 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
35394 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35395 (__nearbyint): Removed.
35396 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
35397 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
35398 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35399 (__nearbyintf): Removed.
35400 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
35401 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
35402 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35404 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
35405 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
35406 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35407 (__rintf): Removed.
35409 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35411 * sysdeps/i386/start.S (_start): Check Check PIC instead of
35412 SHARED. Avoid dynamic relocation against main in static PIE.
35414 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35417 * elf/Makefile (CFLAGS-tst-prelink.c): New.
35418 (LDFLAGS-tst-prelink): Likewise.
35420 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35422 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
35423 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
35424 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
35425 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
35426 (INTERNAL_SYSCALL_NCS): Likewise.
35427 (LOADARGS_1): Likewise.
35428 (LOADARGS_5): Likewise.
35429 (RESTOREARGS_1): Likewise.
35430 (RESTOREARGS_5): Likewise.
35432 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35434 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
35435 (MEMPCPY_SYMBOL): Likewise.
35436 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35437 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
35438 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
35440 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35441 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
35443 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
35444 (__hidden_ver1): Don't use in libc.a.
35445 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
35446 (__mempcpy): Don't create a weak alias in libc.a.
35447 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
35449 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
35450 (__hidden_ver1): Don't use in libc.a.
35452 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35454 * config.make.in (have-insert): New.
35455 * configure.ac (libc_cv_insert): New. Set to yes if linker
35456 supports INSERT in linker script.
35457 (AC_SUBST(libc_cv_insert): New.
35458 * configure: Regenerated.
35459 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
35460 if $(have-insert) == yes.
35462 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35464 * elf/Makefile (tests): Add vismain only if
35465 $(have-protected-data) == yes.
35466 (tests-pie): Likewise.
35468 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35471 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
35472 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
35474 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35477 * sysdeps/i386/i586/memset.S
35478 (__memset_zero_constant_len_parameter): Removed.
35479 * sysdeps/i386/i686/memset.S
35480 (__memset_zero_constant_len_parameter): Likewise.
35481 * sysdeps/i386/i686/multiarch/memset_chk.S
35482 (__memset_zero_constant_len_parameter): Likewise.
35483 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
35486 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35488 * stdlib/getentropy.c (getentropy): Change return type to int.
35490 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35492 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
35494 2017-08-03 Joseph Myers <joseph@codesourcery.com>
35496 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
35498 * math/s_nexttowardf.c (__nexttowardf): Likewise.
35499 * sysdeps/generic/math_private.h (ieee_double_shape_type):
35501 (ieee_float_shape_type): Likewise.
35502 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
35503 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
35504 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35505 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35506 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
35507 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
35508 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
35509 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35510 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
35512 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35513 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35514 (__ieee754_yn): Likewise.
35515 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35516 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35517 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
35519 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35520 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
35521 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
35522 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
35523 (__erfc): Likewise.
35524 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
35525 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
35526 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
35527 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
35528 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
35529 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
35531 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
35532 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
35533 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
35534 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
35535 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35536 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
35537 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
35538 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
35539 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
35540 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
35541 (__issignaling): Likewise.
35542 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
35543 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
35544 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
35546 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35547 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
35548 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
35549 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
35551 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
35553 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
35554 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
35555 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
35556 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
35557 (__erfcf): Likewise.
35558 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
35559 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
35560 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
35561 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
35563 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
35564 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
35566 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
35567 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
35568 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
35569 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
35570 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
35571 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35572 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
35573 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
35575 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
35577 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
35579 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
35580 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35582 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35584 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35585 (__ieee754_ynl): Likewise.
35586 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
35587 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
35589 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
35591 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35592 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35593 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35595 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35596 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35597 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35598 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35599 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35600 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35601 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35602 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35604 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35605 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35606 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35608 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35609 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35610 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35611 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35612 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35613 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35615 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35617 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35619 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35621 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35622 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35623 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35624 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35625 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35626 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35627 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35629 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35631 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35632 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35634 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35635 (__ieee754_remainderl): Likewise.
35636 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35637 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35638 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35639 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35641 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35642 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35644 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35645 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35646 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
35647 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
35648 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35649 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35651 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
35652 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
35653 (__ieee754_y0l): Likewise.
35656 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35657 (__ieee754_y1l): Likewise.
35660 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35661 (__ieee754_ynl): Likewise.
35662 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
35663 (__ieee754_lgammal_r): Likewise.
35664 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
35666 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
35667 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
35668 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
35669 (__erfcl): Likewise.
35670 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
35671 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
35673 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
35674 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
35675 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
35676 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
35677 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
35678 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35679 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35681 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
35682 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35683 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
35684 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
35685 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35687 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
35688 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
35690 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
35691 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
35692 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
35693 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35694 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
35696 2017-08-03 Florian Weimer <fweimer@redhat.com>
35699 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
35700 on memory allocation failure.
35702 2017-08-03 Alan Modra <amodra@gmail.com>
35704 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
35705 tst-tlsopt-powerpc.c with function name change and no test harness.
35706 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
35707 Call tls_get_addr_opt_test.
35708 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
35709 (modules-names): Add mod-tlsopt-powerpc.
35710 (mod-tlsopt-powerpc.so-no-z-defs): Define.
35711 (tst-tlsopt-powerpc): Depend on .so.
35712 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
35713 define. Expand use in TLS_GD and TLS_LD.
35715 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35717 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
35719 * sysdeps/posix/shm_open.c: Include <pthread.h>.
35721 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35724 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
35725 comparing size with that of double.
35726 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35727 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35728 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35729 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35730 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35731 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
35732 unsigned __int128 types.
35734 2017-08-02 Steve Ellcey <sellcey@cavium.com>
35736 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
35737 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
35738 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
35739 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
35740 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
35742 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35744 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35746 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35748 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35750 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35751 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35752 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35753 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35754 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35755 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35756 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35758 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35761 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35762 bit-field expressions passed to sizeof or typeof.
35763 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35764 (__TGMATH_F128): Likewise.
35765 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35766 (__TGMATH_CF128): Likewise.
35767 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35768 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35769 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35770 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35771 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35772 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35773 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35774 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35775 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35776 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35777 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35778 (__TGMATH_UNARY_IMAG): Likewise.
35779 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35780 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35781 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35783 (define_vars_for_type): Handle bit_field type specially.
35784 (Tests.__init__): Declare structure with bit-field element.
35786 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35789 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35790 (MEMCPY_CHK): Define only if SHARED is defined.
35791 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35793 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35796 See ChangeLog.18 for earlier changes.