1 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
3 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
4 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
5 (__fegetround_ISA300) New.
6 (__fegetround_ISA2) New.
7 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
8 (_FPU_MFFS): Move implementation...
10 (_FPU_MFFSL): Move implementation....
11 (_FPU_GET_RC_ISA300): Here. New.
12 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
13 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
14 (fegetenv_status): New.
15 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
16 instead of fegetenv_register().
17 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
19 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
21 * benchtests/bench-math-inlines.c: Increase iterations.
22 * benchtests/bench-memcmp.c: Likewise.
23 * benchtests/bench-rawmemchr.c: Likewise.
24 * benchtests/bench-strcmp.c: Likewise.
25 * benchtests/bench-strcpy_chk.c: Likewise.
26 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
27 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
28 (INNER_LOOP_ITERS_SMALL): Likewise.
29 * benchtests/bench-strncat.c: Increase iterations.
30 * benchtests/bench-strncmp.c: Increase iterations.
31 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
32 * benchtests/bench-strrchr.c: Increase iterations.
33 * benchtests/bench-strstr.c: Keep iterations unchanged.
34 * benchtests/bench-strtod.c: Increase iterations.
36 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
38 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
39 with INNER_LOOP_ITERS_LARGE.
40 * benchtests/bench-memchr.c: Likewise.
41 * benchtests/bench-rawmemchr.c: Likewise.
42 * benchtests/bench-strcat.c: Likewise.
43 * benchtests/bench-strchr.c: Likewise.
44 * benchtests/bench-string.h: Likewise.
45 * benchtests/bench-strlen.c: Likewise.
46 * benchtests/bench-strncpy.c: Likewise.
47 * benchtests/bench-strnlen.c: Likewise.
49 2019-06-28 Florian Weimer <fweimer@redhat.com>
51 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
52 Use mmap instead of malloc. malloc with M_PERTURB writes to the
53 entire allocated memory range.
55 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
57 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
58 (prepare_version_base): New helper inline function.
59 (prepare_version): New macro replacing PREPARE_VERSION.
60 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
62 2019-06-28 Florian Weimer <fweimer@redhat.com>
65 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
66 mismatch in a versioned symbol reference.
67 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
68 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
69 tst-sonamemove-dlopen.
70 (module-names): Add tst-sonamemove-linkmod1,
71 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
72 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
73 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
74 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
75 (tst-sonamemove-runmod1.so): Link against
76 tst-sonamemove-runmod2.so.
77 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
78 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
79 tst-sonamemove-runmod2.so.
80 (tst-sonamemove-dlopen): Link with -ldl.
81 (tst-sonamemove-dlopen.out): Likewise.
82 * elf/tst-sonamemove-link.c: New file.
83 * elf/tst-sonamemove-dlopen.c: Likewise.
84 * elf/tst-sonamemove-linkmod1.c: Likewise.
85 * elf/tst-sonamemove-linkmod1.map: Likewise.
86 * elf/tst-sonamemove-runmod1.c: Likewise.
87 * elf/tst-sonamemove-runmod1.map: Likewise.
88 * elf/tst-sonamemove-runmod2.c: Likewise.
89 * elf/tst-sonamemove-runmod2.map: Likewise.
91 2019-06-28 Florian Weimer <fweimer@redhat.com>
93 * support/xdlfcn.h (xdlvsym): Declare function.
94 * support/xdlfcn.c (xdlvsym): Define funciton.
96 2019-06-28 Florian Weimer <fweimer@redhat.com>
99 io: Remove the copy_file_range emulation.
100 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
101 not define and call copy_file_range_compat.
102 * io/Makefile (tests-static, tests-internal): Do not add
103 tst-copy_file_range-compat.
104 * io/copy_file_range-compat.c: Remove file.
105 * io/copy_file_range.c (copy_file_range): Define as stub.
106 * io/tst-copy_file_range-compat.c: Remove file.
107 * io/tst-copy_file_range.c (xdevfile): Remove variable.
108 (typical_sizes): Update comment. Remove 16K sizes.
109 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
111 (find_maximum_offset, pipe_as_source, pipe_as_destination)
112 (delayed_write_failure_beginning, delayed_write_failure_end)
113 (cross_device_failure, enospc_failure_1, enospc_failure)
114 (oappend_failure): Remove functions.
115 (tests): Adjust test case list.
116 (do_test): Remove file system search code. Check for ENOSYS from
117 copy_file_range. Do not free xdevfile.
118 * manual/llio.texi (Copying File Data): Document ENOSYS error from
119 copy_file_range. Do not document the EXDEV error, which future
120 kernels may not report. Update the wording to reflect that
121 further errors are possible.
122 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
123 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
125 * sysdeps/unix/sysv/linux/arm/kernel-features.h
126 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
128 * sysdeps/unix/sysv/linux/kernel-features.h
129 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
131 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
132 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
134 * sysdeps/unix/sysv/linux/sh/kernel-features.h
135 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
138 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
140 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
141 used as a mask for the mode argument of __vfprintf_internal.
142 * stdio-common/printf-parse.h (printf_arg): New union member:
144 * stdio-common/vfprintf-internal.c
145 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
146 (PARSE_FLOAT_VA_ARG): Likewise.
147 (SETUP_FLOAT128_INFO): Likewise.
148 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
150 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
151 floating-point value to the new union member, pa_float128.
152 (printf_positional): Zero-initialize args_value[cnt] with memset.
154 2019-06-27 Florian Weimer <fweimer@redhat.com>
157 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
158 buffer size if necessary.
159 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
161 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
163 (large_buffer_checks): Likewise.
164 (do_test): Call large_buffer_checks.
166 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
168 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
169 * sysdeps/x86/dl-lookupcfg.h: Here.
170 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
172 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
175 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
176 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
178 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
179 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
180 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
181 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
182 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
184 * sysdeps/powerpc/powerpc32/fpu/Makefile
185 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
186 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
187 and fctidz optimization.
188 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
189 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
191 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
192 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
193 CFLAGS-s_lround-power5+.c): New rule.
194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
214 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
215 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
216 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
217 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
218 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
219 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
220 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
222 2019-06-26 Vincent Chen <vincentc@andestech.com>
224 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
225 specific system calls, fp_udfiex_crtl and udftrap.
227 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
229 * nptl/tst-eintr1.c (tf1): Add return statement.
230 (do_test): Remove unused th variable.
232 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
234 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
235 Return error if get_character fails.
237 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
239 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
241 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
244 * localedata/locales/szl_PL (day): Use the correct Unicode
245 sequences instead of non-ASCII characters.
247 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
250 * localedata/locales/szl_PL (abday): Spelling corrections.
254 (alt_mon): This, then apply spelling corrections.
255 (mon): New entry, month names in the genitive case.
257 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
260 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
261 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
262 (thousands_sep): Likewise.
263 (grouping): Set to 3;3.
265 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
267 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
268 PREPARE_VERSION_KNOWN.
269 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
270 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
272 (VDSO_HASH_LINUX_2_6_39): Likewise.
273 (VDSO_NAME_LINUX_4_9): Likewise.
274 (VDSO_HASH_LINUX_4_9): Likewise.
275 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
276 * sysdeps/unix/sysv/linux/powerpc/init-first.c
277 (_libc_vdso_platform_setup): Likewise.
278 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
279 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
281 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
284 2019-06-20 Mike Crowe <mac@mcrowe.com>
286 * nptl/eintr.c: Use libsupport.
287 * nptl/tst-eintr1.c: Likewise.
288 * nptl/tst-eintr2.c: Likewise.
289 * nptl/tst-eintr3.c: Likewise.
290 * nptl/tst-eintr4.c: Likewise.
291 * nptl/tst-eintr5.c: Likewise.
292 * nptl/tst-mutex-errorcheck.c: Likewise.
293 * nptl/tst-mutex5.c: Likewise.
295 * support/test-driver.h: Add verbose_printf macro.
297 * support/xtime.h: Add xclock_now() helper function.
299 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
300 Florian Weimer <fweimer@redhat.com>
303 * libio/genops.c (_IO_unbuffer_all)
304 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
305 buffers and access _IO_FILE_complete members of legacy libio streams.
306 * libio/tst-bz24228.c: New file.
307 * libio/tst-bz24228.map: Likewise.
308 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
309 [build-shared] (generated): Add tst-bz24228.mtrace and
311 [run-built-tests && build-shared] (tests-special): Add
312 $(objpfx)tst-bz24228-mem.out.
313 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
314 ($(objpfx)tst-bz24228-mem.out): New rule.
316 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
318 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
319 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
320 (__FPU_MFFSL): Likewise.
321 (_FPU_SETCW): Likewise.
323 2019-06-19 Stan Shebs <stanshebs@google.com>
324 Raoni Fassina Firmino <raoni@linux.ibm.com>
327 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
328 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
329 static-linking version.
330 * sysdeps/unix/sysv/linux/powerpc/Makefile
331 (tests-static): Add test-gettimebasefreq-static.
333 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
336 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
339 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
340 between the currency symbol and the minus sign).
341 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
343 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
346 * string/test-strcasestr.c (check_result): Add NULL check.
347 * nss/tst-field.c (check_rewrite): Likewise.
348 * benchtests/bench-strstr.c (do_one_test): Likewise.
349 * string/test-strstr.c (check_result): Likewise.
350 * argp/argp-test.c (popt): Increase size of buf to 12.
351 * benchtests/bench-malloc-simple.c (bench):
352 Do not initialize tests array out of bounds.
354 2019-06-19 Florian Weimer <fweimer@redhat.com>
357 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
360 2019-06-18 Florian Weimer <fweimer@redhat.com>
363 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
364 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
365 fail when called from dlopen.
366 * elf/Makefile [have-fpie && build-shared] (tests): Add
368 (tst-dlopen-pie): Link with -ldl.
369 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
370 * elf/tst-dlopen-pie.c (do_test): New file.
372 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
375 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
376 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
377 between the currency symbol and the minus sign).
378 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
379 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
381 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
383 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
384 sysdep-rtld-routines): Remove rules.
385 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
386 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
387 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
388 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
389 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
390 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
391 vDSO path for SHARED.
392 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
393 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
394 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
395 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
396 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
397 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
399 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
400 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
401 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
402 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
403 CFLAGS-s_llround-power5+.c): New rule.
404 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
406 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
408 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
410 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
412 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
415 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
417 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
419 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
420 * sysdeps/powerpc/powerpc64/fpu/Makefile
421 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
422 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
423 (libm-sysdep_routines): Remove s_llround-* objects.
424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
434 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
435 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
436 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
437 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
438 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
439 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
440 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
441 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
442 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
443 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
444 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
445 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
446 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
447 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
449 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
450 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
451 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
452 * sysdeps/powerpc/powerpc32/fpu/Makefile
453 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
454 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
456 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
457 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
458 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
460 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
461 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
462 CFLAGS-s_lrint-ppc32.c): New rule.
463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
473 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
474 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
475 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
476 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
488 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
489 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
491 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
492 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
494 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
496 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
499 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
501 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
503 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
504 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
505 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
506 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
507 (libm-sysdep_routines): Remove s_llrint-* objects.
508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
513 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
514 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
515 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
516 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
517 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
518 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
519 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
520 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
521 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
523 2019-06-14 Florian Weimer <fweimer@redhat.com>
525 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
526 argument to __glibc_has_include to inhibit macro expansion.
528 2019-06-14 Florian Weimer <fweimer@redhat.com>
530 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
531 function-like macro, so that __has_include can inhibit expansion
534 2019-06-13 Joseph Myers <joseph@codesourcery.com>
536 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
540 Allow memset in libc.so.
542 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
544 * sysdeps/aarch64/dl-dtprocnum.h: New file.
545 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
546 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
547 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
548 symbols at load time.
549 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
551 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
553 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
554 (DT_AARCH64_VARIANT_PCS): Define.
556 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
559 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
569 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
570 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
571 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
572 Remove s_finite* objects.
573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
579 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
580 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
581 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
582 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
584 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
585 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
588 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
598 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
599 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
600 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
601 Remove s_isinf* and s_isinf* objects.
602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
608 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
609 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
610 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
611 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
613 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
614 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
616 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
617 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
618 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
620 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
636 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
637 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
638 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
639 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
640 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
641 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
642 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
643 Remove s_isnan-* and s_isnanf-* objects.
644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
653 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
654 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
655 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
656 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
657 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
658 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
659 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
660 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
662 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
663 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
665 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
666 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
667 CFLAGS-bench-isfinite.c): New rule.
668 * benchtests/isnan-input: New file.
669 * benchtests/isinf-input: New file.
670 * benchtests/isfinite-input: New file.
672 * sysdeps/powerpc/fpu/s_copysign.c: New file.
673 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
674 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
675 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
677 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
687 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
688 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
689 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
690 Remove s_copysign-power6 s_copysign-ppc64.
691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
697 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
698 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
699 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
700 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
702 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
703 round_to_integer_float, round_mode): Add RINT handling.
704 (reset_fenv_mode): New symbol.
705 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
706 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
707 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
708 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
709 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
710 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
712 2019-06-12 Florian Weimer <fweimer@redhat.com>
715 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
716 * libio/freopen.c (freopen): Use it.
718 2019-06-12 Florian Weimer <fweimer@redhat.com>
720 Linux: Deprecate sysctl.
721 * include/sysctl.h (__sysctl): Remove declaration.
722 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
724 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
725 (sysctl): Add deprecation attribute.
726 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
727 directly, to avoid the deprecation warning. Do not include
729 (__sysctl): Remove hidden alias.
731 2019-06-12 Florian Weimer <fweimer@redhat.com>
733 Linux: Use kernel headers for statx definitions if available.
734 * include/bits/statx-generic.h: New file.
735 * include/bits/types/struct_statx.h: Likewise.
736 * include/bits/types/struct_statx_timestamp.h: Likewise.
737 * io/Makefile (headers): Add bits/statx-generic.h.
738 * io/bits/statx-generic.h: New file. Partly copied from
740 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
741 define original_statx.
742 * io/bits/types/struct_statx.h: Likewise.
743 * io/bits/types/struct_statx_timestamp.h: Likewise.
744 (statx_generic): Use original_statx.
745 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
746 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
748 2019-06-12 Florian Weimer <fweimer@redhat.com>
750 * misc/sys/cdefs.h (__glibc_has_include): Define.
752 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
754 * string/memmem.c (__memmem): Rewrite to improve performance.
756 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
758 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
760 (two_way_long_needle): Block inlining.
761 * string/strstr.c (strstr2): Add new function.
763 (STRSTR): Completely rewrite strstr to improve performance.
765 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
767 * benchtests/bench-strstr.c (test_hard_needle): New function.
769 2019-06-10 Joseph Myers <joseph@codesourcery.com>
771 * malloc/tst-calloc.c: Include <libc-diag.h>.
772 (null_test): Ignore -Wunused-result around calls to calloc.
773 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
774 (do_test): Ignore -Wunused-result around call to malloc.
776 2019-06-07 Florian Weimer <fweimer@redhat.com>
778 Linux: Add getdents64 system call.
779 * include/dirnent.h (getdents): Add comment and change buffer
780 argument type to void *.
781 (getdents64): Likewise. Add hidden prototype.
782 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
784 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
786 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
787 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
788 argument type to void *.
789 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
790 Add hidden definition and getdents64 alias.
791 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
793 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
794 * manual/filesys.texi (Accessing Directories): Add Low-level
795 Directory Access node reference.
796 (Opening a Directory): Cross-reference it.
797 (Low-level Directory Access): New node.
798 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
800 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
802 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
803 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
805 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
807 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
809 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
811 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
813 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
815 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
817 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
818 (GLIBC_2.30): Likewise.
819 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
820 (GLIBC_2.30): Likewise.
821 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
822 (GLIBC_2.30): Likewise.
823 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
824 (GLIBC_2.30): Likewise.
825 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
828 (GLIBC_2.30): Likewise.
829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
830 (GLIBC_2.30): Likewise.
831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
832 (GLIBC_2.30): Likewise.
833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
834 (GLIBC_2.30): Likewise.
835 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
837 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
839 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
841 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
842 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
844 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
846 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
848 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
851 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
853 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
857 (_FPU_GETCW): Use __FPU_MFFS().
858 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
860 2019-06-06 Florian Weimer <fweimer@redhat.com>
862 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
863 internal GCC preprocessor identifier __has_include__.
865 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
867 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
868 with call to equivalent function.
870 2019-06-04 Florian Weimer <fweimer@redhat.com>
872 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
873 (do_release_shlib): Adjust for __twalk_r.
874 (__gconv_release_shlib): Call __twalk_r.
876 2019-06-04 Andreas Schwab <schwab@suse.de>
879 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
880 no irreversible characters occurred.
881 * iconv/gconv_simple.c (internal_ucs4_loop)
882 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
883 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
884 (ucs4_internal_loop_single, internal_ucs4le_loop)
885 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
886 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
887 (ucs4le_internal_loop_single): Add const to outend.
888 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
889 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
890 * iconv/Makefile (tests): Add tst-iconv7.
891 * iconv/tst-iconv7.c: New file.
893 2019-06-03 Joseph Myers <joseph@codesourcery.com>
895 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
897 2019-06-01 Florian Weimer <fweimer@redhat.com>
899 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
900 * sysdeps/unix/sysv/linux/arm/Makefile
901 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
902 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
903 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
904 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
905 compatibility symbols.
907 2019-05-31 Florian Weimer <fweimer@redhat.com>
909 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
910 system calls for the arm architecture: breakpoint, get_tls,
911 set_tls, usr26, usr32.
913 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
915 * sysdeps/powerpc/Makefile
916 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
917 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
918 Declare '.machine power7' to get support for ldbrx.
919 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
920 directive based on the directory of the file.
921 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
922 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
923 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
924 '.machine' directive.
925 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
926 (VADDUQM_V7_V8): Remove.
927 (__STRCASECMP): Replace macros with actual instructions.
928 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
929 '.machine' directive.
930 (VCLZD_V8_v7): Remove.
931 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
933 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
935 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
937 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
939 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
941 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
943 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
944 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
945 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
946 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
947 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
948 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
950 2019-05-28 mansayk <6688000@gmail.com>
953 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
955 2019-05-28 mansayk <6688000@gmail.com>
958 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
959 (abmon): Likewise, but remove the trailing dots.
961 2019-05-28 Joseph Myers <joseph@codesourcery.com>
963 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
965 2019-05-27 Florian Weimer <fweimer@redhat.com>
967 * nptl/nptl-init.c: Add comment.
969 2019-05-24 Florian Weimer <fweimer@redhat.com>
971 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
972 struct in_addr/struct in6_addr alignment.
974 2019-05-23 Joseph Myers <joseph@codesourcery.com>
976 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
977 (F_SEAL_FUTURE_WRITE): New macro.
979 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
981 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
982 * elf/tst-ldconfig-bad-aux-cache.c: New file.
983 * elf/tst-ldconfig_aux-cache.root: New directory.
984 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
985 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
986 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
988 2019-05-22 Zack Weinberg <zackw@panix.com>
990 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
992 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
993 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
995 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
1000 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
1001 Issue an #error if used with a compiler in SPE-float mode.
1002 * sysdeps/powerpc/powerpc32/__longjmp_common.S
1003 * sysdeps/powerpc/powerpc32/setjmp_common.S
1004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
1006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
1007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
1008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1010 Remove code to preserve SPE register state.
1012 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1013 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1014 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
1015 Remove __SPE__ ifndefs.
1017 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
1019 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
1020 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
1021 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
1022 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
1023 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
1024 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
1025 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
1026 (INNER_LOOP_ITERS_MEDIUM): New define.
1027 (INNER_LOOP_ITERS_SMALL): New define.
1028 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
1029 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
1030 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
1031 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
1032 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
1034 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
1036 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
1038 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
1039 (SEMTIMEDOP_IPC_ARGS): Likewise.
1041 2019-05-21 Florian Weimer <fweimer@redhat.com>
1044 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
1045 before updating __counter field and release it afterwards. Add
1047 * iconv/gconv.h (struct __gconv_step): Mention synchronization
1048 requirement for __counter member.
1050 2019-05-21 Florian Weimer <fweimer@redhat.com>
1053 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
1054 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
1055 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
1056 instead of __gconv_release_step.
1057 * libio/Makefile (tests): Add tst-wfile-gconv.
1058 (tests-container): Add tst-wfile-ascii.
1059 (tst-wfile-gconv-ENV): Enable mtrace.
1060 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
1061 (tests-special): Add tst-wfile-gconv-mem.out.
1062 (tst-wfile-gconv.out): Depend on locales.
1063 (tst-wfile-gconv-mem.out): Add mtrace rule.
1064 * libio/tst-wfile-ascii.c: New file.
1065 * libio/tst-wfile-gconv.c: Likewise.
1067 2019-05-20 Florian Weimer <fweimer@redhat.com>
1070 libio: Remove codecvt vtable.
1071 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
1073 * libio/iofgetpos.c (_IO_new_fgetpos): Call
1074 __libio_codecvt_encoding.
1075 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
1076 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1077 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
1078 * libio/iofwide.c (__libio_codecvt): Remove variable.
1079 (_IO_fwide): Do not copy __libio_codecvt.
1080 (__libio_codecvt_out): Rename from do_out and export.
1081 (do_unshift): Remove function.
1082 (__libio_codecvt_in): Rename from do_in and export.
1083 (__libio_codecvt_encoding): Rename from do_encoding and export.
1084 (do_always_noconv): Remove function.
1085 (__libio_codecvt_length): Rename from do_length and export.
1086 (do_max_length): Remove function.
1087 * libio/libio.h (enum __codecvt_result): Remove definition; moved
1089 (struct _IO_codecvt): Remove fields __codecvt_destr,
1090 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
1091 __codecvt_do_encoding, __codecvt_do_always_noconv,
1092 __codecvt_do_length, __codecvt_do_max_length.
1093 * libio/libioP.h (enum __codecvt_result): Define; moved from
1095 (__libio_codecvt_out, __libio_codecvt_in)
1096 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
1098 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
1099 (_IO_wfile_underflow): Call __libio_codecvt_in.
1100 (_IO_wfile_underflow): Likewise.
1101 (_IO_wfile_underflow_mmap): Likewise.
1102 (_IO_wfile_sync): Call __libio_codecvt_encoding,
1103 __libio_codecvt_length.
1104 (adjust_wide_data): Call __libio_codecvt_encoding,
1106 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
1107 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
1108 __libio_codecvt_length.
1110 2019-05-20 Florian Weimer <fweimer@redhat.com>
1112 * support/support.h (support_sbindir_prefix): Declare.
1113 (support_install_rootsbindir): Update comment.
1114 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
1115 * support/support_paths.c (support_sbindir_prefix): Define.
1117 2019-05-20 Mike Crowe <mac@mcrowe.com>
1119 * support/timespec.c: Add backslash to correct newline in failure
1122 * support/timespec.h: Correct confusing comment.
1124 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1126 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
1128 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
1129 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
1130 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
1131 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
1134 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
1137 2019-05-20 Joseph Myers <joseph@codesourcery.com>
1139 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
1140 (NT_ARM_PACG_KEYS): Likewise.
1142 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
1144 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
1145 (tcache_put): Remove redundant assert.
1146 (tcache_get): Remove redundant asserts.
1147 (__libc_malloc): Check tcache count is not zero.
1148 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
1150 2019-05-17 Florian Weimer <fweimer@redhat.com>
1152 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
1154 2019-05-16 Joseph Myers <joseph@codesourcery.com>
1156 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1157 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
1159 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
1161 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1162 (__ASSUME_STATX): Likewise.
1164 2019-05-16 Florian Weimer <fweimer@redhat.com>
1166 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
1168 (LINE_PARSER): Do not map IPv4 addresses.
1169 (internal_nis_gethostent_r): Remove flags argument. Adjust call
1171 (_nss_nis_gethostent_r): Always pass AF_INET to
1172 internal_nis_gethostent_r.
1173 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1175 (_nss_nis_gethostbyname2_r): Adjust call to
1176 internal_nis_gethostent_r.
1177 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
1178 call to internal_nis_gethostent_r.
1179 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
1181 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
1182 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
1183 Remove flags argument. Do not map IPv4 addresses.
1184 (internal_nisplus_gethostent_r): Adjust call to
1185 _nss_nisplus_parse_hostent.
1186 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1187 to _nss_nisplus_parse_hostent.
1188 (_nss_nisplus_gethostbyname2_r): Adjust call to
1189 internal_gethostbyname2_r.
1190 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
1191 Adjust call to internal_gethostbyname2_r.
1192 (_nss_nisplus_gethostbyaddr_r): Adjust call to
1193 _nss_nisplus_parse_hostent.
1194 (_nss_nisplus_gethostbyname4_r): Adjust call to
1195 internal_gethostbyname2_r.
1197 2019-05-16 Florian Weimer <fweimer@redhat.com>
1199 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
1201 (LINE_PARSER): Remove address mapping.
1202 (EXTRA_ARGS_VALUE): Remove flags argument.
1203 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
1204 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
1205 gethostbyname3_multi.
1206 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
1207 _nss_files_gethostbyname3_r.
1208 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
1210 2019-05-16 Florian Weimer <fweimer@redhat.com>
1212 * support/support_test_compare_blob.c (report_blob): Report
1213 incorrect NULL blobs.
1215 2019-05-15 Mark Wielaard <mark@klomp.org>
1218 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
1219 __libc_once_get (once) and static_buf == NULL.
1220 (__dlerror): Check we have a valid key, set result to static_buf
1223 2019-05-15 Andreas Schwab <schwab@suse.de>
1226 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
1227 __codecvt_do_length.
1228 * libio/Makefile (tests): Add tst-wfile-sync.
1229 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
1230 * libio/tst-wfile-sync.c: New file.
1231 * libio/tst-wfile-sync.input: New file.
1233 2019-05-15 Florian Weimer <fweimer@redhat.com>
1235 nss: Turn __nss_database_lookup into a compatibility symbol.
1236 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
1237 __nss_database_lookup.
1238 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
1239 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
1240 __nss_database_lookup.
1241 (__nss_next): Move to …
1242 * nss/compat-lookup.c (nss_next): … here. Change it to fail
1244 (__nss_database_lookup): New function.
1245 * nss/Versions (GLIBC_2.0): Update comment.
1246 (GLIBC_PRIVATE): Export __nss_database_lookup2.
1247 * grp/initgroups.c (internal_getgrouplist): Call
1248 __nss_database_lookup2 instead of __nss_database_lookup.
1249 * nscd/aicache.c (addhstaiX): Likewise.
1250 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1251 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1252 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
1253 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
1254 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
1256 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
1257 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
1258 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1260 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
1262 * support/support.h (support_install_rootsbindir): New variable.
1263 * support/support_paths.c: Likewise.
1264 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
1266 2019-05-15 Florian Weimer <fweimer@redhat.com>
1268 * iconv/gconv.h (__gconv_transliterate): Move declaration …
1269 * iconv/gconv_int.h (__gconv_transliterate): … here.
1270 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
1271 * iconv/skeleton.c: Likewise.
1273 2019-05-14 Florian Weimer <fweimer@redhat.com>
1275 Linux: Add the tgkill function.
1276 * bits/signal_ext.h: New file.
1277 * manual/signal.texi (Signaling Another Process): Document tgkill.
1278 * signal/Makefile (headers): Add bits/signal_ext.h.
1279 * signal/signal.h: Include <bits/signal_ext.h>.
1280 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
1281 (tst-tgkill): Link with libpthread.
1282 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
1283 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
1284 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
1285 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1287 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1288 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1289 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1290 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1291 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1292 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1293 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1294 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1295 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1296 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1297 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1299 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1300 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1301 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
1310 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1311 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1312 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1313 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1314 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1315 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1316 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1317 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1319 2019-05-14 Carlos O'Donell <carlos@redhat.com>
1321 * manual/search.texi (Tree Search Function): Adjust twalk_r
1324 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1327 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
1330 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
1331 * support/support.h (support_bindir_prefix): New variable.
1332 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
1334 * config.make.in (bindir): New variable.
1336 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
1337 (lll_trylock): Call __lll_trylock.
1338 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
1339 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
1340 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1341 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1342 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
1343 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
1344 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1345 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1346 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
1347 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
1348 lowlevellock-futex.h.
1350 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1351 initialization for LLL_LOCK_INITIALIZER different than 0.
1352 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
1353 Assume LLL_LOCK_INITIALIZER being 0.
1354 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
1355 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
1357 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
1358 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
1360 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
1361 Optimize futex call and add systemtap probe.
1363 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
1364 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
1365 __libc_disable_asynccancel, __librt_enable_asynccancel,
1366 __libc_disable_asynccancel, __librt_enable_asynccancel,
1367 __librt_disable_asynccancel): Move to ...
1368 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
1369 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
1370 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
1371 * sysdeps/generic/single-thread.h: New file.
1372 * sysdeps/unix/sysdep.h: Include single-thread.h.
1373 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
1374 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1376 2019-05-08 Mike FABIAN <mfabian@redhat.com>
1379 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
1380 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1382 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1383 * localedata/unicode-gen/PropList.txt: Likewise.
1384 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1385 * localedata/charmaps/UTF-8: Regenerate.
1386 * localedata/locales/i18n_ctype: Likewise.
1387 * localedata/locales/tr_TR: Likewise.
1388 * localedata/locales/translit_circle: Likewise.
1389 * localedata/locales/translit_cjk_compat: Likewise.
1390 * localedata/locales/translit_combining: Likewise.
1391 * localedata/locales/translit_compat: Likewise.
1392 * localedata/locales/translit_font: Likewise.
1393 * localedata/locales/translit_fraction: Likewise.
1395 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
1398 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
1399 (do_set_tcache_count): Only update if count is small enough.
1400 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
1402 2019-05-10 Florian Weimer <fweimer@redhat.com>
1404 * nptl/sem_close.c (struct walk_closure): Define.
1405 (walker): Adjust for __twalk_r.
1406 (sem_close): Call __twalk_r.
1408 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1410 * support/timespec.c (test_timespec_before_impl,
1411 test_timespec_equal_or_after_impl): print timespec member as intmax_t
1414 2019-05-09 Mike Crowe <mac@mcrowe.com>
1416 * nptl/tst-abstime.c: Use libsupport.
1418 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
1419 small bug where only tv.tv_usec was checked which could cause an
1420 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
1423 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
1426 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
1427 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
1429 * nptl/tst-cond11.c: Use libsupport.
1431 * support/timespec.h: New file. Provide timespec helper functions
1432 along with macros in the style of those in check.h.
1433 * support/timespec.c: New file. Implement check functions declared
1434 in support/timespec.h.
1435 * support/timespec-add.c: New file from gnulib containing
1436 timespec_add implementation that handles overflow.
1437 * support/timespec-sub.c: New file from gnulib containing
1438 timespec_sub implementation that handles overflow.
1439 * support/README: Mention timespec.h.
1441 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1444 * nptl/Makefile: Move tst-eintr1 to xtests.
1446 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1448 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
1450 (round_mode): Add definition for TRUNC.
1451 * sysdeps/powerpc/fpu/s_trunc.c: New file.
1452 * sysdeps/powerpc/fpu/s_truncf.c: New file.
1453 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
1454 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1455 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
1457 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
1459 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
1461 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1463 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
1465 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
1467 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
1469 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
1471 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
1472 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
1473 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1474 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
1475 s_truncf-power5+, and s_truncf-ppc64.
1476 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
1477 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
1479 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
1480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
1481 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
1482 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
1484 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
1486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
1487 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
1488 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1489 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
1490 s_truncf-power5+, and s_truncf-ppc64.
1491 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
1493 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1494 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
1496 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1497 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1498 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1499 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1500 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1502 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1504 (round_mode): Add definition for ROUND.
1505 (round_to_integer_float): Likewise.
1506 * sysdeps/powerpc/fpu/s_round.c: New file.
1507 * sysdeps/powerpc/fpu/s_roundf.c: New file.
1508 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
1509 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1510 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
1512 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
1514 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
1516 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1518 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
1520 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
1522 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
1524 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
1526 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
1527 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
1528 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1529 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
1530 s_roundf-power5+, and s_roundf-ppc64.
1531 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
1532 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
1534 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
1535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
1536 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
1537 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
1539 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
1541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
1542 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
1543 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1544 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
1545 s_roundf-power5+, and s_roundf-ppc64.
1546 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
1548 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1549 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
1551 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1552 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1553 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1554 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1555 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1557 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
1559 (round_mode): Add definition for FLOOR.
1560 * sysdeps/powerpc/fpu/s_floor.c: New file.
1561 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
1562 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
1563 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
1568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
1574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
1576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
1578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
1580 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
1581 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
1582 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1583 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
1584 s_floorf-power5+, and s_floorf-ppc64.
1585 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
1586 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
1588 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
1589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
1590 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
1591 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
1593 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
1595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
1596 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
1597 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1598 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
1599 s_floorf-power5+, and s_floorf-ppc64.
1600 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
1602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
1604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
1606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
1608 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1609 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1610 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1611 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1613 2019-05-08 Mike Crowe <mac@mcrowe.com>
1615 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1616 clock_gettime wrapper for use in tests that fails the test rather
1617 than returning failure.
1619 * support/xtime.h: New file to declare xclock_gettime.
1621 * support/Makefile: Add xclock_gettime.c.
1623 * support/README: Mention xtime.h.
1625 2019-05-08 Florian Weimer <fweimer@redhat.com>
1627 malloc/tst-mallocfork2: Use process-shared barriers.
1628 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1629 (signal_count, sigusr1_sender_pid): Remove.
1630 (iterations): Define constant.
1631 (shared): New variable.
1632 (sigusr1_received): Update comment.
1633 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1634 (signal_sender): Optional use barriers to avoid sending signals
1635 during irrelevant times.
1636 (do_it): Initialize variable shared. Use xfork for error
1637 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1638 the iteration count, independent of signal delivery. Check for
1639 deadlocks in fork. Introduce barriers for reducing signal
1640 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1641 replaced by the barriers. Count signals during fork/free/malloc
1643 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1645 2019-05-07 Joseph Myers <joseph@codesourcery.com>
1647 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1649 (clock_adjtime64) New syscall.
1650 (clock_getres_time64) Likewise.
1651 (clock_gettime64) Likewise.
1652 (clock_nanosleep_time64) Likewise.
1653 (clock_settime64) Likewise.
1654 (futex_time64) Likewise.
1655 (io_pgetevents_time64) Likewise.
1656 (io_uring_enter) Likewise.
1657 (io_uring_register) Likewise.
1658 (io_uring_setup) Likewise.
1659 (mq_timedreceive_time64) Likewise.
1660 (mq_timedsend_time64) Likewise.
1661 (pidfd_send_signal) Likewise.
1662 (ppoll_time64) Likewise.
1663 (pselect6_time64) Likewise.
1664 (recvmmsg_time64) Likewise.
1665 (rt_sigtimedwait_time64) Likewise.
1666 (sched_rr_get_interval_time64) Likewise.
1667 (semtimedop_time64) Likewise.
1668 (timer_gettime64) Likewise.
1669 (timer_settime64) Likewise.
1670 (timerfd_gettime64) Likewise.
1671 (timerfd_settime64) Likewise.
1672 (utimensat_time64) Likewise.
1674 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
1675 version to 9 branch.
1677 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1679 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
1680 __memmove_thunderx2 to the list of implementations
1681 * sysdeps/aarch64/multiarch/memmove.c: Likewise
1682 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
1683 (__memmove_thunderx2): Rewritten using SIMD ld/st
1684 (__memcpy_thunderx2): Fixed handling overlapping cases.
1685 Used ldp/stp instead of ldr/str if possible. Made loops
1688 2019-05-03 Florian Weimer <fweimer@redhat.com>
1690 * misc/tst-tsearch.c (walk_tree): Add more error checking.
1692 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1695 * elf/tst-pldd.c (in_str_list): New function.
1696 (do_test): Add default names for ld and libc as one option.
1698 2019-05-02 Florian Weimer <fweimer@redhat.com>
1700 misc: Add twalk_r function.
1701 * include/search.h (__twalk_r): Declare.
1702 * manual/examples/twalk.c: New file.
1703 * manual/search.texi (Tree Search Function): Document twalk_r.
1704 * misc/Versions (2.30): Export twalk_r.
1705 (GLIBC_PRIVATE): Export __twalk_r.
1706 * misc/search.h [__USE_GNU] (twalk_r): Declare.
1707 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
1708 (twalk_r): Add weak alias.
1709 * misc/tst-tsearch.c (struct walk_trace_element): Define.
1710 (walk_trace): New variable.
1711 (struct twalk_with_twalk_r_closure): Define.
1712 (twalk_with_twalk_r_action): New function.
1713 (twalk_with_twalk_r): Likewise.
1714 (walk_action): Call walk_trace_add.
1715 (walk_tree_with): Rename from walk_tree. Add walk argument.
1716 (walk_tree): New function.
1717 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
1718 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1720 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1722 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1723 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
1724 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
1725 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
1726 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
1727 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1729 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1731 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1733 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1734 (GLIBC_2.30): Likewise.
1735 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1736 (GLIBC_2.30): Likewise.
1737 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1738 (GLIBC_2.30): Likewise.
1739 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1740 (GLIBC_2.30): Likewise.
1741 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1744 (GLIBC_2.30): Likewise.
1745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1746 (GLIBC_2.30): Likewise.
1747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1748 (GLIBC_2.30): Likewise.
1749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1750 (GLIBC_2.30): Likewise.
1751 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1753 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1755 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1757 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1758 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1760 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1762 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1764 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1767 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1769 Make mktime etc. compatible with __time64_t
1770 Keep these functions compatible with Gnulib while adding
1771 __time64_t support. The basic idea is to move private API
1772 declarations from include/time.h to time/mktime-internal.h, since
1773 the former file cannot easily be shared with Gnulib whereas the
1775 Also, do some other minor cleanup while in the neighborhood.
1776 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1777 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1778 since Gnulib needs it.
1779 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1780 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1781 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1782 (in_time_t_range): New static function.
1783 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1784 so that glibc users are not tempted to use __time64_t.
1785 * time/mktime-internal.h: Rewrite so that it does both glibc
1786 and Gnulib work. Include time.h if not _LIBC.
1787 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1788 (__time64_t): New type or macro, moved here from
1790 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1791 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1792 from include/time.h.
1793 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1794 New macros, taken from GNulib.
1795 (__mktime_internal): New prototype, moved here from include/time.h.
1796 * time/mktime.c (mktime_min, mktime_max, convert_time)
1797 (ranged_convert, __mktime_internal, __mktime64):
1798 * time/timegm.c (__timegm64):
1799 Use __time64_t, not time_t.
1800 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1801 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1803 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1804 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1805 for libc_hidden_def.
1807 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1809 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1811 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
1814 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1815 from `-Wmaybe-uninitialized'.
1816 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1818 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1820 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1822 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1823 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1824 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1825 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1826 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1828 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1845 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1846 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1847 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1848 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1850 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1853 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1854 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1856 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1859 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1861 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1862 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1863 s_ceilf-power5+, and s_ceilf-ppc64.
1864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1869 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1870 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1871 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1872 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1874 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1875 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1876 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1878 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1880 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1881 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1882 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1883 (sem_getvalue): Likewise.
1885 2019-04-26 Florian Weimer <fweimer@redhat.com>
1887 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1888 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1890 2019-04-26 Florian Weimer <fweimer@redhat.com>
1892 Makeconfig: Move -Wl,-rpath-link options before library references.
1893 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1894 (link-libc): Remove $(link-libc-rpath-link).
1896 2019-04-25 Florian Weimer <fweimer@redhat.com>
1898 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1899 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1900 (+link-static-before-libc): Remove $(CC).
1901 (+link-static, +link-static-tests): Add $(CC).
1902 (+link-before-libc): Remove $(CC).
1903 (+link, +link-pie, +link-pie-printers): Add $(CC).
1905 2019-04-26 Florian Weimer <fweimer@redhat.com>
1907 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1908 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1909 (+link-static-before-libc): Remove $(CC).
1910 (+link-static, +link-static-tests): Add $(CC).
1911 (+link-before-libc): Remove $(CC).
1912 (+link, +link-pie, +link-pie-printers): Add $(CC).
1914 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1917 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1919 2019-04-25 Florian Weimer <fweimer@redhat.com>
1921 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1922 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1923 (bench-link-targets): New variable.
1924 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1926 2019-04-25 Florian Weimer <fweimer@redhat.com>
1928 Also enable BIND_NOW for programs if --enable-bind-now.
1929 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1930 (+link-pie): Use $(link-extra-flags).
1931 (+link-static): Likewise.
1932 [! $(build-pie-default)] (+link): Likewise.
1933 * manual/install.texi (Configuring and compiling): Update
1934 --enable-bind-now description.
1935 * INSTALL: Regenerated.
1937 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1939 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1940 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1942 2019-04-24 Mike Frysinger <vapier@gentoo.org>
1945 * malloc/Makefile (others): Add memusagestat.
1946 ($(objpfx)memusagestat): Delete rule.
1947 (LDLIBS-memusagestat): New variable.
1949 2019-04-24 Florian Weimer <fweimer@redhat.com>
1951 * locale/Makefile (tests-special): Guard setting by
1952 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1953 to run while cross-compiling.
1955 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1958 * elf/Makefile (tests-container): Add tst-pldd.
1959 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1960 (E(find_maps)): Avoid use alloca, use default read file operations
1961 instead of explicit LFS names, and fix infinite loop.
1962 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1963 (get_process_info): Use _Static_assert instead of assert, use default
1964 directory operations instead of explicit LFS names, and free some
1966 * elf/tst-pldd.c: New file.
1968 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1970 * malloc/arena.c (do_set_mallopt_check): Removed.
1972 2019-04-23 Florian Weimer <fweimer@redhat.com>
1974 locale: Add LOCPATH diagnostics to the locale program.
1975 * locale/programs/locale.c (setlocale_failed): New variable.
1976 (try_setlocale): New function.
1977 (quote_string): Likewise.
1978 (setlocale_diagnostics): Likewise.
1979 (main): Call try_setlocale instead of setlocale. Call
1980 setlocale_diagnostics.
1981 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1982 (tst-locale-locpath.out): New target.
1983 * locale/tst-locale-locpath.sh: New file.
1985 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1987 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1990 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1993 * malloc/hooks.c (malloc_check, realloc_check): Use
1994 __builtin_add_overflow on overflow check and adapt to
1995 checked_request2size change.
1996 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1997 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1998 allocation size to PTRDIFF_MAX.
1999 (REQUEST_OUT_OF_RANGE): Remove macro.
2000 (checked_request2size): Change to inline function and limit maximum
2001 requested size to PTRDIFF_MAX.
2002 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
2003 maximum allocation size to PTRDIFF_MAX.
2004 (_mid_memalign): Use _int_memalign call for overflow check.
2005 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
2006 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
2007 limit maximum requested size to PTRDIFF_MAX.
2008 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
2009 valloc, pvalloc): Add __attribute_alloc_size__.
2010 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
2011 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
2012 larger than PTRDIFF_MAX.
2013 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
2014 around tests of malloc with negative sizes.
2015 * malloc/tst-posix_memalign.c (do_test): Likewise.
2016 * malloc/tst-pvalloc.c (do_test): Likewise.
2017 * malloc/tst-valloc.c (do_test): Likewise.
2018 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
2019 with resulting size allocation larger than PTRDIFF_MAX with
2020 reallocarray_nowarn.
2021 (reallocarray_nowarn): New function.
2022 * NEWS: Mention the malloc function semantic change.
2024 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2026 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
2027 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2029 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
2030 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2031 * sysdeps/powerpc/fpu/s_fma.c: New file.
2032 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2034 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
2035 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
2037 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
2038 the magic flag store.
2039 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2041 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
2043 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
2044 Remove rt_sigreturn call.
2046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2047 Remove rt_sigreturn call.
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
2051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2053 * support/Makefile (libsupport-routines): Add support_subprocess,
2054 xposix_spawn, xposix_spawn_file_actions_addclose, and
2055 xposix_spawn_file_actions_adddup2.
2056 (tst-support_capture_subprocess-ARGS): New rule.
2057 * support/capture_subprocess.h (support_capture_subprogram): New
2059 * support/support_capture_subprocess.c (support_capture_subprocess):
2060 Refactor to use support_subprocess and support_capture_poll.
2061 (support_capture_subprogram): New function.
2062 * support/tst-support_capture_subprocess.c (write_mode_to_str,
2063 str_to_write_mode, test_common, parse_int, handle_restart,
2064 do_subprocess, do_subprogram, do_multiple_tests): New functions.
2065 (do_test): Add support_capture_subprogram tests.
2066 * support/subprocess.h: New file.
2067 * support/support_subprocess.c: Likewise.
2068 * support/xposix_spawn.c: Likewise.
2069 * support/xposix_spawn_file_actions_addclose.c: Likewise.
2070 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
2071 * support/xspawn.h: Likewise.
2073 2019-04-17 Mike Gerow <gerow@google.com>
2075 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
2078 2019-04-11 Florian Weimer <fweimer@redhat.com>
2080 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
2081 domain with empty string.
2082 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2084 2019-04-11 Florian Weimer <fweimer@redhat.com>
2086 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
2088 (alloc_buffer_next): Change return type to non-const. Update
2091 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
2093 * manual/time.texi (Formatting Calendar Time): Add missing percent
2094 sign to conversion specifier.
2096 2019-04-09 Carlos O'Donell <carlos@redhat.com>
2097 Kwok Cheung Yeung <kcy@codesourcery.com>
2100 * malloc/mtrace.c: Define prototypes for all hooks.
2101 (set_default_hooks): New function.
2102 (set_trace_hooks): Likewise.
2103 (save_default_hooks): Likewise.
2104 (tr_freehook): Use new s*_hooks functions.
2105 (tr_mallochook): Likewise.
2106 (tr_reallochook): Likewise.
2107 (tr_memalignhook): Likewise.
2109 (muntrace): Likewise.
2111 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2113 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
2114 (generic_stpcpy): New function.
2115 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
2116 (generic_stpncpy): New function.
2117 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
2118 (generic_strcat): New function.
2119 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
2120 (generic_strcpy): New function.
2121 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
2122 (STUPID_STRNCAT): Remove function.
2123 (generic_strncat): New function.
2124 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
2125 (STUPID_STRNCPY): Remove function.
2126 (generic_strncpy): New function.
2127 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
2128 (generic_strnlen): New function.
2129 (memchr_strnlen): New function.
2130 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
2131 (memchr_strlen): Likewise.
2133 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2135 * benchtests/bench-strstr.c (input): Add realistic input text.
2136 (stupid_strstr): Remove function.
2137 (basic_strstr): Add function.
2138 (twoway_strstr): Add function.
2139 (do_one_test): Add result checking.
2140 (do_test): Use new input text. Remove accidental early matches.
2141 (test_main): Improve range of tests, reduce unaligned cases.
2143 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2145 * benchtests/bench-memmem.c (simple_memmem): Remove function.
2146 (basic_memmem): Add function.
2147 (twoway_memmem): Add function.
2149 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2151 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
2152 * benchtests/bench-malloc-thread.c: Likewise.
2153 * benchtests/bench-skeleton.c: Likewise.
2154 * benchtests/bench-strtod.c: Likewise.
2155 * benchtests/bench-timing.h: Likewise.
2157 2019-04-08 Florian Weimer <fweimer@redhat.com>
2159 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
2161 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
2162 RES_INSECURE2 security checks.
2163 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
2164 RES_INSECURE2 handling.
2166 2019-04-08 Florian Weimer <fweimer@redhat.com>
2168 resolv: Remove support for RES_USE_INET6 and the inet6 option.
2169 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
2170 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
2172 * resolv/Makefile (tests): Remove tst-res_use_inet6.
2173 (tests-internal): Update justification for tst-resolv-res_init,
2174 tst-resolv-res_init-thread.
2175 (tst-res_use_inet6): Remove target.
2176 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
2177 * resolv/res_debug.c (p_option): Remove "inet6" support.
2178 * resolv/res_init.c (res_setoptions): Likewise.
2179 * resolv/res_use_inet6.h: Remove file.
2180 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
2182 (res_use_inet6): Always return false.
2183 * resolv/resolv.h (RES_USE_INET6): Remove definition.
2184 * resolv/resolv_context.h: Adjust file comment.
2185 (struct resolv_context): Update comment on __next field.
2186 (__resolv_context_put): Update comment.
2187 * resolv/tst-res_use_inet6.c: Remove file.
2188 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
2190 (test_cases): Adjust test case.
2191 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
2192 (thread_byname2_af_inet6): Use old byname_inet6 code.
2193 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
2194 (gai): Remove do_inet6 argument.
2195 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
2196 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
2197 (thread_gai_unspec_inet6): Remove functions.
2198 (do_test): Adjust thread_funcs.
2199 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
2201 (gaih_inet): Do not disable RES_USE_INET6 flag.
2203 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2205 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
2206 and remove redundant code.
2208 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2210 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
2212 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
2213 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
2215 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
2217 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
2219 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2220 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
2221 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
2222 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
2223 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2224 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
2225 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2226 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
2228 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
2229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2230 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2231 Remove wcsrchr optimizations.
2232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2234 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
2237 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
2239 * sysdeps/powerpc/power6/wcschr.c: Remove file.
2240 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
2242 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
2244 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
2246 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2247 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
2248 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
2249 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
2250 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2251 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
2252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2253 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
2255 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
2256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2257 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2258 Remove wcschr optimizations.
2259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2261 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
2264 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
2266 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
2267 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
2269 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
2271 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
2273 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2274 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
2275 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
2276 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
2277 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2278 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
2279 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2280 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
2282 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
2283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2284 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2285 Remove wcscpy optimizations.
2286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2288 * include/loop_unroll.h: New file.
2289 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
2290 besides generic implementation.
2292 2019-04-03 DJ Delorie <dj@redhat.com>
2294 * time/tst-strftime3.c (tm_to_printed): Disable warning about
2295 snprintf truncating output.
2297 2019-04-02 DJ Delorie <dj@redhat.com>
2299 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
2302 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2305 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
2307 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
2308 (mkreftable): Add rules for the new Japanese era and the new dates.
2310 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2311 Rafal Luzynski <digitalfreak@lingonborough.com>
2313 * time/tst-strftime2.c (date_t): Explicitly define the type.
2314 (dates): Use natural month and year numbers to express a date.
2315 (is_before): New function to compare dates.
2316 (mkreftable): Minor improvements to simplify maintenance.
2317 (do_test): Reflect the changes in dates array.
2320 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
2321 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
2322 * time/tst-strftime2.c (locales): Likewise.
2323 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
2324 2010-04-01, and 2011-04-01.
2325 (mkreftable): Add rules for the new locales and the new dates.
2327 2019-04-01 Carlos O'Donell <carlos@redhat.com>
2329 * localedata/locales/ja_JP: Add comments to era entries.
2331 2019-04-01 DJ Delorie <dj@redhat.com>
2334 * time/strptime_l.c (%Ey): Fix fencepost error.
2335 * time/tst-strftime3.c: New.
2336 * time/Makefile (tests): Add tst-strftime3.
2338 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
2340 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
2341 conditional branch to DIVBYZERO. Fix unwind info.
2342 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
2343 excb after conditional branch to $powerof2. Add missing unop
2344 instructions and .align directives and reorder instructions to
2347 2019-04-01 Richard Henderson <rth@twiddle.net>
2349 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
2351 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
2354 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
2356 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
2357 $libc_cv_riscv_float_abi in `test' invocation.
2358 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
2360 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
2362 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
2364 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
2366 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2367 (_GET_SI_FPSCR): Likewise.
2368 (_SET_SI_FPSCR): Likewise.
2370 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2372 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
2374 (signbit): Use builtin for clang 3.3.
2375 (isinf): Use builtin for clang 3.7.
2377 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2379 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
2381 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
2383 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
2386 2019-03-25 Mike Crowe <mac@mcrowe.com>
2388 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
2389 pthread_rwlock_timedrdlock with calls to
2390 pthread_rwlock_timedwrlock to ensure that the latter is tested
2391 too. Use new function name in diagnostic messages too.
2393 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
2394 (do_test) Use libsupport test macros rather than hand-coded
2395 conditionals and error messages. Ensure that sem_init returns zero
2396 rather than not -1. Use <support/test-driver.c> rather than
2399 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
2400 test macros rather than hand-coded conditionals and error messages.
2401 Use <support/test-driver.c> rather than test-skeleton.c.
2403 2019-03-25 Joseph Myers <joseph@codesourcery.com>
2405 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
2407 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
2408 (NT_MIPS_MSA): Likewise.
2410 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2412 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
2413 * benchtests/README: Update description.
2414 * benchtests/bench-timing.h: Default to hp-timing.
2415 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
2416 HP_TIMING_PRINT): Remove.
2417 (HP_TIMING_NOW): Add generic implementation.
2418 (hp_timing_t): Change to uint64_t.
2420 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
2422 * nptl/descr.h: Likewise.
2423 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
2424 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
2425 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
2426 Abstract hp-timing usage with RTLD_* macros.
2427 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
2428 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
2429 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
2430 HP_TIMING_NONAVAIL): Likewise.
2431 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2433 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
2434 HP_SMALL_TIMING_AVAIL): Likewise.
2435 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
2436 HP_SMALL_TIMING_AVAIL): Likewise.
2437 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
2438 HP_SMALL_TIMING_AVAIL): Likewise.
2439 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
2440 HP_SMALL_TIMING_AVAIL): Likewise.
2441 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2443 * sysdeps/generic/hp-timing-common.h: Update comment with
2444 HP_TIMING_AVAIL removal.
2446 * include/random-bits.h: New file.
2447 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
2448 (__res_context_mkquery): Remove usage hp-timing usage and replace with
2450 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
2451 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
2454 * include/libc-internal.h (__get_clockfreq): Remove prototype.
2455 * rt/Makefile (clock-routines): Remove get_clockfreq.
2456 * rt/get_clockfreq.c: Remove file.
2457 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2458 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
2459 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
2460 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
2461 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
2463 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
2464 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
2465 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
2466 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
2467 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
2469 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
2470 pthread_clock_settime.
2471 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
2472 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
2473 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
2474 * elf/rtld.c (_dl_start_final): Likewise.
2475 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
2476 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
2478 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
2479 (_dl_cpuclock_offset): Remove.
2480 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
2481 cpuclock_offset_ununsed.
2482 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2483 cpuclock_offset set.
2484 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2485 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2486 * nptl/pthread_clock_gettime.c: Remove file.
2487 * nptl/pthread_clock_settime.c: Likewise.
2488 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
2489 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
2490 and CLOCK_PROCESS_CPUTIME_ID support.
2491 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
2492 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
2493 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
2494 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
2495 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
2497 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
2499 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2501 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
2502 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
2503 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
2505 * sysdeps/s390/memmem-arch13.S: New file.
2506 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
2507 if it is only used as fallback.
2508 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
2509 * sysdeps/s390/multiarch/ifunc-impl-list.c
2510 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
2512 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2514 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
2515 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
2516 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
2518 * sysdeps/s390/multiarch/ifunc-impl-list.c
2519 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
2520 * sysdeps/s390/strstr-arch13.S: New file.
2521 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
2522 if it is only used as fallback.
2523 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
2525 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2527 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
2528 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
2529 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
2530 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
2532 * sysdeps/s390/multiarch/ifunc-impl-list.c
2533 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
2534 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
2535 S390_IS_ARCH13_MIE3): New defines.
2537 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2539 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
2540 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
2541 * sysdeps/s390/configure.ac: Add checks for arch13 support.
2542 * sysdeps/s390/configure: Regenerated.
2544 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
2546 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
2547 Add vxe2, vxp, dflt, sort flags.
2548 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
2549 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
2551 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
2552 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
2553 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
2554 HWCAP_S390_DFLT): Define.
2556 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2559 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
2560 of compiler warning.
2561 * locale/programs/ld-collate.c (collate_output): Likewise.
2563 2019-03-21 DJ Delorie <dj@redhat.com>
2566 * iconv/iconvconfig.c (write_output): Replace floating point math
2567 with integer math to avoid imprecise results.
2568 * locale/programs/ld-collate.c (collate_output): Likewise.
2570 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
2572 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
2573 Add HWCAP_S390_VX and HWCAP_S390_VXE.
2575 2019-03-20 mansayk <6688000@gmail.com>
2578 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
2579 (abday): Likewise, but remove the trailing dots.
2581 2019-03-19 Joseph Myers <joseph@codesourcery.com>
2583 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
2585 (HWCAP_PACA): Likewise.
2586 (HWCAP_PACG): Likewise.
2587 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2589 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
2591 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2593 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
2596 2019-03-15 Joseph Myers <joseph@codesourcery.com>
2598 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2600 (old_getpagesize): New syscall.
2602 2019-03-15 Felix Yan <felixonmars@archlinux.org>
2605 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
2606 * localedata/locales/cmn_TW (era): Likewise.
2607 * localedata/locales/hak_TW (era): Likewise.
2608 * localedata/locales/lzh_TW (era): Likewise.
2609 * localedata/locales/nan_TW (era): Likewise.
2611 2019-03-14 Adam Maris <amaris@redhat.com>
2613 * malloc/malloc.c (_int_malloc): Check for large bin list
2614 corruption when inserting unsorted chunk.
2616 2019-03-14 Florian Weimer <fweimer@redhat.com>
2618 Remove obsolete, never-implemented XSI STREAMS declarations.
2619 * manual/terminal.texi (Allocation): Remove portability note and
2621 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2623 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2624 * sysdeps/unix/inet/Subdirs (streams): Remove.
2625 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2626 (conformtest-headers-UNIX98): Likewise.
2627 (conformtest-headers-XOPEN2K): Likewise.
2628 (conformtest-headers-POSIX2008): Likewise.
2629 * posix/compat-streams.c: New file.
2630 * posix/Makefile (routines): Add it.
2631 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2632 getpmsg, isastream, putmsg, putpmsg.
2633 (GLIBC_2.30): New section.
2634 * bits/stropts.h: Remove file.
2635 * bits/xtitypes.h: Likewise.
2636 * conform/data/stropts.h-data: Likewise.
2637 * include/stropts.h: Likewise.
2638 * include/sys/stropts.h: Likewise.
2639 * include/xtitypes.h: Likewise.
2640 * streams/Makefile: Likewise.
2641 * streams/fattach.c: Likewise.
2642 * streams/fdetach.c: Likewise.
2643 * streams/getmsg.c: Likewise.
2644 * streams/getpmsg.c: Likewise.
2645 * streams/isastream.c: Likewise.
2646 * streams/putmsg.c: Likewise.
2647 * streams/putpmsg.c: Likewise.
2648 * streams/stropts.h: Likewise.
2649 * streams/sys/stropts.h: Likewise.
2650 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2651 * sysdeps/s390/bits/xtitypes.h: Likewise.
2652 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2653 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2654 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2655 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2656 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2657 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2658 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2659 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2660 * sysdeps/x86/bits/xtitypes.h: Likewise.
2662 2019-03-14 Florian Weimer <fweimer@redhat.com>
2664 * nss/tst-nss-files-alias-truncated.c (do_test): Load
2666 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
2667 but not with libnss_files.
2668 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
2670 2019-03-14 Zack Weinberg <zackw@panix.com>
2672 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
2673 Specify encoding="utf-8" when opening headers to check.
2675 2019-03-13 Joseph Myers <joseph@codesourcery.com>
2677 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2679 (Context.checkout_tar): Handle variable major version for Linux
2682 2019-03-13 Florian Weimer <fweimer@redhat.com>
2685 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
2687 2019-03-13 Zack Weinberg <zackw@panix.com>
2689 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
2691 * include/inttypes.h: Adjust to match.
2692 * include/stdint.h: New wrapper.
2694 2019-03-13 Zack Weinberg <zackw@panix.com>
2696 * scripts/check-obsolete-constructs.py: New test script.
2697 * scripts/check-installed-headers.sh: Remove tests for
2698 obsolete typedefs, superseded by check-obsolete-constructs.py.
2699 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
2700 as a special test. Update commentary.
2701 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
2702 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
2704 * posix/sys/types.h (__u_intN_t): Remove.
2705 (u_int8_t): Typedef using __uint8_t.
2706 (u_int16_t): Typedef using __uint16_t.
2707 (u_int32_t): Typedef using __uint32_t.
2708 (u_int64_t): Typedef using __uint64_t.
2710 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
2712 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
2714 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
2715 Ignore types other than AT_HWCAP.
2716 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
2717 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
2719 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
2720 in the case of falling back to generic output mechanism.
2721 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
2724 2019-03-12 Florian Weimer <fweimer@redhat.com>
2726 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
2728 2019-03-12 Florian Weimer <fweimer@redhat.com>
2731 resolv: Enable full ICMP errors for UDP DNS sockets
2732 * resolv/res_enable_icmp.c: New file.
2733 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
2734 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
2735 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
2738 2019-03-11 Mao Han <han_mao@c-sky.com>
2740 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
2741 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
2743 2019-03-11 Mao Han <han_mao@c-sky.com>
2745 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
2746 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2747 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2749 2019-03-11 Mao Han <han_mao@c-sky.com>
2751 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
2753 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
2756 2019-03-11 Mao Han <han_mao@c-sky.com>
2758 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
2759 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
2762 2019-03-08 Mike FABIAN <mfabian@redhat.com>
2765 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2766 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2768 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2769 * localedata/unicode-gen/PropList.txt: Likewise.
2770 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2771 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2772 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2773 * localedata/charmaps/UTF-8: Regenerate.
2774 * localedata/locales/i18n_ctype: Likewise.
2775 * localedata/locales/tr_TR: Likewise.
2776 * localedata/locales/translit_circle: Likewise.
2777 * localedata/locales/translit_cjk_compat: Likewise.
2778 * localedata/locales/translit_combining: Likewise.
2779 * localedata/locales/translit_compat: Likewise.
2780 * localedata/locales/translit_font: Likewise.
2781 * localedata/locales/translit_fraction: Likewise.
2783 2019-03-07 Joseph Myers <joseph@codesourcery.com>
2785 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2786 than after operators.
2787 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2788 (setitimer_locked): Likewise.
2789 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2790 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2791 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2792 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2793 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2794 (PPC_CPU_SUPPORTED): Likewise.
2795 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2796 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2797 (stat_overflow): Likewise.
2798 (statfs_overflow): Likewise.
2799 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2800 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2801 (eq_ttyname_r): Likewise.
2802 (run_chroot_tests): Likewise.
2804 2019-03-07 Florian Weimer <fweimer@redhat.com>
2806 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2809 2019-03-07 Martin Liska <mliska@suse.cz>
2811 * math/Makefile: Change location where math-vector-fortran.h is
2813 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2814 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2815 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2816 * scripts/check-installed-headers.sh: Skip Fortran header files.
2817 * scripts/check-wrapper-headers.py: Likewise.
2819 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2821 * nptl/nptl-init.c (__have_futex_clock_realtime,
2822 __have_futex_clock_realtime): Remove definition.
2823 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2824 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2825 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2826 __ASSUME_FUTEX_CLOCK_REALTIME support.
2827 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2828 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2829 * sysdeps/unix/sysv/linux/kernel-features.h
2830 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2831 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2834 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2836 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2837 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2838 __GI___wcscpy and wcscpy.
2840 2019-03-04 Florian Weimer <fweimer@redhat.com>
2842 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2844 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2847 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
2849 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2850 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2852 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2855 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2856 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2858 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2860 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2862 (do_test): Likewise.
2863 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2864 (do_test_call_varg): Likewise.
2865 (do_test_call_rarg): Likewise.
2866 * sysdeps/ieee754/ldbl-opt/Makefile
2867 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2869 ($(objpfx)tst-nldbl-warn.c): New rule.
2870 ($(objpfx)tst-nldbl-error.c): Likewise.
2871 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2874 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2877 * include/bits/error-ldbl.h: New file.
2878 * include/error.h: Include stdarg.h. Declare internal functions
2879 __error_internal and __error_at_line_internal.
2880 * misc/Makefile (headers): Add bits/error-ldbl.h.
2881 * misc/bits/error-ldbl.h: New file.
2882 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2883 avoid the inclusion of bits/error.h.
2884 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2885 and __nldbl_error_at_line.
2886 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2887 (__nldbl_error, __ndlbl_error_at_line): New functions.
2888 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2889 Redirect error and error_at_line.
2890 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2899 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2900 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2901 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2903 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2906 * include/bits/err-ldbl.h: New file.
2907 * include/err.h: Add prototypes for the internal functions:
2908 __vwarnx_internal and __vwarn_internal.
2909 * misc/Makefile (headers): Add bits/err-ldbl.h.
2910 * misc/bits/err-ldbl.h: New file.
2911 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2912 defined, i.e.: when -mlong-double-64 is in use.
2913 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2914 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2915 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2916 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2917 (VA_CALL): New macro.
2918 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2919 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2921 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2922 declare prototypes for the new functions.
2923 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2932 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2933 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2934 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2936 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2938 * sysdeps/ieee754/ldbl-opt/Makefile
2939 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2940 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2941 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2943 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2946 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2947 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2948 * argp/bits/argp-ldbl.h: New file.
2949 * include/argp.h: Include stdarg.h. Add prototypes for internal
2950 functions: __argp_error_internal and __argp_failure_internal.
2951 * include/bits/argp-ldbl.h: New file.
2952 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2953 __nldbl_argp_error and __nldbl_argp_failure.
2954 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2955 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2956 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2957 Redirect argp_error and argp_failure calls.
2958 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2967 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2968 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2969 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2971 2019-03-01 Florian Weimer <fweimer@redhat.com>
2974 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2975 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2976 code, to avoid creating an ABI tag note.
2977 (modules-names-nobuild): Add tst-big-note-lib.
2979 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
2981 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2982 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2984 2019-03-01 Florian Weimer <fweimer@redhat.com>
2987 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2988 (__netlink_assert_response): Add additional missing newlines.
2990 2019-02-28 Joseph Myers <joseph@codesourcery.com>
2992 * sysdeps/powerpc/powerpc32/dl-machine.c
2993 (__elf_machine_fixup_plt): Use space before '('.
2994 (__process_machine_rela): Likewise.
2995 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2997 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2999 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
3001 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
3002 (pattern): Likewise.
3004 (check_result): Likewise.
3005 (check_excepts): Likewise.
3006 (check_op): Likewise.
3007 (fail_xr): Likewise.
3008 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
3009 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
3011 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
3014 (__makecontext): Likewise.
3015 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
3018 2019-02-28 Florian Weimer <fweimer@redhat.com>
3021 elf: Add test with a local IFUNC resolver.
3022 * elf/ifuncmain9.c: New file.
3023 * elf/ifuncmain9pic.c: Likewise.
3024 * elf/ifuncmain9picstatic.c: Likewise.
3025 * elf/ifuncmain9pie.c: Likewise.
3026 * elf/ifuncmain9static.c: Likewise.
3027 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
3028 ifuncmain9static, ifuncmain9picstatic.
3029 * elf/Makefile [multi-arch && build-shared] (tests-internal):
3030 Add ifuncmain9, ifuncmain9pic.
3031 * elf/Makefile [multi-arch && build-shared && have-fpie]
3032 (ifunc-pie-tests): Add ifuncmain9pie.
3033 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
3034 (CFLAGS-ifuncmain9picstatic.c): Likewise.
3035 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
3037 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
3039 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
3040 * configure: Regenerated.
3041 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
3043 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3045 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
3046 symbol as __wcspcy instead of wcscpy.
3048 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3050 * include/stdio.h (__renameat2): New hidden prototype.
3051 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
3052 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
3053 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
3054 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
3056 2019-02-27 Joseph Myers <joseph@codesourcery.com>
3058 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
3061 * benchtests/bench-strcpy.c (do_test): Use space before '('.
3062 * benchtests/bench-string.h (cmdline_process_function): Likewise.
3063 * benchtests/bench-strlen.c (do_test): Likewise.
3064 (test_main): Likewise.
3065 * catgets/gencat.c (read_old): Likewise.
3066 * elf/cache.c (load_aux_cache): Likewise.
3067 * iconvdata/bug-iconv8.c (do_test): Likewise.
3068 * math/test-tgmath-ret.c (do_test): Likewise.
3069 * nis/nis_call.c (rec_dirsearch): Likewise.
3070 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3071 * nptl/tst-audit-threads.c (do_test): Likewise.
3072 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
3073 * nss/nss_test1.c (init): Likewise.
3074 * nss/test-netdb.c (test_hosts): Likewise.
3075 * posix/execvpe.c (maybe_script_execute): Likewise.
3076 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
3077 * stdio-common/tst-printf.c (do_test): Likewise.
3078 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
3079 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
3080 * stdlib/qsort.c (STACK_SIZE): Likewise.
3081 * stdlib/test-canon.c (do_test): Likewise.
3082 * stdlib/tst-swapcontext1.c (do_test): Likewise.
3083 * string/memcmp.c (OPSIZ): Likewise.
3084 * string/test-strcpy.c (do_test): Likewise.
3085 (do_random_tests): Likewise.
3086 * string/test-strlen.c (do_test): Likewise.
3087 (test_main): Likewise.
3088 * string/test-strrchr.c (do_test): Likewise.
3089 (do_random_tests): Likewise.
3090 * string/tester.c (test_memrchr): Likewise.
3091 (test_memchr): Likewise.
3092 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
3093 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
3094 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
3095 (read_encoded_value_with_base): Likewise.
3096 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
3097 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
3098 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
3099 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3100 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
3101 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
3103 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
3105 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
3106 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
3107 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
3109 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
3111 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
3113 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3115 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
3116 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3117 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3118 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
3119 * time/test_time.c (main): Likewise.
3121 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3123 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
3125 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
3128 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
3131 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3133 * include/wchar.h (__wcscpy): New prototype.
3134 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
3135 (__wcscpy): Route internal symbol to generic implementation.
3136 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
3137 Add internal __wcscpy alias.
3138 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
3139 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
3140 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
3141 * wcsmbs/wcscpy.c (wcscpy): Add
3142 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
3143 use generic implementation.
3144 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
3146 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
3149 * sysdeps/m68k/wcpcpy.c: Remove file.
3150 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3152 2019-02-26 Joseph Myers <joseph@codesourcery.com>
3154 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
3155 than after operators.
3156 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3157 * sysdeps/mach/hurd/getcwd.c
3158 (__hurd_canonicalize_directory_name_internal): Likewise.
3159 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
3160 (pthread_mutex_consistent): Likewise.
3161 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
3163 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
3164 (__pthread_mutex_transfer_np): Likewise.
3165 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
3166 (__pthread_mutex_unlock): Likewise.
3167 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
3168 (mtx_owned_p): Likewise.
3169 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
3170 (pthread_mutexattr_getrobust): Likewise.
3171 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
3172 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
3174 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3175 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
3176 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
3177 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
3178 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3179 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3180 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
3182 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
3184 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
3185 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
3186 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
3187 (____longjmp_chk): Likewise.
3188 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
3190 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3191 (INTERNAL_SYSCALL): Likewise.
3192 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3193 (INTERNAL_SYSCALL): Likewise.
3194 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3195 (__get_clockfreq_via_cpuinfo): Likewise.
3197 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
3199 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
3200 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
3201 (WORD_COPY_BWD): Likewise.
3202 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3203 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3205 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
3206 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
3208 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
3210 2019-02-25 Joseph Myers <joseph@codesourcery.com>
3212 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
3213 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
3214 rather than after operators.
3215 * elf/cache.c (print_cache): Likewise.
3216 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
3217 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
3218 * hurd/hurdinit.c (_hurd_setproc): Likewise.
3219 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
3220 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
3221 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3222 (reauth_proc): Likewise.
3223 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
3224 (__file_name_split_at): Likewise.
3225 (__directory_name_split_at): Likewise.
3226 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3227 * hurd/port2fd.c (_hurd_port2fd): Likewise.
3228 * iconv/gconv_dl.c (do_print): Likewise.
3229 * inet/netinet/in.h (struct sockaddr_in): Likewise.
3230 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
3231 * locale/setlocale.c (new_composite_name): Likewise.
3232 * malloc/memusagestat.c (main): Likewise.
3233 * misc/fstab.c (fstab_convert): Likewise.
3234 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3236 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
3237 (getgrent_next_file): Likewise.
3238 (internal_getgrnam_r): Likewise.
3239 (internal_getgrgid_r): Likewise.
3240 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
3242 (internal_getgrent_r): Likewise.
3243 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
3244 (getpwent_next_nss): Likewise.
3245 (getpwent_next_file): Likewise.
3246 (internal_getpwnam_r): Likewise.
3247 (internal_getpwuid_r): Likewise.
3248 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
3250 (getspent_next_nss): Likewise.
3251 (internal_getspnam_r): Likewise.
3252 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
3253 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
3254 * string/strchr.c (STRCHR): Likewise.
3255 * string/strchrnul.c (STRCHRNUL): Likewise.
3256 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
3257 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3258 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
3259 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
3260 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
3262 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
3263 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3264 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3265 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
3266 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
3267 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
3268 (open_file): Likewise.
3269 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
3270 (pthread_mutexattr_setprotocol): Likewise.
3271 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3272 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3273 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3274 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3275 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3277 (elf_machine_rela): Likewise.
3278 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3279 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3280 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
3281 * sysdeps/posix/rename.c (rename): Likewise.
3282 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
3283 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
3284 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
3285 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
3286 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3287 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
3288 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
3290 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
3292 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
3293 * time/tzfile.c (__tzfile_compute): Likewise.
3295 2019-02-22 Joseph Myers <joseph@codesourcery.com>
3297 * benchtests/bench-memmem.c (simple_memmem): Break lines before
3298 rather than after operators.
3299 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
3300 * crypt/md5.c (md5_finish_ctx): Likewise.
3301 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
3302 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
3303 * elf/cache.c (load_aux_cache): Likewise.
3304 * elf/dl-load.c (open_verify): Likewise.
3305 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
3306 * elf/readelflib.c (process_elf_file): Likewise.
3307 * elf/rtld.c (dl_main): Likewise.
3308 * elf/sprof.c (generate_call_graph): Likewise.
3309 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
3310 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3311 * hurd/dtable.c (reauth_dtable): Likewise.
3312 * hurd/getdport.c (__getdport): Likewise.
3313 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
3314 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
3315 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
3317 * hurd/hurdioctl.c (fioctl): Likewise.
3318 * hurd/hurdselect.c (_hurd_select): Likewise.
3319 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
3320 (STOPSIGS): Likewise.
3321 * hurd/hurdstartup.c (_hurd_startup): Likewise.
3322 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
3323 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3324 * hurd/msgportdemux.c (msgport_server): Likewise.
3325 * hurd/setauth.c (_hurd_setauth): Likewise.
3326 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
3327 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
3328 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
3329 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
3330 * login/tst-utmp.c (do_check): Likewise.
3331 (simulate_login): Likewise.
3332 * mach/lowlevellock.h (lll_lock): Likewise.
3333 (lll_trylock): Likewise.
3334 * math/test-fenv.c (ALL_EXC): Likewise.
3335 * math/test-fenvinline.c (ALL_EXC): Likewise.
3336 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
3337 * nis/nis_call.c (__do_niscall3): Likewise.
3338 * nis/nis_callback.c (cb_prog_1): Likewise.
3339 * nis/nis_defaults.c (searchaccess): Likewise.
3340 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3341 * nis/nis_ismember.c (internal_ismember): Likewise.
3342 * nis/nis_local_names.c (nis_local_principal): Likewise.
3343 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
3344 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
3346 * nis/ypclnt.c (yp_match): Likewise.
3347 (yp_first): Likewise.
3348 (yp_next): Likewise.
3349 (yp_master): Likewise.
3350 (yp_order): Likewise.
3351 * nscd/hstcache.c (cache_addhst): Likewise.
3352 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3353 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
3354 (internal_getpwuid_r): Likewise.
3355 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
3356 * posix/glob.h (__GLOB_FLAGS): Likewise.
3357 * posix/regcomp.c (peek_token): Likewise.
3358 (peek_token_bracket): Likewise.
3359 (parse_expression): Likewise.
3360 * posix/regexec.c (sift_states_iter_mb): Likewise.
3361 (check_node_accept_bytes): Likewise.
3362 * posix/tst-spawn3.c (do_test): Likewise.
3363 * posix/wordexp-test.c (testit): Likewise.
3364 * posix/wordexp.c (parse_tilde): Likewise.
3365 (exec_comm): Likewise.
3366 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
3367 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
3368 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
3369 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
3370 * stdio-common/tst-fileno.c (do_test): Likewise.
3371 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
3372 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
3373 * stdlib/strtod_l.c (round_and_return): Likewise.
3374 (____STRTOF_INTERNAL): Likewise.
3375 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
3376 * string/strcspn.c (STRCSPN): Likewise.
3377 * string/test-memmem.c (simple_memmem): Likewise.
3378 * termios/tcsetattr.c (tcsetattr): Likewise.
3379 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
3380 * time/asctime.c (asctime_internal): Likewise.
3381 * time/strptime_l.c (__strptime_internal): Likewise.
3382 * time/sys/time.h (timercmp): Likewise.
3383 * time/tzfile.c (__tzfile_compute): Likewise.
3385 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
3388 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
3390 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3392 * argp/argp-help.c (__argp_error_internal): New function,
3393 renamed from __argp_error, but that takes a 'mode_flags'
3394 parameter to control the format of long double parameters.
3395 (__argp_error): Converted into a call __argp_error_internal.
3396 (__argp_failure_internal): New function, renamed from
3397 __argp_failure, but that takes a 'mode_flags' parameter.
3398 (__argp_failure): Converted into a call __argp_failure_internal.
3399 * misc/err.c (__vwarnx_internal): New function, renamed from
3400 vwarnx, but that takes a 'mode_flags' parameter.
3401 (vwarnx): Converted into a call to __vwarnx_internal.
3402 (__vwarn_internal): New function, renamed from vwarn, but that
3403 takes a 'mode_flags' parameter.
3404 (vwarn): Converted into a call to __vwarn_internal.
3405 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
3406 call to __vfxprintf with 'mode_flags'.
3407 (__error_internal): New function, renamed from error, but that
3408 takes a 'mode_flags' parameter.
3409 (error): Converted into a call to __error_internal.
3410 (__error_at_line_internal): New function, renamed from
3411 error_at_line, but that takes a 'mode_flags' parameter.
3412 (error_at_line): Converted into a call to
3413 __error_at_line_internal.
3414 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
3415 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
3418 2019-02-20 Martin Liska <mliska@suse.cz>
3420 * math/Makefile: Install math-vector-fortran.h.
3421 * bits/math-vector-fortran.h: New file.
3422 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
3424 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3426 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
3427 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
3429 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
3431 * nptl/pthread_mutex_trylock.c: Fix comment.
3433 2019-02-19 Carlos O'Donell <carlos@redhat.com>
3435 * nptl/pthread_tryjoin.c: Fix comment.
3437 2019-02-18 Joseph Myers <joseph@codesourcery.com>
3440 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
3441 after R_SPARC_H34 case.
3443 2019-02-18 Florian Weimer <fweimer@redhat.com>
3445 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
3446 (getanswer): Do not call Dprintf.
3447 (res_gethostbyname2_context): Likewise.
3448 (res_gethostbyaddr_context): Likewise.
3450 2019-02-18 Florian Weimer <fweimer@redhat.com>
3452 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
3454 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
3456 * libio/stdfiles.c: Update comment.
3457 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
3458 set _IO_stdin, _IO_stdout, _IO_stderr.
3459 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
3460 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
3462 (_IO_deallocate_file): New inline function.
3463 * libio/iolibio.h (_IO_vprintf): Remove definition.
3464 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
3465 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3466 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
3468 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
3469 __builtin_expect. Use _IO_legacy_file.
3471 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
3473 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
3474 Initialize ctid with a known value and remove update of ctid
3476 (wait_tid): Adjust arguments and call futex_wait with ctid_val
3477 as assumed current value of ctid_ptr.
3479 2019-02-16 Florian Weimer <fweimer@redhat.com>
3481 Check that non-sysdeps headers have wrapper headers.
3482 * scripts/check-wrapper-headers.py: New file.
3483 * Makefile (tests-special): Add check-wrapper-headers.out.
3484 (check-wrapper-headers.out): New target.
3485 * Rules (tests-special): Add check-wrapper-headers.out.
3486 (check-wrapper-headers.out): New target.
3488 2019-02-16 Florian Weimer <fweimer@redhat.com>
3490 Add missing header wrappers under include/.
3491 * include/ar.h: New file.
3492 * include/bits/mqueue2.h: Likewise.
3493 * include/bits/stdio.h: Likewise.
3494 * include/bits/stdio2.h: Likewise.
3495 * include/fstab.h: Likewise.
3496 * include/fts.h: Likewise.
3497 * include/lastlog.h: Likewise.
3498 * include/netinet/icmp6.h: Likewise.
3499 * include/netinet/igmp.h: Likewise.
3500 * include/netinet/ip6.h: Likewise.
3501 * include/re_comp.h: Likewise.
3502 * include/regexp.h: Likewise.
3503 * include/rpcsvc/bootparam.h: Likewise.
3504 * include/rpcsvc/yp_prot.h: Likewise.
3505 * include/sys/random.h: Likewise.
3506 * include/sys/stropts.h: Likewise.
3507 * include/sys/ttychars.h: Likewise.
3508 * include/sys/vfs.h: Likewise.
3509 * include/wait.h: Likewise.
3511 2019-02-16 Florian Weimer <fweimer@redhat.com>
3513 * nptl_db/proc_service.h: Move to ...
3514 * sysdeps/nptl/proc_service.h: ... here.
3515 * nptl_db/thread_db.h: Move to ...
3516 * sysdeps/nptl/thread_db.h: ... here.
3517 * nptl/descr.h: Include <thread_db.h>.
3519 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3521 * io/Makefile (tests): Add tst-lockf.
3522 * io/lockf.c (lockf): Use __fcntl and only define for
3523 !__OFF_T_MATCHES_OFF64_T.
3524 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
3525 __OFF_T_MATCHES_OFF64_T case.
3526 * io/tst-lockf.c: New file.
3527 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
3528 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
3529 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
3530 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
3531 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
3532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
3533 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
3534 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
3535 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
3537 2019-02-15 Florian Weimer <fweimer@redhat.com>
3540 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
3541 pd->result after the thread descriptor has been freed.
3543 2019-02-15 Joseph Myers <joseph@codesourcery.com>
3545 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
3546 from function return type.
3548 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
3550 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3552 * scripts/test_printers_common.py: Set TERM to a known harmless
3555 2019-02-14 Joseph Myers <joseph@codesourcery.com>
3557 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
3558 (xdr_u_int): Likewise.
3559 (xdr_enum): Likewise.
3560 (xdr_bytes): Reword fall-through comment.
3561 (xdr_string): Likewise.
3563 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3566 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
3567 (tests): Add tst-join8 tst-join9.
3568 * nptl/lll_timedwait_tid.c: Remove file.
3569 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
3570 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
3571 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
3572 * nptl/pthread_join_common.c (timedwait_tid): New function.
3573 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
3575 * nptl/tst-join5.c (thread_join): New function.
3576 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
3578 * nptl/tst-join8.c: New file.
3579 * nptl/tst-join9.c: Likewise.
3580 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
3581 lll_futex_timed_wait_cancel): Add generic macros.
3582 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
3584 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3585 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3586 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3587 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
3589 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
3591 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3592 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3593 (lll_futex_timed_wait_cancel): New macro.
3595 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
3597 * benchtests/Makefile: Add malloc-simple benchmark.
3598 * benchtests/bench-malloc-simple.c: New benchmark.
3600 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3602 * benchtests/bench-memmove.c (do_one_test): Remove unused
3605 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
3609 2019-01-13 Jim Wilson <jimw@sifive.com>
3612 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3613 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3615 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3617 * nptl/Makefile (tests): Add tst-unwind-thread.
3618 (CFLAGS-tst-unwind-thread.c): Define.
3619 * nptl/tst-unwind-thread.c: New file.
3620 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3623 2019-02-13 Joseph Myers <joseph@codesourcery.com>
3625 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3627 * nis/nis_call.c (__do_niscall3): Likewise.
3629 * catgets/gencat.c (normalize_line): Use braces around empty
3631 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3632 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3633 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3634 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3635 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3636 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3637 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3640 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3643 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3645 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3646 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3647 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3648 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3649 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3650 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3651 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3652 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3653 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3654 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3655 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3656 * benchtests/bench-bcopy.c: Delete file.
3657 * benchtests/bench-bzero.c: Likewise.
3658 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3659 (simple_memccpy): Remove.
3660 (generic_memccpy): Add function.
3661 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3662 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3663 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3664 (generic_mempcpy): Add new function.
3665 * benchtests/bench-memset.c (simple_bzero): Remove.
3666 (builtin_bzero): Remove.
3667 (builtin_memset): Remove.
3668 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
3669 (generic_rawmemchr): Add new function.
3671 2019-02-12 Florian Weimer <fweimer@redhat.com>
3673 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
3675 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3678 * elf/Makefile (tests): Add tst-audit13.
3679 (modules-names): Add tst-audit13mod1.
3680 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3682 * elf/tst-audit13.c: New file.
3683 * elf/tst-audit13mod1.c: Likewise.
3685 2019-02-12 Florian Weimer <fweimer@redhat.com>
3688 * elf/rtld.c (unload_audit_module): New function.
3689 (report_audit_module_load_error): Likewise.
3690 (load_audit_module): Likewise. Extracted from dl_main. Call
3691 _dl_close if the laversion symbol cannot be found. Use early
3692 returns for error handling. Add malloc error check. Check for a
3693 zero return value from la_version. Remove spurious comment about
3694 static TLS initialization. Remove useless casts.
3695 (notify_audit_modules_of_loaded_object): New function. Extracted
3697 (load_audit_module): Likewise.
3698 (dl_main): Call load_audit_modules.
3700 2019-02-12 Joseph Myers <joseph@codesourcery.com>
3702 * elf/dl-exception.c (_dl_exception_create_format): Add
3703 fall-through comments.
3704 * elf/ldconfig.c (parse_conf_include): Likewise.
3705 * elf/rtld.c (print_statistics): Likewise.
3706 * locale/programs/charmap.c (parse_charmap): Likewise.
3707 * misc/mntent_r.c (__getmntent_r): Likewise.
3708 * posix/wordexp.c (parse_arith): Likewise.
3709 (parse_backtick): Likewise.
3710 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
3711 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3712 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3714 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
3716 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
3717 Use float instead of double.
3719 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3721 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
3723 2019-02-08 Joseph Myers <joseph@codesourcery.com>
3725 * sysdeps/powerpc/bits/mathinline.h: Remove.
3727 2019-02-08 Florian Weimer <fweimer@redhat.com>
3729 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
3730 * math/bits/math-finite.h: Move to ...
3731 * bits/math-finite.h: ... here.
3733 2019-02-08 Florian Weimer <fweimer@redhat.com>
3735 * sysdeps/generic/bits/unistd_ext.h: Move to ...
3736 * bits/unistd_ext.h: here.
3738 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
3741 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
3742 * nss/tst-nss-files-hosts-long.c: New file.
3743 * nss/tst-nss-files-hosts-long.root: New directory.
3744 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
3745 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
3747 2019-02-08 Florian Weimer <fweimer@redhat.com>
3749 * include/bits/unistd_ext.h: Remove file.
3750 * posix/bits/unistd_ext.h: Move to ...
3751 * sysdeps/generic/bits/unistd_ext.h: ... here.
3753 2019-02-08 Florian Weimer <fweimer@redhat.com>
3755 * include/bits/unistd_ext.h: New file.
3757 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
3759 * time/tst-strftime2.c: Use array_length macros instead of magic
3762 2019-02-08 Florian Weimer <fweimer@redhat.com>
3765 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3767 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3768 locking if the new do_locking argument is true.
3769 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3770 __run_fork_handlers.
3772 2019-02-08 Florian Weimer <fweimer@redhat.com>
3775 Linux: Add gettid system call wrapper.
3776 * posix/Makefile (headers): Add bits/unistd_ext.h.
3777 * posix/bits/unistd_ext.h: New file.
3778 * posix/unistd.h: Include it.
3779 * manual/process.texi (Process Identification): Document gettid.
3780 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3781 tst-gettid, tst-gettid-kill.
3782 (tst-gettid): Link with $(shared-thread-library).
3783 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3784 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3785 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3786 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3787 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3788 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3790 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3792 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3793 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3795 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3797 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3799 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3801 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3803 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3805 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3807 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3808 (GLIBC_2.30): Likewise.
3809 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3810 (GLIBC_2.30): Likewise.
3811 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3812 (GLIBC_2.30): Likewise.
3813 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3814 (GLIBC_2.30): Likewise.
3815 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3818 (GLIBC_2.30): Likewise.
3819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3820 (GLIBC_2.30): Likewise.
3821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3822 (GLIBC_2.30): Likewise.
3823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3824 (GLIBC_2.30): Likewise.
3825 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3827 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3829 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3831 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3832 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3834 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3836 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3838 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3840 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3842 2019-02-08 Florian Weimer <fweimer@redhat.com>
3844 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3845 compatibility symbols.
3847 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
3850 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3851 Add compiler barriers and comments.
3853 2019-02-07 Florian Weimer <fweimer@redhat.com>
3855 * include/array_length.h (array_length): Do not use a statement
3856 expression and _Static_assert, so that array_length can be used at
3857 file scope and as a constant expression.
3859 2019-02-07 Florian Weimer <fweimer@redhat.com>
3861 * support/xdlfcn.h (xdlmopen): Declare.
3862 * support/xdlmopen.c: New file.
3863 * support/Makefile (libsupport-routines): Add xdlmopen.
3865 2019-02-06 Joseph Myers <joseph@codesourcery.com>
3867 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3868 before return type, without separate inline.
3869 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3870 * elf/dl-tunables.h (tunable_is_name): Likewise.
3871 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3872 (do_set_top_pad): Likewise.
3873 (do_set_mmap_threshold): Likewise.
3874 (do_set_mmaps_max): Likewise.
3875 (do_set_mallopt_check): Likewise.
3876 (do_set_perturb_byte): Likewise.
3877 (do_set_arena_test): Likewise.
3878 (do_set_arena_max): Likewise.
3879 (do_set_tcache_max): Likewise.
3880 (do_set_tcache_count): Likewise.
3881 (do_set_tcache_unsorted_limit): Likewise.
3882 * nis/nis_subr.c (count_dots): Likewise.
3883 * nptl/allocatestack.c (advise_stack_range): Likewise.
3884 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3886 (reduce_sincos): Likewise.
3887 (do_sincos): Likewise.
3888 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3889 (do_set_elision_enable): Likewise.
3890 (TUNABLE_CALLBACK_FNDECL): Likewise.
3892 2019-02-06 Florian Weimer <fweimer@redhat.com>
3894 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3895 (xdlsym): Use dlerror to detect a NULL symbol.
3897 2019-02-06 Florian Weimer <fweimer@redhat.com>
3899 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3901 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3903 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3905 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3907 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3909 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3910 __wmemcmp and weak alias to wmemcmp.
3912 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3915 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3916 TLS_TCB_AT_TP tls variant.
3917 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3918 Add alignment checks.
3919 * support/Makefile (libsupport-routines): Add xposix_memalign and
3921 * support/support.h: Add xposix_memalign.
3922 * support/xthread.h: Add xpthread_attr_setstack.
3923 * support/xposix_memalign.c: New File.
3924 * support/xpthread_attr_setstack.c: Likewise.
3926 2019-02-05 Florian Weimer <fweimer@redhat.com>
3929 arm: Use "nr" constraint for Systemtap probes, to avoid the
3930 compiler using memory operands for constants, due to the "o"
3931 alternative in the default "nor" constraint.
3932 * include/stap-probe.h [USE_STAP_PROBE]: Include
3933 <stap-probe-machine.h>
3934 * sysdeps/generic/stap-probe-machine.h: New file.
3935 * sysdeps/arm/stap-probe-machine.h: Likewise.
3937 2019-02-04 Joseph Myers <joseph@codesourcery.com>
3939 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3940 with 0, not tcache->entries[tc_idx].
3942 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3945 2019-02-04 Andreas Schwab <schwab@suse.de>
3949 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3950 looking up collating elements match against (wide) character
3951 sequence instead of name. Correct alignment adjustment.
3952 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3953 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3954 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3955 (LOCALES): Add cs_CZ.ISO-8859-2.
3956 * posix/tst-fnmatch4.c: New file.
3957 * posix/tst-fnmatch5.c: New file.
3958 * include/wchar.h (__wmemcmp): Declare.
3959 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3960 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3961 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3962 * sysdeps/s390/wmemcmp.c: Likewise.
3964 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3968 * NEWS: Updated for CVE-2019-7309.
3969 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3970 upper 32 bits of RDX register for x32. Use unsigned Jcc
3971 instructions, instead of signed.
3972 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3973 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3975 2019-02-04 Florian Weimer <fweimer@redhat.com>
3977 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3978 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3979 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3981 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3982 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3983 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3984 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3986 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3988 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3990 (posix_spawn_file_actions_addopen): Likewise.
3991 (posix_spawn_file_actions_addclose): Likewise.
3992 (posix_spawn_file_actions_adddup2): Likewise.
3993 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3995 (posix_spawn_file_actions_addfchdir_np): Likewise.
3997 2019-02-04 David Newall <glibc@davidnewall.com>
3999 elf: Implement --preload option for the dynamic linker.
4000 * elf/rtld.c (preloadarg): New variable.
4001 (handle_preload_list): Pass through “where” argument to
4003 (dl_main): Handle "--preload" and add second call to
4004 handle_preload_list.
4005 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
4006 (tst-rtld-preload-OBJS): Set variable.
4007 (tst-rtld-preload.out): New target.
4008 * elf/tst-rtld-preload.sh: New file.
4010 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
4012 * Makefile (testrun.sh): Exit in case of incorrect argument.
4014 2019-02-04 Florian Weimer <fweimer@redhat.com>
4016 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
4019 2019-02-03 Florian Weimer <fweimer@redhat.com>
4021 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
4022 implicit overflow checks.
4024 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
4026 * stdlib/isomac.c: Include <unistd.h>.
4028 2019-02-03 Florian Weimer <fweimer@redhat.com>
4030 * include/time.h (__tzfile_default): Use int, not long int, for
4032 * time/tzfile.c (struct ttinfo): Change type of the offset member
4034 (__tzfile_read): Remove useless cast.
4035 (__tzfile_default): Adjust prototype.
4036 * time/tzset.c (tz_rule): Change type of the offset member to int.
4037 (parse_offset): Change the type of the sign variable to int.
4039 2019-02-03 Florian Weimer <fweimer@redhat.com>
4042 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
4043 * libio/getchar.c (getchar): Likewise.
4044 * libio/getchar_u.c (getchar_unlocked): Likewise.
4045 * libio/getwchar.c (getwchar): Likewise.
4046 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4047 * libio/iogets.c (_IO_gets): Likewise.
4048 * libio/vscanf.c (_IO_vscanf): Likewise.
4049 * libio/vwscanf.c (__vwscanf): Likewise.
4050 * libio/tst-bz24153.c: New file.
4051 * libio/Makefile (tests): Add it.
4053 2019-02-02 Florian Weimer <fweimer@redhat.com>
4056 * manual/resource.texi (Basic Scheduling Functions): Add
4057 portability note. Change process to task throughout the section.
4058 Remove incorrect comment about sched_yield as it affects
4059 tasks/threads, not entire processes.
4060 * sysdeps/unix/sysv/linux/bits/posix_opt.h
4061 (_POSIX_PRIORITY_SCHEDULING): Update comment.
4063 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4065 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
4066 * configure: Regenerated.
4067 * manual/install.texi (Tools for Compilation): Update minimum GCC
4069 * INSTALL: Regenerated.
4071 2019-02-01 Florian Weimer <fweimer@redhat.com>
4073 * support/support_test_compare_string.c
4074 (support_test_compare_string): Use "string" in error message.
4075 * support/tst-test_compare_string.c (do_test): Adjust.
4077 2019-02-01 Florian Weimer <fweimer@redhat.com>
4079 * support/support_format_address_family.c
4080 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
4082 2019-02-01 Florian Weimer <fweimer@redhat.com>
4084 * manual/socket.texi (Internet Address Formats): Clarify the byte
4085 order of struct sockaddr_in, struct sockaddr_in6. Document
4086 sin6_flowinfo and sin6_scope_id.
4088 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
4090 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
4091 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
4092 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
4093 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
4094 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
4095 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
4097 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4099 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
4100 [!MEMCHR](MEMCHR): Set to __memchr.
4101 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4102 Add memchr_generic and memchr_nosimd.
4103 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4104 (__libc_ifunc_impl_list): Add memchr ifuncs.
4105 * sysdeps/aarch64/multiarch/memchr.c: New file.
4106 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
4107 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
4109 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4111 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4113 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4114 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
4115 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
4116 Add IS_EMAG check for ifunc dispatch.
4117 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
4118 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
4120 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4122 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
4123 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4125 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
4128 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
4130 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
4132 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
4134 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
4135 syscall-template file.
4137 2019-01-31 Carlos O'Donell <carlos@redhat.com>
4138 Torvald Riegel <triegel@redhat.com>
4139 Rik Prohaska <prohaska7@gmail.com>
4142 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
4143 tst-rwlock-trywrlock-stall.
4144 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4145 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
4146 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
4147 Set __wrphase_fute to 1 only if we started the write phase.
4148 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
4149 * nptl/tst-rwlock-trywrlock-stall.c: New file.
4150 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
4151 * support/xpthread_rwlock_destroy.c: New file.
4152 * support/xthread.h: Declare xpthread_rwlock_destroy.
4154 2019-02-01 Joseph Myers <joseph@codesourcery.com>
4156 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4159 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4162 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
4163 * libio/fileops.c (_IO_new_file_underflow): Likewise
4164 * libio/wfileops.c (_IO_wfile_underflow): Likewise
4165 * libio/putchar.c (putchar): Likewise.
4166 * libio/putchar_u.c (putchar_unlocked): Likewise.
4167 * libio/putwchar.c (putchar): Likewise.
4168 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4169 * libio/tst-bz24051.c: New test.
4170 * libio/Makefile (tests): Add tst-bz24051
4172 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
4175 regex: fix read overrun [BZ #24114]
4176 Problem found by AddressSanitizer, reported by Hongxu Chen in:
4177 https://debbugs.gnu.org/34140
4178 * posix/regexec.c (proceed_next_node):
4179 Do not read past end of input buffer.
4181 2019-01-31 Florian Weimer <fweimer@redhat.com>
4184 * nss/nss_files/files-alias.c (get_next_alias): Handle
4185 continuation line without newline at the end.
4186 * nss/tst-nss-files-alias-truncated.c: New file.
4187 * nss/Makefile [$(build-shared)] (tests): Add
4188 tst-nss-files-alias-truncated.
4189 (tst-nss-files-alias-truncated): Link with libnss_files.so.
4190 * support/namespace.h (struct support_chroot_configuration): Add
4192 (struct support_chroot): Add path_aliases member.
4193 * support/support_chroot.c (support_chroot_create): Handle
4195 (support_chroot_free): Free path_aliases.
4197 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
4199 * version.h (RELEASE): Set to "development".
4200 (VERSION): Set to "2.29.9000".
4201 * NEWS: Add section for 2.30.
4203 * version.h (RELEASE): Set to "stable".
4204 (VERSION): Set to "2.29".
4205 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
4207 * NEWS: Add the list of bugs fixed in 2.29.
4208 * manual/contrib.texi: Update contributors list with some more
4210 * manual/install.texi: Update latest versions of packages
4212 * INSTALL: Regenerated.
4214 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4216 * po/be.po: Update translations.
4217 * po/bg.po: Likewise.
4218 * po/ca.po: Likewise.
4219 * po/cs.po: Likewise.
4220 * po/da.po: Likewise.
4221 * po/de.po: Likewise.
4222 * po/el.po: Likewise.
4223 * po/eo.po: Likewise.
4224 * po/es.po: Likewise.
4225 * po/fi.po: Likewise.
4226 * po/fr.po: Likewise.
4227 * po/gl.po: Likewise.
4228 * po/hr.po: Likewise.
4229 * po/hu.po: Likewise.
4230 * po/ia.po: Likewise.
4231 * po/id.po: Likewise.
4232 * po/it.po: Likewise.
4233 * po/ja.po: Likewise.
4234 * po/ko.po: Likewise.
4235 * po/lt.po: Likewise.
4236 * po/nb.po: Likewise.
4237 * po/nl.po: Likewise.
4238 * po/pl.po: Likewise.
4239 * po/pt_BR.po: Likewise.
4240 * po/ru.po: Likewise.
4241 * po/rw.po: Likewise.
4242 * po/sk.po: Likewise.
4243 * po/sl.po: Likewise.
4244 * po/sv.po: Likewise.
4245 * po/tr.po: Likewise.
4246 * po/uk.po: Likewise.
4247 * po/vi.po: Likewise.
4248 * po/zh_CN.po: Likewise.
4249 * po/zh_TW.po: Likewise.
4251 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
4254 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
4255 of $f3 register on $y_is_neg path.
4257 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
4260 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
4261 sigaltstack.ss_flags.
4263 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
4266 * manual/time.texi (strftime): Document "%Ey".
4267 * time/strftime_l.c (__strftime_internal): Set the default width
4268 padding with zero of "%Ey" to 2.
4271 * manual/time.texi (strftime): Document "%EC" and "%EY".
4272 * time/Makefile (tests): Add tst-strftime2.
4273 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
4274 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
4275 override padding for "%Ey".
4276 If an optional flag ('_' or '-') is specified to "%EY", interpret the
4277 "%Ey" in the subformat as if decorated with that flag.
4278 * time/tst-strftime2.c: New file.
4280 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4282 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
4286 * elf/Makefile (tests): Add tst-audit13.
4287 (modules-names): Add tst-audit13mod1.
4288 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4290 * elf/rtld.c (dl_main): Handle invalid audit module version.
4291 * elf/tst-audit13.c: New file.
4292 * elf/tst-audit13mod1.c: Likewise.
4294 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4296 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
4297 returned by __hurd_at_flags.
4298 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
4299 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
4300 directly instead of __hurd_file_name_lookup.
4302 2019-01-21 Joseph Myers <joseph@codesourcery.com>
4304 * scripts/build-many-glibcs.py (Context.checkout): Default
4305 binutils version to 2.32 branch.
4307 2019-01-21 Florian Weimer <fweimer@redhat.com>
4311 resolv: Reject trailing characters in host names
4312 * include/arpa/inet.h (__inet_aton_exact): Declare.
4313 (inet_aton): Remove hidden prototype. No longer used internally.
4314 * nscd/gai.c (__inet_aton): Do not define.
4315 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
4316 * nss/digits_dots.c (__inet_aton): Likewise.
4317 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
4318 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
4319 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
4320 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
4321 (tst-resolv-trailing): Likewise.
4322 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
4324 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
4325 Make static. Add endp parameter.
4326 (__inet_aton_exact): New function.
4327 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
4328 (__inet_addr): Call inet_aton_end.
4329 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
4330 not just IPv6. Call __inet_aton_exact.
4331 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
4332 (tests): Make const. Add additional test cases with trailing
4334 (do_test): Use array_length.
4335 * resolv/tst-inet_aton_exact.c: New file.
4336 * resolv/tst-resolv-trailing.c: Likewise.
4337 * resolv/tst-resolv-nondecimal.c: Likewise.
4338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
4340 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4344 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
4345 Clear the upper 32 bits of RSI register.
4346 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
4347 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
4348 and tst-size_t-wcsnlen.
4349 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
4350 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
4352 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4356 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
4357 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4358 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4359 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
4360 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
4362 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4366 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
4367 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4368 * sysdeps/x86_64/strcmp.S: Likewise.
4369 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
4370 tst-size_t-strncmp and tst-size_t-wcsncmp.
4371 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
4372 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
4373 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
4375 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4379 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
4380 RDX_LP for length. Clear the upper 32 bits of RDX register.
4381 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
4382 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
4383 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
4384 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
4386 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4390 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
4391 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
4392 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
4393 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
4395 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4399 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
4400 length. Clear the upper 32 bits of RDX register.
4401 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4402 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4404 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4406 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
4408 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
4410 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4414 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
4415 length. Clear the upper 32 bits of RDX register.
4416 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4417 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4418 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
4420 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
4421 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
4423 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4427 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
4428 upper 32 bits of RDX register.
4429 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
4430 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
4432 * sysdeps/x86_64/x32/test-size_t.h: New file.
4433 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
4434 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
4436 2019-01-18 Florian Weimer <fweimer@redhat.com>
4439 resolv: Do not send queries for non-host-names in nss_dns.
4440 * resolv/nss_dns/dns-host.c (check_name): New function.
4441 (_nss_dns_gethostbyname2_r): Use it.
4442 (_nss_dns_gethostbyname_r): Likewise.
4443 (_nss_dns_gethostbyname4_r): Likewise.
4445 2019-01-21 Florian Weimer <fweimer@redhat.com>
4447 * resolv/inet_addr.c: Reformat to GNU style.
4448 (__inet_addr, __inet_aton): Update comment.
4450 2019-01-18 Florian Weimer <fweimer@redhat.com>
4452 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
4453 ("malloc: Use current (C11-style) atomics for fastbin access").
4454 This commit introduces a substantial performance regression on
4456 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
4457 (REMOVE_FB): Define.
4458 (_int_malloc): Use it and reindent.
4459 (_int_free): Use CAS loop with
4460 catomic_compare_and_exchange_val_rel.
4461 (malloc_consolidate): Use atomic_exchange_acq.
4464 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
4466 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
4468 (LDFLAGS-tst-minsigstksz-2): Likewise.
4469 (LDFLAGS-tst-minsigstksz-3): Likewise.
4470 (LDFLAGS-tst-minsigstksz-3a): Likewise.
4471 (LDFLAGS-tst-minsigstksz-4): Likewise.
4473 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
4475 * manual/time.texi (strftime): Fix the wording to "alternative" rather
4478 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
4480 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
4482 2019-01-16 Zack Weinberg <zackw@panix.com>
4484 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
4485 (xget_sigstack_location): New test support functions.
4486 * support/xsigstack.c: New file, implementing them.
4487 * support/tst-xsigstack.c: New test for them.
4488 * support/Makefile: Update.
4490 * signal/tst-minsigstksz-1.c
4491 * signal/tst-minsigstksz-2.c
4492 * signal/tst-minsigstksz-3.c
4493 * signal/tst-minsigstksz-3a.c
4494 * signal/tst-minsigstksz-4.c: New tests.
4495 * signal/Makefile: Run them.
4497 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4499 * po/libc.pot: Regenerate.
4501 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4503 * math/libm-test-fma.inc (fma_test_data): Set
4504 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
4506 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4508 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
4509 (do_test): Changed __vector __int128_t to __vector unsigned int.
4511 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4514 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
4515 stpcpy-avx2 and stpncpy-avx2.
4516 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
4517 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
4518 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
4520 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
4521 ifunc-strcpy.h}: rename header for a more generic name.
4522 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
4523 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
4524 AVX unaligned load is fast and vzeroupper is preferred.
4525 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
4526 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
4527 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
4528 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
4529 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
4530 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
4532 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
4534 * argp/argp-help.c: Fix typo in comment.
4535 * misc/sys/cdefs.h: Likewise.
4536 * posix/regexec.c (sift_states_iter_mb): Likewise.
4537 * socket/sockatmark.c: Likewise.
4538 * socket/sys/socket.h: Likewise.
4539 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4540 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4541 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4542 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4543 * sysdeps/unix/sockatmark.c: Likewise.
4544 * time/strptime_l.c: Likewise.
4546 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4548 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
4549 missing space after the cast of "_NL_CURRENT".
4551 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4553 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
4554 ifdef to fix read of VSCR.
4555 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
4556 tst-ucontext-ppc64-vscr.c to test list.
4557 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
4559 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
4561 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
4564 2019-01-09 Jim Wilson <jimw@sifive.com>
4566 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4568 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
4570 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
4571 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
4572 __memcpy_falkor for ares.
4573 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
4575 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4578 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
4581 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4582 4_FP_W_TYPEs are used for IEEE quad precision.
4583 * soft-fp/extendhftf2.c: Likewise.
4584 * soft-fp/extendsftf2.c: Likewise.
4585 * soft-fp/extendxftf2.c: Likewise.
4586 * soft-fp/trunctfdf2.c: Likewise.
4587 * soft-fp/trunctfhf2.c: Likewise.
4588 * soft-fp/trunctfsf2.c: Likewise.
4589 * soft-fp/trunctfxf2.c: Likewise.
4590 * sysdeps/alpha/ots_cvttx.c: Likewise.
4591 * sysdeps/alpha/ots_cvtxt.c: Likewise.
4592 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
4593 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4594 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4595 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4596 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
4597 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4598 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4599 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4600 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
4601 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
4602 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
4603 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
4604 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
4605 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
4606 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
4607 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
4609 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4612 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4613 code with -fmath-errno.
4614 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4615 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4616 * string/test-strerror-errno.c: New file.
4618 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4621 * localedata/locales/en_US (date_fmt): Add, set to
4622 "%a %d %b %Y %r %Z".
4624 2019-01-07 Florian Weimer <fweimer@redhat.com>
4627 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4628 instead of @var{errno}.
4629 (Parsing of Integers): Likewise.
4630 (Parsing of Floats): Likewise.
4631 * manual/filesys.texi (Working with Directory Trees): Likewise.
4632 (Temporary Files): Likewise.
4633 * manual/job.texi (Terminal Access Functions): Likewise.
4634 * manual/llio.texi (Synchronizing I/O): Likewise.
4635 * manual/math.texi (SVID Random): Likewise.
4636 * manual/message.texi (The catgets Functions): Likewise.
4637 (Translation with gettext): Likewise.
4638 (Locating gettext catalog): Likewise.
4639 (Charset conversion in gettext): Likewise.
4640 * manual/nss.texi (NSS Module Function Internals): Likewise.
4641 * manual/search.texi (Hash Search Function): Likewise.
4642 * manual/setjmp.texi (System V contexts): Likewise.
4643 * manual/time.texi (Sleeping): Likewise.
4644 * manual/users.texi (Lookup User): Likewise.
4645 (Lookup Group): Likewise.
4647 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4649 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4652 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
4655 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4656 __builtin_unreachable for default case in switch.
4657 (__ieee754_yn): Likewise.
4658 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4659 (__ieee754_ynl): Likewise.
4660 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4661 (__ieee754_ynl): Likewise.
4662 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4663 (__ieee754_ynl): Likewise.
4665 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4667 * manual/maint.texi: Use @{ and @}.
4669 2019-01-04 Florian Weimer <fweimer@redhat.com>
4671 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
4673 (do_in_chroot_1): Call it.
4675 Improve error reporting in case it is not possible to create a
4676 collision for the PTY name required by the test.
4678 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4680 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
4681 lll_wait_tid with timeout.
4682 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
4683 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
4684 futex_reltimed_wait_cancelable for cancelabla mode.
4685 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
4686 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
4688 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
4689 * sysdeps/posix/waitid.c (__sigwait): Likewise.
4690 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
4691 SYSCALL_CANCEL_NCS): New macro.
4692 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
4693 (lll_timedwait_tid): Remove macro.
4694 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
4696 (lll_timedwait_tid): Likewise.
4697 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
4699 (lll_timedwait_tid): Likewise.
4700 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
4702 (lll_timedwait_tid): Likewise.
4703 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
4704 Use INTERNAL_SYSCALL_CANCEL.
4705 * sysdeps/unix/sysv/linux/futex-internal.h
4706 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
4707 instead of __pthread_{enable,disable}_asynccancel.
4708 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4709 (lll_futex_wait_cancel): New macro.
4711 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4712 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4714 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4715 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4717 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
4718 in backtrace analysis.
4719 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
4721 (tf_send): Likewise.
4723 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
4724 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
4725 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
4726 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
4727 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4728 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4729 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
4730 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
4731 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
4732 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
4733 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
4734 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
4736 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
4737 tst-cancel-wrappers.sh.
4738 (generated): Remove tst-cancel-wrappers.out.
4739 (tst-cancel-wrappers.out): Remove rule.
4740 * nptl/tst-cancel-wrappers.sh: Remove file.
4742 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4744 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
4745 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4748 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4751 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
4752 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
4753 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
4754 close-on-exec reset for adddup2 file action.
4755 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4757 2019-01-03 Zack Weinberg <zackw@panix.com>
4759 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4760 parameter. Only use deprecated scanf when __USE_GNU is defined
4761 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
4762 than 201103L, whichever is relevant for the language being compiled.
4764 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4765 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4766 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4767 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4768 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4772 * libio/iovswscanf.c
4777 * stdio-common/fscanf.c
4778 * stdio-common/scanf.c
4779 * stdio-common/vfscanf.c
4780 * stdio-common/vfwscanf.c
4781 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4782 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4783 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4784 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4785 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4786 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4787 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4788 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4789 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4790 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4791 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4792 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4793 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4794 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4795 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4797 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4798 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4799 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4801 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4802 with a preprocessor macro.
4804 * stdio-common/bug21.c, stdio-common/scanf14.c:
4805 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4806 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4807 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4808 to xscanf, xfscanf, xsscanf.
4810 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4811 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4812 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4813 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4815 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4816 override feature selection macros or provide definitions of u_char etc.
4817 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4818 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4819 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4822 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4825 bits/termios-misc.h.
4826 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4827 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4828 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4829 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4830 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4831 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4833 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4834 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4835 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4836 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4837 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4838 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4840 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4841 (sysdep_headers): Add termios-misc.h.
4843 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4844 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4845 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4849 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4850 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4851 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4852 TCSAFLUSH): Move to termios-tcflow.h.
4853 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4854 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4855 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4856 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4858 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4860 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4861 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4862 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4863 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4864 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4865 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4866 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4867 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4869 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4870 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4871 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4872 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4874 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4876 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4877 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4878 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4879 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4880 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4882 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4883 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4884 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4885 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4890 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4891 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4892 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4893 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4894 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4895 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4896 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4897 __MAX_BAUD): Move to termios-baud.h.
4898 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4899 * sysdeps/unix/sysv/linux/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 (sysdep_routines): Add
4906 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4907 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4908 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4909 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4910 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4911 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4913 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4914 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4916 [USE_MISC] (XTABS): Likewise.
4917 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4918 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4919 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4920 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4922 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4924 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4925 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4926 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4927 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4928 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4929 IUTF8): Move to termios-c_iflag.h.
4930 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4931 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4932 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4933 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4935 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4937 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4938 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4939 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4940 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4941 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4942 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4943 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4944 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4945 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4946 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4947 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4948 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4950 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4951 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4952 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4953 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4954 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4956 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4958 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4960 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4962 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4964 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4966 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4967 _HAVE_C_OSPEED): Define.
4968 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4969 _HAVE_C_OSPEED): Likewise.
4970 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4971 _HAVE_C_OSPEED): Likewise.
4972 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4973 (cfsetospeed): Check for define value instead of existence.
4974 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4975 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4976 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4977 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4978 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4981 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4983 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4984 (TIOCSER_TEMT): Likewise.
4985 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4986 (TEOCSER_TEMT): Likewise.
4988 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
4991 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4993 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4995 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4997 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4999 * sysdeps/htl/pt-barrierattr-setpshared.c
5000 (pthread_barrierattr_setpshared): Add stub warning.
5001 * sysdeps/htl/pt-condattr-setpshared.c
5002 (pthread_condattr_setpshared): Likewise.
5003 * sysdeps/htl/pt-mutexattr-setpshared.c
5004 (pthread_mutexattr_setpshared): Likewise.
5005 * sysdeps/htl/pt-rwlockattr-setpshared.c
5006 (pthread_rwlockattr_setpshared): Likewise.
5007 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
5008 (pthread_mutexattr_setpshared): Likewise.
5010 2019-01-02 Joseph Myers <joseph@codesourcery.com>
5012 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
5013 constants to match with Linux 4.20.
5015 * sysdeps/mips/mips32/libm-test-ulps: Update.
5016 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5018 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
5021 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
5022 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
5023 than __typeof (...) for the a_ptr variable.
5025 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5027 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
5028 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
5029 * libio/Makefile (tests): Add tst-sprintf-ub and
5031 (CFLAGS-tst-sprintf-ub.c): New variable.
5032 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
5033 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
5034 destination buffer and check for overflows in fortified mode.
5035 * libio/libioP.h (PRINTF_CHK): New macro.
5036 * libio/tst-sprintf-chk-ub.c: New file.
5037 * libio/tst-sprintf-ub.c: Likewise.
5039 2019-01-02 Florian Weimer <fweimer@redhat.com>
5042 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
5045 2019-01-02 Florian Weimer <fweimer@redhat.com>
5047 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
5049 2019-01-01 Joseph Myers <joseph@codesourcery.com>
5051 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
5054 * sysdeps/unix/sysv/linux/netpacket/packet.h
5055 (PACKET_IGNORE_OUTGOING): New macro.
5057 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
5060 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5062 (riscv_flush_icache): New syscall.
5064 * manual/texinfo.tex: Update to version 2018-12-28.17 with
5065 trailing whitespace removed.
5066 * scripts/config.guess: Update to version 2019-01-01.
5067 * scripts/config.sub: Update to version 2019-01-01.
5068 * scripts/move-if-change: Update from gnulib.
5070 * NEWS: Update copyright dates.
5071 * catgets/gencat.c (print_version): Likewise.
5072 * csu/version.c (banner): Likewise.
5073 * debug/catchsegv.sh: Likewise.
5074 * debug/pcprofiledump.c (print_version): Likewise.
5075 * debug/xtrace.sh (do_version): Likewise.
5076 * elf/ldconfig.c (print_version): Likewise.
5077 * elf/ldd.bash.in: Likewise.
5078 * elf/pldd.c (print_version): Likewise.
5079 * elf/sotruss.sh: Likewise.
5080 * elf/sprof.c (print_version): Likewise.
5081 * iconv/iconv_prog.c (print_version): Likewise.
5082 * iconv/iconvconfig.c (print_version): Likewise.
5083 * locale/programs/locale.c (print_version): Likewise.
5084 * locale/programs/localedef.c (print_version): Likewise.
5085 * login/programs/pt_chown.c (print_version): Likewise.
5086 * malloc/memusage.sh (do_version): Likewise.
5087 * malloc/memusagestat.c (print_version): Likewise.
5088 * malloc/mtrace.pl: Likewise.
5089 * manual/libc.texinfo: Likewise.
5090 * nptl/version.c (banner): Likewise.
5091 * nscd/nscd.c (print_version): Likewise.
5092 * nss/getent.c (print_version): Likewise.
5093 * nss/makedb.c (print_version): Likewise.
5094 * posix/getconf.c (main): Likewise.
5095 * scripts/test-installation.pl: Likewise.
5096 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5098 * All files with FSF copyright notices: Update copyright dates
5099 using scripts/update-copyrights.
5100 * locale/programs/charmap-kw.h: Regenerated.
5101 * locale/programs/locfile-kw.h: Likewise.
5103 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5105 * timezone/zdump.c: Update from tzcode 2018i.
5106 * timezone/zic.c: Likewise.
5108 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
5110 regex: improve Gnulib port to AIX
5111 From the glibc point of view, this removes duplicate macro
5112 definitions and is obviously safe.
5113 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
5114 * posix/regex_internal.h:
5115 (__attribute__, __attribute_warn_unused_result__):
5116 Remove; already defined elsewhere.
5118 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
5121 * malloc/malloc.c (_int_realloc): Always call memcpy for the
5122 copying operation. (ncopies had the wrong type, resulting in an
5123 integer wraparound and too few elements being copied.)
5125 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
5128 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
5129 <asm/syscalls.h> exists with __has_include__ before including it.
5131 2018-12-31 Joseph Myers <joseph@codesourcery.com>
5133 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5136 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
5138 * hurd/lookup-retry: Include <unistd.h>.
5139 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
5140 Release it on return. Handle "pid" magical lookup retry.
5142 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5145 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
5146 (t_fmt_ampm): Likewise.
5147 * localedata/locales/aa_ER (t_fmt): Likewise.
5148 (t_fmt_ampm): Likewise.
5149 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
5150 (t_fmt_ampm): Likewise.
5151 * localedata/locales/aa_ET (t_fmt): Likewise.
5152 (t_fmt_ampm): Likewise.
5153 * localedata/locales/am_ET (t_fmt): Likewise.
5154 (t_fmt_ampm): Likewise.
5155 * localedata/locales/byn_ER (t_fmt): Likewise.
5156 (t_fmt_ampm): Likewise.
5157 * localedata/locales/om_ET (t_fmt): Likewise.
5158 (t_fmt_ampm): Likewise.
5159 * localedata/locales/sid_ET (t_fmt): Likewise.
5160 (t_fmt_ampm): Likewise.
5161 * localedata/locales/so_DJ (t_fmt): Likewise.
5162 (t_fmt_ampm): Likewise.
5163 * localedata/locales/so_ET (t_fmt): Likewise.
5164 (t_fmt_ampm): Likewise.
5165 * localedata/locales/so_SO (t_fmt): Likewise.
5166 (t_fmt_ampm): Likewise.
5167 * localedata/locales/ti_ER (t_fmt): Likewise.
5168 (t_fmt_ampm): Likewise.
5169 * localedata/locales/ti_ET (t_fmt): Likewise.
5170 (t_fmt_ampm): Likewise.
5171 * localedata/locales/tig_ER (t_fmt): Likewise.
5172 (t_fmt_ampm): Likewise.
5173 * localedata/locales/wal_ET (t_fmt): Likewise.
5174 (t_fmt_ampm): Likewise.
5176 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
5177 * localedata/locales/ar_IN (t_fmt): Likewise.
5178 * localedata/locales/bhb_IN (t_fmt): Likewise.
5179 * localedata/locales/bho_IN (t_fmt): Likewise.
5180 * localedata/locales/bi_VU (t_fmt): Likewise.
5181 * localedata/locales/bn_BD (t_fmt): Likewise.
5182 * localedata/locales/bn_IN (t_fmt): Likewise.
5183 * localedata/locales/brx_IN (t_fmt): Likewise.
5184 * localedata/locales/doi_IN (t_fmt): Likewise.
5185 * localedata/locales/en_HK (t_fmt): Likewise.
5186 (t_fmt_ampm): Likewise.
5187 * localedata/locales/en_IN (t_fmt): Likewise.
5188 * localedata/locales/en_PH (t_fmt): Likewise.
5189 * localedata/locales/gu_IN (t_fmt): Likewise.
5190 * localedata/locales/hi_IN (t_fmt): Likewise.
5191 * localedata/locales/hif_FJ (t_fmt): Likewise.
5192 * localedata/locales/hne_IN (t_fmt): Likewise.
5193 * localedata/locales/kn_IN (t_fmt): Likewise.
5194 * localedata/locales/kok_IN (t_fmt): Likewise.
5195 * localedata/locales/ks_IN (t_fmt): Likewise.
5196 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
5197 * localedata/locales/mag_IN (t_fmt): Likewise.
5198 * localedata/locales/mai_IN (t_fmt): Likewise.
5199 * localedata/locales/mjw_IN (t_fmt): Likewise.
5200 * localedata/locales/ml_IN (t_fmt): Likewise.
5201 * localedata/locales/mni_IN (t_fmt): Likewise.
5202 * localedata/locales/mr_IN (t_fmt): Likewise.
5203 * localedata/locales/ms_MY (t_fmt): Likewise.
5204 * localedata/locales/pa_IN (t_fmt): Likewise.
5205 * localedata/locales/raj_IN (t_fmt): Likewise.
5206 * localedata/locales/sa_IN (t_fmt): Likewise.
5207 * localedata/locales/sat_IN (t_fmt): Likewise.
5208 * localedata/locales/sd_IN (t_fmt): Likewise.
5209 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
5210 * localedata/locales/tcy_IN (t_fmt): Likewise.
5211 * localedata/locales/the_NP (t_fmt): Likewise.
5212 * localedata/locales/to_TO (t_fmt): Likewise.
5213 * localedata/locales/ur_IN (t_fmt): Likewise.
5215 * localedata/locales/hif_FJ (d_t_fmt): Set to
5216 "%A %d %b %Y %I:%M:%S %p".
5217 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
5219 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
5220 * localedata/locales/ar_BH (t_fmt): Likewise.
5221 * localedata/locales/ar_DZ (t_fmt): Likewise.
5222 * localedata/locales/ar_EG (t_fmt): Likewise.
5223 * localedata/locales/ar_IQ (t_fmt): Likewise.
5224 * localedata/locales/ar_JO (t_fmt): Likewise.
5225 * localedata/locales/ar_KW (t_fmt): Likewise.
5226 * localedata/locales/ar_LB (t_fmt): Likewise.
5227 * localedata/locales/ar_LY (t_fmt): Likewise.
5228 * localedata/locales/ar_OM (t_fmt): Likewise.
5229 * localedata/locales/ar_QA (t_fmt): Likewise.
5230 * localedata/locales/ar_SD (t_fmt): Likewise.
5231 * localedata/locales/ar_SS (t_fmt): Likewise.
5232 * localedata/locales/ar_SY (t_fmt): Likewise.
5233 * localedata/locales/ar_TN (t_fmt): Likewise.
5234 * localedata/locales/ar_YE (t_fmt): Likewise.
5236 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
5237 (t_fmt_ampm): Likewise.
5238 * localedata/locales/gez_ET (t_fmt): Likewise.
5239 (t_fmt_ampm): Likewise.
5241 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
5242 (t_fmt_ampm): Likewise.
5243 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
5245 * localedata/locales/zh_HK (t_fmt):
5246 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
5248 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
5249 because this locale does not use the 12-hour clock.
5250 (t_fmt): Set to "%Z %H:%M:%S".
5251 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
5253 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
5254 because this locale does not use the 12-hour clock.
5255 (t_fmt): Set to "%H:%M:%S %Z".
5256 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
5258 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
5259 because this locale does not use the 12-hour clock.
5260 (t_fmt): Set to "%T".
5261 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
5262 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
5264 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
5265 because this locale does not use the 12-hour clock.
5266 (t_fmt): Set to "%H:%M:%S %Z".
5267 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
5269 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
5270 because this locale does not use the 12-hour clock.
5271 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
5272 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
5274 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5278 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
5279 (t_fmt_ampm): Likewise.
5280 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
5281 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
5282 (d_fmt): Set to "%-d.%-m.%y".
5284 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5286 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
5287 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
5288 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
5290 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5291 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
5292 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
5294 * support/blob_repeat.c (check_mul_overflow_size_t,
5295 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
5297 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
5299 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
5301 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
5303 regex: simplify Gnulib port
5304 This simplifies the code, by removing stuff intended for porting
5305 to Gnulib but no longer needed there.
5306 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
5307 uses of libc_hidden_def, weak_alias.
5308 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
5309 _Restrict_ except for public-facing headers.
5310 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
5311 Remove; already defined elsewhere.
5312 * posix/regex.c, posix/regex_internal.h:
5313 Use __GNUC_PREREQ instead of rolling our own.
5314 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
5316 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
5318 * benchtests/bench-strlen.c (generic_strlen): New function.
5319 (memchr_strlen): New function.
5321 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5323 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
5324 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
5325 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
5327 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5329 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5331 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5333 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
5334 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
5335 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
5336 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
5337 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
5338 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
5339 <sysdeps/ieee754/flt-32/s_sincosf.c>.
5341 2018-12-21 Joseph Myers <joseph@codesourcery.com>
5344 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
5345 PLT reference in libc.so.
5346 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
5347 _Q_lltoq and _Q_qtod PLT references in libc.so.
5349 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
5351 * benchtests/bench-memchr.c: Cleanup defines.
5352 * benchtests/bench-memcmp.c: Likewise.
5353 * benchtests/bench-memset.c: Likewise.
5354 * benchtests/bench-memset-large.c: Likewise.
5355 * benchtests/bench-memset-walk.c: Likewise.
5356 * benchtests/bench-stpcpy.c: Likewise.
5357 * benchtests/bench-stpncpy.c: Likewise.
5358 * benchtests/bench-strcat.c: Likewise.
5359 * benchtests/bench-strchr.c: Likewise.
5360 * benchtests/bench-strcmp.c: Likewise.
5361 * benchtests/bench-strcpy.c: Likewise.
5362 * benchtests/bench-strcspn.c: Likewise.
5363 * benchtests/bench-string.h: Likewise.
5364 * benchtests/bench-strlen.c: Likewise.
5365 * benchtests/bench-strncat.c: Likewise.
5366 * benchtests/bench-strncmp.c: Likewise.
5367 * benchtests/bench-strncpy.c: Likewise.
5368 * benchtests/bench-strnlen.c: Likewise.
5369 * benchtests/bench-strpbrk.c: Likewise.
5370 * benchtests/bench-strrchr.c: Likewise.
5371 * benchtests/bench-strspn.c: Likewise.
5373 2018-12-21 Joseph Myers <joseph@codesourcery.com>
5375 * stdlib/longlong.h: Update from GCC.
5378 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
5379 * configure: Regenerated.
5380 * manual/install.texi (Tools for Compilation): Update minimum GCC
5382 * INSTALL: Regenerated.
5384 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
5386 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
5388 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
5390 * malloc/malloc.c (mremap_chunk): Additional checks.
5392 2018-12-21 Mao Han <han_mao@c-sky.com>
5394 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
5395 * scripts/build-many-glibcs.py: Add C-SKY targets.
5396 * sysdeps/csky/Implies: New file.
5397 * sysdeps/csky/Makefile: Likewise.
5398 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
5399 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
5400 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
5401 * sysdeps/csky/abiv2/memcmp.S: Likewise.
5402 * sysdeps/csky/abiv2/memcpy.S: Likewise.
5403 * sysdeps/csky/abiv2/memmove.S: Likewise.
5404 * sysdeps/csky/abiv2/memset.S: Likewise.
5405 * sysdeps/csky/abiv2/setjmp.S: Likewise.
5406 * sysdeps/csky/abiv2/start.S: Likewise.
5407 * sysdeps/csky/abiv2/strcmp.S: Likewise.
5408 * sysdeps/csky/abiv2/strcpy.S: Likewise.
5409 * sysdeps/csky/abiv2/strlen.S: Likewise.
5410 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
5411 * sysdeps/csky/abort-instr.h: Likewise.
5412 * sysdeps/csky/atomic-machine.h: Likewise.
5413 * sysdeps/csky/bits/endian.h: Likewise.
5414 * sysdeps/csky/bits/fenv.h: Likewise.
5415 * sysdeps/csky/bits/link.h: Likewise.
5416 * sysdeps/csky/bits/setjmp.h: Likewise.
5417 * sysdeps/csky/bsd-_setjmp.S: Likewise.
5418 * sysdeps/csky/bsd-setjmp.S: Likewise.
5419 * sysdeps/csky/configure: Likewise.
5420 * sysdeps/csky/configure.ac: Likewise.
5421 * sysdeps/csky/dl-machine.h: Likewise.
5422 * sysdeps/csky/dl-procinfo.c: Likewise.
5423 * sysdeps/csky/dl-procinfo.h: Likewise.
5424 * sysdeps/csky/dl-sysdep.h: Likewise.
5425 * sysdeps/csky/dl-tls.h: Likewise.
5426 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
5427 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
5428 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
5429 * sysdeps/csky/fpu/fegetenv.c: Likewise.
5430 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
5431 * sysdeps/csky/fpu/fegetmode.c: Likewise.
5432 * sysdeps/csky/fpu/fegetround.c: Likewise.
5433 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
5434 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
5435 * sysdeps/csky/fpu/fenv_private.h: Likewise.
5436 * sysdeps/csky/fpu/fesetenv.c: Likewise.
5437 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
5438 * sysdeps/csky/fpu/fesetmode.c: Likewise.
5439 * sysdeps/csky/fpu/fesetround.c: Likewise.
5440 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
5441 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
5442 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
5443 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
5444 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
5445 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
5446 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
5447 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
5448 * sysdeps/csky/fpu_control.h: Likewise.
5449 * sysdeps/csky/gccframe.h: Likewise.
5450 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
5451 * sysdeps/csky/ldsodefs.h: Likewise.
5452 * sysdeps/csky/libc-tls.c: Likewise.
5453 * sysdeps/csky/linkmap.h: Likewise.
5454 * sysdeps/csky/machine-gmon.h: Likewise.
5455 * sysdeps/csky/memusage.h: Likewise.
5456 * sysdeps/csky/nofpu/Implies: Likewise.
5457 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
5458 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
5459 * sysdeps/csky/nptl/Makefile: Likewise.
5460 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
5461 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
5462 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
5463 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
5464 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
5465 * sysdeps/csky/nptl/tls.h: Likewise.
5466 * sysdeps/csky/preconfigure: Likewise.
5467 * sysdeps/csky/sfp-machine.h: Likewise.
5468 * sysdeps/csky/sotruss-lib.c: Likewise.
5469 * sysdeps/csky/stackinfo.h: Likewise.
5470 * sysdeps/csky/sysdep.h: Likewise.
5471 * sysdeps/csky/tininess.h: Likewise.
5472 * sysdeps/csky/tst-audit.h: Likewise.
5473 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
5474 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
5475 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
5476 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
5477 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5478 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
5479 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5480 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
5481 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
5482 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
5483 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
5484 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
5485 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
5486 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
5487 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
5488 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
5489 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
5490 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
5491 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
5492 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
5493 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
5494 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
5495 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
5496 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
5497 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
5498 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
5499 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
5500 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
5501 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
5502 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
5503 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
5504 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
5505 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
5506 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
5507 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
5508 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
5509 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
5510 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
5511 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
5512 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
5513 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
5514 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
5515 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
5516 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
5518 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5520 * include/time.h (__difftime64): Add.
5521 * time/difftime.c (subtract): convert to 64-bit time.
5522 * time/difftime.c (__difftime64): Add.
5523 * time/difftime.c (__difftime): Wrap around __difftime64.
5525 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
5527 * manual/examples/add.c: Remove redundant "if not".
5528 * manual/examples/argp-ex1.c: Likewise.
5529 * manual/examples/argp-ex2.c: Likewise.
5530 * manual/examples/argp-ex3.c: Likewise.
5531 * manual/examples/argp-ex4.c: Likewise.
5532 * manual/examples/atexit.c: Likewise.
5533 * manual/examples/db.c: Likewise.
5534 * manual/examples/dir.c: Likewise.
5535 * manual/examples/dir2.c: Likewise.
5536 * manual/examples/execinfo.c: Likewise.
5537 * manual/examples/filecli.c: Likewise.
5538 * manual/examples/filesrv.c: Likewise.
5539 * manual/examples/fmtmsgexpl.c: Likewise.
5540 * manual/examples/genpass.c: Likewise.
5541 * manual/examples/inetcli.c: Likewise.
5542 * manual/examples/inetsrv.c: Likewise.
5543 * manual/examples/isockad.c: Likewise.
5544 * manual/examples/longopt.c: Likewise.
5545 * manual/examples/memopen.c: Likewise.
5546 * manual/examples/memstrm.c: Likewise.
5547 * manual/examples/mkdirent.c: Likewise.
5548 * manual/examples/mkfsock.c: Likewise.
5549 * manual/examples/mkisock.c: Likewise.
5550 * manual/examples/mygetpass.c: Likewise.
5551 * manual/examples/pipe.c: Likewise.
5552 * manual/examples/popen.c: Likewise.
5553 * manual/examples/rprintf.c: Likewise.
5554 * manual/examples/search.c: Likewise.
5555 * manual/examples/select.c: Likewise.
5556 * manual/examples/setjmp.c: Likewise.
5557 * manual/examples/sigh1.c: Likewise.
5558 * manual/examples/sigusr.c: Likewise.
5559 * manual/examples/stpcpy.c: Likewise.
5560 * manual/examples/strdupa.c: Likewise.
5561 * manual/examples/strftim.c: Likewise.
5562 * manual/examples/subopt.c: Likewise.
5563 * manual/examples/swapcontext.c: Likewise.
5564 * manual/examples/termios.c: Likewise.
5565 * manual/examples/testopt.c: Likewise.
5566 * manual/examples/testpass.c: Likewise.
5567 * manual/examples/timeval_subtract.c: Likewise.
5569 2018-12-19 Joseph Myers <joseph@codesourcery.com>
5571 * sysdeps/x86/fpu/math_private.h: New file.
5572 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
5574 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
5579 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5581 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
5582 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
5583 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
5584 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
5586 (_dl_show_auxv): Give a special treatment to
5587 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
5588 and AT_L3_CACHEGEOMETRY.
5589 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
5590 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
5591 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
5592 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
5594 2018-12-19 Andreas Schwab <schwab@suse.de>
5596 * nscd/connections.c (check_use): Don't abort on invalid len.
5598 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5600 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
5601 values in the 64bit value cases.
5603 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5609 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5615 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5618 (__gmtime64_r): Add.
5620 (__gmtime64_r): Add.
5621 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5627 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5630 (__localtime64_r): Add.
5632 (__localtime64_r): Add.
5633 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5635 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5637 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5638 kernel_sigction definition.
5640 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5642 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5644 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5645 __syscall_rt_sigaction.
5646 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5647 (kernel_sigaction): Use Linux generic defintion.
5649 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5650 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5651 (__syscall_rt_sigaction): Remove implementation.
5652 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5654 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5655 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5656 INTERNAL_SYSCALL): Remove definitions.
5657 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5658 action and signal set size.
5659 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5660 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5662 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5663 James Clarke <jrtc27@jrtc27.com>
5666 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
5667 Define if SA_RESTORER is defined.
5668 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
5669 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
5671 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
5672 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
5674 (HAS_SA_RESTORER): Define.
5675 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
5676 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
5677 (HAS_SA_RESTORER): Define.
5678 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
5679 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
5680 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
5681 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5682 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5684 2018-12-18 Joseph Myers <joseph@codesourcery.com>
5686 * sysdeps/unix/sysv/linux/kernel-features.h
5687 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
5688 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5689 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
5690 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5691 (__ASSUME_ST_INO_64_BIT): Likewise.
5692 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5693 <kernel-features.h>.
5694 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5695 Remove conditional code.
5696 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5697 <kernel-features.h>.
5698 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5699 Remove conditional code.
5700 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
5701 <kernel-features.h>.
5702 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5703 Remove conditional code.
5704 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
5705 <kernel-features.h>.
5706 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
5707 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
5709 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5711 * sysdeps/s390/multiarch/ifunc-resolve.h
5712 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
5713 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
5714 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
5715 Delete macro definition.
5716 (s390_libc_ifunc_init): Rename to
5717 s390_libc_ifunc_expr_stfle_init.
5718 * sysdeps/s390/bzero: Use
5719 s390_libc_ifunc_expr_stfle_init instead of
5720 s390_libc_ifunc_init.
5721 * sysdeps/s390/memcmp.c: Likewise.
5722 * sysdeps/s390/memcpy.c: Likewise.
5723 * sysdeps/s390/mempcpy.c: Likewise.
5724 * sysdeps/s390/memset.c: Likewise.
5726 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5728 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
5729 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
5731 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5733 * sysdeps/s390/multiarch/Makefile
5734 (sysdep_routines): Remove wmemcmp variants.
5735 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
5736 * sysdeps/s390/multiarch/ifunc-impl-list.c
5737 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
5738 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
5739 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
5740 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
5741 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
5742 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
5743 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
5744 * sysdeps/s390/ifunc-wmemcmp.h: New file.
5746 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5748 * sysdeps/s390/multiarch/Makefile
5749 (sysdep_routines): Remove wmemset variants.
5750 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
5751 * sysdeps/s390/multiarch/ifunc-impl-list.c
5752 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
5753 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
5754 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
5755 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
5756 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
5757 * sysdeps/s390/multiarch/wmemset.c: Move to ...
5758 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
5759 * sysdeps/s390/ifunc-wmemset.h: New file.
5761 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5763 * sysdeps/s390/multiarch/Makefile
5764 (sysdep_routines): Remove wmemchr variants.
5765 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5766 * sysdeps/s390/multiarch/ifunc-impl-list.c
5767 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5768 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5769 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5770 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5771 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5772 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5773 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5774 * sysdeps/s390/ifunc-wmemchr.h: New file.
5776 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5778 * sysdeps/s390/multiarch/Makefile
5779 (sysdep_routines): Remove wcscspn variants.
5780 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5781 * sysdeps/s390/multiarch/ifunc-impl-list.c
5782 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5783 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5784 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5785 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5786 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5787 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5788 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5789 * sysdeps/s390/ifunc-wcscspn.h: New file.
5791 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5793 * sysdeps/s390/multiarch/Makefile
5794 (sysdep_routines): Remove wcspbrk variants.
5795 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5796 * sysdeps/s390/multiarch/ifunc-impl-list.c
5797 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5798 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5799 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5800 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5801 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5802 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5803 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5804 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5806 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5808 * sysdeps/s390/multiarch/Makefile
5809 (sysdep_routines): Remove wcsspn variants.
5810 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5811 * sysdeps/s390/multiarch/ifunc-impl-list.c
5812 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5813 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5814 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5815 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5816 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5817 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5818 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5819 * sysdeps/s390/ifunc-wcsspn.h: New file.
5821 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5823 * sysdeps/s390/multiarch/Makefile
5824 (sysdep_routines): Remove wcsrchr variants.
5825 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5826 * sysdeps/s390/multiarch/ifunc-impl-list.c
5827 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5828 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5829 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5830 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5831 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5832 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5833 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5834 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5836 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5838 * sysdeps/s390/multiarch/Makefile
5839 (sysdep_routines): Remove wcschrnul variants.
5840 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5841 * sysdeps/s390/multiarch/ifunc-impl-list.c
5842 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5843 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5844 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5845 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5846 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5847 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5848 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5849 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5851 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5853 * sysdeps/s390/multiarch/Makefile
5854 (sysdep_routines): Remove wcschr variants.
5855 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5856 * sysdeps/s390/multiarch/ifunc-impl-list.c
5857 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5858 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5859 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5860 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5861 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5862 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5863 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5864 * sysdeps/s390/ifunc-wcschr.h: New file.
5866 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5868 * sysdeps/s390/multiarch/Makefile
5869 (sysdep_routines): Remove wcsncmp variants.
5870 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5871 * sysdeps/s390/multiarch/ifunc-impl-list.c
5872 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5873 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5874 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5875 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5876 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5877 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5878 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5879 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5881 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5883 * sysdeps/s390/multiarch/Makefile
5884 (sysdep_routines): Remove wcscmp variants.
5885 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5886 * sysdeps/s390/multiarch/ifunc-impl-list.c
5887 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5888 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5889 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5890 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5891 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5892 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5893 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5894 * sysdeps/s390/ifunc-wcscmp.h: New file.
5896 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5898 * sysdeps/s390/multiarch/Makefile
5899 (sysdep_routines): Remove wcsncat variants.
5900 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5901 * sysdeps/s390/multiarch/ifunc-impl-list.c
5902 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5903 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5904 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5905 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5906 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5907 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5908 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5909 * sysdeps/s390/ifunc-wcsncat.h: New file.
5911 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5913 * sysdeps/s390/multiarch/Makefile
5914 (sysdep_routines): Remove wcscat variants.
5915 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5916 * sysdeps/s390/multiarch/ifunc-impl-list.c
5917 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5918 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5919 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5920 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5921 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5922 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5923 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5924 * sysdeps/s390/ifunc-wcscat.h: New file.
5926 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5928 * sysdeps/s390/multiarch/Makefile
5929 (sysdep_routines): Remove wcpncpy variants.
5930 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5931 * sysdeps/s390/multiarch/ifunc-impl-list.c
5932 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5933 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5934 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5935 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5936 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5937 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5938 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5939 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5941 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5943 * sysdeps/s390/multiarch/Makefile
5944 (sysdep_routines): Remove wcsncpy variants.
5945 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5946 * sysdeps/s390/multiarch/ifunc-impl-list.c
5947 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5948 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5949 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5950 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5951 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5952 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5953 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5954 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5956 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5958 * sysdeps/s390/multiarch/Makefile
5959 (sysdep_routines): Remove wcpcpy variants.
5960 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5961 * sysdeps/s390/multiarch/ifunc-impl-list.c
5962 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5963 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5964 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5965 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5966 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5967 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5968 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5969 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5971 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5973 * sysdeps/s390/multiarch/Makefile
5974 (sysdep_routines): Remove wcscpy variants.
5975 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5976 * sysdeps/s390/multiarch/ifunc-impl-list.c
5977 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5978 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5979 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5980 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5981 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5982 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5983 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5984 * sysdeps/s390/ifunc-wcscpy.h: New file.
5986 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5988 * sysdeps/s390/multiarch/Makefile
5989 (sysdep_routines): Remove wcsnlen variants.
5990 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5991 * sysdeps/s390/multiarch/ifunc-impl-list.c
5992 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5993 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5994 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5995 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5996 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5997 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5998 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5999 * sysdeps/s390/ifunc-wcsnlen.h: New file.
6001 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6003 * sysdeps/s390/multiarch/Makefile
6004 (sysdep_routines): Remove wcslen variants.
6005 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
6006 * sysdeps/s390/multiarch/ifunc-impl-list.c
6007 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
6008 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
6009 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
6010 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
6011 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
6012 * sysdeps/s390/multiarch/wcslen.c: Move to ...
6013 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
6014 * sysdeps/s390/ifunc-wcslen.h: New file.
6016 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6018 * sysdeps/s390/multiarch/Makefile
6019 (sysdep_routines): Remove memrchr variants.
6020 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
6021 * sysdeps/s390/multiarch/ifunc-impl-list.c
6022 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
6023 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
6024 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
6025 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
6026 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
6027 * sysdeps/s390/multiarch/memrchr.c: Move to ...
6028 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
6029 * sysdeps/s390/ifunc-memrchr.h: New file.
6031 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6033 * sysdeps/s390/multiarch/Makefile
6034 (sysdep_routines): Remove memccpy variants.
6035 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
6036 * sysdeps/s390/multiarch/ifunc-impl-list.c
6037 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
6038 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
6039 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
6040 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
6041 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
6042 * sysdeps/s390/multiarch/memccpy.c: Move to ...
6043 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
6044 * sysdeps/s390/ifunc-memccpy.h: New file.
6046 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6048 * sysdeps/s390/multiarch/Makefile
6049 (sysdep_routines): Remove rawmemchr variants.
6050 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
6051 * sysdeps/s390/multiarch/ifunc-impl-list.c
6052 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
6053 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
6054 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
6055 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
6056 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
6057 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
6058 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
6059 * sysdeps/s390/ifunc-rawmemchr.h: New file.
6061 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6063 * sysdeps/s390/multiarch/Makefile
6064 (sysdep_routines): Remove memchr variants.
6065 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
6066 * sysdeps/s390/multiarch/ifunc-impl-list.c
6067 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
6068 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
6069 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
6070 * sysdeps/s390/multiarch/memchr.c: Move to ...
6071 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
6072 * sysdeps/s390/ifunc-memchr.h: New file.
6073 * sysdeps/s390/s390-64/memchr.S: Move to ...
6074 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
6075 for 31/64bit and ifunc handling.
6076 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
6077 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6078 * sysdeps/s390/s390-32/memchr.S: Likewise.
6080 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6082 * sysdeps/s390/multiarch/Makefile
6083 (sysdep_routines): Remove strcspn variants.
6084 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
6085 * sysdeps/s390/multiarch/ifunc-impl-list.c
6086 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
6087 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
6088 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
6089 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
6090 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
6091 * sysdeps/s390/multiarch/strcspn.c: Move to ...
6092 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
6093 * sysdeps/s390/ifunc-strcspn.h: New file.
6095 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6097 * sysdeps/s390/multiarch/Makefile
6098 (sysdep_routines): Remove strpbrk variants.
6099 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
6100 * sysdeps/s390/multiarch/ifunc-impl-list.c
6101 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
6102 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
6103 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
6104 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
6105 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
6106 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
6107 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
6108 * sysdeps/s390/ifunc-strpbrk.h: New file.
6110 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6112 * sysdeps/s390/multiarch/Makefile
6113 (sysdep_routines): Remove strspn variants.
6114 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
6115 * sysdeps/s390/multiarch/ifunc-impl-list.c
6116 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
6117 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
6118 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
6119 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
6120 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
6121 * sysdeps/s390/multiarch/strspn.c: Move to ...
6122 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
6123 * sysdeps/s390/ifunc-strspn.h: New file.
6125 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6127 * sysdeps/s390/multiarch/Makefile
6128 (sysdep_routines): Remove strrchr variants.
6129 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
6130 * sysdeps/s390/multiarch/ifunc-impl-list.c
6131 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
6132 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
6133 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
6134 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
6135 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
6136 * sysdeps/s390/multiarch/strrchr.c: Move to ...
6137 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
6138 * sysdeps/s390/ifunc-strrchr.h: New file.
6140 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6142 * sysdeps/s390/multiarch/Makefile
6143 (sysdep_routines): Remove strchrnul variants.
6144 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
6145 * sysdeps/s390/multiarch/ifunc-impl-list.c
6146 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
6147 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
6148 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
6149 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
6150 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
6151 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
6152 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
6153 * sysdeps/s390/ifunc-strchrnul.h: New file.
6155 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6157 * sysdeps/s390/multiarch/Makefile
6158 (sysdep_routines): Remove strchr variants.
6159 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
6160 * sysdeps/s390/multiarch/ifunc-impl-list.c
6161 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
6162 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
6163 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
6164 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
6165 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
6166 * sysdeps/s390/multiarch/strchr.c: Move to ...
6167 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
6168 * sysdeps/s390/ifunc-strchr.h: New file.
6170 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6172 * sysdeps/s390/multiarch/Makefile
6173 (sysdep_routines): Remove strncmp variants.
6174 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
6175 * sysdeps/s390/multiarch/ifunc-impl-list.c
6176 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
6177 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
6178 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
6179 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
6180 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
6181 * sysdeps/s390/multiarch/strncmp.c: Move to ...
6182 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
6183 * sysdeps/s390/ifunc-strncmp.h: New file.
6185 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6187 * sysdeps/s390/multiarch/Makefile
6188 (sysdep_routines): Remove strcmp variants.
6189 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
6190 * sysdeps/s390/multiarch/ifunc-impl-list.c
6191 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
6192 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
6193 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
6194 * sysdeps/s390/multiarch/strcmp.c: Move to ...
6195 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
6196 * sysdeps/s390/ifunc-strcmp.h: New file.
6197 * sysdeps/s390/s390-64/strcmp.S: Move to ...
6198 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
6199 for 31/64bit and ifunc handling.
6200 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
6201 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6202 * sysdeps/s390/s390-32/strcmp.S: Likewise.
6204 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6206 * sysdeps/s390/multiarch/Makefile
6207 (sysdep_routines): Remove strncat variants.
6208 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
6209 * sysdeps/s390/multiarch/ifunc-impl-list.c
6210 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
6211 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
6212 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
6213 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
6214 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
6215 * sysdeps/s390/multiarch/strncat.c: Move to ...
6216 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
6217 * sysdeps/s390/ifunc-strncat.h: New file.
6219 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6221 * sysdeps/s390/multiarch/Makefile
6222 (sysdep_routines): Remove strcat variants.
6223 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
6224 * sysdeps/s390/multiarch/ifunc-impl-list.c
6225 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
6226 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
6227 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
6228 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
6229 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
6230 * sysdeps/s390/multiarch/strcat.c: Move to ...
6231 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
6232 * sysdeps/s390/ifunc-strcat.h: New file.
6234 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6236 * sysdeps/s390/multiarch/Makefile
6237 (sysdep_routines): Remove stpncpy variants.
6238 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
6239 * sysdeps/s390/multiarch/ifunc-impl-list.c
6240 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
6241 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
6242 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
6243 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
6244 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
6245 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
6246 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
6247 * sysdeps/s390/ifunc-stpncpy.h: New file.
6249 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6251 * sysdeps/s390/multiarch/Makefile
6252 (sysdep_routines): Remove strncpy variants.
6253 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
6254 * sysdeps/s390/multiarch/ifunc-impl-list.c
6255 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
6256 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
6257 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
6258 * sysdeps/s390/multiarch/strncpy.c: Move to ...
6259 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
6260 * sysdeps/s390/ifunc-strncpy.h: New file.
6261 * sysdeps/s390/s390-64/strncpy.S: Move to ...
6262 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
6263 and adjust ifunc handling.
6264 * sysdeps/s390/s390-32/strncpy.S: Move to ...
6265 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
6266 and adjust ifunc handling.
6267 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
6268 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6270 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6272 * sysdeps/s390/multiarch/Makefile
6273 (sysdep_routines): Remove stpcpy variants.
6274 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
6275 * sysdeps/s390/multiarch/ifunc-impl-list.c
6276 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
6277 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
6278 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
6279 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
6280 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
6281 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
6282 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
6283 * sysdeps/s390/ifunc-stpcpy.h: New file.
6285 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6287 * sysdeps/s390/multiarch/Makefile
6288 (sysdep_routines): Remove strcpy variants.
6289 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
6290 * sysdeps/s390/multiarch/ifunc-impl-list.c
6291 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
6292 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
6293 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
6294 * sysdeps/s390/multiarch/strcpy.c: Move to ...
6295 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
6296 * sysdeps/s390/ifunc-strcpy.h: New file.
6297 * sysdeps/s390/s390-64/strcpy.S: Move to ...
6298 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
6299 for 31/64bit and ifunc handling.
6300 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
6301 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6302 * sysdeps/s390/s390-32/strcpy.S: Likewise.
6304 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6306 * sysdeps/s390/multiarch/Makefile
6307 (sysdep_routines): Remove strnlen variants.
6308 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
6309 * sysdeps/s390/multiarch/ifunc-impl-list.c
6310 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
6311 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
6312 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
6313 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
6314 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
6315 * sysdeps/s390/multiarch/strnlen.c: Move to ...
6316 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
6317 * sysdeps/s390/ifunc-strnlen.h: New file.
6319 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6321 * sysdeps/s390/multiarch/Makefile
6322 (sysdep_routines): Remove strlen variants.
6323 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
6324 * sysdeps/s390/multiarch/ifunc-impl-list.c
6325 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
6326 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
6327 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
6328 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
6329 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
6330 * sysdeps/s390/multiarch/strlen.c: Move to ...
6331 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
6332 * sysdeps/s390/ifunc-strlen.h: New file.
6334 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6336 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
6337 * sysdeps/s390/multiarch/ifunc-impl-list.c
6338 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
6339 * sysdeps/s390/ifunc-memmem.h: New file.
6340 * sysdeps/s390/memmem.c: Likewise.
6341 * sysdeps/s390/memmem-c.c: Likewise.
6342 * sysdeps/s390/memmem-vx.c: Likewise.
6344 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6346 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
6347 * sysdeps/s390/multiarch/ifunc-impl-list.c
6348 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
6349 * sysdeps/s390/ifunc-strstr.h: New file.
6350 * sysdeps/s390/strstr.c: Likewise.
6351 * sysdeps/s390/strstr-c.c: Likewise.
6352 * sysdeps/s390/strstr-vx.c: Likewise.
6354 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6356 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
6357 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
6358 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
6359 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
6361 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
6362 * sysdeps/s390/memmove-c.c: New file.
6363 * sysdeps/s390/memmove.c: Likewise.
6364 * sysdeps/s390/multiarch/ifunc-impl-list.c
6365 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
6367 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6369 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
6370 * sysdeps/s390/configure.ac: Add check for z13 support.
6371 * sysdeps/s390/configure: Regenerated.
6373 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6375 * sysdeps/s390/memcopy.h: New file.
6377 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6379 * sysdeps/s390/s390-32/bcopy.S: Remove.
6380 * sysdeps/s390/s390-64/bcopy.S: Likewise.
6382 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6384 * sysdeps/s390/ifunc-memcpy.h: New File.
6385 * sysdeps/s390/memcpy.S: Move to ...
6386 * sysdeps/s390/memcpy-z900.S ... here.
6387 Move implementations from memcpy-s390x.s to here.
6388 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
6389 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6390 Remove memcpy/mempcpy variants.
6391 * sysdeps/s390/Makefile (sysdep_routines):
6392 Add memcpy/mempcpy variants.
6393 * sysdeps/s390/multiarch/ifunc-impl-list.c
6394 (__libc_ifunc_impl_list): Adjust ifunc variants for
6396 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
6398 * sysdeps/s390/memcpy.c: ... here.
6399 Adjust ifunc variants for memcpy.
6400 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
6401 * sysdeps/s390/mempcpy.c: ... here.
6402 Adjust ifunc variants for mempcpy.
6403 * sysdeps/s390/mempcpy.S: Delete file.
6405 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6407 * sysdeps/s390/s390-64/memcpy.S: Move to ...
6408 * sysdeps/s390/memcpy.S: ... here.
6409 Adjust to be usable for 31/64bit.
6410 * sysdeps/s390/s390-32/memcpy.S: Delete File.
6411 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
6412 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
6413 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6414 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
6415 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
6416 Adjust to be usable for 31/64bit.
6417 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
6418 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
6419 * sysdeps/s390/multiarch/memcpy.c: ... here.
6420 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
6422 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6424 * sysdeps/s390/ifunc-memcmp.h: New File.
6425 * sysdeps/s390/memcmp.S: Move to ...
6426 * sysdeps/s390/memcmp-z900.S ... here.
6427 Move implementations from memcmp-s390x.s to here.
6428 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
6429 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6430 Remove memcmp variants.
6431 * sysdeps/s390/Makefile (sysdep_routines):
6432 Add memcmp variants.
6433 * sysdeps/s390/multiarch/ifunc-impl-list.c
6434 (__libc_ifunc_impl_list): Adjust ifunc variants for
6436 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
6438 * sysdeps/s390/memcmp.c: ... here.
6439 Adjust ifunc variants for memcmp.
6441 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6443 * sysdeps/s390/s390-64/memcmp.S: Move to ...
6444 * sysdeps/s390/memcmp.S: ... here.
6445 Adjust to be usable for 31/64bit.
6446 * sysdeps/s390/s390-32/memcmp.S: Delete File.
6447 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
6448 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6450 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6451 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
6452 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
6453 Adjust to be usable for 31/64bit.
6454 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
6455 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
6456 * sysdeps/s390/multiarch/memcmp.c: ... here.
6457 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
6459 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6461 * sysdeps/s390/s390-32/bzero.S: Delete file.
6462 * sysdeps/s390/s390-64/bzero.S: Likewise.
6463 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
6464 * sysdeps/s390/bzero.c: New file.
6465 * sysdeps/s390/memset-z900.S: Add bzero entry points.
6466 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
6467 * sysdeps/s390/multiarch/ifunc-impl-list.c
6468 (__libc_ifunc_impl_list): Add bzero ifunc variants.
6470 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6472 * sysdeps/s390/ifunc-memset.h: New File.
6473 * sysdeps/s390/memset.S: Move to ...
6474 * sysdeps/s390/memset-z900.S ... here.
6475 Move implementations from memset-s390x.s to here.
6476 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
6477 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6478 Remove memset variants.
6479 * sysdeps/s390/Makefile (sysdep_routines):
6480 Add memset variants.
6481 * sysdeps/s390/multiarch/ifunc-impl-list.c
6482 (__libc_ifunc_impl_list): Adjust ifunc variants for
6484 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
6486 * sysdeps/s390/memset.c: ... here.
6487 Adjust ifunc variants for memset.
6489 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6491 * sysdeps/s390/s390-64/memset.S: Move to ...
6492 * sysdeps/s390/memset.S: ... here.
6493 Adjust to be usable for 31/64bit.
6494 * sysdeps/s390/s390-32/memset.S: Delete File.
6495 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
6496 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6498 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6499 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
6500 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
6501 Adjust to be usable for 31/64bit.
6502 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
6503 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
6504 * sysdeps/s390/multiarch/memset.c: ... here.
6505 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
6507 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6509 * sysdeps/s390/multiarch/ifunc-resolve.h
6510 (s390_libc_ifunc_init, s390_libc_ifunc,
6511 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
6513 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
6515 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
6516 * sysdeps/s390/configure.ac: Add check for z10 support.
6517 * sysdeps/s390/configure: Regenerated.
6519 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
6521 * sysdeps/i386/atomic-machine.h: Merged with ...
6522 * sysdeps/x86_64/atomic-machine.h: To ...
6523 * sysdeps/x86/atomic-machine.h: This. New file.
6525 2018-12-18 Florian Weimer <fweimer@redhat.com>
6527 Rewrite locale/gen-translit.pl in Python.
6528 * locale/Makefile (generated): Add C-translit.h.
6529 (before-compile): Add $(objpfx)C-translit.h.
6530 (C-translit.h): Move to $(objpfx). Create target directory.
6531 Build using Python script.
6532 * locale/gen-translit.py: New file.
6533 * locale/gen-translit.pl: Remove file.
6534 * locale/C-translit.h.in: Change comment character to '#' for
6535 easier parsing without a C preprocessor.
6536 * locale/C-translit.h: Remove generated file.
6537 * manual/install.texi (Tools for Compilation): Do not mention
6539 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6540 Remove locale/C-translit.h.
6541 * scripts/update-copyrights: Likewise.
6542 * INSTALL: Regenerate.
6544 2018-12-18 Florian Weimer <fweimer@redhat.com>
6547 * localedata/locales/bi_VU: Remove executable bit from file.
6549 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6552 (__localtime64): Add.
6553 * manual/maint.texi: Document Y2038 symbol handling.
6555 (__localtime64): Add.
6556 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6558 2018-12-17 Joseph Myers <joseph@codesourcery.com>
6560 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
6563 * scripts/glibcextract.py (compare_macro_consts): Take parameters
6564 to allow extra macros from first or second sources.
6565 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
6566 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6567 (tests-special): Add $(objpfx)tst-mman-consts.out.
6568 ($(objpfx)tst-mman-consts.out): New makefile target.
6570 2018-12-17 Mao Han <han_mao@c-sky.com>
6572 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
6573 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
6574 without stat64 system call support.
6575 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
6576 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
6577 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6578 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
6579 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
6580 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
6581 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
6582 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
6583 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
6584 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
6585 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
6587 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
6589 regex: fix storage-exhaustion error
6591 * posix/regexec.c (get_subexp):
6592 Do not continue if storage is exhausted.
6594 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
6596 regex: fix heap-use-after-free error
6598 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6599 https://debbugs.gnu.org/32592
6600 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
6601 call extend_buffers which reallocates the re_string_t internal buffer.
6602 Local variable 'buf' was not updated in such case, resulting in
6604 * posix/regexec.c (get_subexp): Update 'buf' after call to
6607 2018-12-15 Florian Weimer <fweimer@redhat.com>
6609 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6610 (minimum_stride_size): Use it.
6611 (support_blob_repeat_allocate): Likewise.
6613 2018-12-14 Joseph Myers <joseph@codesourcery.com>
6615 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6620 2018-12-14 Florian Weimer <fweimer@redhat.com>
6622 * manual/process.texi (Process Creation Concepts): Remove
6623 documentation of process (ID) lifetime. List more process
6624 creation functions. Reference Process Identification section.
6625 (Process Identification): Add information about process ID
6626 lifetime. Describe Linux thread/task IDs.
6627 * manual/signal.texi (Signaling Another Process): Mention that the
6628 signal is always sent to the process.
6630 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6632 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6633 and tst-ldbl-efgcvt.
6634 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6635 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6636 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6637 (fcvt_tests, output_error, output_r_error, do_test): Use the
6638 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6639 select the type of floating-point variables and arguments; to
6640 produce extra tests for double and conversion specifiers for
6641 printf; and to set the names of called functions.
6642 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6643 in tst-efgcvt-template.c.
6644 * misc/tst-ldbl-efgcvt.c: Likewise.
6646 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
6648 * nss/Makefile (tst-nss-test3.out): New rule.
6650 2018-12-13 Joseph Myers <joseph@codesourcery.com>
6652 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6655 2018-12-13 fanjinke <fanjinke@hygon.cn>
6657 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6660 2018-12-13 Andreas Schwab <schwab@suse.de>
6663 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
6664 (__pthread_rwlock_rdlock_full): Update expected value for
6665 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
6666 * nptl/tst-rwlock-pwn.c: New file.
6667 * nptl/Makefile (tests): Add tst-rwlock-pwn.
6669 2018-12-12 Joseph Myers <joseph@codesourcery.com>
6671 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
6674 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6676 * benchtests/scripts/compare_bench.py (do_compare): write to
6677 stderr in casestat is not present.
6678 * benchtests/scripts/compare_bench.py (plot_graphs): write to
6679 stderr in case timings field is not present. Also string showing
6680 the output filename goes into the stderr.
6682 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6684 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
6685 and ZeroDivisorError exceptions.
6686 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
6687 argument to loop through user provided statistics.
6688 * benchtests/scripts/compare_bench.py (main): Include the --stats
6691 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6693 * benchtests/scripts/compare_bench.py (compare_runs): Continue
6696 2018-12-12 Florian Weimer <fweimer@redhat.com>
6698 * sysdeps/posix/timespec_get.c: Add missing “any later version”
6699 clause to copyright header.
6701 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6704 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
6705 registers saved in the stack frame.
6706 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
6707 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
6709 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6711 * include/bits/monetary-ldbl.h: New file.
6712 * include/bits/printf-ldbl.h: Likewise.
6713 * include/bits/stdio-ldbl.h: Likewise.
6714 * include/bits/stdlib-ldbl.h: Likewise.
6715 * include/bits/syslog-ldbl.h: Likewise.
6716 * include/bits/wchar-ldbl.h: Likewise.
6718 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6720 * libio/libio.h: Remove redirection for _IO_vfprintf.
6722 2018-12-11 Andreas Schwab <schwab@suse.de>
6724 * Makerules: Remove all references to abilist-pattern.
6725 (update-all-abi): Simplify find expression.
6727 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6730 * math/auto-libm-test-in: Add new test case.
6731 * math/auto-libm-test-out-pow: Regenerated.
6732 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
6734 2018-12-10 DJ Delorie <dj@redhat.com>
6737 * support/test-container.c: Move postclean step to before we
6740 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6742 * scripts/gen-as-const.py (main): Handle --python option.
6743 * scripts/gen-py-const.awk: Remove.
6744 * Makerules (py-const-script): Use gen-as-const.py.
6745 ($(py-const)): Likewise.
6746 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
6747 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
6748 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
6749 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
6750 ~PTHREAD_MUTEX_NO_ELISION_NP.
6751 * manual/README.pretty-printers: Update reference to
6754 * scripts/glibcextract.py: New file.
6755 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
6756 or tempfile. Import glibcexctract.
6757 (compute_c_consts): Remove. Moved to glibcextract.py.
6758 (gen_test): Update reference to compute_c_consts.
6760 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
6761 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
6762 * sysdeps/unix/sysv/linux/Makefile
6763 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6764 Redirect stderr as well as stdout.
6766 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6769 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
6770 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6771 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
6772 ALWAYS_USE_VSYSCALL.
6773 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
6774 ALWAYS_USE_VSYSCALL.
6775 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6776 ALWAYS_USE_VSYSCALL.
6778 2018-12-10 Florian Weimer <fweimer@redhat.com>
6781 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6782 offset instead of count for clarity. Fix typo in comment.
6783 (__old_getdents64): Keep track of previous offset. Use it to call
6785 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6786 that d_off is never zero.
6788 2018-12-10 Andreas Schwab <schwab@suse.de>
6790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6791 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6793 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6794 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6796 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6798 * timezone/private.h: Update from tzcode 2018g.
6799 * timezone/tzfile.h: Likewise.
6800 * timezone/tzselect.ksh: Likewise.
6801 * timezone/zdump.c: Likewise.
6802 * timezone/zic.c: Likewise.
6804 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6807 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6808 (do_test): Adjust buffer size and fix format.
6810 2018-12-07 DJ Delorie <dj@redhat.com>
6813 * malloc/tst-tcfree3.c: New.
6814 * malloc/Makefile: Add it.
6816 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6818 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6820 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6822 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6823 used as a mask for the mode argument of __vfscanf_internal and
6824 __vfwscanf_internal.
6825 * stdio-common/vfscanf-internal.c
6826 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6827 (__strtof128_internal): Define to __wcstof128_internal.
6828 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6829 __strtof128_internal or __wcstof128_internal when the format of
6830 long double is the same as _Float128.
6832 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6834 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6835 * posix/confstr.c (confstr): Rename to __confstr.
6836 (__confstr): Add hidden def.
6837 (confstr): Add weak alias for __confstr.
6838 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6841 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6843 * NEWS: Mention getcpu.
6844 * include/sched.h (__getcpu): New libc_hidden_proto.
6845 * manual/resource.texi: Document getcpu.
6846 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6847 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6848 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6849 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6850 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6851 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6852 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6853 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6854 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6855 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6856 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6857 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6858 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6860 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6861 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6862 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6871 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6872 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6873 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6874 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6875 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6876 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6877 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6878 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6879 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6880 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6881 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6884 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6886 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6888 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6890 2018-12-07 Florian Weimer <fweimer@redhat.com>
6893 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6894 * posix/Versions (GLIBC_2.29): Export
6895 posix_spawn_file_actions_addfchdir_np.
6896 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6897 * posix/spawn_faction_destroy.c
6898 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6899 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6900 and the field action.fchdir_action.
6901 * posix/tst-spawn-chdir.c (add_chdir): New function.
6902 (do_test): Add do_fchdir loop. Call add_chdir.
6903 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6904 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6905 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6906 posix_spawn_file_actions_addfchdir_np.
6907 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6909 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6911 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6912 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6914 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6916 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6918 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6920 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6922 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6924 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6925 (GLIBC_2.29): Likewise.
6926 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6927 (GLIBC_2.29): Likewise.
6928 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6929 (GLIBC_2.29): Likewise.
6930 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6931 (GLIBC_2.29): Likewise.
6932 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6935 (GLIBC_2.29): Likewise.
6936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6937 (GLIBC_2.29): Likewise.
6938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6939 (GLIBC_2.29): Likewise.
6940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6941 (GLIBC_2.29): Likewise.
6942 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6944 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6946 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6948 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6949 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6951 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6953 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6955 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6958 2018-12-06 Joseph Myers <joseph@codesourcery.com>
6960 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6961 trailing whitespace removed.
6962 * scripts/config.guess: Update to version 2018-11-28.
6963 * scripts/config.sub: Update to version 2018-11-28.
6964 * scripts/install-sh: Update to version 2018-03-11.20.
6965 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6966 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6968 2018-12-07 Florian Weimer <fweimer@redhat.com>
6972 * inet/tst-if_index-long.c: New file.
6973 * inet/Makefile (tests): Add tst-if_index-long.
6975 2018-12-07 Florian Weimer <fweimer@redhat.com>
6977 * support/check.h (support_record_failure_is_failed): Declare.
6978 * support/descriptors.h: New file.
6979 * support/support_descriptors.c: Likewise.
6980 * support/tst-support_descriptors.c: Likewise.
6981 * support/support_record_failure.c
6982 (support_record_failure_is_failed): New function.
6983 * support/Makefile (libsupport-routines): Add support_descriptors.
6984 (tests): Add tst-support_descriptors.
6986 2018-12-05 Zack Weinberg <zackw@panix.com>
6987 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6989 * stdio-common/vfprintf-internal.c
6990 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6991 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6992 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6993 and __no_long_double.
6994 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6995 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6996 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6997 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6998 and __nldbl_*syslog* functions.
6999 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
7000 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
7001 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
7002 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
7003 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
7004 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
7005 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
7006 (__nldbl_vwprintf, __nldbl_wprintf):
7007 Directly call the appropriate __v*printf_internal routine, passing
7008 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
7010 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
7011 (__nldbl___printf_chk, __nldbl___snprintf_chk)
7012 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
7013 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
7014 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
7015 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7016 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
7017 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
7018 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
7019 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
7020 Likewise, and also pass PRINTF_FORTIFY when appropriate.
7021 (__nldbl_syslog, __nldbl_vsyslog):
7022 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
7023 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7025 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7028 2018-12-05 Zack Weinberg <zackw@panix.com>
7029 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7032 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
7033 Moved here from debug/vsprintf_chk.c.
7034 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
7035 and completion logic for the strfile to match exactly what
7036 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
7037 _IO_str_init_static_internal instead of maxlen-1.
7038 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7039 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
7040 __vsprintf_internal.
7042 * debug/vsprintf_chk.c (__vsprintf_chk)
7043 * debug/sprintf_chk.c (__sprintf_chk):
7044 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
7045 'flags' argument is positive, and slen as maxlen. No need to lock
7046 the FILE and/or construct a temporary FILE. Minimize and normalize
7047 header inclusions and variable names. Do not libc_hidden_def anything.
7049 * debug/asprintf_chk.c (__asprintf_chk)
7050 * debug/dprintf_chk.c (__dprintf_chk)
7051 * debug/fprintf_chk.c (__fprintf_chk)
7052 * debug/fwprintf_chk.c (__fwprintf_chk)
7053 * debug/printf_chk.c (__printf_chk)
7054 * debug/snprintf_chk.c (__snprintf_chk)
7055 * debug/swprintf_chk.c (__swprintf_chk)
7056 * debug/vasprintf_chk.c (__vasprintf_chk)
7057 * debug/vdprintf_chk.c (__vdprintf_chk)
7058 * debug/vfprintf_chk.c (__vfprintf_chk)
7059 * debug/vfwprintf_chk.c (__vfwprintf_chk)
7060 * debug/vprintf_chk.c (__vprintf_chk)
7061 * debug/vsnprintf_chk.c (__vsnprintf_chk)
7062 * debug/vswprintf_chk.c (__vswprintf_chk)
7063 * debug/vwprintf_chk.c (__vwprintf_chk)
7064 * debug/wprintf_chk.c (__wprintf_chk):
7065 Directly call the corresponding vxxprintf_internal function, passing
7066 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
7067 the FILE and/or construct a temporary FILE. Minimize and normalize
7068 header inclusions and variable names. Do not libc_hidden_def anything.
7070 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
7071 __obstack_vprintf_internal.
7072 (__obstack_vprintf_chk): Convert into a wrapper that calls
7073 __obstack_vprintf_internal (these two functions already had the
7074 same code) and move to new file...
7075 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
7077 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
7078 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
7079 * debug/Makefile (routines): Add vobprintf_chk.
7081 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7082 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7083 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
7084 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7085 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
7086 (__nldbl___obstack_vfprintf_chk):
7087 Directly call the corresponding vxxprintf_internal function,
7088 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
7089 duplicate comparison of slen with 0 or maxlen from the corresponding
7090 non-__nldbl function.
7092 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
7093 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
7094 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
7095 Remove libc_hidden_proto.
7097 * stdio-common/vfprintf-internal.c
7098 (__vfprintf_internal, __vfwprintf_internal):
7099 Do not check _IO_FLAGS2_FORTIFY.
7100 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
7101 * libio/libioP.h: Update prototype of __vsprintf_internal and add
7102 a comment explaining why it has the maxlen argument.
7103 (_IO_acquire_lock_clear_flags2_fct): Remove.
7104 (_IO_acquire_lock_clear_flags2): Remove.
7105 (_IO_release_lock): Remove conditional statement which will
7107 (_IO_acquire_lock): Remove variable which is now unused.
7108 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7109 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7111 * stdio-common/Makefile (tests): Add tst-bz11319 and
7112 tst-bz11319-fortify2.
7113 (CFLAGS-tst-bz11319-fortify2.c): New macro.
7114 * stdio-common/tst-bz11319-fortify2.c: New file.
7115 * stdio-common/tst-bz11319.c: Likewise.
7117 2018-12-05 Zack Weinberg <zackw@panix.com>
7118 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7120 * misc/syslog.c: Include libioP.h, not iolibio.h.
7121 (__vsyslog_internal): New function with the former body of
7122 __vsyslog_chk; takes mode_flags argument same as
7123 __v*printf_internal. Call __vfprintf_internal directly.
7125 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
7126 Remove libc_hidden_def.
7127 (__syslog, __syslog_chk): Use __vsyslog_internal.
7128 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
7130 * include/sys/syslog.h: Add multiple inclusion guard.
7131 Add prototype for __vsyslog_internal.
7132 Remove declaration and libc_hidden_proto for __vsyslog_chk.
7134 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
7135 Use __vsyslog_internal.
7137 2018-12-05 Zack Weinberg <zackw@panix.com>
7138 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7140 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
7141 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
7142 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
7144 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
7145 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
7147 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
7148 Include wctype.h here if COMPILE_WPRINTF is defined.
7149 Define __vfprintf_internal or __vfwprintf_internal, depending
7151 Temporarily, on entry to this function, update mode_flags
7152 according to the environmental settings corresponding to
7153 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
7154 Throughout, check mode_flags instead of __ldbl_is_dbl and
7155 _IO_FLAGS2_FORTIFY on the destination FILE.
7156 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
7157 Include vfprintf-internal.c. Don't include wctype.h.
7158 * stdio-common/vfprintf.c: New file. Just define __vfprintf
7159 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
7161 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
7162 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
7164 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
7166 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
7167 and add mode_flags argument; use __vfprintf_internal.
7168 (__vdprintf): New function. Alias vdprintf to this.
7169 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
7170 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
7171 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
7172 (__obstack_printf): Use __obstack_printf_internal.
7173 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
7174 public aliases __vsnprintf and vsnprintf.
7175 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
7177 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
7178 public aliases _IO_vsprintf and vsprintf.
7179 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
7180 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
7181 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
7182 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
7183 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
7185 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
7186 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
7187 * stdio-common/fprintf.c, stdio-common/fxprintf.c
7188 * stdio-common/printf.c: Use __vfprintf_internal.
7190 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
7191 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
7192 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
7194 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
7195 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
7196 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
7197 __vfwprintf_internal.
7199 * libio/libio.h: Remove libc_hidden_proto and declaration for
7201 Remove declaration of _IO_vfwprintf.
7202 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
7204 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
7206 * include/stdio.h: Add prototype for __vasprintf.
7207 (__vsnprintf): Remove declaration, because there are no more
7209 * include/wchar.h (__vfwprintf, __vswprintf): Remove
7210 declaration, because there are no more internal calls.
7212 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
7213 __vsnprintf_internal, instead of _IO_vsnprintf.
7214 * argp/argp-help.c (__argp_error, __argp_failure): Use
7215 __vasprintf_internal, instead of _IO_vasprintf.
7216 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
7217 redefine, because there are no more internal calls.
7219 2018-12-05 Zack Weinberg <zackw@panix.com>
7220 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7222 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
7223 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
7224 Include libio/strfile.h instead of libioP.h.
7225 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
7226 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
7227 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
7228 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
7229 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
7230 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
7231 necessary. Do not set __no_long_double. Normalize variable names.
7232 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
7233 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
7234 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
7235 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
7236 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
7237 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
7238 Call __vfscanf_internal / __vfwscanf_internal directly, passing
7239 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
7240 Do not set __no_long_double. Normalize variable names.
7242 2018-12-05 Zack Weinberg <zackw@panix.com>
7243 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7245 * stdio-common/isoc99_scanf.c
7246 * stdio-common/isoc99_fscanf.c
7247 * stdio-common/isoc99_sscanf.c
7248 * stdio-common/isoc99_vscanf.c
7249 * stdio-common/isoc99_vfscanf.c
7250 * stdio-common/isoc99_vsscanf.c
7251 * wcsmbs/isoc99_wscanf.c
7252 * wcsmbs/isoc99_fwscanf.c
7253 * wcsmbs/isoc99_swscanf.c
7254 * wcsmbs/isoc99_vwscanf.c
7255 * wcsmbs/isoc99_vfwscanf.c
7256 * wcsmbs/isoc99_vswscanf.c:
7257 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
7258 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
7259 No need to lock and unlock the FILE passed to that function.
7261 * stdio-common/vfscanf-internal.c
7262 (__vfscanf_internal, __vfwscanf_internal):
7263 Don't look at _IO_FLAGS2_SCANF_STD.
7264 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
7265 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
7266 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
7268 2018-12-05 Zack Weinberg <zackw@panix.com>
7269 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7271 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
7272 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
7273 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
7274 * libio/strfile.h: Add multiple inclusion guard.
7275 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
7277 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
7278 consistency with the other version of this file.
7279 (ldbl_compat_symbol): New macro.
7280 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
7283 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
7284 Define __vfscanf_internal or __vfwscanf_internal, depending on
7285 COMPILE_WSCANF; don't define any other public symbols.
7286 Remove errval and code to set errp.
7287 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
7288 as the mode_flags argument.
7289 (encode_error, conv_error, input_error): Don't set errval.
7290 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
7291 Include vfscanf-internal.c.
7292 * stdio-common/vfscanf.c: New file defining the public entry
7293 point vfscanf, which calls __vfscanf_internal.
7294 * stdio-common/vfwscanf.c: New file defining the public entry
7295 point vfwscanf, which calls __vfwscanf_internal.
7297 * stdio-common/iovfscanf.c: New file.
7298 * stdio-common/iovfwscanf.c: Likewise.
7300 * stdio-common/Makefile (routines): Add vfscanf-internal,
7301 vfwscanf-internal, iovfscanf, iovfwscanf.
7302 * stdio-common/Versions: Mention GLIBC_2.29, so that
7303 it can be used in SHLIB_COMPAT expressions.
7304 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
7305 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
7306 Call __vfscanf_internal, instead of _IO_vfscanf.
7307 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
7309 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
7312 * libio/iovsscanf.c: Clean up includes, when possible. Use
7313 _IO_strfile_read or _IO_strfile_readw, when needed. Call
7314 __vfscanf_internal or __vfwscanf_internal directly.
7315 * libio/iovswscanf.c: Likewise.
7316 * libio/swscanf.c: Likewise.
7317 * libio/vscanf.c: Likewise.
7318 * libio/vwscanf.c: Likewise.
7319 * libio/wscanf.c: Likewise.
7320 * stdio-common/isoc99_fscanf.c: Likewise.
7321 * stdio-common/isoc99_scanf.c: Likewise.
7322 * stdio-common/isoc99_sscanf.c: Likewise.
7323 * stdio-common/isoc99_vfscanf.c: Likewise.
7324 * stdio-common/isoc99_vscanf.c: Likewise.
7325 * stdio-common/isoc99_vsscanf.c: Likewise.
7326 * stdio-common/scanf.c: Likewise.
7327 * stdio-common/sscanf.c: Likewise.
7328 * wcsmbs/isoc99_fwscanf.c: Likewise.
7329 * wcsmbs/isoc99_swscanf.c: Likewise.
7330 * wcsmbs/isoc99_vfwscanf.c: Likewise.
7331 * wcsmbs/isoc99_vswscanf.c: Likewise.
7332 * wcsmbs/isoc99_vwscanf.c: Likewise.
7333 * wcsmbs/isoc99_wscanf.c: Likewise.
7335 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
7338 (__tz_compute): Replace time_t with __time64_t.
7339 (__tz_convert): Replace time_t* with __time64_t.
7340 (__offtime): Replace time_t* with __time64_t.
7342 (__gmtime_r): Adjust call to __tz_convert.
7345 (__localtime_r): Likewise.
7346 (localtime): Likewise.
7347 * time/offtime.c: Replace time_t with __time64_t.
7348 * time/tzset.c: Likewise.
7350 2018-12-04 Joseph Myers <joseph@codesourcery.com>
7352 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
7353 dynamic linker unless [$(run-built-tests) = yes].
7355 2018-12-03 DJ Delorie <dj@delorie.com>
7357 * support/test-container.c (check_for_unshare_hints): New.
7358 (main): Call it if unshare fails. Add support for "su" scriptlet
7361 2018-12-03 Joseph Myers <joseph@codesourcery.com>
7363 * scripts/gen-as-const.py (compute_c_consts): Take an argument
7364 'START' to indicate that start text should be output.
7365 (gen_test): Likewise.
7366 (main): Generate 'START' for first symbol or '--' line, or at end
7367 of input if not previously generated.
7369 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
7372 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
7373 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
7374 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
7375 ALWAYS_USE_VSYSCALL.
7377 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7380 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
7383 2018-12-03 Carlos O'Donell <carlos@redhat.com>
7386 * locale/programs/localedef.c: Declare boolean hard_links default true.
7387 (options): Add --no-hard-links option.
7388 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
7389 * locale/programs/localedef.h: Declare prototype for hard_links.
7390 * locale/programs/locfile.c (write_locale_data): Don't use hard
7391 links if hard_links is false.
7393 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
7395 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
7397 (__cache_sysconf): Likewise.
7398 (init_cacheinfo): Likewise.
7399 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
7400 populate COMMON_CPUID_INDEX_80000007 and
7401 COMMON_CPUID_INDEX_80000008.
7402 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
7403 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
7404 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
7405 (init_cpu_features): Use _Static_assert on
7406 index_arch_Fast_Unaligned_Load.
7407 __get_cpuid_registers and __get_arch_feature. Updated for
7408 cpu_features_basic. Set stepping in cpu_features.
7409 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
7410 (FEATURE_INDEX_2): New.
7411 (FEATURE_INDEX_MAX): Changed to enum.
7412 (COMMON_CPUID_INDEX_D_ECX_1): New.
7413 (COMMON_CPUID_INDEX_80000007): Likewise.
7414 (COMMON_CPUID_INDEX_80000008): Likewise.
7415 (cpuid_registers): Likewise.
7416 (cpu_features_basic): Likewise.
7417 (CPU_FEATURE_USABLE): Likewise.
7418 (bit_arch_XXX_Usable): Likewise.
7419 (cpu_features): Use cpuid_registers and cpu_features_basic.
7420 (bit_arch_XXX): Reweritten.
7421 (bit_cpu_XXX): Likewise.
7422 (index_cpu_XXX): Likewise.
7423 (reg_XXX): Likewise.
7424 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
7426 (CHECK_CPU_FEATURE): New.
7427 (CHECK_CPU_FEATURE_USABLE): Likewise.
7428 (cpu_kinds): Likewise.
7429 (do_test): Print vendor, family, model and stepping. Check
7430 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
7431 (TEST_FUNCTION): Removed.
7432 Include <support/test-driver.c> instead of
7433 "../../test-skeleton.c".
7434 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
7435 Check POPCNT instead of POPCOUNT.
7436 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
7438 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7440 * scripts/gen-as-const.py (main): Avoid emitting empty line when
7441 there is no element in `consts'.
7443 2018-12-01 Florian Weimer <fweimer@redhat.com>
7445 * support/support_capture_subprocess.c
7446 (support_capture_subprocess): Check that pipe descriptors have
7447 expected values. Close original pipe descriptors in subprocess.
7449 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7452 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
7453 attr with __pthread_default_barrierattr.
7454 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
7455 attr with __pthread_default_condattr.
7456 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
7457 attr with __pthread_default_mutexattr.
7458 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
7459 attr with __pthread_default_rwlockattr.
7461 2018-12-01 Kemi Wang <kemi.wang@intel.com>
7463 * manual/tunables.texi (POSIX Thread Tunables): New node.
7464 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
7465 * nptl/nptl-init.c: Include pthread_mutex_conf.h
7466 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
7467 __pthread_tunables_init.
7468 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
7469 (max_adaptive_count): Define.
7470 * nptl/pthread_mutex_conf.c: New file.
7471 * nptl/pthread_mutex_conf.h: New file.
7472 * sysdeps/generic/adaptive_spin_count.h: New file.
7473 * sysdeps/nptl/dl-tunables.list: New file.
7474 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7475 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
7476 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
7479 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7482 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
7483 * stdlib/on_exit.c (__on_exit): Likewise.
7484 * stdlib/Makefile (tests): Add tst-bz20544.
7485 * stdlib/tst-bz20544.c: New test.
7487 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
7490 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
7491 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
7494 2018-11-30 Florian Weimer <fweimer@redhat.com>
7496 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
7497 Extend error logging.
7498 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
7501 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7503 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
7504 __sigismember instead of sigismember.
7505 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
7506 cancel_handler): New definitions.
7507 (do_system): Use posix_spawn instead of fork and execl and remove
7509 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
7510 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
7511 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
7512 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7513 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7514 * sysdeps/unix/sysv/linux/system.c: Likewise.
7518 * NEWS: Add new semantic for atfork with popen and system.
7519 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
7522 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7525 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
7526 modification order when accessing reloc_result->addr.
7527 * include/link.h (reloc_result): Add field init.
7528 * nptl/Makefile (tests): Add tst-audit-threads.
7529 (modules-names): Add tst-audit-threads-mod1 and
7530 tst-audit-threads-mod2.
7531 Add rules to build tst-audit-threads.
7532 * nptl/tst-audit-threads-mod1.c: New file.
7533 * nptl/tst-audit-threads-mod2.c: Likewise.
7534 * nptl/tst-audit-threads.c: Likewise.
7535 * nptl/tst-audit-threads.h: Likewise.
7537 2018-11-30 Joseph Myers <joseph@codesourcery.com>
7539 * scripts/gen-as-const.py: New file.
7540 * scripts/gen-as-const.awk: Remove.
7541 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
7543 ($(objpfx)test-as-const-%.c): Likewise.
7545 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7547 * elf/dl-exception.c: Include <_itoa.h>.
7549 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7551 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
7552 returned by __f_setlk.
7554 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7555 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7557 * elf/Makefile (tests-internal): Add tst-create_format1.
7558 * elf/dl-exception.c (_dl_exception_create_format): Support
7560 * elf/tst-create_format1.c: New file.
7562 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
7564 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
7565 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
7567 * argp/argp-help.c (__argp_failure): Likewise.
7569 2018-11-29 Mao Han <han_mao@c-sky.com>
7571 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
7572 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
7573 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
7574 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
7575 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
7576 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
7577 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
7578 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
7579 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
7580 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
7581 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
7582 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
7583 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
7584 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
7585 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
7586 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
7587 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
7588 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
7589 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
7590 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
7591 (R_CKCORE_TLS_TPOFF32): New defines.
7593 2018-11-29 Florian Weimer <fweimer@redhat.com>
7595 * posix/Makefile (before-compile): Remove testcases.h and
7597 (generated): Add testcases.h and ptestcases.h.
7598 (testcases.h, ptestcases.h): Move to $(objpfx).
7599 (runtests.o): Add dependency on testcases.h.
7600 (runptests.o): Add dependency on ptestcases.h.
7601 * posix/testcases.h, posix/ptestcases.h: Remove files.
7602 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
7603 not touch posix/testcases.h and posix/ptestcases.h.
7605 2018-11-28 Florian Weimer <fweimer@redhat.com>
7607 support: Add signal support to support_capture_subprocess_check.
7608 * support/capture_subprocess.h (support_capture_subprocess_check):
7609 Adjust comment and rename parameter.
7610 * support/support_capture_subprocess_check.c
7611 (print_actual_status): New function.
7612 (support_capture_subprocess_check): Support negative
7613 status_or_signal. Call print_actual_status.
7614 * support/tst-support_capture_subprocess.c (do_test): Call
7615 support_capture_subprocess_check.
7616 * libio/tst-vtables-common.c (termination_status)
7617 (init_termination_status): Remove.
7618 (check_for_termination): Adjust support_capture_subprocess_check
7620 (do_test): Remove call to init_termination_status.
7622 2018-11-28 Joseph Myers <joseph@codesourcery.com>
7624 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7625 source directory instead of a copy.
7626 (CommandList.create_copy_dir): Remove.
7628 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
7630 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7632 2018-11-28 Florian Weimer <fweimer@redhat.com>
7634 * support/support.h (support_quote_string): Do not use str
7637 2018-11-27 Joseph Myers <joseph@codesourcery.com>
7639 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7640 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7642 2018-11-27 Florian Weimer <fweimer@redhat.com>
7644 * support/support.h (support_quote_string): Declare.
7645 * support/support_quote_string.c: New file.
7646 * support/tst-support_quote_string.c: Likewise.
7647 * support/Makefile (libsupport-routines): Add
7648 support_quote_string.
7649 (tests): Add tst-support_quote_string.
7651 2018-11-27 Florian Weimer <fweimer@redhat.com>
7655 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7656 descriptor leak in case of ENODEV error.
7658 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7661 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7662 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7663 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
7665 2018-11-26 Carlos O'Donell <carlos@redhat.com>
7667 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
7668 Error for unknown lines.
7670 2018-11-26 Joseph Myers <joseph@codesourcery.com>
7672 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7673 Touch additional files.
7675 2018-11-26 Florian Weimer <fweimer@redhat.com>
7678 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
7681 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
7684 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
7685 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
7686 SHARED. Include sysdep.h.
7687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
7688 ALWAYS_USE_VSYSCALL.
7689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
7690 ALWAYS_USE_VSYSCALL.
7692 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
7695 * nptl/Makefile (tests-static): Add tst-cond11-static.
7697 * nptl/tst-cond11-static.c: New File.
7698 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
7699 tst-affinity-static.
7701 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
7703 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
7704 (USE_VSYSCALL): Likewise.
7705 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
7706 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
7708 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
7710 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
7713 2018-11-23 Joseph Myers <joseph@codesourcery.com>
7716 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7717 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
7720 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
7722 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
7723 (tst-cet-legacy-1a-ARGS): New.
7724 ($(objpfx)tst-cet-legacy-1a): New target.
7725 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
7727 2018-11-22 Joseph Myers <joseph@codesourcery.com>
7729 * conform/conformtest.py (CompileSubTest.__init__): Set
7730 self.run_early to False.
7731 (ExecuteSubTest.__init__): Likewise.
7732 (HeaderTests.run): Try running all non-optional, non-XFAILed
7733 compilation tests in a single execution of the compiler.
7735 * conform/conformtest.py (CompileSubTest): New class.
7736 (ExecuteSubTest): Likewise.
7737 (ElementTest.run): Rename to gen_subtests. Append tests to
7738 self.subtests instead of running them.
7739 (ConstantTest.run): Likewise.
7740 (SymbolTest.run): Likewise.
7741 (TypeTest.run): Likewise.
7742 (TagTest.run): Likewise.
7743 (FunctionTest.run): Likewise.
7744 (VariableTest.run): Likewise.
7745 (MacroFunctionTest.run): Likewise.
7746 (MacroStrTest.run): Likewise.
7747 (HeaderTests.handle_test_line): Generate subtests for tests.
7748 (HeaderTests.run): Run subtests for tests.
7750 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7752 * math/Versions (GLIBC_2.29): Add pow.
7753 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
7755 * math/w_pow.c: New file.
7756 * sysdeps/i386/fpu/w_pow.c: New file.
7757 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
7758 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
7759 and add necessary aliases.
7760 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
7761 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
7762 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7763 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7764 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7765 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7766 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7767 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7768 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7769 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7770 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7771 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7772 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7773 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7774 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7779 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7780 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7781 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7782 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7783 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7784 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7785 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7786 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7788 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7789 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7790 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7792 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7794 * math/Versions (GLIBC_2.29): Add log2.
7795 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7797 * math/w_log2.c: New file.
7798 * sysdeps/i386/fpu/w_log2.c: New file.
7799 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7800 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7801 and add necessary aliases.
7802 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7803 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7804 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7805 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7806 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7807 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7808 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7809 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7810 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7811 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7812 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7813 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7814 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7815 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7816 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7821 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7822 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7823 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7824 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7825 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7826 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7827 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7829 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7831 * math/Versions (GLIBC_2.29): Add log.
7832 * math/w_log_compat.c (__log_compat): Change to versioned compat
7834 * math/w_log.c: New file.
7835 * sysdeps/i386/fpu/w_log.c: New file.
7836 * sysdeps/ia64/fpu/e_log.S: Update.
7837 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7838 and add necessary aliases.
7839 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7840 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7841 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7842 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7843 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7844 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7845 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7846 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7847 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7848 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7849 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7850 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7851 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7852 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7853 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7858 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7859 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7860 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7861 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7862 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7863 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7864 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7865 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7867 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7868 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7869 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7870 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7872 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7874 * math/Versions (GLIBC_2.29): Add exp and exp2.
7875 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7876 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7877 * math/w_exp_compat.c (__exp_compat): Likewise.
7878 * math/w_exp.c: New file.
7879 * math/w_exp2.c: New file.
7880 * sysdeps/i386/fpu/w_exp.c: New file.
7881 * sysdeps/i386/fpu/w_exp2.c: New file.
7882 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7883 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7884 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7885 and add necessary aliases.
7886 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7887 and add necessary aliases.
7888 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7889 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7890 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7891 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7892 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7893 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7894 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7895 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7896 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7897 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7898 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7899 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7900 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7901 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7902 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7903 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7904 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7909 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7910 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7911 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7912 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7913 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7914 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7915 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7916 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7917 (__ieee754_exp): Rename to __exp.
7918 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7919 (__ieee754_exp): Rename to __exp.
7920 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7921 (__ieee754_exp): Rename to __exp.
7922 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7924 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7926 2018-11-20 DJ Delorie <dj@redhat.com>
7928 * malloc/malloc.c (tcache_entry): Add key field.
7929 (tcache_put): Set it.
7930 (tcache_get): Likewise.
7931 (_int_free): Check for double free in tcache.
7932 * malloc/tst-tcfree1.c: New.
7933 * malloc/tst-tcfree2.c: New.
7934 * malloc/Makefile: Run the new tests.
7935 * manual/probes.texi: Document memory_tcache_double_free probe.
7937 * dlfcn/dlerror.c (check_free): Prevent double frees.
7939 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7941 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7943 2018-11-20 Joseph Myers <joseph@codesourcery.com>
7945 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7946 in tests. Use names for format arguments.
7947 (ConstantTest.run): Likewise.
7948 (SymbolTest.run): Likewise.
7949 (TypeTest.run): Likewise.
7950 (TagTest.run): Likewise.
7951 (FunctionTest.run): Likewise.
7952 (VariableTest.run): Likewise.
7953 (MacroFunctionTest.run): Likewise.
7954 (MacroStrTest.run): Likewise.
7955 (HeaderTests.__init__): Set self.num_tests.
7956 (HeaderTests.handle_test_line): Set test.num. Increment
7959 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7961 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7962 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7965 2018-11-19 Mao Han <han_mao@c-sky.com>
7967 * scripts/config.guess: Update to version 2018-08-29.
7968 * scripts/config.sub: Update to version 2018-08-29.
7970 2018-11-19 Florian Weimer <fweimer@redhat.com>
7972 support: Print timestamps in timeout handler.
7973 * support/support_test_main.c (print_timestamp): New function.
7974 (signal_handler): Use it to print the termination time and the
7975 time of the last write to standard output.
7977 2018-11-16 Zack Weinberg <zackw@panix.com>
7978 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7980 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7981 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7983 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7984 and add flags argument. Check flags instead of __ldbl_is_dbl when
7985 deciding whether to set is_long_double.
7986 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7987 passing zero for flags argument.
7988 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7990 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7991 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7992 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7993 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7994 variable names. Remove libc_hidden_def/libc_hidden_proto from
7995 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7996 longer called from within the library.
7997 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7998 for __nldbl___vstrfmon_l, declare it explicitly.
8000 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
8002 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8004 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
8006 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
8007 F_SETLK64, F_SETLKW64, respectively.
8008 * sysdeps/mach/hurd/f_setlk.c: New file.
8009 * sysdeps/mach/hurd/f_setlk.h: New file.
8010 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
8012 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
8013 (__libc_fcntl): Move non-flock operations to...
8014 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
8015 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
8017 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
8019 mktime: DEBUG_MKTIME cleanup
8020 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
8021 And it’s no longer needed now that glibc and Gnulib both have
8022 their own testing mechanisms for mktime.
8023 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
8025 mktime: fix non-EOVERFLOW errno handling
8027 mktime was not properly reporting failures when the underlying
8028 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
8029 them like EOVERFLOW failures, and set errno to EOVERFLOW.
8030 The problem could happen on non-glibc platforms, with Gnulib.
8031 * time/mktime.c (guess_time_tm): Remove, replacing with ...
8032 (tm_diff): ... this simpler function, which does not change errno.
8033 All callers changed to deal with errno themselves.
8034 (ranged_convert, __mktime_internal): Return failure immediately if
8035 the underlying function reports any failure other than EOVERFLOW.
8036 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
8039 mktime: fix bug with Y2038 DST transition
8041 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
8042 mishandle a DST transition that jumps over the Y2038 boundary.
8043 No such DST transitions are known so this is only a theoretical
8044 bug, but we might as well do things right.
8046 mktime: make more room for overflow
8048 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
8049 This is so that we can add tm_diff results to a previous guess,
8050 which will be useful in a later patch.
8052 mktime: simplify offset guess
8054 * time/mktime.c (__mktime_internal): Omit excess precision.
8056 mktime: new test for mktime failure
8058 Based on a test suggested by Albert Aribaud in:
8059 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
8060 * time/Makefile (tests): Add bug-mktime4.
8061 * time/bug-mktime4.c: New file.
8063 mktime: fix EOVERFLOW bug
8065 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
8066 Include libc-config.h, not config.h, for __set_errno.
8067 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
8069 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8071 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
8072 __attribute_copy__ to copy attributes from name. Drop static qualifier
8073 to avoid warnings about leaf attribute not having effect on static
8076 2018-11-13 Florian Weimer <fweimer@redhat.com>
8078 * malloc/malloc.c (fastbin_push_entry): New function.
8079 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
8080 (REMOVE_FB): Remove macro.
8081 (_int_malloc): Use fastbin_pop_entry and reindent.
8082 (_int_free): Use fastbin_push_entry.
8083 (malloc_consolidate): Use atomic_exchange_acquire.
8085 2018-11-13 Joseph Myers <joseph@codesourcery.com>
8087 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
8088 alias attribute, not with strong_alias.
8090 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
8091 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
8092 with additional parameter thread.
8093 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
8094 in terms of __hidden_ver2.
8095 (hidden_tls_def): New macro.
8096 (libc_hidden_tls_def): Likewise.
8097 (rtld_hidden_tls_def): Likewise.
8098 (libm_hidden_tls_def): Likewise.
8099 (libmvec_hidden_tls_def): Likewise.
8100 (libresolv_hidden_tls_def): Likewise.
8101 (librt_hidden_tls_def): Likewise.
8102 (libdl_hidden_tls_def): Likewise.
8103 (libnss_files_hidden_tls_def): Likewise.
8104 (libnsl_hidden_tls_def): Likewise.
8105 (libnss_nisplus_hidden_tls_def): Likewise.
8106 (libutil_hidden_tls_def): Likewise.
8107 (libutil_hidden_tls_def): Likweise.
8108 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
8109 libc_hidden_tls_def.
8110 (__sim_disabled_exceptions_thread): Likewise.
8111 (__sim_round_mode_thread): Likewise.
8113 * sysdeps/sparc/sparc-ifunc.h [SHARED]
8114 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
8115 copy attributes from name.
8117 2018-11-12 Joseph Myers <joseph@codesourcery.com>
8119 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
8120 Use __attribute_copy__ to copy attributes from name.
8122 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
8123 with __hidden_ver1 call.
8124 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
8125 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
8126 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
8127 (__cosf): Do not declare here.
8128 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
8129 (__sincosf): Do not declare here.
8130 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
8131 (__sinf): Do not declare here.
8133 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
8134 (__BIG_ENDIAN): Likewise.
8135 (__BYTE_ORDER): Likewise.
8136 (strong_alias): Likewise.
8137 (_strong_alias): Likewise.
8139 2018-11-12 Florian Weimer <fweimer@redhat.com>
8141 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
8142 function. Move after the definition of in_smallbin_range. Do not
8143 use __builtin_expect for paths that lead to a noreturn function.
8144 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
8145 because it is unclear whether this is in fact an unlikely
8147 (_int_malloc, _int_free): Adjust.
8148 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
8150 * malloc/arena.c (heap_trim): Likewise.
8152 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8154 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
8155 it, free it if needed.
8156 (reauthenticate): Test and use ccwdir.
8157 (child_init_port): In non-resetids case, test and use ccwdir.
8158 (child_chdir): New nested function to set ccwdir.
8159 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
8160 * hurd/hurd/port.h (_hurd_port_move): New function.
8161 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
8162 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
8163 * hurd/Versions (_hurd_port_move): Export function.
8164 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
8166 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
8167 of dtablesize for allocating dtable_cloexec.
8169 2018-11-09 Martin Sebor <msebor@redhat.com>
8171 * include/libc-symbols.h (__attribute_copy__): Define macro unless
8172 it's already defined.
8173 (_strong_alias): Use __attribute_copy__.
8174 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
8175 * misc/sys/cdefs.h (__attribute_copy__): New macro.
8176 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
8177 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
8178 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
8179 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
8180 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
8181 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
8182 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
8183 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
8184 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
8185 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
8186 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
8187 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
8188 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
8189 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
8190 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
8191 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
8192 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
8194 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8196 * misc/tst-efgcvt.c: Include support/check.h and
8197 support/test-driver.c. Do not include test-skeleton.c.
8198 (error_count): Remove.
8199 (output_error): Replace increments to error_count with calls to
8200 support_record_failure.
8201 (output_r_error): Likewise.
8202 (special): Likewise.
8203 (do_test): Unconditionally return zero.
8204 (TEST_FUNCTION): Remove.
8206 2018-11-09 Joseph Myers <joseph@codesourcery.com>
8208 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
8210 ($(linknamespace-header-tests)): Likewise.
8212 * conform/conformtest.py: New file.
8213 * conform/conformtest.pl: Remove.
8214 * conform/GlibcConform.pm: Likewise.
8215 * conform/glibcconform.py (KEYWORDS_C90): New constant.
8216 (KEYWORDS_C99): Likewise.
8217 (KEYWORDS): Likewise.
8218 * conform/Makefile ($(conformtest-header-tests)): Use
8219 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
8220 option. Use --header instead of --headers.
8221 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
8223 * conform/data/spawn.h-data: Likewise.
8224 * conform/data/fcntl.h-data (openat): Add space after function
8226 * conform/data/wchar.h-data (wcscasecmp): Likewise.
8227 (wcscasecmp_l): Likewise.
8228 * conform/data/termios.h-data (c_cc): Add space after element
8231 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8233 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
8234 instead of manually comparing and reporting mismatching strings.
8235 * misc/tst-ldbl-error.c (do_one_test): Likewise.
8236 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
8238 2018-11-08 Joseph Myers <joseph@codesourcery.com>
8240 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
8241 __ASSUME_SOCKETCALL.
8242 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8243 (__ASSUME_SOCKETCALL): Remove.
8244 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8245 (__ASSUME_SOCKETCALL): Likewise.
8246 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8247 (__ASSUME_SOCKETCALL): Likewise.
8248 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8249 (__ASSUME_SOCKETCALL): Likewise.
8250 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8251 (__ASSUME_SOCKETCALL): Likewise.
8252 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8253 (__ASSUME_SOCKETCALL): Likewise.
8254 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8255 (__ASSUME_SOCKETCALL): Likewise.
8257 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
8260 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
8261 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
8262 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
8263 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
8264 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
8267 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
8270 * resolv/tst-resolv-network.c: Add test for getnetbyname.
8272 2018-11-07 Joseph Myers <joseph@codesourcery.com>
8275 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8276 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8277 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8278 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8280 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8282 * support/support_test_compare_string.c
8283 (support_test_compare_string): Fix printf format.
8285 2018-11-07 Florian Weimer <fweimer@redhat.com>
8287 Implement TEST_COMPARE_STRING.
8288 * support/check.h (TEST_COMPARE_STRING): Define.
8289 (support_test_compare_string): Declare.
8290 * support/Makefile (libsupport-routines): Add
8291 support_test_compare_string.
8292 (tests): Add tst-test_compare_string.
8293 * support/support_test_compare_string.c: New file.
8294 * support/tst-test_compare_string.c: Likewise.
8296 2018-11-07 Andreas Schwab <schwab@suse.de>
8299 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
8300 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
8303 2018-11-06 Joseph Myers <joseph@codesourcery.com>
8306 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8307 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
8308 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
8309 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
8312 2018-11-06 Florian Weimer <fweimer@redhat.com>
8315 * posix/Makefile (routines): Add spawn_faction_addchdir.
8316 (tests): Add tst-spawn-chdir.
8317 * posix/Versions (GLIBC_2.29): Add
8318 posix_spawn_file_actions_addchdir_np.
8319 * posix/spawn_faction_addchdir.c: New file.
8320 * posix/spawn_faction_destroy.c
8321 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
8322 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
8323 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
8325 * posix/tst-spawn-chdir.c: New file.
8326 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
8327 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8328 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8329 posix_spawn_file_actions_addchdir_np.
8330 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8332 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8334 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8335 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8337 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8339 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8341 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8343 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8345 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8347 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8348 (GLIBC_2.29): Likewise.
8349 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8350 (GLIBC_2.29): Likewise.
8351 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8352 (GLIBC_2.29): Likewise.
8353 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8354 (GLIBC_2.29): Likewise.
8355 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8358 (GLIBC_2.29): Likewise.
8359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8360 (GLIBC_2.29): Likewise.
8361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8362 (GLIBC_2.29): Likewise.
8363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8364 (GLIBC_2.29): Likewise.
8365 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8367 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8369 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8371 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8372 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8374 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8376 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8378 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8381 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8383 * misc/Makefile (tests): Add tst-ldbl-error.
8384 * misc/tst-ldbl-error.c: New file.
8386 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8388 * misc/Makefile (tests): Add tst-ldbl-warn.
8389 * misc/tst-ldbl-warn.c: New file.
8391 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8393 * argp/Makefile (tests): Add tst-ldbl-argp.
8394 * argp/tst-ldbl-argp.c: New file.
8396 2018-11-05 Arjun Shankar <arjun@redhat.com>
8398 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
8399 __gconv_path_elem and call __gconv_get_path unconditionally.
8401 2018-11-05 Andreas Schwab <schwab@suse.de>
8404 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
8405 creating the first helper thread failed.
8407 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8409 * sysdeps/mach/hurd/msync.c: New file.
8411 2018-11-02 Florian Weimer <fweimer@redhat.com>
8413 * support/shell-container.c (copy_func): Call
8414 support_copy_file_range instead of copy_file_range to support
8415 cross-device copies.
8417 2018-11-02 Florian Weimer <fweimer@redhat.com>
8419 * support/test-container.c: Include <libc-pointer-arith.h> for
8422 2018-11-01 Zong Li <zong@andestech.com>
8424 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
8425 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
8426 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
8427 (__FP_FRAC_SET_8): Add implementation for RV32 use.
8429 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
8430 variable to avoid overlap arguments.
8432 2018-11-01 Joseph Myers <joseph@codesourcery.com>
8434 * posix/bug-regex22.c (main): Use puts with distinct error
8435 messages for unexpected success of re_compile_pattern, not printf
8436 with NULL argument to %s.
8438 * stdio-common/bug22.c: Include <libc-diag.h>.
8439 (do_test): Disable -Wformat-overflow= warnings around fprintf
8440 calls outputting more than INT_MAX characters.
8441 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
8442 around printf call with NULL %s argument.
8445 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
8446 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
8448 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8449 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8450 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8451 (__ASSUME_SENDTO_SYSCALL): Likewise.
8452 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8453 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
8455 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8456 (__ASSUME_CONNECT_SYSCALL): Likewise.
8457 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8458 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8459 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
8461 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
8463 [__LINUX_KERNEL_VERSION >= 0x040400]
8464 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8465 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
8468 (setsockopt): Likewise.
8470 2018-11-01 Fredrik Noring <noring@nocrew.org>
8472 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
8473 with the ISA override.
8475 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
8477 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
8480 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8482 * manual/errno.texi (EIEIO): Document how translators should
8483 translate the error message.
8484 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
8485 printing trailing whitespaces refused by git.
8486 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
8487 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8488 * hurd/Makefile (user-interfaces): Add pci.
8490 2018-10-30 Joseph Myers <joseph@codesourcery.com>
8492 * conform/linknamespace.py: New file.
8493 * conform/linknamespace.pl: Remove file.
8494 * conform/Makefile ($(linknamespace-header-tests)): Use
8495 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
8498 2018-10-30 Florian Weimer <fweimer@redhat.com>
8500 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
8503 2018-10-30 Florian Weimer <fweimer@redhat.com>
8505 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
8507 2018-10-30 Florian Weimer <fweimer@redhat.com>
8509 * stdlib/tst-strtod-overflow.c (do_test): Switch to
8510 support_blob_repeat.
8512 2018-10-30 Florian Weimer <fweimer@redhat.com>
8514 Avoid spurious test failures in stdlib/test-bz22786.
8515 * support/Makefile (libsupport-routines): Add blob_repeat.
8516 (tests): Add tst-support_blob_repeat.
8517 * support/blob_repeat.h: New file.
8518 * support/blob_repeat.c: Likewise.
8519 * support/tst-support_blob_repeat.c: Likewise.
8520 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
8521 support_blob_repeat_allocate.
8523 2018-10-30 Andreas Schwab <schwab@suse.de>
8526 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
8527 Don't use tail call.
8528 * elf/tst-unwind-main.c: New file.
8529 * elf/Makefile (tests): Add tst-unwind-main.
8530 (CFLAGS-tst-unwind-main.c): Define.
8532 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
8535 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
8537 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
8539 2018-10-29 Joseph Myers <joseph@codesourcery.com>
8541 * conform/glibcconform.py: Do not import shutil.
8542 (list_exported_functions): Use tempfile.TemporaryDirectory instead
8545 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
8546 critic_missing for versions before 3.4.
8547 * configure: Regenerated.
8548 * manual/install.texi (Tools for Compilation): Document
8549 requirement for Python to build glibc.
8550 * INSTALL: Regenerated.
8551 * Rules [PYTHON]: Make code unconditional.
8552 * benchtests/Makefile [PYTHON]: Likewise.
8553 * conform/Makefile [PYTHON]: Likewise.
8554 * manual/Makefile [PYTHON]: Likewise.
8555 * math/Makefile [PYTHON]: Likewise.
8557 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8559 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
8560 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
8561 answer to interrupt_operation, return EIEIO instead of EINTR.
8562 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
8563 _hurd_intr_rpc_msg_about_to global point to start of controlled
8564 assembly snippet. Make it check canceled flag.
8565 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
8566 the _hurd_intr_rpc_msg_about_to point.
8567 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
8568 issue, remove cancel flag check.
8570 2018-10-26 Joseph Myers <joseph@codesourcery.com>
8572 * scripts/build-many-glibcs.py: Remove compatibility for missing
8573 os.cpu_count and re.fullmatch.
8575 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
8578 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
8579 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
8580 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
8582 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8584 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
8587 2018-10-25 Florian Weimer <fweimer@redhat.com>
8591 XFAIL siginfo_t si_band conform test on sparc64.
8592 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
8593 (__SI_BAND_TYPE): Only override long int default type on sparc64.
8594 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8595 (conformtest-xfail-conds): Add sparc64-linux.
8596 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
8598 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
8600 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8602 * elf/elf.h (NT_MIPS_DSP): New macro.
8603 (NT_MIPS_FP_MODE): Likewise.
8605 2018-10-25 Zong Li <zong@andestech.com>
8607 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
8608 name by adding the file extension (.so).
8610 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8612 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8613 (test-xfail-ISO11/threads.h/linknamespace,
8614 test-xfail-ISO11/threads.h/conform): Add.
8616 2018-10-24 Joseph Myers <joseph@codesourcery.com>
8618 * math/gen-libm-test.py: Import os.
8619 (ALL_FLOATS_MANUAL): New constant.
8620 (ALL_FLOATS_SUFFIX): Likewise.
8621 (Ulps.all_functions): New function.
8622 (real_all_ulps): Likewise.
8623 (generate_err_table_sub): Likewise.
8624 (generate_err_table): Likewise.
8625 (main): Handle -s and -m options.
8626 * manual/libm-err-tab.pl: Remove.
8627 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8628 instead of libm-err-tab.pl.
8629 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8631 * manual/install.texi (Tools for Compilation): Document
8632 requirement for Python to build manual.
8633 * INSTALL: Regenerated.
8635 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8637 * bits/time64.h: New file.
8638 * include/time.h: Replace internal_time_t with __time64_t.
8639 * posix/bits/types (__time64_t): Add.
8640 * stdlib/Makefile: Add bits/time64.h to includes.
8641 * time/tzfile.c: Replace internal_time_t with __time64_t.
8643 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8645 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8646 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8647 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8648 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8649 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8651 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8652 * posix/spawn_faction_addclose.c
8653 (__posix_spawn_file_actions_addclose): Add hidden definition.
8654 * posix/spawn_faction_adddup2.c
8655 (__posix_spawn_file_actions_adddup2): Likewise.
8656 * posix/spawn_faction_destroy.c
8657 (__posix_spawn_file_actions_destroy): Likewise.
8658 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8660 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8661 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8662 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8664 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
8665 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
8668 2018-10-24 Andreas Schwab <schwab@suse.de>
8671 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
8673 * elf/cache.c (print_cache): Likewise.
8675 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8677 * bits/timesize.h: New file.
8678 * stdlib/Makefile (headers): Add bits/timesize.h.
8679 * sysdeps/unix/sysv/linux/bits/msq-pad.h
8680 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
8681 * sysdeps/unix/sysv/linux/bits/sem-pad.h
8682 (__SEM_PAD_AFTER_TIME): Likewise.
8683 * sysdeps/unix/sysv/linux/bits/shm-pad.h
8684 (__SHM_PAD_AFTER_TIME): Likewise.
8685 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
8686 (__MSQ_PAD_BEFORE_TIME): Likewise.
8687 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
8688 (__SEM_PAD_BEFORE_TIME): Likewise.
8689 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
8690 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8691 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
8692 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
8693 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
8694 (__MSQ_PAD_BEFORE_TIME): Likewise.
8695 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
8696 (__SEM_PAD_BEFORE_TIME): Likewise.
8697 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
8698 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8699 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
8700 (__MSQ_PAD_BEFORE_TIME): Likewise.
8701 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
8702 (__SEM_PAD_BEFORE_TIME): Likewise.
8703 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
8704 (__SHM_PAD_BEFORE_TIME): Likewise.
8705 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
8706 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8707 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
8709 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
8711 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
8712 USE_RDTSCP is defined.
8713 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
8714 USE_RDTSCP is defined.
8716 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8718 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
8722 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
8723 independently of other flags.
8725 2018-10-23 Florian Weimer <fweimer@redhat.com>
8727 * time/tst-mktime2.c (N_STRINGS): Remove.
8728 (set_timezone): New function.
8729 (spring_forward_gap): Call it. Use FAIL_EXIT1.
8730 (mktime_test1): Report localtime failure and check errno value.
8732 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
8733 (do_test): Remove alarm call. Use set_timezone and array_length.
8735 2018-10-23 Andreas Schwab <schwab@suse.de>
8737 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
8738 (__start_context): Use END instead of PSEUDO_END.
8740 2018-10-22 Joseph Myers <joseph@codesourcery.com>
8742 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8745 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8749 * wcsmbs/c32rtomb.c: New file.
8750 * wcsmbs/mbrtoc32.c: Likewise.
8751 * wcsmbs/tst-c32-state.c: Likewise.
8752 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
8753 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
8754 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
8755 (tests): Add tst-c32-state.
8756 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
8759 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
8761 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
8762 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8764 2018-10-19 Joseph Myers <joseph@codesourcery.com>
8767 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8768 pair and return 0 in that case, and use saved character to
8769 interpret following character.
8770 * wcsmbs/tst-c16-surrogate.c: New file.
8771 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8772 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8773 Depend on $(gen-locales)
8775 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8778 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8779 (struct siginfo_t): Use correct type for si_band.
8781 2018-10-19 Florian Weimer <fweimer@redhat.com>
8784 * resource/bits/types/struct_rusage.h (struct rusage): Update
8785 comment on struct. Remove extraneous field comment.
8787 2018-10-18 David S. Miller <davem@davemloft.net>
8789 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8790 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8791 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8792 sysdep_routines in subdir elf.
8793 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8794 version for __vdso_clock_gettime.
8795 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8797 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8798 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8800 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8802 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8804 * sysdeps/i386/init-arch.h: Removed.
8805 * sysdeps/i386/i586/init-arch.h: Likewise.
8806 * sysdeps/i386/i686/init-arch.h: Likewise.
8807 * sysdeps/i386/i686/hp-timing.h: Likewise.
8808 * sysdeps/x86_64/hp-timing.h: Likewise.
8809 * sysdeps/i386/isa.h: New file.
8810 * sysdeps/i386/i586/isa.h: Likewise.
8811 * sysdeps/i386/i686/isa.h: Likewise.
8812 * sysdeps/x86_64/isa.h: Likewise.
8813 * sysdeps/x86/hp-timing.h: New file.
8814 * sysdeps/x86/init-arch.h: Include <isa.h>.
8816 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8818 * math/libm-test-pow.inc (pow_test_data): Do not allow
8819 divide-by-zero exception for pow(+/- 0, -Inf).
8821 2018-10-17 Zack Weinberg <zackw@panix.com>
8823 * manual/job.texi (Job Control is Optional): Remove node, as
8824 job control has not been optional in quite some time.
8825 (Job Control): Mention briefly that systems older than
8826 POSIX.1-2001 might not support job control.
8827 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8828 defined on systems conforming to POSIX.1-2001.
8830 2018-10-17 Arjun Shankar <arjun@redhat.com>
8833 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8835 * (__gconv_read_conf): Mark function static.
8836 * (once): New static variable.
8837 * (__gconv_load_conf): New function.
8838 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8839 * iconv/gconv_db.c (once): Remove static variable.
8840 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8842 * (__gconv_find_transform): Likewise.
8843 * iconv/tst-iconv-mt.c: New test.
8844 * iconv/Makefile: Add tst-iconv_mt.
8846 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8850 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8851 (shmatt_t): Define as __syscall_ulong_t.
8852 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8853 and [__SHM_PAD_AFTER_TIME].
8854 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8855 Define shm_segsz and associated padding based on
8856 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8857 Use __syscall_ulong_t instead of unsigned long int.
8858 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8860 [__USE_MISC] (struct shm_info): Likewise.
8861 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8862 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8863 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8864 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8865 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8866 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8867 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8868 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8869 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8870 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8871 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8873 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8875 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8876 (SHMLBA): Remove macro.
8877 (__getpagesize): Remove function declaration.
8878 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8880 (SHMLBA): Remove macro.
8881 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8883 (SHMLBA): Remove macro.
8884 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8886 (SHMLBA): Remove macro.
8887 (__getpagesize): Remove function declaration.
8888 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8890 (SHMLBA): Remove macro.
8891 (__getshmlba): Remove function declaration.
8892 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8893 (SHMLBA): Remove macro.
8894 (__getpagesize): Remove function declaration.
8895 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8896 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8897 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8898 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8899 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8900 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8901 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8902 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8903 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8904 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8906 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
8909 * nptl/tst-mutex10.c: New File.
8910 * nptl/Makefile (tests): Add tst-mutex10.
8911 (tst-mutex10-ENV): New variable.
8912 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8913 Ensure that elision path is used if elision is available.
8914 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8916 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8918 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8919 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8920 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8921 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8923 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8924 (__pthread_mutex_cond_lock_adjust): Likewise.
8925 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8927 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8928 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8929 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8930 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8932 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8933 Use atomic_load_relaxed and atomic_store_relaxed.
8934 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8935 Use atomic_store_relaxed.
8937 2018-10-17 Andreas Schwab <schwab@suse.de>
8939 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8940 * crypt/badsalttest.c (TIMEOUT): Likewise.
8941 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8942 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8943 * io/test-lfs.c (TIMEOUT): Likewise.
8944 * libio/tst-atime.c (TIMEOUT): Likewise.
8945 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8946 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8947 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8948 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8949 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8950 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8951 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8952 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8953 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8954 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8955 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8956 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8957 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8958 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8959 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8960 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8961 * nptl/tst-once2.c (TIMEOUT): Likewise.
8962 * nptl/tst-once3.c (TIMEOUT): Likewise.
8963 * nptl/tst-once4.c (TIMEOUT): Likewise.
8964 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8965 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8966 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8967 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8968 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8969 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8970 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8971 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8972 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8973 * posix/tst-chmod.c (TIMEOUT): Likewise.
8974 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8975 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8976 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8977 * posix/tst-regex2.c (TIMEOUT): Likewise.
8978 * posix/tst-waitid.c (TIMEOUT): Likewise.
8979 * rt/tst-aio.c (TIMEOUT): Likewise.
8980 * rt/tst-aio10.c (TIMEOUT): Likewise.
8981 * rt/tst-aio4.c (TIMEOUT): Likewise.
8982 * rt/tst-aio5.c (TIMEOUT): Likewise.
8983 * rt/tst-aio6.c (TIMEOUT): Likewise.
8984 * rt/tst-aio64.c (TIMEOUT): Likewise.
8985 * rt/tst-aio7.c (TIMEOUT): Likewise.
8986 * rt/tst-aio9.c (TIMEOUT): Likewise.
8987 * rt/tst-clock.c (TIMEOUT): Likewise.
8988 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8989 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8990 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8991 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8992 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8993 * rt/tst-timer4.c (TIMEOUT): Likewise.
8994 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8995 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8996 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8997 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8998 * time/tst-ftime.c (TIMEOUT): Likewise.
8999 * timezone/tst-tzset.c (TIMEOUT): Likewise.
9001 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
9003 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
9004 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
9007 2018-10-15 Joseph Myers <joseph@codesourcery.com>
9009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9011 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
9012 instead of <bits/wordsize.h>.
9013 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
9014 and [__SEM_PAD_AFTER_TIME].
9015 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
9016 __syscall_ulong_t instead of unsigned long int.
9017 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
9018 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
9019 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
9020 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
9021 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
9022 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
9023 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
9024 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
9025 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9026 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9027 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9029 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
9031 regex: simplify by using intprops.h
9033 * posix/regex_internal.h [_LIBC]: Include intprops.h.
9034 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
9035 intprops.h defines them.
9037 regex: __builtin_expect → __glibc_unlikely
9039 This refactoring was prompted by a problem when the regex code is
9040 used as part of Gnulib and when the builder’s compiler does not grok
9041 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
9042 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
9043 Although this refactoring does not fix the problem directly,
9044 we might as well have Gawk use the now-preferred glibc style for when
9045 __builtin_expect is unavailable.
9046 * posix/regex_internal.h (BE): Remove.
9047 All uses replaced by __glibc_unlikely or __glibc_likely.
9049 2018-10-11 Joseph Myers <joseph@codesourcery.com>
9051 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9053 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
9054 instead of <bits/wordsize.h>.
9055 (msgqnum_t): Define as __syscall_ulong_t.
9056 (msglen_t): Likewise.
9057 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
9058 and [__MSQ_PAD_AFTER_TIME].
9059 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
9060 __syscall_ulong_t instead of unsigned long int.
9061 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
9062 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
9063 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
9064 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
9065 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
9066 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
9067 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
9068 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
9069 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9070 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9071 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9073 2018-10-10 Joseph Myers <joseph@codesourcery.com>
9075 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
9076 (struct shmid_ds): Condition padding after time fields on
9078 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
9079 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
9080 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9082 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
9083 (struct semid_ds): Condition padding after time fields on
9085 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
9086 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
9087 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
9088 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9090 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
9091 (struct msqid_ds): Condition padding after time fields on
9093 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
9094 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
9095 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
9096 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9098 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9100 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
9102 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9104 * libio/tst-readline.c (TIMEOUT): Define.
9106 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
9108 mktime fix for Gnulib + coreutils
9110 This fix affects only Gnulib. Problem discovered when
9111 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
9113 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
9114 Do not define since it is not used. Defining an unused static
9115 function prompts a warning from GCC when Coreutils is configured
9116 with --enable-gcc-warnings.
9118 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9120 * benchtests/scripts/compare_bench.py (main): set float type on
9123 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
9126 * localedata/locales/kl_GL (mon): Update, the relative case.
9127 (alt_mon): Add, fill with month names in the nominative case.
9128 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
9129 (d_fmt): Set to "%b %d %Y".
9131 2018-10-04 Joseph Myers <joseph@codesourcery.com>
9133 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
9134 <bits/mman-linux.h>.
9135 (PROT_READ): Don't define here.
9136 (PROT_WRITE): Likewise.
9137 (PROT_EXEC): Likewise.
9138 (PROT_NONE): Likewise.
9139 (PROT_GROWSDOWN): Likewise.
9140 (PROT_GROWSUP): Likewise.
9141 (MAP_SHARED): Likewise.
9142 (MAP_PRIVATE): Likewise.
9143 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
9144 [__USE_MISC] (MAP_FILE): Likewise.
9145 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
9146 [__USE_MISC] (MAP_ANON): Likewise.
9147 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
9148 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
9149 (MCL_CURRENT): Likewise.
9150 (MCL_FUTURE): Likewise.
9151 (MCL_ONFAULT): Likewise.
9152 [__USE_MISC] (MADV_NORMAL): Likewise.
9153 [__USE_MISC] (MADV_RANDOM): Likewise.
9154 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
9155 [__USE_MISC] (MADV_WILLNEED): Likewise.
9156 [__USE_MISC] (MADV_DONTNEED): Likewise.
9157 [__USE_MISC] (MADV_FREE): Likewise.
9158 [__USE_MISC] (MADV_REMOVE): Likewise.
9159 [__USE_MISC] (MADV_DONTFORK): Likewise.
9160 [__USE_MISC] (MADV_DOFORK): Likewise.
9161 [__USE_MISC] (MADV_HWPOISON): Likewise.
9162 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
9163 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
9164 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
9165 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
9166 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
9167 (__MAP_ANONYMOUS): New macro.
9168 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
9169 <bits/mman-linux.h> inclusion.
9170 (MAP_FIXED): Likewise.
9171 (MS_SYNC): Likewise.
9172 (MS_ASYNC): Likewise.
9173 (MS_INVALIDATE): Likewise.
9174 [__USE_MISC] (MADV_MERGEABLE): Likewise.
9175 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
9176 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
9177 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
9178 [__USE_MISC] (MADV_DONTDUMP): Likewise.
9179 [__USE_MISC] (MADV_DODUMP): Likewise.
9180 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
9181 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
9184 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
9186 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
9187 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
9188 Add test-nldbl-redirect.
9189 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
9190 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
9191 $(objpfx)libnldbl_nonshared.a.
9193 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
9195 * support/support.h (support_objdir_elf_ldso): New variable.
9196 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
9197 * support/Makefile (CFLAGS-support_paths.c): Add definition
9198 for OBJDIR_ELF_LDSO_PATH.
9199 * support/test-container.c (main): Search for the ld.so
9200 which is also used by the testsuite.
9202 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
9205 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
9206 should be "sap" rather than "sab".
9207 (day): Fix spelling of Sunday, should be "sapaat" rather than
9210 2018-10-02 Joseph Myers <joseph@codesourcery.com>
9212 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9214 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
9217 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
9218 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
9219 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
9221 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9223 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
9225 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
9227 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
9229 (CFLAGS-elision-unlock.c): Likewise.
9230 (CFLAGS-elision-timed.c): Likewise.
9231 (CFLAGS-elision-trylock.c): Likewise.
9232 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
9234 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9237 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
9238 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
9239 new fd_to_filename interface.
9240 * libio/freopen64.c (freopen64): Likewise.
9241 * libio/tst-memstream.h: New file.
9242 * libio/tst-memstream4.c: Likewise.
9243 * libio/tst-wmemstream4.c: Likewise.
9244 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
9245 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
9246 and remove internal dynamic allocation.
9248 2018-10-01 Joseph Myers <joseph@codesourcery.com>
9250 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
9251 (MREMAP_MAYMOVE): Do not define here.
9252 [__USE_GNU] (MREMAP_FIXED): Likewise.
9253 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
9254 (MREMAP_MAYMOVE): Define here instead.
9255 [__USE_GNU] (MREMAP_FIXED): Likewise.
9256 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
9257 (MREMAP_MAYMOVE): Remove.
9258 [__USE_GNU] (MREMAP_FIXED): Likewise.
9260 2018-09-28 Joseph Myers <joseph@codesourcery.com>
9262 * math/fromfp.h: Do not include <math_private.h>.
9263 * math/s_cacosh_template.c: Likewise.
9264 * math/s_casin_template.c: Likewise.
9265 * math/s_casinh_template.c: Likewise.
9266 * math/s_ccos_template.c: Likewise.
9267 * math/s_cproj_template.c: Likewise.
9268 * math/s_fdim_template.c: Likewise.
9269 * math/s_fmaxmag_template.c: Likewise.
9270 * math/s_fminmag_template.c: Likewise.
9271 * math/s_iseqsig_template.c: Likewise.
9272 * math/s_ldexp_template.c: Likewise.
9273 * math/s_nextdown_template.c: Likewise.
9274 * math/w_log1p_template.c: Likewise.
9275 * math/w_scalbln_template.c: Likewise.
9276 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9277 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9278 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9279 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9280 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
9281 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
9282 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
9283 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
9284 * sysdeps/i386/fpu/s_atanl.c: Likewise.
9285 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
9286 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
9287 * sysdeps/i386/fpu/s_fdim.c: Likewise.
9288 * sysdeps/i386/fpu/s_logbl.c: Likewise.
9289 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9290 * sysdeps/i386/fpu/s_significandl.c: Likewise.
9291 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
9292 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
9293 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9294 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9295 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9296 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9297 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9298 * sysdeps/ieee754/k_standardf.c: Likewise.
9299 * sysdeps/ieee754/k_standardl.c: Likewise.
9300 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9301 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9302 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
9303 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9304 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9305 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9306 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9307 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9308 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9309 * sysdeps/ieee754/s_signgam.c: Likewise.
9310 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9311 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
9312 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
9313 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9314 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9315 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9316 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9317 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9318 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9319 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9320 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9321 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9322 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9323 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9324 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9325 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9326 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9327 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9328 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9329 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9330 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9331 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9332 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9333 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9334 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9335 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9336 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9337 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9338 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9339 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9340 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9341 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9342 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9343 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9344 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9345 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9346 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
9348 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9350 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
9353 * sysdeps/i386/dl-cet.c: Removed.
9354 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
9356 (_dl_runtime_profile_shstk): Likewise.
9357 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
9358 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
9360 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9363 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
9364 do_test_with_invalid_iov): New tests.
9365 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
9366 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
9367 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
9369 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9370 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9371 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9373 2018-09-27 Joseph Myers <joseph@codesourcery.com>
9375 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9376 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
9377 (MATH_REDIRECT_BINARY_ARGS): New macro.
9378 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9379 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
9380 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
9382 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
9383 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9384 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
9385 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9386 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9387 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9388 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
9393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
9395 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
9396 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
9397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
9399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
9401 * sysdeps/generic/math_private_calls.h
9402 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
9403 Do not declare and define as an inline function.
9404 * math/divtc3.c (__divtc3): Use copysign functions instead of
9405 __copysign variants.
9406 * math/multc3.c (__multc3): Likewise.
9407 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
9408 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
9409 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9410 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9412 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9413 (__ieee754_yn): Likewise.
9414 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9415 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
9416 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9417 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9418 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
9420 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9421 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9423 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9425 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9427 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9428 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9430 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9431 (__ieee754_ynf): Likewise.
9432 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9433 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9434 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9435 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9437 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9438 (__ieee754_ynl): Likewise.
9439 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9440 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9441 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9443 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9444 (__ieee754_ynl): Likewise.
9445 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
9446 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9447 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9448 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9450 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9452 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
9453 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9454 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
9455 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9456 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9458 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9459 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
9460 using MATH_REDIRECT.
9461 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
9463 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
9464 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9465 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9466 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
9467 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9468 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9469 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
9471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
9472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
9473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
9474 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9475 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9476 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9477 (round): Redirect to __round.
9478 (__roundl): Call round instead of __round.
9479 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
9481 [_ARCH_PWR5X] (__roundf): Likewise.
9482 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
9483 functions instead of __round variants.
9484 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9485 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9487 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9489 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9491 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
9492 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
9494 (__ieee754_expl): Call roundl instead of __roundl.
9496 2018-09-27 Andreas Schwab <schwab@suse.de>
9499 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
9500 (do_test): Make st1 static.
9502 2018-09-26 Andreas Schwab <schwab@suse.de>
9505 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
9506 * elf/Makefile (tests): Add tst-unwind-ctor.
9507 (modules-names): Add tst-unwind-ctor-lib.
9508 ($(objpfx)tst-unwind-ctor): Depend on
9509 $(objpfx)tst-unwind-ctor-lib.so.
9511 2018-09-26 Joseph Myers <joseph@codesourcery.com>
9513 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
9514 file. Most contents moved from ....
9515 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
9516 and include <bits/mman-map-flags-generic.h>.
9517 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9518 (sysdep_headers): Add bits/mman-map-flags-generic.h.
9519 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
9520 <bits/mman-map-flags-generic.h>.
9521 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
9522 macros defined in <bits/mman-map-flags-generic.h>.
9523 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
9524 <bits/mman-map-flags-generic.h>.
9525 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
9526 defined in <bits/mman-map-flags-generic.h>.
9528 2018-09-26 Andreas Schwab <schwab@suse.de>
9530 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
9533 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
9534 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9535 Fangrui Song <maskray@google.com>
9538 * config.make.in (have-textrel_ifunc): New define.
9539 * configure.ac: Add check if linker supports textrel relocation with
9541 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
9543 (CFLAGS-tst-ifunc-textrel.c): New rule.
9544 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
9545 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
9546 * elf/tst-ifunc-textrel.c: New file.
9548 2018-09-25 Joseph Myers <joseph@codesourcery.com>
9550 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9551 <bits/procfs-prregset.h>.
9552 (prgregset_t): Define using __prgregset_t.
9553 (prfpregset_t): Define using __prfpregset_t.
9554 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9555 (sysdep_headers): Add bits/procfs-prregset.h.
9556 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
9557 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
9558 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
9559 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
9561 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9562 <bits/procfs-id.h> and <bits/procfs-extra.h>.
9563 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
9565 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9566 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
9567 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
9568 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
9569 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
9570 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
9571 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
9572 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
9573 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
9574 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
9575 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
9576 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
9577 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
9578 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
9579 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
9580 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
9581 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
9582 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
9583 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
9584 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
9585 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
9586 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
9587 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9588 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
9590 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
9591 AArch64 version. Include <bits/procfs.h>.
9592 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9593 (sysdep_headers): Add bits/procfs.h.
9594 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
9595 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
9596 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
9597 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
9598 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
9599 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
9600 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
9601 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
9602 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
9603 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
9604 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
9605 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
9606 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
9607 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
9608 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
9609 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9610 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9612 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9614 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9617 2018-09-25 Arjun Shankar <arjun@redhat.com>
9619 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9620 (__gconv_max_path_elem_len): Likewise.
9621 (__gconv_nmodules): Likewise.
9622 (__gconv_get_path): Likewise.
9623 (path_elem): Move to ...
9624 * iconv/gconv_conf.c: ... here.
9625 (__gconv_get_path): Mark function static.
9626 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9627 * iconv/gconv_open.c: ... here.
9629 2018-09-24 Andreas Schwab <schwab@suse.de>
9631 * scripts/haveversions.awk: New file.
9632 * Makerules ($(common-objpfx)Versions.def)
9633 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9634 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9636 * Makeconfig ($(common-objpfx)Versions.def)
9637 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9638 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9640 ($(common-objpfx)Versions.mk): New rule. Include it.
9641 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9642 Emit error if build-obsolete-nsl = yes.
9643 * manual/install.texi (Configuring and compiling): Describe
9644 --enable-obsolete-nsl as unavaiable after version 2.28.
9645 * INSTALL: Regenerate.
9647 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9649 * NEWS: Add note about new TLE support on powerpc64le.
9650 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9651 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9653 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9654 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9655 * sysdeps/powerpc/powerpc32/sysdep.h,
9656 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9657 ABORT_TRANSACTION): Remove macros.
9658 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9659 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9660 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9662 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9663 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
9665 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
9667 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
9670 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
9671 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
9672 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
9673 which is the same as in it_IT.
9674 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
9675 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
9677 2018-09-20 Joseph Myers <joseph@codesourcery.com>
9679 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9680 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
9681 using MATH_REDIRECT.
9682 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
9684 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
9685 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9686 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
9687 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9688 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9689 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
9691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
9692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
9693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
9694 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9695 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9696 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9697 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9698 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9699 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9700 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
9701 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9702 (ceil): Redirect to __ceil.
9703 (floor): Redirect to __floor.
9704 (trunc): Redirect to __trunc.
9705 (__truncl): Call trunc instead of __trunc.
9706 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
9708 [_ARCH_PWR5X] (__truncf): Likewise.
9709 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
9710 trunc functions instead of __trunc variants.
9711 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9713 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9715 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9717 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9720 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
9721 [__i586__ || __pentium__].
9722 [__i486__]: Handle explicitly.
9723 (HAS_CPUID): Define to 1 if above macros are undefined.
9724 (HAS_I586): Likewise.
9725 (HAS_I686): Likewise.
9727 2018-09-20 Florian Weimer <fweimer@redhat.com>
9729 * misc/tst-gethostid.c: New file.
9730 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
9731 (tst-gethostid): Link with -ldl.
9733 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
9735 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
9736 value from gethostbyname_r.
9738 2018-09-19 Carlos O'Donell <carlos@redhat.com>
9740 * stdlib/tst-setcontext9.c (f1): Rename to...
9742 (f1b): New function implementing lower half of f1 in alternate stack.
9744 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
9746 Fix mktime localtime offset confusion
9748 * include/time.h (__mktime_internal): The localtime offset is now
9749 of type long int instead of time_t. This is the longstanding type
9750 in glibc, and it is more than enough to represent difference
9751 between localtime and gmtime even if it is 32 bits and time_t is
9752 64. Changing it now will let us avoid an unnecessary change when
9753 time_t is widened to 64 bits on 32-bit platforms.
9754 * time/mktime-internal.h (mktime_offset_t): Now long int.
9756 Merge mktime, timegm from upstream Gnulib
9757 [BZ #23603][BZ #16346]
9758 This fixes some obscure problems with integer overflow.
9759 Although it looks scary, it is almost all a byte-for-byte copy
9760 from Gnulib, and the Gnulib code has been tested reasonably well.
9761 * include/intprops.h: New file, copied from Gnulib.
9762 * include/verify.h, time/mktime-internal.h:
9763 New tiny files, simplified from Gnulib.
9764 * time/mktime.c: Copy from Gnulib. This has the following changes:
9765 Do not include config.h if DEBUG_MKTIME is nonzero.
9766 Include stdbool.h, intprops.h, verify.h.
9767 Include string.h only if needed.
9768 Include stdlib.h on MS-Windows.
9769 Include mktime-internal.h.
9770 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9771 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9772 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9773 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9774 simplify later conditionals; default the others to zero. Use
9775 these conditionals to express only the code needed on the current
9776 platform. In uses of these conditionals, explicitly spell out how
9777 _LIBC affects things, so it’s easier to review from a glibc
9779 (WRAPV): Remove; no longer needed now that we have
9780 systematic overflow checking.
9781 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9782 compartmentalize tzset issues. Move system-dependent tzsettish
9783 code here from mktime.
9784 (verify): Remove; now done by verify.h. All uses changed.
9785 (long_int): Use a more-conservative definition, to avoid
9787 (SHR): Remove, replacing with ...
9788 (shr): New function, which means we needn’t worry about side
9789 effects in args, and conversion analysis is simpler.
9790 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9791 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9792 (time_t_avg, time_t_add_ok): Remove.
9793 (mktime_min, mktime_max): New constants.
9794 (leapyear, isdst_differ): Use bool for booleans.
9795 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9796 Use long_int, not time_t, for mktime differences.
9797 (long_int_avg): New function, replacing time_t_avg.
9798 INT_ADD_WRAPV replaces time_t_add_ok.
9799 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9801 (convert_time): New function.
9802 (ranged_convert): Use it.
9803 (__mktime_internal): Last arg now points to mktime_offset_t, not
9804 time_t. All uses changed. This is a no-op on glibc, where
9805 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9806 offset guess. Directly check for integer overflow instead of
9807 using a heuristic that works only 99.9...% of the time.
9808 Access *OFFSET only once, to avoid an unlikely race if the
9809 compiler delays a load and if this cascades into a signed integer
9811 (mktime): Move tzsettish code to my_tzset, and move
9812 localtime_offset to within mktime so that it doesn’t
9813 need a separate ifdef.
9814 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9815 instead of localtime.
9816 * time/timegm.c: Copy from Gnulib. This has the following changes:
9817 Include mktime-internal.h.
9818 [!_LIBC]: Include config.h and time.h. Do not include
9819 timegm.h or time_r.h. Make __mktime_internal a macro,
9820 and include mktime-internal.h to get its declaration.
9821 (timegm): Temporary is now mktime_offset_t, not time_t.
9822 This affects only Gnulib.
9824 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9827 * string/test-strstr.c (pr23637): New function.
9828 (test_main): Add tests with longer needles.
9829 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9830 * string/strstr.c (AVAILABLE): Likewise.
9832 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9834 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9836 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9838 * NEWS: Mention pow improvements.
9839 * math/Makefile (type-double-routines): Add e_pow_log_data.
9840 * sysdeps/generic/math_private.h (__exp1): Remove.
9841 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9842 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9843 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9845 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9846 (exp_inline): Remove.
9847 (__ieee754_exp): Only single double input is handled.
9848 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9849 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9850 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9851 (__pow_log_data): Define.
9852 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9853 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9854 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9855 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9857 (CFLAGS-e_pow-fma4.c): Likewise.
9859 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9861 Simplify tzfile fstat failure code
9863 * time/tzfile.c (__tzfile_read): Simplify slightly.
9865 Fix tzfile low-memory assertion failure
9867 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9868 when registering time zone abbreviations.
9870 2018-09-18 Joseph Myers <joseph@codesourcery.com>
9872 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9873 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9874 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9875 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9876 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9877 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9878 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9879 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9880 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9882 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9884 (__ceill): Call ceil instead of __ceil.
9885 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9887 (__floorl): Call floor instead of __floor.
9889 2018-09-17 Joseph Myers <joseph@codesourcery.com>
9891 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9892 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9893 using MATH_REDIRECT.
9894 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9896 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9897 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9898 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9899 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9900 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9901 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9902 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9903 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9908 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9909 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9910 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9911 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9912 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9913 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9914 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9916 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9917 functions instead of __ceil variants.
9918 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9919 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9921 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9923 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9924 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9926 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9927 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9930 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9932 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9933 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9934 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9935 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9936 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9937 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9938 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9939 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9940 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9941 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9942 (ILL_BADIADDR): Remove constant.
9943 (TRAP_BRANCH): Likewise.
9944 (TRAP_HWBKPT): Likewise.
9946 2018-09-14 Joseph Myers <joseph@codesourcery.com>
9949 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9950 Remove [_MIPS_SIM = _ABIN32] conditional case.
9951 (struct elf_prpsinfo): Likewise.
9954 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9955 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9956 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9958 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9959 elf_prpsinfo): Likewise.
9960 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9961 elf_prpsinfo): Likewise.
9962 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9965 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9966 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9967 using MATH_REDIRECT.
9968 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9970 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9971 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9972 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9973 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9974 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9975 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9976 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9977 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9978 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9979 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9980 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9981 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9982 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9983 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9984 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9985 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9986 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9987 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9988 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9991 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9992 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9993 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9994 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9995 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9996 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9998 * math/e_scalbf.c (invalid_fn): Likewise.
9999 * math/e_scalbl.c (invalid_fn): Likewise.
10000 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10002 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10004 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10005 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
10006 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10008 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10010 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10012 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
10013 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
10015 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10016 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
10018 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10019 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
10020 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10021 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
10022 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10023 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
10024 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10025 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
10026 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10027 && !NO_MATH_REDIRECT] (floor): Likewise.
10028 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
10030 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
10031 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10032 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10033 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
10034 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10035 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10036 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10037 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
10038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
10039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
10040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
10041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
10042 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10043 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10045 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10046 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10047 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10048 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
10050 [_ARCH_PWR5X] (__floorf): Likewise.
10051 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
10053 [__SSE4_1__] (__floorf): Likewise.
10054 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
10055 instead of __floor variants.
10056 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
10057 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
10058 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
10059 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
10060 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
10061 * math/w_tgamma_compat.c (__tgamma): Likewise.
10062 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
10063 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
10064 * math/w_tgammal_compat.c (__tgammal): Likewise.
10065 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
10066 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10068 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10069 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
10070 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10071 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10073 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10074 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
10076 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10077 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
10079 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10080 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
10082 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10083 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10084 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10085 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
10086 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10087 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10089 2018-09-12 Joseph Myers <joseph@codesourcery.com>
10091 * elf/Makefile (modules-names-tests): New variable.
10093 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10095 * NEWS: Mention log2 improvements.
10096 * math/Makefile (type-double-routines): Add e_log2_data.
10097 * sysdeps/i386/fpu/e_log2_data.c: New file.
10098 * sysdeps/ia64/fpu/e_log2_data.c: New file.
10099 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
10100 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
10101 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
10102 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
10103 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
10105 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10107 * NEWS: Mention log improvement.
10108 * math/Makefile (type-double-routines): Add e_log_data.
10109 * sysdeps/i386/fpu/e_log_data.c: New file.
10110 * sysdeps/ia64/fpu/e_log_data.c: New file.
10111 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
10112 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
10113 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
10114 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
10115 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
10116 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
10118 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
10119 Xuepeng Guo <xuepeng.guo@intel.com>
10122 * sysdeps/i386/start.S: Include <sysdep.h>
10123 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
10124 enabled. Add cfi_undefined (eip).
10126 2018-09-11 Joseph Myers <joseph@codesourcery.com>
10128 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
10130 (EXTRACT_WORDS64): Likewise.
10131 (INSERT_WORDS64): Likewise.
10132 (GET_FLOAT_WORD): Likewise.
10133 (SET_FLOAT_WORD): Likewise.
10135 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
10137 (Config.build_gcc): Use --disable-libsanitizer for first GCC
10138 build, but not for second build if --full-gcc. Use
10139 --enable-languages=all for second build if --full-gcc.
10140 (get_parser): Add --full-gcc option.
10141 (main): Update call to Context.
10143 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
10146 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
10147 Single Quotation Mark).
10148 (thousands_sep): Likewise.
10149 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
10150 * localedata/locales/it_IT (thousands_sep): Use ".".
10151 (grouping): Use "3;3".
10153 2018-09-10 Joseph Myers <joseph@codesourcery.com>
10155 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10156 x86_64 and i686 configs using --enable-obsolete-rpc
10157 --enable-obsolete-nsl.
10159 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10161 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10163 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
10165 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
10166 Increment size of new_argv by one.
10168 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
10171 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
10172 * localedata/locales/ar_IN (d_fmt): Likewise.
10173 * localedata/locales/bhb_IN (d_fmt): Likewise.
10174 * localedata/locales/bho_IN (d_fmt): Likewise.
10175 * localedata/locales/bn_BD (d_fmt): Likewise.
10176 * localedata/locales/bn_IN (d_fmt): Likewise.
10177 * localedata/locales/doi_IN (d_fmt): Likewise.
10178 * localedata/locales/gu_IN (d_fmt): Likewise.
10179 * localedata/locales/hi_IN (d_fmt): Likewise.
10180 * localedata/locales/hne_IN (d_fmt): Likewise.
10181 * localedata/locales/kn_IN (d_fmt): Likewise.
10182 * localedata/locales/mag_IN (d_fmt): Likewise.
10183 * localedata/locales/mai_IN (d_fmt): Likewise.
10184 * localedata/locales/mjw_IN (d_fmt): Likewise.
10185 * localedata/locales/ml_IN (d_fmt): Likewise.
10186 * localedata/locales/mni_IN (d_fmt): Likewise.
10187 * localedata/locales/mr_IN (d_fmt): Likewise.
10188 * localedata/locales/pa_IN (d_fmt): Likewise.
10189 * localedata/locales/raj_IN (d_fmt): Likewise.
10190 * localedata/locales/sat_IN (d_fmt): Likewise.
10191 * localedata/locales/sd_IN (d_fmt): Likewise.
10192 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
10193 * localedata/locales/ta_IN (d_fmt): Likewise.
10194 * localedata/locales/ta_LK (d_fmt): Likewise.
10195 * localedata/locales/tcy_IN (d_fmt): Likewise.
10196 * localedata/locales/ur_IN (d_fmt): Likewise.
10198 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
10199 * localedata/locales/ks_IN (d_fmt): Likewise.
10200 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
10202 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
10203 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
10204 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
10205 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
10207 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
10209 * NEWS: Mention exp and exp2 improvements.
10210 * math/Makefile (libm-support): Remove t_exp.
10211 (type-double-routines): Add math_err and e_exp_data.
10212 * sysdeps/aarch64/libm-test-ulps: Update.
10213 * sysdeps/arm/libm-test-ulps: Update.
10214 * sysdeps/i386/fpu/e_exp_data.c: New file.
10215 * sysdeps/i386/fpu/math_err.c: New file.
10216 * sysdeps/i386/fpu/t_exp.c: Remove.
10217 * sysdeps/ia64/fpu/e_exp_data.c: New file.
10218 * sysdeps/ia64/fpu/math_err.c: New file.
10219 * sysdeps/ia64/fpu/t_exp.c: Remove.
10220 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
10221 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
10222 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
10223 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
10224 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
10225 * sysdeps/ieee754/dbl-64/math_config.h: New file.
10226 * sysdeps/ieee754/dbl-64/math_err.c: New file.
10227 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
10228 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
10229 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
10230 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
10231 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
10232 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
10233 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
10234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10237 2018-09-05 Joseph Myers <joseph@codesourcery.com>
10239 * sysdeps/alpha/fpu/math_private.h: Remove.
10241 * sysdeps/generic/math_private.h
10242 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
10243 Move this inline function ....
10244 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
10245 * include/math.h [!_ISOMAC]: To here....
10247 2018-09-04 Joseph Myers <joseph@codesourcery.com>
10249 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
10251 [!FE_HAVE_ROUNDING_MODES]: And this code ....
10252 * include/fenv.h [!_ISOMAC]: ... to here.
10253 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
10254 (feraiseexcept): Likewise.
10255 * math/fromfp.h: Do not include <fenv_private.h>.
10256 * math/s_cexp_template.c: Likewise.
10257 * math/s_csin_template.c: Likewise.
10258 * math/s_csinh_template.c: Likewise.
10259 * math/s_ctan_template.c: Likewise.
10260 * math/s_ctanh_template.c: Likewise.
10261 * math/s_iseqsig_template.c: Likewise.
10262 * math/w_acos_compat.c: Likewise.
10263 * math/w_acosf_compat.c: Likewise.
10264 * math/w_acosl_compat.c: Likewise.
10265 * math/w_asin_compat.c: Likewise.
10266 * math/w_asinf_compat.c: Likewise.
10267 * math/w_asinl_compat.c: Likewise.
10268 * math/w_j0_compat.c: Likewise.
10269 * math/w_j0f_compat.c: Likewise.
10270 * math/w_j0l_compat.c: Likewise.
10271 * math/w_j1_compat.c: Likewise.
10272 * math/w_j1f_compat.c: Likewise.
10273 * math/w_j1l_compat.c: Likewise.
10274 * math/w_jn_compat.c: Likewise.
10275 * math/w_jnf_compat.c: Likewise.
10276 * math/w_log10_compat.c: Likewise.
10277 * math/w_log10f_compat.c: Likewise.
10278 * math/w_log10l_compat.c: Likewise.
10279 * math/w_log2_compat.c: Likewise.
10280 * math/w_log2f_compat.c: Likewise.
10281 * math/w_log2l_compat.c: Likewise.
10282 * math/w_log_compat.c: Likewise.
10283 * math/w_logf_compat.c: Likewise.
10284 * math/w_logl_compat.c: Likewise.
10285 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10286 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10287 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10288 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10289 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10290 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10291 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10292 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10293 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10294 * sysdeps/ieee754/k_standardl.c: Likewise.
10295 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10296 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10297 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10298 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10299 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10300 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10301 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10302 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10303 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10304 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10305 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10306 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10307 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10308 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10309 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10310 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10311 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10312 * math/w_ilogb_template.c: Include <fenv.h> instead of
10314 * math/w_llogb_template.c: Likewise.
10315 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10316 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10318 2018-09-03 Joseph Myers <joseph@codesourcery.com>
10320 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
10321 * math/fromfp.h: Include <fenv_private.h>.
10322 * math/math-narrow.h: Likewise.
10323 * math/s_cexp_template.c: Likewise.
10324 * math/s_csin_template.c: Likewise.
10325 * math/s_csinh_template.c: Likewise.
10326 * math/s_ctan_template.c: Likewise.
10327 * math/s_ctanh_template.c: Likewise.
10328 * math/s_iseqsig_template.c: Likewise.
10329 * math/w_acos_compat.c: Likewise.
10330 * math/w_acosf_compat.c: Likewise.
10331 * math/w_acosl_compat.c: Likewise.
10332 * math/w_asin_compat.c: Likewise.
10333 * math/w_asinf_compat.c: Likewise.
10334 * math/w_asinl_compat.c: Likewise.
10335 * math/w_ilogb_template.c: Likewise.
10336 * math/w_j0_compat.c: Likewise.
10337 * math/w_j0f_compat.c: Likewise.
10338 * math/w_j0l_compat.c: Likewise.
10339 * math/w_j1_compat.c: Likewise.
10340 * math/w_j1f_compat.c: Likewise.
10341 * math/w_j1l_compat.c: Likewise.
10342 * math/w_jn_compat.c: Likewise.
10343 * math/w_jnf_compat.c: Likewise.
10344 * math/w_llogb_template.c: Likewise.
10345 * math/w_log10_compat.c: Likewise.
10346 * math/w_log10f_compat.c: Likewise.
10347 * math/w_log10l_compat.c: Likewise.
10348 * math/w_log2_compat.c: Likewise.
10349 * math/w_log2f_compat.c: Likewise.
10350 * math/w_log2l_compat.c: Likewise.
10351 * math/w_log_compat.c: Likewise.
10352 * math/w_logf_compat.c: Likewise.
10353 * math/w_logl_compat.c: Likewise.
10354 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10355 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10356 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10357 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10358 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10359 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10360 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10361 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10362 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10363 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10364 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10365 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10366 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
10367 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10368 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10369 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10370 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10371 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10372 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10373 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10374 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10375 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10376 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10377 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10378 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10379 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10380 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10381 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10382 * sysdeps/ieee754/float128/float128_private.h: Likewise.
10383 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10384 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10385 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10386 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10387 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10388 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10389 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10390 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10391 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10392 * sysdeps/ieee754/k_standardl.c: Likewise.
10393 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10394 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10395 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10396 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10397 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10398 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10399 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10400 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10401 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10402 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10403 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10404 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10405 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10406 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10407 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10408 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10409 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10410 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10411 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10412 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10413 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10414 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10415 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10416 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10417 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10418 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10419 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10420 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10421 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10422 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10423 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10424 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10425 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10426 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10427 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10428 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10429 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10430 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10431 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10432 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10433 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10434 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10435 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10436 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10437 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10438 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10439 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10440 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10441 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10442 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10443 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10444 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10445 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10446 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10447 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10448 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10449 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10450 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10451 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10452 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10453 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10454 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10455 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10456 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10457 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10458 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10459 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10460 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10461 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10462 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10463 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10465 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10468 * include/stdio.h (__libc_fatal): Mention newline in comment.
10469 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
10470 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
10471 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10472 * nss/nsswitch.c (__nss_next2): Likewise.
10473 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
10474 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
10475 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
10476 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10477 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
10478 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
10479 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
10480 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
10481 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
10482 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
10483 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
10484 * sysdeps/unix/sysv/linux/netlink_assert_response.c
10485 (__netlink_assert_response): Likewise.
10487 2018-08-31 Joseph Myers <joseph@codesourcery.com>
10489 * conform/glibcconform.py: New file.
10490 * conform/list-header-symbols.py: Likewise.
10491 * conform/list-header-symbols.pl: Remove.
10492 * conform/Makefile (tests-special): Only add linknamespace tests
10494 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
10496 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
10499 * support/Makefile (libsupport-routines): Add
10500 support_copy_file_range and xcopy_file_range.
10501 * support/support.h: Include <sys/types.h>.
10502 (support_copy_file_range): New prototype.
10503 * support/support_copy_file_range.c: New file. Copied and
10504 modified from io/copy_file_range-compat.c.
10505 * support/test-container.c (copy_one_file): Call xcopy_file_rang
10506 instead of copy_file_range.
10507 * support/xcopy_file_range.c: New file.
10508 * support/xunistd.h (xcopy_file_range): New prototype.
10510 2018-08-30 Carlos O'Donell <carlos@redhat.com>
10512 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
10513 xpthread_create and xpthread_join.
10515 2018-08-30 Florian Weimer <fweimer@redhat.com>
10517 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
10519 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
10521 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
10524 2018-08-29 Joseph Myers <joseph@codesourcery.com>
10526 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
10527 and minus_oflow as non-finite.
10529 2018-08-28 Joseph Myers <joseph@codesourcery.com>
10531 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
10532 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
10533 moved to fenv_private.h except for ...
10534 (TOINT_INTRINSICS): Kept in math_private.h.
10535 (roundtoint): Likewise.
10536 (converttoint): Likewise.
10537 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
10538 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10539 * sysdeps/arm/math_private.h: Remove.
10540 * sysdeps/generic/fenv_private.h: New file. Contents moved from
10542 * sysdeps/generic/math_private.h: ... this file. Include
10543 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
10544 Include <fenv_private.h>. Remove functions and macros moved to
10546 * sysdeps/i386/fpu/math_private.h: Remove.
10547 * sysdeps/mips/math_private.h: Move to ....
10548 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
10549 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
10550 [__mips_hard_float] conditional. Include next <fenv_private.h>.
10551 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
10552 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10553 * sysdeps/powerpc/fpu/math_private.h: Do not include
10555 * sysdeps/riscv/rvf/math_private.h: Move to ....
10556 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
10557 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
10559 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
10560 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10561 * sysdeps/sparc/fpu/math_private.h: Remove.
10562 * sysdeps/i386/fpu/fenv_private.h: Move to ....
10563 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
10564 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
10566 * sysdeps/x86_64/fpu/math_private.h: Do not include
10567 <sysdeps/i386/fpu/fenv_private.h>.
10569 2018-08-28 Florian Weimer <fweimer@redhat.com>
10572 * posix/tst-regcomp-truncated.c: New file.
10573 * posix/Makefile (tests): Add it.
10574 (tst-regcomp-truncated.out): Depend on generated locales.
10576 2018-08-28 Florian Weimer <fweimer@redhat.com>
10578 * support/test-container.c (main): Treat unshare failure with
10579 EPERM as an unsupported test.
10581 2018-08-28 Florian Weimer <fweimer@redhat.com>
10584 nscd: Fix use-after-free in addgetnetgrentX and its callers.
10585 * nscd/netgroupcache.c
10586 (addgetnetgrentX): Add tofreep parameter. Do not free
10587 heap-allocated buffer.
10588 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
10589 (addgetnetgrentX_ignore): New function.
10590 (addgetnetgrent): Call it.
10591 (readdgetnetgrent): Likewise.
10593 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10595 * string/memmem.c: Use memcmp for first match.
10597 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
10600 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
10602 2018-08-27 DJ Delorie <dj@redhat.com>
10604 * support/Makefile (others): Don't list programs explicitly as a
10605 dependency of "others".
10607 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10609 * sysdeps/generic/math-tests-trap-force.h: New file.
10610 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10611 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10612 * sysdeps/powerpc/math-tests.h: Remove file.
10613 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10615 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10616 Torvald Riegel <triegel@redhat.com>
10619 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10620 Update r to include the set wake-request flag if waiters are
10621 remaining after spinning.
10623 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10625 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10627 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10630 regex: fix uninitialized memory access
10631 I introduced this bug into gnulib in commit
10632 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10633 eventually it was merged into glibc. The bug was found by
10634 project-repo <bugs@feusi.co> and reported here:
10635 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10636 Diagnosis and draft fix reported by Assaf Gordon here:
10637 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10638 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10639 * posix/regex_internal.c (build_wcs_upper_buffer):
10640 Fix bug when mbrtowc returns 0.
10642 2018-08-24 Carlos O'Donell <carlos@redhat.com>
10644 * po/be.po: Update translation.
10646 2018-08-24 DJ Delorie <dj@delorie.com>
10648 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10651 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10654 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10655 create temporary files in source tree.
10657 2018-08-24 Joseph Myers <joseph@codesourcery.com>
10659 * sysdeps/generic/math-tests-trap.h: New file.
10660 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10661 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10662 * sysdeps/aarch64/math-tests.h: Remove file.
10663 * sysdeps/arm/math-tests.h: Likewise.
10664 * sysdeps/riscv/math-tests.h: Likewise.
10665 * sysdeps/aarch64/math-tests-trap.h: New file.
10666 * sysdeps/arm/math-tests-trap.h: Likewise.
10667 * sysdeps/riscv/math-tests-trap.h: Likewise.
10669 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10671 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
10672 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
10673 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
10674 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
10675 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
10676 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
10677 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10678 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
10679 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
10680 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10681 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10682 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10683 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10684 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
10685 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
10686 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
10687 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10688 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10690 2018-08-23 Joseph Myers <joseph@codesourcery.com>
10692 * sysdeps/generic/math-tests-exceptions.h: New file.
10693 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
10694 (EXCEPTION_TESTS_float): Do not define here.
10695 (EXCEPTION_TESTS_double): Likewise.
10696 (EXCEPTION_TESTS_long_double): Likewise.
10697 (EXCEPTION_TESTS_float128): Likewise.
10698 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
10700 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
10701 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
10702 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
10703 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
10704 * sysdeps/mips/math-tests.h: Likewise.
10705 * sysdeps/nios2/math-tests.h: Likewise.
10706 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10707 (EXCEPTION_TESTS_float): Do not define here.
10708 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
10709 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
10710 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
10712 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10714 * NEWS: Move optimized sinf entry to 2.29.
10716 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10718 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
10720 2018-08-22 DJ Delorie <dj@redhat.com>
10722 * Makefile (testroot.pristine): New rules to initialize the
10723 test-in-container "testroot".
10724 * Makerules (all-testsuite): Add tests-container.
10725 * Rules (tests-expected): Add tests-container.
10726 (binaries-all-tests): Likewise.
10727 (tests-container): New, run these tests in the testroot container.
10728 * support/Makefile (others): Add *-container, support_paths.c,
10729 xmkdirp, and links-dso-program.
10730 * support/links-dso-program-c.c: New.
10731 * support/links-dso-program.cc: New.
10732 * support/test-container.c: New.
10733 * support/shell-container.c: New.
10734 * support/echo-container.c: New.
10735 * support/true-container.c: New.
10736 * support/xmkdirp.c: New.
10737 * support/xsymlink.c: New.
10738 * support/support_paths.c: New.
10739 * support/support.h: Add support paths prototypes.
10740 * support/xunistd.h: Add xmkdirp () and xsymlink ().
10742 * nss/tst-nss-test3.c: Convert to test-in-container.
10743 * nss/tst-nss-test3.root/: New.
10745 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
10747 regex: port Gnulib code to z/OS POSIX environment
10748 Problem reported by Arnold Robbins in:
10749 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
10750 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
10753 2018-08-22 Joseph Myers <joseph@codesourcery.com>
10755 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
10756 (ROUNDING_TESTS_double): Remove.
10757 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
10758 (ROUNDING_TESTS_double): Remove.
10759 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
10760 (ROUNDING_TESTS_double): Remove.
10761 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
10762 (ROUNDING_TESTS_float): Remove.
10763 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10764 (ROUNDING_TESTS_float): Remove.
10765 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10766 (ROUNDING_TESTS_float): Remove.
10767 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10768 !TEST_MATHVEC here.
10769 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10770 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10772 * sysdeps/generic/math-tests-rounding.h: New file.
10773 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10774 (ROUNDING_TESTS_float): Do not define here.
10775 (ROUNDING_TESTS_double): Likewise.
10776 (ROUNDING_TESTS_long_double): Likewise.
10777 (ROUNDING_TESTS_float128): Likewise.
10778 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10779 (ROUNDING_TESTS_double): Undefine before defining.
10780 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10781 (ROUNDING_TESTS_double): Undefine before defining.
10782 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10783 (ROUNDING_TESTS_double): Undefine before defining.
10784 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10785 (ROUNDING_TESTS_float): Undefine before defining.
10786 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10787 (ROUNDING_TESTS_float): Undefine before defining.
10788 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10789 (ROUNDING_TESTS_float): Undefine before defining.
10790 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10791 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10793 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10794 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10795 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10796 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10797 (ROUNDING_TESTS_float): Do not define here.
10798 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10799 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10800 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10801 (ROUNDING_TESTS_float): Likewise.
10802 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10803 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10804 * sysdeps/mips/math-tests.h [__mips_soft_float]
10805 (ROUNDING_TESTS_float): Likewise.
10806 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10807 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10808 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10809 (ROUNDING_TESTS_double): Likewise.
10810 (ROUNDING_TESTS_long_double): Likewise.
10812 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
10814 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10815 (PF_XDP): New macro.
10816 (AF_XDP): New macro.
10817 (SOL_XDP): New macro.
10819 2018-08-21 Joseph Myers <joseph@codesourcery.com>
10821 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10822 (TCP_INQ): Likewise.
10823 (TCP_CM_INQ): Likewise.
10824 (TCP_REPAIR_ON): Likewise.
10825 (TCP_REPAIR_OFF): Likewise.
10826 (TCP_REPAIR_OFF_NO_WP): Likewise.
10827 (struct tcp_zerocopy_receive): New type.
10829 2018-08-21 Florian Weimer <fweimer@redhat.com>
10831 * support/support.h (support_descriptor_supports_holes): Declare.
10832 * support/Makefile (libsupport-routines): Add
10833 support_descriptor_supports_holes.
10834 * support/support_descriptor_supports_holes.c: New file.
10835 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10836 and stop testing if holes are not supported.
10837 * io/test-lfs.c (do_prepare): Likewise.
10838 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10840 * timezone/tst-tzset.c (create_tz_file): Likewise.
10841 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10843 (do_prepare): Set it.
10844 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10846 2018-08-21 Florian Weimer <fweimer@redhat.com>
10849 * Makeconfig (+cflags): Do not sort (and deduplicate).
10851 2018-08-21 Florian Weimer <fweimer@redhat.com>
10853 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10854 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10856 2018-08-20 Florian Weimer <fweimer@redhat.com>
10858 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10859 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10861 2018-08-20 Joseph Myers <joseph@codesourcery.com>
10863 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10864 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10865 and ssi_arch members.
10867 * elf/elf.c (NT_VMCOREDD): New macro.
10868 (AT_MINSIGSTKSZ): Likewise.
10870 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10872 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10873 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10874 s_cosf-ppc64 and s_cosf-power8.
10875 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10876 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10877 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10878 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10885 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10886 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10888 2018-08-17 Florian Weimer <fweimer@redhat.com>
10890 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10892 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10894 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10896 2018-08-16 Florian Weimer <fweimer@redhat.com>
10898 * configure.ac: Add --with-nonshared-cflags option.
10899 * config.make.in (extra-nonshared-cflags): Set variable.
10900 * Makeconfig (CFLAGS-.oS): Use it.
10901 * manual/install.texi (Configuring and compiling): Document
10902 --with-nonshared-cflags.
10903 * configure: Regenerate.
10904 * INSTALL: Likewise.
10906 2018-08-16 Florian Weimer <fweimer@redhat.com>
10908 * Makeconfig (ASFLAGS): Always append required assembler flags.
10910 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
10912 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10913 (malloc_consolidate): Likewise.
10915 2018-08-16 Pochang Chen <johnchen902@gmail.com>
10917 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10919 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10921 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10924 * benchtests/bench-strlen.c: Print performance numbers in json.
10926 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10928 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10929 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10930 only for little endian.
10931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10932 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10933 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10934 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10935 Add check for little endian.
10936 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10937 (__strcmp_power9): Add check for little endian.
10938 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10939 Add check for little endian.
10940 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10941 (__strncmp_power9): Add check for little endian.
10942 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10943 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10944 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10945 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10946 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10948 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10950 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10951 [!STRLEN](STRLEN): Set to __strlen.
10952 * sysdeps/aarch64/multiarch/strlen.c: New file.
10953 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10954 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10955 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10956 (__libc_ifunc_impl_list): Add strlen.
10957 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10958 strlen_generic and strlen_asimd.
10960 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10962 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10963 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10964 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10966 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10968 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10970 2018-08-14 Florian Weimer <fweimer@redhat.com>
10973 * include/stdio.h (__vfxprintf): Declare.
10974 * stdio-common/fxprintf.c (__vfxprintf): New function.
10975 (__fxprintf): Call it.
10976 * misc/err.c (convert_and_print): Remove function.
10977 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10978 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10979 * misc/Makefile (tests): Add tst-warn-wide.
10980 * misc/tst-warn-wide.c: New file.
10982 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10983 Szabolcs Nagy <szabolcs.nagy@arm.com>
10985 * NEWS: Mention sinf, cosf, sincosf.
10986 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10987 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10988 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10989 constants rather than including generic sincosf.h.
10990 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10991 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10992 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10993 (reduced_cos): Remove.
10994 (sinf_poly): New function.
10995 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10997 2018-08-14 Florian Weimer <fweimer@redhat.com>
11001 * nss/nss_files/files-alias.c (get_next_alias): During :include:
11002 processing, bail out if no room, and close the stream before
11004 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
11005 (tst-nss-files-alias-leak): Link with libdl.
11006 (tst-nss-files-alias-leak.out): Depend on nss_files.
11008 * nss/tst-nss-files-alias-leak.c: New file.
11010 2018-08-14 Florian Weimer <fweimer@redhat.com>
11012 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
11013 server_user, stat_user.
11015 2018-08-13 Joseph Myers <joseph@codesourcery.com>
11017 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11019 (io_pgetevents): New syscall.
11022 * manual/install.texi (Configuring and compiling): Do not list
11023 tools used for testing pretty printers here.
11024 (Tools for Compilation): List Python, PExpect and GDB here.
11025 Update descriptions of uses of Perl and Python.
11026 * INSTALL: Regenerate.
11028 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11031 2018-08-13 Florian Weimer <fweimer@redhat.com>
11033 * misc/error.c (error): Add missing va_end call.
11034 (error_at_line): Likewise.
11036 2018-08-13 Florian Weimer <fweimer@redhat.com>
11038 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
11040 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11042 * benchtests/scripts/benchout.schema.json (properties): Add
11045 * benchtests/bench-skeleton.c (main): Add duration and
11046 iterations attributes.
11048 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
11050 regex: Gnulib unibyte RRI uses bytes not chars
11051 Adjust the non-glibc code to agree with what Gawk needs for
11052 rational range interpretation (RRI) for regular expression ranges.
11053 In unibyte locales, Gawk wants ranges to use the underlying byte
11054 rather than the character code point. This change does not affect
11056 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
11057 In unibyte locales, use the byte value rather than
11058 running it through btowc.
11060 2018-08-10 Joseph Myers <joseph@codesourcery.com>
11062 * sysdeps/generic/math-tests-snan.h: New file.
11063 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
11064 (SNAN_TESTS_float): Do not define here.
11065 (SNAN_TESTS_double): Likewise.
11066 (SNAN_TESTS_long_double): Likewise.
11067 (SNAN_TESTS_float128): Likewise.
11068 * sysdeps/i386/fpu/math-tests-snan.h: New file.
11069 * sysdeps/i386/fpu/math-tests.h: Remove file.
11070 * sysdeps/ia64/math-tests-snan.h: New file.
11071 * sysdeps/ia64/math-tests.h: Remove file.
11072 * sysdeps/x86/math-tests.h: Likewise.
11073 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
11075 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11076 Szabolcs Nagy <szabolcs.nagy@arm.com>
11078 * math/Makefile: Add s_sincosf_data.c.
11079 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
11080 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
11081 (sincosf_poly): Likewise.
11082 (reduce_small): Likewise.
11083 (reduce_large): Likewise.
11084 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
11085 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
11086 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
11087 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
11089 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11090 Szabolcs Nagy <szabolcs.nagy@arm.com>
11092 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
11093 (converttoint): Use lround.
11094 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
11095 document the semantics when TOINT_INTRINSICS is set.
11096 (converttoint): Likewise.
11097 (TOINT_RINT): Remove.
11098 (TOINT_SHIFT): Remove.
11099 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
11102 2018-08-10 Florian Weimer <fweimer@redhat.com>
11105 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
11107 (__old_getdents64): Use getdents64. Convert entries without
11109 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
11110 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
11111 tst-readdir64-compat.
11113 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11115 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
11118 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11120 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
11121 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
11122 code to s390x-mcount.h and #include it.
11123 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
11124 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11127 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11129 * stdlib/Versions: Remove __fentry__.
11130 * sysdeps/i386/Versions: Add __fentry__.
11131 * sysdeps/x86_64/Versions: Add __fentry__.
11133 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11135 * sysdeps/s390/Makefile: Register the new tests.
11136 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
11137 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
11138 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
11139 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
11140 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
11141 * sysdeps/s390/tst-dl-runtime.c: New file.
11143 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11145 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11148 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11150 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11153 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11155 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11158 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11160 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11163 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11165 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11166 Use symbolic offsets for stack variables.
11168 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11170 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11171 Use symbolic offsets for stack variables.
11173 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11175 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11176 Use symbolic offsets for stack variables.
11178 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11180 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11181 Use symbolic offsets for stack variables.
11183 2018-08-09 Joseph Myers <joseph@codesourcery.com>
11185 * math/gen-libm-test.py: New file.
11186 * math/gen-libm-test.pl: Remove.
11187 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
11188 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
11190 ($(libm-test-c-noauto-obj)): Likewise.
11191 ($(libm-test-c-auto-obj)): Likewise.
11192 ($(libm-test-c-narrow-obj)): Likewise.
11193 (regen-ulps): Likewise.
11194 * math/README.libm-test: Update references to gen-libm-test.pl.
11195 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
11196 referencing gen-libm-test.pl.
11197 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
11198 * math/libm-test-support.c: Likewise.
11199 * math/libm-test-support.h: Likewise.
11200 * sysdeps/generic/libm-test-ulps: Likewise.
11202 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
11204 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
11207 2018-08-08 Joseph Myers <joseph@codesourcery.com>
11209 * math/libm-test-nextdown.inc (do_test): Move comment to ....
11210 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
11212 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
11214 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
11216 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
11217 __pthread_setspecific): Add hidden proto.
11218 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
11219 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
11221 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11223 * benchtests/bench-string.h (buf1_size, buf2_size): New
11225 (init_sizes): New function.
11226 (test_init): Use it.
11227 (alloc_buf, exit_error): New functions.
11228 (alloc_bufs): Use ALLOC_BUF.
11229 (realloc_bufs): Remove.
11230 * benchtests/bench-memcmp.c (do_test): Adjust.
11231 * benchtests/bench-memset-large.c (do_test): Likewise.
11232 * benchtests/bench-memset-walk.c (do_test): Likewise.
11233 * benchtests/bench-memset.c (do_test): Likewise.
11234 * benchtests/bench-strncmp.c (do_test): Likewise.
11236 2018-08-06 Andreas Schwab <schwab@suse.de>
11238 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
11239 of CONST_THREAD_AREA.
11241 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
11243 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
11244 (STATE_SAVE_MASK): Likewise.
11245 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
11246 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
11247 (STATE_SAVE_MASK): Likewise.
11248 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
11249 instead of <cpu-features.h>.
11251 2018-08-03 DJ Delorie <dj@redhat.com>
11253 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
11254 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
11256 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
11258 2018-08-03 Joseph Myers <joseph@codesourcery.com>
11260 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
11261 after TEST_* calls.
11262 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
11263 * math/libm-test-logb.inc (logb_test_data): Likewise.
11265 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
11267 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
11268 * string/strstr.c (AVAILABLE): Likewise.
11270 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11272 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
11274 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
11275 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
11276 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
11278 2018-08-03 Carlos O'Donell <carlos@redhat.com>
11280 * po/be.po: Update translation.
11282 * po/be.po: Update translation.
11284 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11286 * sysdeps/x86/cpu-features-offsets.sym
11287 (rtld_global_ro_offsetof): Removed.
11288 (CPU_FEATURES_SIZE): Likewise.
11289 (CPUID_OFFSET): Likewise.
11290 (CPUID_SIZE): Likewise.
11291 (CPUID_EAX_OFFSET): Likewise.
11292 (CPUID_EBX_OFFSET): Likewise.
11293 (CPUID_ECX_OFFSET): Likewise.
11294 (CPUID_EDX_OFFSET): Likewise.
11295 (FAMILY_OFFSET): Likewise.
11296 (MODEL_OFFSET): Likewise.
11297 (FEATURE_OFFSET): Likewise.
11298 (FEATURE_SIZ): Likewise.
11299 (COMMON_CPUID_INDEX_1): Likewise.
11300 (COMMON_CPUID_INDEX_7): Likewise.
11301 (FEATURE_INDEX_1): Likewise.
11302 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
11304 2018-08-02 Carlos O'Donell <carlos@redhat.com>
11306 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
11307 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
11308 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
11309 (install-locales): Depend on install-locale-archive.
11310 (install-locale-archive): Define.
11311 (install-locale-files): Define.
11312 (build-one-locale): Define macro.
11313 * manual/install.texi (Running make install): Document.
11314 * manual/INSTALL: Regenerate.
11316 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
11318 * benchtests/scripts/compare_strings.py: Import traceback.
11319 (parse_file): Pretty-print error.
11321 * NEWS: Mention the change.
11322 * elf/dl-tunables.list: Rename tune namespace to cpu.
11323 * sysdeps/powerpc/dl-tunables.list: Likewise.
11324 * sysdeps/x86/dl-tunables.list: Likewise.
11325 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
11327 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
11328 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
11329 * manual/README.tunables: Likewise.
11330 * manual/tunables.texi: Likewise.
11331 * sysdeps/powerpc/cpu-features.c: Likewise.
11332 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
11333 (init_cpu_features): Likewise.
11334 * sysdeps/x86/cpu-features.c: Likewise.
11335 * sysdeps/x86/cpu-features.h: Likewise.
11336 * sysdeps/x86/cpu-tunables.c: Likewise.
11337 * sysdeps/x86_64/Makefile: Likewise.
11338 * sysdeps/x86/dl-cet.c: Likewise.
11340 2018-08-02 Joseph Myers <joseph@codesourcery.com>
11343 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
11344 [__mips_hard_float].
11345 (FE_UNDERFLOW): Likewise.
11346 (FE_OVERFLOW): Likewise.
11347 (FE_DIVBYZERO): Likewise.
11348 (FE_INVALID): Likewise.
11349 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
11350 (FE_TOWARDZERO): Define only if [__mips_hard_float].
11351 (FE_UPWARD): Likewise.
11352 (FE_DOWNWARD): Likewise.
11353 (__FE_UNDEFINED): Define if [!__mips_hard_float]
11354 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
11355 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
11356 [__mips_hard_float].
11357 (FP_ROUNDMODE): Likewise.
11358 (FP_RND_NEAREST): Likewise.
11359 (FP_RND_ZERO): Likewise.
11360 (FP_RND_PINF): Likewise.
11361 (FP_RND_MINF): Likewise.
11362 (FP_EX_INVALID): Likewise.
11363 (FP_EX_OVERFLOW): Likewise.
11364 (FP_EX_UNDERFLOW): Likewise.
11365 (FP_EX_DIVZERO): Likewise.
11366 (FP_EX_INEXACT): Likewise.
11367 (FP_INIT_ROUNDMODE): Likewise.
11368 * sysdeps/mips/nofpu/fesetenv.c: New file.
11369 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
11371 2018-08-01 Joseph Myers <joseph@codesourcery.com>
11373 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
11374 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
11375 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
11376 conditional on [FE_UPWARD].
11378 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
11380 regex: fix memory leak in Gnulib
11381 Problem and fix reported by Assaf Gordon in:
11382 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
11383 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
11384 range_ends members too, as they are defined in 'struct
11385 re_charset_t' even if not _LIBC. This affects only Gnulib.
11387 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
11389 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
11391 (get_common_indices): This.
11392 (init_cpu_features): Updated.
11394 2018-08-01 Joseph Myers <joseph@codesourcery.com>
11396 * sysdeps/generic/math-tests-snan-payload.h: New file.
11397 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
11398 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
11399 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
11400 * sysdeps/generic/math-tests.h: Include
11401 <math-tests-snan-payload.h>.
11402 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11403 * sysdeps/hppa/math-tests.h: Remove file.
11404 * sysdeps/mips/math-tests.h [!__mips_nan2008]
11405 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11406 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
11409 * sysdeps/generic/math-tests-snan-cast.h: New file.
11410 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
11411 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
11412 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
11413 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
11415 2018-08-01 Carlos O'Donel <carlos@redhat.com>
11417 * version.h (RELEASE): Set to "development".
11418 (VERSION): Set to "2.28.9000".
11419 * NEWS (2.29): New section.
11421 * version.h (RELEASE): Set to "stable".
11422 (VERSION): Set to "2.28".
11423 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
11424 * NEWS: Add the list of bugs fixed in 2.28.
11426 * po/ca.po: Update to latest version.
11427 * po/cs.po: Likewise
11428 * po/da.po: Likewise
11429 * po/el.po: Likewise
11430 * po/eo.po: Likewise
11431 * po/es.po: Likewise
11432 * po/fi.po: Likewise
11433 * po/fr.po: Likewise
11434 * po/gl.po: Likewise
11435 * po/hu.po: Likewise
11436 * po/ia.po: Likewise
11437 * po/id.po: Likewise
11438 * po/it.po: Likewise
11439 * po/ja.po: Likewise
11440 * po/ko.po: Likewise
11441 * po/lt.po: Likewise
11442 * po/nb.po: Likewise
11443 * po/nl.po: Likewise
11444 * po/pt_BR.po: Likewise
11445 * po/ru.po: Likewise
11446 * po/rw.po: Likewise
11447 * po/sk.po: Likewise
11448 * po/sl.po: Likewise
11449 * po/tr.po: Likewise
11450 * po/zh_CN.po: Likewise
11451 * po/zh_TW.po: Likewise
11453 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11455 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
11457 (init): ... before initializing libpthread.
11459 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
11460 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
11461 (__mach_setup_tls): ... new function.
11462 (mach_setup_tls): New alias.
11463 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
11464 __mach_setup_thread.
11465 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
11466 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
11467 * mach/Versions [libc] (mach_setup_tls): Add symbol.
11468 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
11470 2018-07-31 Carlos O'Donell <carlos@redhat.com>
11472 * manual/install.texi: Update versions.
11473 * INSTALL: Regenerate.
11475 * manual/contrib.texi (Contributors): Update contributions.
11477 2018-07-31 Carlos O'Donell <carlos@redhat.com>
11479 * po/be.po: Update translations.
11481 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11483 * sysdeps/sh/libm-test-ulps: Update.
11485 2018-07-30 Carlos O'Donell <carlos@redhat.com>
11487 * po/bg.po: Update translations.
11488 * po/de.po: Likewise.
11489 * po/hr.po: Likewise.
11490 * po/pt_BR.po: Likewise.
11491 * po/sv.po: Likewise.
11492 * po/vi.po: Likewise.
11494 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11497 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11498 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
11499 (CFLAGS-tst-cet-property-1.o): New.
11500 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
11501 ($(objpfx)tst-cet-property-2): Likewise.
11502 ($(objpfx)tst-cet-property-2.out): Likewise.
11503 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
11504 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
11505 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
11506 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
11507 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
11509 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11512 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
11514 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11516 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
11517 __sbrk): Do not set attribute_hidden.
11518 * sysdeps/mach/hurd/not-errno.h: New file.
11519 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11520 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
11522 2018-07-27 Carlos O'Donell <carlos@redhat.com>
11524 * po/uk.po: Update translations.
11525 * po/cs.po: Likewise.
11526 * po/pl.po: Likewise.
11528 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
11530 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
11531 parse beyond the note end.
11533 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11535 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
11536 kernel does not support OFD locks.
11537 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
11539 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11541 * sysdeps/mach/hurd/Versions (libc): Make __access and
11542 __access_noerrno external so they can override the ld symbols.
11543 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
11544 __writev, __open64, __access_noerrno extern so they can be overrided.
11545 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
11546 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11548 2018-07-26 Carlos O'Donell <carlos@redhat.com>
11550 * po/libc.pot: Regenerate.
11552 2018-07-26 Joseph Myers <joseph@codesourcery.com>
11554 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
11556 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11559 * sysdeps/x86/cpu-features.c (get_extended_indices): New
11561 (init_cpu_features): Call get_extended_indices for both Intel
11563 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
11564 Remove "for AMD" comment.
11566 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11569 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
11570 COMMON_CPUID_INDEX_80000001.
11572 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
11574 * string/tst-xbzero-opt.c (use_test_buffer): New function.
11575 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
11577 2018-07-26 Florian Weimer <fweimer@redhat.com>
11579 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
11580 aliases for symbols not in the implementation namespace.
11582 2018-07-25 Carlos O'Donell <carlos@redhat.com>
11585 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
11586 lowercase in LATIN script.
11587 * localedata/Makefile (test-input): Add en_US.UTF-8.
11588 * localedata/en_US.UTF-8.in: New file.
11589 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
11590 and restore old tests.
11591 * posix/tst-regexloc.c (do_test): Add back range expression test.
11593 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11595 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
11597 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11599 * nptl/threads.h: Move to ...
11600 * sysdeps/nptl/threads.h: ... here.
11601 * sysdeps/hurd/stdc-predef.h: New file.
11603 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11605 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11606 tst-cet-setcontext-1 if CET is enabled.
11607 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
11608 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
11610 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11612 * include/threads.h: Move to ...
11613 * sysdeps/nptl/threads.h: ... here.
11614 * sysdeps/htl/threads.h: New file.
11615 * conform/Makefile (linknamespace-libs-ISO11): Use
11616 static-thread-library instead of linking libpthread.
11617 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11619 2018-07-25 Florian Weimer <fweimer@redhat.com>
11621 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11622 nanoseconds into seconds.
11623 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11624 (do_test): Likewise.
11625 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11626 (do_test): Likewise. Avoid nanosecond overflow and spurious
11627 timeouts due to system load.
11628 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11629 (child_wait): Increment it.
11630 (do_test): Wait as long as necessary until all expected threads
11633 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11634 H.J. Lu <hongjiu.lu@intel.com>
11636 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11638 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11639 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11640 (__push___start_context): New.
11641 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11643 (__getcontext): Record the current shadow stack base. Save the
11644 caller's shadow stack pointer and base.
11645 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11646 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11647 (__push___start_context): New prototype.
11648 (__makecontext): Call __push___start_context to allocate a new
11649 shadow stack, push __start_context onto the new stack as well
11650 as the new shadow stack.
11651 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11653 (__setcontext): Restore the target shadow stack.
11654 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11656 (__swapcontext): Record the current shadow stack base. Save
11657 the caller's shadow stack pointer and base. Restore the target
11659 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11660 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11661 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11663 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11665 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
11666 tst-setcontext8 and tst-setcontext9.
11667 * stdlib/tst-setcontext6.c: New file.
11668 * stdlib/tst-setcontext7.c: Likewise.
11669 * stdlib/tst-setcontext8.c: Likewise.
11670 * stdlib/tst-setcontext9.c: Likewise.
11672 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11674 * stdlib/Makefile ((tests): Add tst-setcontext5.
11675 * stdlib/tst-setcontext5.c: New file.
11677 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11679 * stdlib/Makefile (tests): Add tst-setcontext4.
11680 * stdlib/tst-setcontext4.c: New file.
11682 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11684 * stdlib/Makefile (tests): Add tst-swapcontext1.
11685 * stdlib/tst-swapcontext1.c: New test.
11687 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11689 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
11690 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
11691 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
11692 and tst-cet-legacy-4c.
11693 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
11694 and tst-cet-legacy-mod-4.
11695 (CFLAGS-tst-cet-legacy-2.c): New.
11696 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
11697 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
11698 (CFLAGS-tst-cet-legacy-3.c): Likewise.
11699 (CFLAGS-tst-cet-legacy-4.c): Likewise.
11700 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
11701 ($(objpfx)tst-cet-legacy-1): Likewise.
11702 ($(objpfx)tst-cet-legacy-2): Likewise.
11703 ($(objpfx)tst-cet-legacy-2.out): Likewise.
11704 ($(objpfx)tst-cet-legacy-2a): Likewise.
11705 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
11706 ($(objpfx)tst-cet-legacy-4): Likewise.
11707 ($(objpfx)tst-cet-legacy-4.out): Likewise.
11708 ($(objpfx)tst-cet-legacy-4a): Likewise.
11709 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
11710 (tst-cet-legacy-4a-ENV): Likewise.
11711 ($(objpfx)tst-cet-legacy-4b): Likewise.
11712 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
11713 (tst-cet-legacy-4b-ENV): Likewise.
11714 ($(objpfx)tst-cet-legacy-4c): Likewise.
11715 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
11716 (tst-cet-legacy-4c-ENV): Likewise.
11717 * sysdeps/x86/tst-cet-legacy-1.c: New file.
11718 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
11719 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
11720 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
11721 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
11722 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
11723 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
11724 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
11725 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
11726 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
11727 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
11729 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11731 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11732 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11734 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11735 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11738 2018-07-25 Andreas Schwab <schwab@suse.de>
11741 * locale/weightwc.h (findidx): Handle the case where usrc is a
11742 prefix of cp but one character too short.
11744 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11746 * NEWS: Add ISO C threads addition.
11748 2018-07-24 Florian Weimer <fweimer@redhat.com>
11750 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11751 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
11752 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
11755 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11757 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
11758 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
11759 <sys/prctl.h> and <asm/prctl.h>.
11760 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
11761 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
11763 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11764 ARCH_CET_LEGACY_BITMAP.
11765 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11766 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11767 * sysdeps/x86/libc-start.c: Include <startup.h>.
11769 2018-07-24 Florian Weimer <fweimer@redhat.com>
11771 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11772 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11774 2018-07-24 Rical Jasan <rj@2c3t.io>
11775 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11776 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11779 * manual/debug.texi: Update adjacent chapter name.
11780 * manual/probes.texi: Likewise.
11781 * manual/threads.texi (ISO C Threads): New section.
11782 (POSIX Threads): Convert to a section.
11784 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11785 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11788 * nptl/Makefile (tests): Add new test files.
11789 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11790 * nptl/tst-cnd-basic.c: Likewise.
11791 * nptl/tst-cnd-broadcast.c: Likewise.
11792 * nptl/tst-cnd-timedwait.c: Likewise.
11793 * nptl/tst-mtx-basic.c: Likewise.
11794 * nptl/tst-mtx-recursive.c: Likewise.
11795 * nptl/tst-mtx-timedlock.c: Likewise.
11796 * nptl/tst-mtx-trylock.c: Likewise.
11797 * nptl/tst-thrd-basic.c: Likewise.
11798 * nptl/tst-thrd-detach.c: Likewise.
11799 * nptl/tst-thrd-sleep.c: Likewise.
11800 * nptl/tst-tss-basic.c: Likewise.
11802 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11805 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11806 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11808 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11809 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11810 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11811 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11812 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11813 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11814 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11815 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11816 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11817 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11818 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11819 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11827 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11828 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11829 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11830 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11831 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11832 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11833 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11834 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11835 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11836 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11837 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11838 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11839 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11841 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11842 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11843 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11844 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11845 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11846 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11847 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11848 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11849 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11850 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11851 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11852 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11859 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11860 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11861 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11862 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11863 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11864 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11865 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11866 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11869 * conform/data/threads.h-data (thread_local): New macro.
11870 (TSS_DTOR_ITERATIONS): Likewise.
11872 (tss_dtor_t): Likewise.
11873 (tss_create): New function.
11874 (tss_get): Likewise.
11875 (tss_set): Likewise.
11876 (tss_delete): Likewise.
11877 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11878 tss_get, and tss_set objects.
11879 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11880 * nptl/tss_create.c: New file.
11881 * nptl/tss_delete.c: Likewise.
11882 * nptl/tss_get.c: Likewise.
11883 * nptl/tss_set.c: Likewise.
11884 * sysdeps/nptl/threads.h (thread_local): New define.
11885 (TSS_DTOR_ITERATIONS): Likewise.
11886 (tss_t): New typedef.
11887 (tss_dtor_t): Likewise.
11888 (tss_create): New prototype.
11889 (tss_get): Likewise.
11890 (tss_set): Likewise.
11891 (tss_delete): Likewise.
11894 * conform/data/threads.h-data (cnd_t): New type.
11895 (cnd_init): New function.
11896 (cnd_signal): Likewise.
11897 (cnd_broadcast): Likewise.
11898 (cnd_wait): Likewise.
11899 (cnd_timedwait): Likewise.
11900 (cnd_destroy): Likewise.
11901 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11902 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11904 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11905 * nptl/cnd_broadcast.c: New file.
11906 * nptl/cnd_destroy.c: Likewise.
11907 * nptl/cnd_init.c: Likewise.
11908 * nptl/cnd_signal.c: Likewise.
11909 * nptl/cnd_timedwait.c: Likewise.
11910 * nptl/cnd_wait.c: Likewise.
11911 * sysdeps/nptl/threads.h (cnd_t): New type.
11912 (cnd_init): New prototype.
11913 (cnd_signa): Likewise.
11914 (cnd_broadcast): Likewise.
11915 (cnd_wait): Likewise.
11916 (cnd_timedwait): Likewise.
11917 (cnd_destroy): Likewise.
11920 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11921 (once_flag): New type.
11922 (call_once): New function.
11923 * nptl/Makefile (libpthread-routines): Add call_once object.
11924 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11925 * nptl/call_once.c: New file.
11926 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11927 (once_flag): New type.
11928 (call_once): New prototype.
11931 * conform/data/threads.h-data (mtx_plain): New constant.
11932 (mtx_recursive): Likewise.
11933 (mtx_timed): Likewise.
11935 (mtx_init): New function.
11936 (mtx_lock): Likewise.
11937 (mtx_timedlock): Likewise.
11938 (mtx_trylock): Likewise.
11939 (mtx_unlock): Likewise.
11940 (mtx_destroy): Likewise.
11941 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11942 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11943 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11944 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11945 * nptl/mtx_destroy.c: New file.
11946 * nptl/mtx_init.c: Likewise.
11947 * nptl/mtx_lock.c: Likewise.
11948 * nptl/mtx_timedlock.c: Likewise.
11949 * nptl/mtx_trylock.c: Likewise.
11950 * nptl/mtx_unlock.c: Likewise.
11951 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11952 (mtx_recursive): Likewise.
11953 (mtx_timed): Likewise.
11955 (mtx_init): New prototype.
11956 (mtx_lock): Likewise.
11957 (mtx_timedlock): Likewise.
11958 (mtx_trylock): Likewise.
11959 (mtx_unlock): Likewise.
11960 (mtx_destroy): Likewise.
11963 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11964 (linknamespace-libs-ISO11): Add libpthread.a.
11965 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11967 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11968 * nptl/Makefile (headers): Add threads.h.
11969 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11970 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11972 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11973 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11974 thrd_join, thrd_sleep, and thrd_yield symbols.
11975 * nptl/descr.h (struct pthread): Add c11 field.
11976 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11977 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11978 routine with expected function prototype.
11979 (__pthread_create_2_1): Add C11 threads check based on attribute
11981 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11982 * nptl/thrd_create.c: New file.
11983 * nptl/thrd_current.c: Likewise.
11984 * nptl/thrd_detach.c: Likewise.
11985 * nptl/thrd_equal.c: Likewise.
11986 * nptl/thrd_exit.c: Likewise.
11987 * nptl/thrd_join.c: Likewise.
11988 * nptl/thrd_priv.h: Likewise.
11989 * nptl/thrd_sleep.c: Likewise.
11990 * nptl/thrd_yield.c: Likewise.
11991 * include/threads.h: Likewise.
11993 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11995 * bits/indirect-return.h: New file.
11996 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11997 * sysdeps/x86/bits/indirect-return.h: Likewise.
11998 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11999 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
12000 (swapcontext): Add __INDIRECT_RETURN.
12001 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
12002 (prepare_test_buffer): Use it.
12004 2018-07-24 Andreas Schwab <schwab@suse.de>
12007 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
12008 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
12010 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12012 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
12013 Redefine if shadow stack is enabled.
12014 (SYSCALL_ERROR_LABEL): Likewise.
12015 (__vfork): Pop shadow stack and jump back to to caller directly
12016 when shadow stack is in use.
12017 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
12018 Redefine if shadow stack is enabled.
12019 (SYSCALL_ERROR_LABEL): Likewise.
12020 (__vfork): Pop shadow stack and jump back to to caller directly
12021 when shadow stack is in use.
12023 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12025 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
12028 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
12031 2018-07-20 Joseph Myers <joseph@codesourcery.com>
12033 * scripts/build-many-glibcs.py (Context.checkout): Default
12034 binutils version to 2.31 branch.
12036 2018-07-20 Zong Li <zong@andestech.com>
12038 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
12039 URL of gcc's tarball.
12041 2018-07-20 Florian Weimer <fweimer@redhat.com>
12044 * posix/regcomp.c (build_equiv_class): When comparing weights, do
12045 not compare an extra byte after the end of the weights.
12047 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12049 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
12051 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
12053 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
12054 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
12055 * scripts/check-execstack.awk: Consider `xfail' variable containing a
12056 list of libraries whose stack executability is expected.
12057 * elf/Makefile ($(objpfx)check-execstack.out): Pass
12058 $(check-execstack-xfail) to check-execstack.awk through `xfail'
12060 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
12061 libc.so libpthread.so.
12063 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
12065 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
12067 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
12069 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
12071 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
12073 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12075 * benchtests/scripts/compare_bench.py (__main__): use the argparse
12076 library to improve command line parsing.
12077 (__main__): make schema file as optional parameter (--schema),
12078 defaulting to benchtests/scripts/benchout.schema.json.
12079 (main): move out of the parsing stuff to __main_ and leave it
12080 only as caller of main comparison functions.
12082 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
12084 * NEWS: Add a note for Intel CET status.
12085 * manual/install.texi: Likewise.
12086 * INSTALL: Regenerated.
12088 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
12091 * localedata/locales/oc_FR (mon): Rename to...
12092 (alt_mon): This, then update October (typo fix).
12093 (mon): New content (genitive case, month names preceded by
12097 * localedata/locales/oc_FR (abday): Update all items.
12098 (day): Update Wednesday and Saturday (typo fixes).
12099 (abmon): Update all items, except May.
12100 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
12101 (LC_IDENTIFICATION): Bump the revision number and date.
12102 Keep the "category" entries in alphabetic order.
12103 (LC_ADDRESS): Remove no longer needed comment.
12104 (LC_COLLATE): Use “copy "ca_ES"”.
12105 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
12108 2018-07-18 Joseph Myers <joseph@codesourcery.com>
12110 * grp/tst_fgetgrent.c: Include <unistd.h>.
12111 (main): Use mkstemp instead of tmpnam.
12112 * io/test-utime.c (main): Likewise.
12113 * posix/annexc.c (macrofile): Change to modifiable array.
12114 (main): Remove macrofile here.
12115 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12117 (check_header): Do not remove macrofile here.
12118 * posix/bug-getopt1.c: Include <stdlib.h>.
12119 (do_test): Use mkstemp instead of tmpnam.
12120 * posix/bug-getopt2.c: Include <stdlib.h>.
12121 (do_test): Use mkstemp instead of tmpnam.
12122 * posix/bug-getopt3.c: Include <stdlib.h>.
12123 (do_test): Use mkstemp instead of tmpnam.
12124 * posix/bug-getopt4.c: Include <stdlib.h>.
12125 (do_test): Use mkstemp instead of tmpnam.
12126 * posix/bug-getopt5.c: Include <stdlib.h>.
12127 (do_test): Use mkstemp instead of tmpnam.
12128 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
12129 (main): Use mkstemp instead of tmpnam.
12130 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
12131 (main): Use mkstemp instead of tmpnam.
12132 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
12133 (main): use mkstemp instead of tmpnam.
12134 * stdlib/isomac.c (macrofile): Change to modifiable array.
12135 (main): Remove macrofile here.
12136 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12138 (check_header): Do not remove macrofile here.
12140 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12142 * manual/tunables.texi: Document glibc.tune.x86_ibt and
12143 glibc.tune.x86_shstk.
12145 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12147 * NEWS: Mention --enable-cet.
12148 * manual/install.texi: Document --enable-cet.
12149 * INSTALL: Regenerated.
12151 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12153 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
12154 Add _CET_NOTRACK before indirect jump to jump table.
12156 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12158 * sysdeps/i386/i686/multiarch/memset-sse2-rep.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/strcat-sse2.S
12165 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12168 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12170 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
12171 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12174 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12176 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
12177 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12180 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12182 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
12183 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12185 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
12187 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12189 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
12190 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12193 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12195 * sysdeps/i386/i686/multiarch/memset-sse2.S
12196 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12199 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12201 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
12202 indirect jump to jump table.
12204 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12206 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
12207 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12209 (MEMCPY): Likewise.
12211 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12213 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
12214 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12216 (MEMCPY): Likewise.
12218 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12220 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12221 _CET_NOTRACK before indirect jump to jump table.
12223 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12225 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
12226 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12229 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12231 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
12232 indirect jump to jump table.
12234 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
12237 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
12238 (LOCALES): Likewise.
12239 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
12240 * localedata/locales/sah_RU: New file.
12241 * localedata/sah_RU.UTF-8.in: New file.
12243 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12245 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
12247 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12248 _CET_ENDBR to indirect jump targets and adjust jump destination
12250 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
12252 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12253 _CET_ENDBR to indirect jump targets and adjust jump destination
12255 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
12257 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
12258 _CET_ENDBR to indirect jump targets and adjust jump destination
12261 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12263 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12266 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12268 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
12270 (_dl_tlsdesc_undefweak): Likewise.
12271 (_dl_tlsdesc_dynamic): Likewise.
12272 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
12273 (_dl_tlsdesc_resolve_rel): Likewise.
12274 (_dl_tlsdesc_resolve_rela): Likewise.
12275 (_dl_tlsdesc_resolve_hold): Likewise.
12276 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
12277 (_dl_tlsdesc_undefweak): Likewise.
12278 (_dl_tlsdesc_dynamic): Likewise.
12279 (_dl_tlsdesc_resolve_rela): Likewise.
12280 (_dl_tlsdesc_resolve_hold): Likewise.
12282 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12284 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
12286 * sysdeps/x86_64/crti.S (_init): Likewise.
12289 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
12292 * localedata/locales/os_RU (mon): Rename to...
12294 (mon): Import from CLDR (genitive case).
12296 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12298 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
12299 cet-tunables.h> when CET is enabled.
12301 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
12304 * configure.ac: Add --enable-cet.
12305 * configure: Regenerated.
12306 * elf/Makefille (all-built-dso): Add a comment.
12307 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
12308 Include <dl-prop.h>.
12309 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
12311 * elf/dl-open.c: Include <dl-prop.h>.
12312 (dl_open_worker): Call _dl_open_check.
12313 * elf/rtld.c: Include <dl-prop.h>.
12314 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
12316 * sysdeps/generic/dl-prop.h: New file.
12317 * sysdeps/i386/dl-cet.c: Likewise.
12318 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
12319 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
12320 * sysdeps/x86/cet-tunables.h: Likewise.
12321 * sysdeps/x86/check-cet.awk: Likewise.
12322 * sysdeps/x86/configure: Likewise.
12323 * sysdeps/x86/configure.ac: Likewise.
12324 * sysdeps/x86/dl-cet.c: Likewise.
12325 * sysdeps/x86/dl-procruntime.c: Likewise.
12326 * sysdeps/x86/dl-prop.h: Likewise.
12327 * sysdeps/x86/libc-start.h: Likewise.
12328 * sysdeps/x86/link_map.h: Likewise.
12329 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
12331 (_dl_runtime_profile): Likewise.
12332 (_dl_runtime_resolve_shstk): New.
12333 (_dl_runtime_profile_shstk): Likewise.
12334 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
12336 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
12337 (CFLAGS-.os): Likewise.
12338 (CFLAGS-.op): Likewise.
12339 (CFLAGS-.oS): Likewise.
12340 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
12342 (tests-special): Add $(objpfx)check-cet.out.
12343 (cet-built-dso): New.
12344 (+$(cet-built-dso:=.note)): Likewise.
12345 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
12346 ($(objpfx)check-cet.out): New.
12347 (generated): Add check-cet.out.
12348 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
12350 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
12351 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12352 (init_cpu_features): Call get_cet_status to check CET status
12353 and update dl_x86_feature_1 with CET status. Call
12354 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
12355 (set_x86_shstk). Disable and lock CET in libc.a.
12356 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
12357 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
12358 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12359 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
12360 (_CET_ENDBR): Define if not defined.
12361 (ENTRY): Add _CET_ENDBR.
12362 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
12364 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
12366 (_dl_runtime_profile): Likewise.
12368 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
12371 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
12372 restore r2 on longjmp.
12373 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
12375 Added rules to build test tst-setjmp-bug21895-static.
12376 Added module setjmp-bug21895 and rules to build a shared object from it.
12377 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
12378 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
12380 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
12382 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
12383 * benchtests/bench-strstr.c: Likewise.
12384 * string/memmem.c (FASTSEARCH): Define.
12385 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
12386 Add support for FASTSEARCH.
12387 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
12388 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
12389 (FASTSEARCH): Define.
12390 * string/test-strcasestr.c: Rename __strnlen to strnlen.
12391 * string/test-strstr.c: Likewise.
12393 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
12395 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
12396 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
12398 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
12399 H.J. Lu <hongjiu.lu@intel.com>
12401 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
12402 (__longjmp): Restore shadow stack pointer if shadow stack is
12403 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12404 isn't defined for __longjmp_cancel.
12405 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
12406 (_setjmp): Save shadow stack pointer if shadow stack is enabled
12407 and SHADOW_STACK_POINTER_OFFSET is defined.
12408 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
12409 (setjmp): Save shadow stack pointer if shadow stack is enabled
12410 and SHADOW_STACK_POINTER_OFFSET is defined.
12411 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
12412 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12413 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12414 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
12416 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12417 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12418 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
12419 Remove jmp_buf-ssp.sym.
12420 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12422 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12423 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12424 * sysdeps/x86/Makefile (gen-as-const-headers): Add
12426 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
12427 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
12428 (__longjmp): Restore shadow stack pointer if shadow stack is
12429 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12430 isn't defined for __longjmp_cancel.
12431 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
12432 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12433 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12435 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
12438 * nptl/pthread_create.c: Include <tls-setup.h>.
12439 (__pthread_create_2_1): Call tls_setup_tcbhead.
12440 * sysdeps/generic/tls-setup.h: New file.
12441 * sysdeps/x86/nptl/tls-setup.h: Likewise.
12442 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
12443 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
12445 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
12447 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12448 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
12449 (X86_FEATURE_1_SHSTK): Likewise.
12450 (CET_ENABLED): Likewise.
12451 (IBT_ENABLED): Likewise.
12452 (SHSTK_ENABLED): Likewise.
12454 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
12457 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
12458 (LOCALES): Likewise.
12459 * localedata/dsb_DE.UTF-8.in: New file.
12460 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
12462 2018-07-12 Florian Weimer <fweimer@redhat.com>
12464 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
12465 __mprotect, not mprotect.
12467 2018-07-11 Florian Weimer <fweimer@redhat.com>
12469 * io/Makefile (headers): Add bits/statx.h.
12471 2018-07-10 Mike FABIAN <mfabian@redhat.com>
12473 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
12474 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
12476 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
12477 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
12480 2018-07-10 Florian Weimer <fweimer@redhat.com>
12482 * io/Makefile (routines): Add statx.
12483 (tests-internal): Add tst-statx.
12484 * io/Versions (GLIBC_2.28): Export statx.
12485 * io/bits/statx.h: New file.
12486 * io/sys/stat.h [__USE_GNU]: Include it.
12487 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
12488 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
12490 * io/statx.c: New file.
12491 * io/statx_generic.: Likewise.
12492 * io/tst-statx.: Likewise.
12493 * include/bits/statx.h: Likewise.
12494 * sysdeps/unix/sysv/linux/kernel-features.h
12495 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
12496 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12497 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
12498 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
12500 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12501 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
12502 * sysdeps/unix/sysv/linux/statx.c: New file.
12503 * manual/filesys.texi: Note that statx is undocumented.
12504 * sysdeps/**/libc*.abilist: Update.
12506 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12508 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
12509 a kernel issue which lead to test failure in some cases.
12511 2018-07-10 Florian Weimer <fweimer@redhat.com>
12514 * posix/regexec.c (check_node_accept_bytes): When comparing
12515 weights, do not compare an extra byte after the end of the
12518 2018-07-10 Florian Weimer <fweimer@redhat.com>
12520 * libio/readline.c: Fix copyright year.
12521 * libio/tst-readline.c Likewise.
12522 * nss/tst-nss-files-hosts-getent.c: Likewise.
12524 2018-07-06 Florian Weimer <fweimer@redhat.com>
12527 * nss/nss_files/files-XXX.c (internal_getent): Use
12528 __libc_readline_unlocked. Seek back to the start of the line if
12529 parsing failes with ERANGE.
12530 (get_contents_ret, get_contents): Remove.
12531 * nss/tst-nss-files-hosts-getent.c: New file.
12532 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
12533 (tst-nss-files-hosts-getent): Link with -ldl.
12535 2018-07-06 Florian Weimer <fweimer@redhat.com>
12537 * include/stdio.h (__libc_readline_unlocked): Declare.
12538 (__ftello64, __fseeko64): Declare aliases.
12539 * libio/readline.c: New file.
12540 * libio/tst-readline.c: Likewise.
12541 (routines): Add readline.
12542 (tests-internal): Add tst-readlime.
12543 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
12544 __libc_readline_unlocked.
12545 * libio/fseeko.c (__fseeko): Rename from fseeko.
12546 (fseeko): Add alias.
12547 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
12548 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
12549 (fseeko64): Add alias.
12550 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
12551 * libio/ftello64.c (__ftello64): Rename from ftello64.
12552 (ftello64): Add alias.
12554 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12556 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
12559 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12561 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
12562 Use dl_hwcap without masking.
12563 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
12564 Remove HWCAP_CPUID.
12566 2018-07-06 Florian Weimer <fweimer@redhat.com>
12568 * conform/conformtest.pl (checknamespace): Escape literal braces
12569 in regular expressions.
12571 2018-07-06 Amit Pawar <amit.pawar@amd.com>
12573 * sysdeps/x86/cpu-features.c (get_common_indeces):
12574 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
12575 * sysdeps/x86/cpu-features.c (init_cpu_features):
12576 AVX_Fast_Unaligned_Load is disabled for Excavator core.
12578 2018-07-05 Florian Weimer <fweimer@redhat.com>
12580 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
12582 (CFLAGS-elf-init.oS): Likewise.
12584 2018-07-05 Florian Weimer <fweimer@redhat.com>
12585 Carlos O'Donell <carlos@redhat.com>
12587 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
12588 $(no-stack-protector). stack_chk_fail_local.c can be compiled
12589 with stack protector enabled because there is no risk of infinite
12592 2018-07-05 Maciej W. Rozycki <macro@mips.com>
12596 * libc-abis (ABSOLUTE): New ABI.
12597 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
12598 * NEWS: Mention the new ABI.
12600 2018-07-05 Florian Weimer <fweimer@redhat.com>
12603 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
12604 (RENAME_WHITEOUT): Define.
12605 [__USE_GNU] (renameat2): Declare.
12606 * stdio-common/Makefile (routines): Add renameat2.
12607 (tests): Add tst-renameat2.
12608 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
12609 * stdio-common/renameat2.c: New file.
12610 * stdio-common/tst-renameat2.c: Likewise.
12611 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12612 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12614 * sysdeps/unix/sysv/linux/kernel-features.h
12615 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12616 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12617 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12618 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12619 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12620 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12621 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12622 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12623 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12624 * include/stdio.h (__renameat): Add alias for renameat.
12625 * stdio-common/renameat.c (__renameat): Rename from renameat.
12626 Add hidden definition and alias.
12627 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12628 * sysdeps/mach/hurd/renameat.c: Likewise.
12629 * sysdeps/**/libc*.abilist: Add renameat2.
12631 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12633 * posix/bug-regex33.c: Fix build after regex sync.
12635 2018-07-04 Carlos O'Donell <carlos@redhat.com>
12638 * localedata/tst-langinfo-setlocale.c: New file.
12639 * localedata/tst-langinfo-setlocale-static.c: New file.
12640 * localedata/tst-langinfo-newlocale.c: New file.
12641 * localedata/tst-langinfo-newlocale-static.c: New file.
12642 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12643 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12644 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12645 (tests-static): Remove tst-langinfo-static. Add
12646 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12647 (tests-special): Remove $(objpfx)tst-langinfo.out,
12648 $(objpfx)tst-langinfo-static.out. Add
12649 $(objpfx)tst-langinfo-setlocale.out,
12650 $(objpfx)tst-langinfo-newlocale.out,
12651 $(objpfx)tst-langinfo-setlocale-static.out,
12652 $(objpfx)tst-langinfo-newlocale-static.out.
12653 ($(objpfx)tst-langinfo.out): Remove.
12654 ($(objpfx)tst-langinfo-static.out): Remove.
12655 ($(objpfx)tst-langinfo-newlocale.out): New target.
12656 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12657 (test-xfail-tst-langinfo-newlocale-static): Add.
12658 ($(objpfx)tst-langinfo-setlocale.out): New target.
12659 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12660 * localedata/tst-langinfo.c: Call test_locale.
12661 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12664 2018-07-04 Florian Weimer <fweimer@redhat.com>
12666 testrun.sh: Implement --tool=strace, --tool=valgrind
12667 * Makefile (testrun-script): Define variable.
12668 (testrun.sh): Use variable.
12669 * manual/install.texi (Tools for Compilation): make 4.0 or later
12671 * configure.ac: Check for make 4.0 or later.
12672 * INSTALL: Regenerate.
12673 * configure: Likewise.
12675 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12681 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
12682 * posix/PCRE.tests: Remove invalid test.
12683 * posix/bug-regex28.c: Fix expected values for used syntax.
12684 * posix/bug-regex37.c: New file.
12685 * posix/bug-regex38.c: Likewise.
12686 * posix/regcomp.c: Sync with gnulib.
12687 * posix/regex.c: Likewise.
12688 * posix/regex.h: Likewise.
12689 * posix/regex_internal.c: Likewise.
12690 * posix/regex_internal.h: Likewise.
12691 * posix/regexec.c: Likewise.
12693 2018-06-26 Mike FABIAN <mfabian@redhat.com>
12696 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
12697 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
12698 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
12699 * localedata/unicode-gen/PropList.txt: likewise.
12700 * localedata/unicode-gen/UnicodeData.txt: likewise.
12701 * localedata/charmaps/UTF-8: Regenerate.
12702 * localedata/locales/i18n_ctype: likewise.
12703 * localedata/locales/tr_TR: likewise.
12704 * localedata/locales/translit_circle: likewise.
12705 * localedata/locales/translit_cjk_compat: likewise.
12706 * localedata/locales/translit_combining: likewise.
12707 * localedata/locales/translit_compat: likewise.
12708 * localedata/locales/translit_font: likewise.
12709 * localedata/locales/translit_fraction: likewise.
12711 2018-07-03 Florian Weimer <fweimer@redhat.com>
12714 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
12715 * stdio-common/tst-printf.sh: Adjust expected output.
12716 * LICENSES: Update.
12718 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12720 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
12723 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12725 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
12726 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
12727 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
12728 * stdio-common/tst-printfsz-islongdouble.c: New file.
12729 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
12730 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
12731 [subdir == stdio-common] (routines): Add ieee128-printf_size.
12732 [subdir == stdio-common] (tests-internal): Add
12733 test-printf-size-ieee128, and test-printf-size-ibm128.
12734 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
12735 (CFLAGS-test-printf-size-ibm128.c): New variables.
12736 [subdir == stdio-common] (tests-special): Add
12737 $(objpfx)test-printf-size-ieee128.out and
12738 $(objpfx)test-printf-size-ibm128.out.
12739 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
12740 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
12741 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
12742 __printf_sizeieee128.
12743 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
12745 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
12747 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
12750 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12752 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
12753 (exp2f_inline): Likewise.
12754 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
12755 (__math_uflowf): Likewise.
12756 (__math_may_uflowf): Likewise.
12757 (__math_divzerof): Likewise.
12758 (__math_invalidf): Likewise.
12759 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
12760 (__math_oflowf): Likewise.
12761 (__math_uflowf): Likewise.
12762 (__math_may_uflowf): Likewise.
12763 (__math_divzerof): Likewise.
12764 (__math_invalidf): Likewise.
12766 2018-06-29 DJ Delorie <dj@redhat.com>
12767 Carlos O'Donell <carlos@redhat.com>
12770 * include/libc-symbols.h: Comment the freeres framework.
12771 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12772 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12773 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12774 * dlfcn/dlerror.c: Include libc-symbols.h
12775 (__dlerror_main_freeres): New function.
12776 * dlfcn/dlfreeres.c: New file.
12777 * dlfcn/sdlfreeres.c: New file.
12778 * include/dlfcn.h: Declare __dlerror_main_freeres.
12779 * malloc/set-freeres.c: Declare __libdl_freeres, and
12780 __libpthread_freeres.
12781 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12782 the releavant libraries are loaded.
12783 * malloc/thread-freeres.c: Add comments.
12784 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12785 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12786 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12787 (__free_stacks): Rename to...
12788 (free_stacks): ...this. Mark static.
12789 (queue_stack): Call free_stacks.
12790 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12791 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12792 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12793 ptr_freeres element from struct.
12794 (pthread_functions): Remove .ptr_freeres from struct initializer.
12795 [SHARED] (nptl_freeres): Remove.
12796 * nptl/nptlfreeres.c: New file.
12798 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12799 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12801 (__free_stacks): Rename to...
12802 (__nptl_stacks_freeres): ...this.
12803 (__shm_directory_freeres): Declare.
12804 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12805 (__nptl_unwind_freeres): ...this.
12806 * resolv/res-close.c: Add comment.
12807 * resolv/resolv_conf.c: Include libc-symbols.h.
12808 * string/strerror_l.c: Include libc-symbols.h.
12809 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12810 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12811 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12812 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12814 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12816 * stdlib/tst-strfmon_l.c: Add tests for long double.
12818 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
12821 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12822 * localedata/locales/dsb_DE: New file.
12824 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12827 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12829 (alt_mon): New entry, import from CLDR (nominative case).
12831 2018-06-29 Sylvain Lesage <severo@rednegra.net>
12834 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12836 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12838 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12839 Use vector registers.
12841 * sysdeps/aarch64/multiarch/memmove_falkor.S
12842 (__memcpy_falkor): Use vector registers.
12844 2018-06-29 Martin Sebor <msebor@redhat.com>
12846 * manual/stdio.texi (Customizing Printf): Mention interaction
12847 with GCC built-ins.
12849 2018-06-29 Maciej W. Rozycki <macro@mips.com>
12852 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12853 `st_value' is 0 if `st_shndx' is SHN_ABS.
12854 * elf/tst-absolute-zero.c: New file.
12855 * elf/tst-absolute-zero-lib.c: New file.
12856 * elf/tst-absolute-zero-lib.lds: New file.
12857 * elf/Makefile (tests): Add `tst-absolute-zero'.
12858 (modules-names): Add `tst-absolute-zero-lib'.
12859 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12860 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12861 ($(objpfx)tst-absolute-zero: New dependency.
12863 2018-06-29 Zack Weinberg <zackw@panix.com>
12865 * configure.ac: New command-line option --disable-crypt.
12866 Force --disable-nss-crypt when --disable-crypt is given, with a
12867 warning if it was explicitly enabled.
12868 * configure: Regenerate.
12869 * config.make.in: New boolean substitution variable $(build-crypt).
12870 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12871 when $(build-crypt).
12872 * manual/install.texi: Document --disable-crypt.
12873 * INSTALL: Regenerate.
12875 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12876 which is never set.
12877 * conform/Makefile: Only include libcrypt.a in
12878 linknamespace-libs-xsi and linknamespace-libs-XPG4
12879 when $(build-crypt).
12880 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12881 USE_CRYPT to 1 when $(build-crypt).
12882 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12883 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12884 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12886 2018-06-29 Zack Weinberg <zackw@panix.com>
12888 * crypt/crypt.h, posix/unistd.h: Update comments and
12889 prototypes for crypt and crypt_r.
12891 * manual/crypt.texi (Cryptographic Functions): New initial
12893 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12894 (Unpredictable Bytes): Improve initial exposition. Clarify error
12895 behavior of getentropy and getrandom.
12896 * manual/examples/genpass.c: Generate a salt using getentropy
12897 instead of the current time. Use hash $5$ (SHA-2-256).
12898 * manual/examples/testpass.c: Demonstrate validation against
12899 hashes generated with three different one-way functions.
12901 * manual/intro.texi: crypt.texi does not need an overview
12904 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12905 * manual/terminal.texi: Consistently refer to "passphrases"
12906 * instead of "passwords", and to the "user database" instead
12907 * of the "password database".
12908 * manual/users.texi: Similarly. Add notes about how actual
12909 passphrase hashes are now stored in the shadow database.
12910 Remove 20-year-old junk todo note.
12912 2018-06-29 Zack Weinberg <zackw@panix.com>
12914 * manual/crypt.texi: Use a normal top-level @node declaration.
12915 Move most of the introductory text to the 'crypt' section.
12916 Move the example programs below the @deftypefun for 'crypt_r'.
12917 Move the 'getpass' section...
12918 * manual/terminal.texi: ...here.
12920 2018-06-29 Zack Weinberg <zackw@panix.com>
12921 Florian Weimer <fweimer@redhat.com>
12923 * posix/unistd.h: Do not declare encrypt.
12924 (_XOPEN_CRYPT): Remove macro definition.
12925 (crypt): Declare only for _USE_MISC.
12926 * stdlib/stdlib.h: Do not declare setkey.
12927 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12928 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12930 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12931 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12932 into compat symbols. Don't define initial_perm if it's not
12934 * crypt/cert.c: Link explicitly with the expected versions for
12935 setkey and encrypt. If they are not available at all, mark
12936 the test as unsupported.
12938 * sunrpc/des_crypt.c: Unconditionally block linkage with
12939 cbc_crypt and ecb_crypt for new binaries.
12940 * sunrpc/des_soft.c: Unconditionally block linkage with
12941 des_setparity for new binaries.
12943 * manual/crypt.texi: Remove the entire "DES Encryption"
12944 section. Also remove the paragraph talking about FIPS 140-2
12945 from the introduction.
12946 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12947 of libgcrypt for "real" encryption, not DES.
12948 * manual/conf.texi (Constants for Sysconf): Mention that
12949 _XOPEN_CRYPT is no longer impelemented.
12951 * conform/data/unistd.h-data: Remove crypt function declaration.
12953 2018-06-29 Florian Weimer <fweimer@redhat.com>
12956 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12957 (disallow_malloc_check): Remove variable.
12958 (__malloc_check_init): Adjust.
12959 (malloc_set_state): Update comment.
12960 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12963 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12966 * localedata/locales/ast_ES (mon): Rename to...
12968 (mon): Import from CLDR (genitive case).
12970 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12971 Jakub Sitnicki <jkbs@redhat.com>
12974 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12975 on NLM_F_DUMP_INTR.
12977 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12979 * manual/llio.texi: Remove spurious space.
12981 2018-06-28 Florian Weimer <fweimer@redhat.com>
12984 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12987 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12989 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
12990 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
12991 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12992 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12993 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12994 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12995 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12997 2018-06-27 Maciej W. Rozycki <macro@mips.com>
13000 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
13001 Copy and null-terminate entries that are not terminated, in
13002 addition to empty ones.
13004 2018-06-27 Florian Weimer <fweimer@redhat.com>
13007 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
13008 (extend_alloca_account): Remove.
13009 * manual/stdio.texi (Variable Arguments Output): Update comment.
13011 2018-06-27 Joseph Myers <joseph@codesourcery.com>
13013 * nptl/sockperf.c: Remove file.
13015 2018-06-27 Florian Weimer <fweimer@redhat.com>
13018 * elf/dl-deps.c (_dl_map_object_deps): Use struct
13019 scratch_buffer instead of extend_alloca.
13021 2018-06-27 Florian Weimer <fweimer@redhat.com>
13024 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
13025 scratch_buffer instead of extend_alloca. Update comments.
13027 2018-06-27 Florian Weimer <fweimer@redhat.com>
13030 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
13031 instead of extend_alloca.
13033 2018-06-26 Joseph Myers <joseph@codesourcery.com>
13036 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
13037 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
13039 * scripts/test-installation.pl: Put temporary files in build
13040 directory, not /tmp.
13041 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
13042 (CFLAGS-bug4.c): Likewise.
13043 (CFLAGS-bug5.c): Likewise.
13044 (CFLAGS-test-fseek.c): Likewise.
13045 (CFLAGS-test-popen.c): Likewise.
13046 (CFLAGS-test_rdwr.c): Likewise.
13047 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
13049 * stdio-common/bug4.c (main): Likewise.
13050 * stdio-common/bug5.c (main): Likewise.
13051 * stdio-common/test-fseek.c (TESTFILE): Likewise.
13052 * stdio-common/test-popen.c (do_test): Likewise.
13053 * stdio-common/test_rdwr.c (main): Likewise.
13055 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
13057 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
13058 (sem_open): Set sem.newsem.pad to zero for valgrind.
13060 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13063 * NEWS: Mention fcntl64 addition.
13064 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
13065 * login/utmp_file.c: Likewise.
13066 * sysdeps/posix/fdopendir.c: Likewise.
13067 * sysdeps/posix/opendir.c: Likewise.
13068 * sysdeps/unix/pt-fcntl.c: Likewise.
13069 * include/fcntl.h (__libc_fcntl64, __fcntl64,
13070 __fcntl64_nocancel_adjusted): New prototype.
13071 (__fcntl_nocancel_adjusted): Remove prototype.
13072 * io/Makefile (routines): Add fcntl64.
13073 (CFLAGS-fcntl64.c): New rule.
13074 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
13075 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
13076 * io/fcntl.h (fcntl64): Add prototype and redirect if
13077 __USE_FILE_OFFSET64 is defined.
13078 * io/fcntl64.c: New file.
13079 * manual/llio.text: Add a note for which commands fcntl acts a
13080 cancellation point.
13081 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
13082 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
13083 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
13085 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
13086 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
13088 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
13089 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
13090 to __fcntl64_nocancel.
13091 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
13092 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
13093 to __fcntl64_nocancel.
13094 * sysdeps/generic/not-cancel.h: Likewise.
13095 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
13096 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
13097 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13098 (fcntl64): New symbol.
13099 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13100 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13101 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13104 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13105 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13106 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13107 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13108 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13109 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
13110 fcntl64): Likewise.
13111 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13112 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
13113 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13114 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13115 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13116 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13117 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13118 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13119 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13124 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13125 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13126 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13128 2018-06-26 Florian Weimer <fweimer@redhat.com>
13130 Run thread shutdown functions in an explicit order.
13131 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
13133 (__libc_thread_freeres): Call thread shutdown functions
13135 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
13136 * include/string.h (__strerror_thread_freeres): Declare.
13137 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
13138 arena_thread_freeres. No longer static. Remove thread shutdown
13140 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
13142 * resolv/res-close.c (__res_thread_freeres): Renamed from
13143 res_thread_freeres. No longer static. Remove thread shutdown
13145 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
13146 * resolv/resolv_conf.c (freeres): Remove incorrect section
13147 attribute and use libc_freeres_fn.
13148 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
13149 strerror_thread_freeres. No longer static. Remove thread
13150 shutdown hook registration.
13151 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
13152 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
13153 shutdown hook registration.
13154 * Makerules (shlib.lds): Do not provide section boundary symbols
13155 for __libc_thread_subfreeres.
13156 * manual/memory.texi (Basic Allocation): Update comment.
13158 2018-06-26 Florian Weimer <fweimer@redhat.com>
13160 Remove always-defined _RPC_THREAD_SAFE_ macro.
13161 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
13162 Do not define _RPC_THREAD_SAFE_.
13163 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
13165 * sunrpc/clnt_perr.c: Likewise.
13166 * sunrpc/clnt_raw.c: Likewise.
13167 * sunrpc/clnt_simp.c: Likewise.
13168 * sunrpc/key_call.c: Likewise.
13169 * sunrpc/rpc_common.c: Likewise.
13170 * sunrpc/rpc_main.c: Likewise.
13171 * sunrpc/rpc_thread.c: Likewise.
13172 * sunrpc/svc.c: Likewise.
13173 * sunrpc/svc_raw.c: Likewise.
13174 * sunrpc/svc_simple.c: Likewise.
13175 * sumrpc/svcauth_des.c: Likewise.
13177 2018-06-26 Florian Weimer <fweimer@redhat.com>
13179 * libio/Makefile (tests-internal): Add tst-vtables,
13180 tst-vtables-interposed.
13181 * libio/tst-vtables.c: New file.
13182 * libio/tst-vtables-common.c: Likewise.
13183 * libio/tst-vtables-interposed.c: Likewise.
13185 2018-06-26 Florian Weimer <fweimer@redhat.com>
13187 * support/support_test_main.c (support_test_main): Only call
13188 setvbuf if not disables.
13189 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
13190 * support/test-driver.h (struct test_config): Add no_setvbuf member.
13192 2018-06-26 Florian Weimer <fweimer@redhat.com>
13195 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
13197 2018-06-25 Florian Weimer <fweimer@redhat.com>
13200 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13201 Use struct scratch_buffer instead of extend_alloca.
13203 2018-06-25 Florian Weimer <fweimer@redhat.com>
13206 * nss/getent.c (initgroups_keys): Use dynarray instead of
13209 2018-06-25 Florian Weimer <fweimer@redhat.com>
13212 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
13213 Use struct scratch_buffer instead of extend_alloca.
13215 2018-06-25 Florian Weimer <fweimer@redhat.com>
13218 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
13219 back to malloc directly, without stack allocations.
13221 2018-06-25 Florian Weimer <fweimer@redhat.com>
13224 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
13227 2018-06-25 Florian Weimer <fweimer@redhat.com>
13230 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
13232 * nscd/hstcache.c (addhstbyX): Likewise.
13233 * nscd/pwdcache.c (addpwbyX): Likewise.
13234 * nscd/servicescache.c (addservbyX): Likewise.
13236 2018-06-25 Florian Weimer <fweimer@redhat.com>
13239 * nscd/connections.c (read_cmdline): New function.
13240 (restart): Use it. Update comment.
13242 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13245 * localedata/locales/csb_PL (mon): Rename to...
13247 (abmon): Rename to...
13248 (ab_alt_mon): This.
13249 (mon): Add with proper genitive forms, copy from Wikipedia.
13252 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13255 * localedata/locales/csb_PL (mon): Fix typos:
13256 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
13257 (yesstr): Add, value is "jo".
13258 (nostr): Add, value is "nié".
13260 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13262 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
13263 all log1p and significand functions on m680x0.
13264 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
13265 of s_significand.c..
13266 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13267 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
13268 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
13269 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
13270 s_log1p.c and include it..
13272 2018-06-21 Vincent Chen <vincentc@andestech.com>
13274 * elf/elf.h (R_NDS32_NONE): New define.
13275 (R_NDS32_32_RELA): Likewise.
13276 (R_NDS32_COPY): Likewise.
13277 (R_NDS32_GLOB_DAT): Likewise.
13278 (R_NDS32_JUMP_SLOT): Likewise.
13279 (R_NDS32_RELATIVE): Likewise.
13280 (R_NDS32_TLS_TPOFF): Likewise.
13281 (R_NDS32_TLS_DESC): Likewise.
13283 2018-06-21 Mark Wielaard <mark@klomp.org>
13285 * elf/elf.h (R_BPF_MAP_FD): Removed.
13286 (R_BPF_64_64, R_BPF_64_32): New.
13288 2018-06-21 Florian Weimer <fweimer@redhat.com>
13291 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
13292 Renamed from libc_feholdsetround_ctx.
13293 (default_libc_feresetround_ctx): Renamed from
13294 libc_feresetround_ctx.
13295 (default_libc_feholdsetround_noex_ctx): Renamed from
13296 libc_feholdsetround_noex_ctx.
13297 (default_libc_feresetround_noex_ctx): Renamed from
13298 libc_feresetround_noex_ctx.
13299 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
13300 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
13301 forwardning to the old implementations under the new names.
13302 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
13303 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
13304 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
13305 (libc_feresetround_ctx): Forward to default implements for i386
13306 and MATH_SET_BOTH_ROUNDING_MODES.
13307 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
13308 Add -DMATH_SET_BOTH_ROUNDING_MODES.
13310 2018-06-20 Joseph Myers <joseph@codesourcery.com>
13312 * string/tst-cmp.c: Include <libc-diag.h>.
13313 (strncmp_max): Disable -Wstringop-overflow= around call to
13315 (strncasecmp_max): Disable -Wstringop-overflow= around call to
13318 * string/bug-strpbrk1.c: Include <libc-diag.h>.
13319 (main): Disable -Wunused-value around call to strpbrk.
13320 * string/bug-strspn1.c: Include <libc-diag.h>.
13321 (main): Disable -Wunused-value around call to strspn.
13323 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13324 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13326 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
13327 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
13329 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13331 * math/Makefile (libm-calls): Move s_significandF to...
13332 (gen-libm-calls): ... here.
13333 * math/s_significand_template.c: New file.
13334 * math/s_significand.c: Removed.
13335 * math/s_significandf.c: Removed.
13336 * math/s_significandl.c: Removed.
13337 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
13338 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
13340 * math/e_exp2_template.c (declare_mgen_finite_alias,
13341 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
13342 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
13343 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
13345 2018-06-20 Florian Weimer <fweimer@redhat.com>
13347 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
13349 2018-06-19 Joseph Myers <joseph@codesourcery.com>
13352 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
13353 floating-point number to strtod functions rather than possibly
13354 negating result of those functions.
13355 * stdio-common/tst-scanf-round.c: New file.
13356 * stdio-common/Makefile (tests): Add tst-scanf-round.
13357 ($(objpfx)tst-scanf-round): Depend on $(libm).
13359 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13361 * sysdeps/mach/hurd/localplt.data: Move to...
13362 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
13363 R_386_GLOB_DAT like on Linux i386.
13365 2018-06-18 Joseph Myers <joseph@codesourcery.com>
13367 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
13368 (SHM_STAT_ANY): New macro.
13369 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
13370 (SHM_STAT_ANY): Likewise.
13371 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
13372 (SHM_STAT_ANY): Likewise.
13373 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
13374 (SHM_STAT_ANY): Likewise.
13375 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
13376 (SHM_STAT_ANY): Likewise.
13377 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
13378 (SHM_STAT_ANY): Likewise.
13379 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
13380 (SHM_STAT_ANY): Likewise.
13381 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
13382 (SHM_STAT_ANY): Likewise.
13383 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
13384 (SHM_STAT_ANY): Likewise.
13385 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
13386 (SHM_STAT_ANY): Likewise.
13387 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
13388 (SHM_STAT_ANY): Likewise.
13389 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
13390 (SHM_STAT_ANY): Likewise.
13392 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
13393 (SEM_STAT_ANY): New macro.
13394 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
13395 (SEM_STAT_ANY): Likewise.
13396 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
13397 (SEM_STAT_ANY): Likewise.
13398 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
13399 (SEM_STAT_ANY): Likewise.
13400 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
13401 (SEM_STAT_ANY): Likewise.
13402 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
13403 (SEM_STAT_ANY): Likewise.
13404 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
13405 (SEM_STAT_ANY): Likewise.
13406 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
13407 (SEM_STAT_ANY): Likewise.
13408 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
13409 (SEM_STAT_ANY): Likewise.
13410 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
13411 (SEM_STAT_ANY): Likewise.
13413 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
13414 (MSG_STAT_ANY): New macro.
13415 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
13416 (MSG_STAT_ANY): Likewise.
13417 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
13418 (MSG_STAT_ANY): Likewise.
13419 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
13420 (MSG_STAT_ANY): Likewise.
13421 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
13422 (MSG_STAT_ANY): Likewise.
13423 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
13424 (MSG_STAT_ANY): Likewise.
13425 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
13426 (MSG_STAT_ANY): Likewise.
13427 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
13428 (MSG_STAT_ANY): Likewise.
13429 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
13430 (MSG_STAT_ANY): Likewise.
13431 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
13432 (MSG_STAT_ANY): Likewise.
13434 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13435 (MAP_TYPE): Change value to 0x2b.
13437 2018-06-18 Florian Weimer <fweimer@redhat.com>
13440 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
13441 socket with SOCK_CLOEXEC.
13443 2018-06-18 Joseph Myers <joseph@codesourcery.com>
13446 * sysdeps/powerpc/powerpc64/le/Makefile
13447 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
13448 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
13449 (gnulib-tests): Also add $(f128-loader-link) for
13450 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
13452 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
13454 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
13455 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
13457 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
13458 (sendfile64): New strong alias.
13459 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
13460 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
13461 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
13462 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
13464 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
13465 ___pthread_get_cleanup_stack.
13466 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
13467 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
13468 * mach/shortcut.awk: Make syscall stubs include
13469 <mach-shortcuts-hidden.h> and add hidden definition.
13470 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
13471 (__mach_msg): Add hidden prototype.
13472 * mach/msg.c: Include <mach.h>.
13473 (__mach_msg): Add hidden definition.
13474 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
13475 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
13476 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
13477 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
13478 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
13479 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
13480 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
13481 prototype and definition.
13482 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
13483 hidden target for _hurd_self_sigstate.
13485 2018-06-15 Joseph Myers <joseph@codesourcery.com>
13488 * stdlib/tst-strtod-nan-sign-main.c: New file.
13489 * stdlib/tst-strtod-nan-sign.c: Likewise.
13490 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
13491 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
13492 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
13493 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
13494 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
13496 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
13499 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
13502 2018-06-14 Florian Weimer <fweimer@redhat.com>
13505 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
13506 that the result stays within the ISO-8859-1 range.
13507 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
13508 characters are defined in IBM273.
13510 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
13512 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
13513 __mach_task_self): Remove attribute_hidden.
13515 2018-06-14 Joseph Myers <joseph@codesourcery.com>
13517 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
13518 ignore -Wrestrict for one test.
13520 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
13521 Szabolcs Nagy <szabolcs.nagy@arm.com>
13523 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
13525 2018-06-14 Florian Weimer <fweimer@redhat.com>
13527 * scripts/update-abilist.sh: Accept empty list of files to patch.
13529 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
13531 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
13532 test-xfail-check-abi-libmachuser): Add.
13533 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
13534 __libc_read and __libc_write to __read and __write.
13535 * sysdeps/hurd/include/hurd/port.h: New file.
13536 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
13537 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
13538 __thread_switch, __evc_wait): Move declarations to...
13539 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
13541 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
13542 use PLT to call _hurd_self_sigstate.
13544 2018-06-13 Joseph Myers <joseph@codesourcery.com>
13547 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
13548 MAX_EXP as overflowing.
13549 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
13551 (round_str): Output also whether result overflows in each rounding
13553 * stdlib/tst-strtod-round-data: Add more tests.
13554 * stdlib/tst-strtod-round-data.h: Regenerated.
13555 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
13556 (TEST): Handle extra arguments for overflow flags.
13557 (struct test_overflow): New type.
13558 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
13559 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
13560 (test_in_one_mode): Take argument with overflow information.
13561 (do_test): Update calls to test_in_one_mode.
13563 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13565 * elf/dl-load (_dl_dst_substitute): Correct comment.
13566 (_dl_dst_count): Likewise.
13568 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
13569 lll_futex_timed_wait.
13571 2018-06-12 Joseph Myers <joseph@codesourcery.com>
13574 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
13576 * math/test-nan-const.c: New file.
13577 * math/Makefile (tests): Add test-nan-const.
13578 (CFLAGS-test-nan-const.c): New variable.
13580 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13582 * benchtests/scripts/compare_strings.py (process_results): Add
13583 funcs argument. Compare only functions which are selected.
13584 (main): Check if base function is among selected functions.
13585 Pass selected functions to process_results.
13586 (__main__): Add -f/--functions argument.
13588 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
13589 Hongbo Zhang <hongbo.zhang@linaro.org>
13591 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
13592 __memcpy_falkor for phecda core.
13593 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
13594 __memmove_falkor for phecda core.
13595 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
13596 __memset_falkor for phecda core.
13597 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
13599 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
13600 macro to identify phecda core.
13602 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13603 Andreas Schwab <schwab@suse.de>
13604 Dmitry V. Levin <ldv@altlinux.org>
13605 Florian Weimer <fweimer@redhat.com>
13612 * elf/dl-dst.h: Remove DL_DST_COUNT.
13613 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13614 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13615 (is_dst): Comment. Support ELF gABI.
13616 (_dl_dst_count): Comment. Simplify and count DSTs.
13617 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13618 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13621 2018-06-12 Zack Weinberg <zackw@panix.com>
13623 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13624 * sysdeps/unix/sysv/linux/dl-sysdep.c
13625 Include not-cancel.h. Use __close_nocancel instead of __close,
13626 __open64_nocancel instead of __open, __read_nocancel instead of
13627 __libc_read, and __write_nocancel instead of __libc_write.
13629 * csu/check_fds.c (check_one_fd)
13630 * sysdeps/posix/fdopendir.c (__fdopendir)
13631 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
13632 instead of __fcntl and/or __libc_fcntl.
13634 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13635 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
13636 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
13637 Use __open64_nocancel instead of __open_nocancel.
13639 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13640 hidden_proto declarations to the end and issue them if either
13641 IS_IN(libc) or IS_IN(rtld).
13642 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13643 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13644 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13645 read_nocancel, waitpid_nocancel, write_nocancel.
13647 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13648 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13649 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
13651 * nptl/pt-fcntl.c: New file.
13652 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13653 (libpthread-routines): Add pt-fcntl.
13654 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13655 (__libc_fcntl): Remove attribute_hidden.
13656 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13657 __fcntl_nocancel_adjusted, not fcntl_common.
13658 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
13659 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13660 to fcntl_nocancel.c.
13661 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13664 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
13666 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
13667 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
13668 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
13669 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
13670 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
13671 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
13672 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
13673 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
13674 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
13675 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
13676 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
13677 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
13678 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
13679 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
13680 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
13681 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
13682 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
13683 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
13684 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
13685 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
13687 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
13688 libpthread-routines.
13689 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
13692 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
13693 __libc_read, and __write instead of __libc_write. Define
13694 __open64 in addition to __open.
13696 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13700 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
13701 to _private_tm[3] and add __glibc_reserved2.
13702 Add _Static_assert of offset of __private_ss == 0x30.
13703 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
13704 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
13706 2018-06-12 Florian Weimer <fweimer@redhat.com>
13708 x86: Make strncmp usable from rtld.
13709 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
13710 __strncmp_ia32 if in libc (and not in rtld).
13711 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
13712 strncmp if not in libc (and not to __strncmp_sse2).
13714 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
13717 * localedata/locales/gd_GB (mon): Rename to...
13719 (mon): Import from CLDR (genitive case).
13720 * localedata/locales/hsb_DE (mon): Rename to...
13722 (mon): Import from CLDR (genitive case).
13723 * localedata/locales/wa_BE (mon): Rename to...
13725 (mon): Add, fill with the proper genitive forms, but CLDR data
13726 is incomplete; completed according to the comments in this file.
13727 (d_t_fmt): Do not use "di" before the month name, no longer needed.
13729 * localedata/locales/wa_BE (country_name): Reword
13730 "Beljike" -> "Beldjike".
13732 2018-06-11 Joseph Myers <joseph@codesourcery.com>
13735 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
13736 cases of non-finite arguments.
13737 * math/libm-test-fma.inc (fma_test_data): Add more tests.
13739 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
13742 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
13744 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13747 * include/unistd.h (__execvpex): New prototype.
13748 * posix/Makefile (tests): Add tst-spawn4.
13749 (tests-internal): Add tst-spawn4-compat.
13750 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
13751 * posix/tst-spawn4-compat.c: New file.
13752 * posix/tst-spawn4.c: Likewise.
13753 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
13754 binaries as shell scripts.
13755 * sysdeps/posix/spawni.c (__spawni): Likewise.
13757 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
13760 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
13761 ($(all-built-dso:=.dynsym): New target.
13762 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
13763 ($(objpfx)check-initfini.out): New target.
13764 (generated): Add check-initfini.out.
13765 * scripts/check-initfini.awk: New file.
13766 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13768 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13770 * sysdeps/arm/crti.S (_init): Mark as hidden.
13772 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13774 * sysdeps/i386/crti.S (_init): Mark as hidden.
13776 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13778 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13780 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13782 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13784 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13786 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13788 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13790 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13792 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13794 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13796 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13798 * sysdeps/sh/crti.S (_init): Mark as hidden.
13800 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13802 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13805 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13807 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13808 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13809 and TF redirection to KFtype and KF only when the default
13810 long double type is not the IEEE 128-bit floating point type.
13812 2018-06-05 Joseph Myers <joseph@codesourcery.com>
13814 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13816 (HWCAP_USCAT): Likewise.
13817 (HWCAP_ILRCPC): Likewise.
13818 (HWCAP_FLAGM): Likewise.
13819 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13821 (_dl_aarch64_cap_flags): Add new flag names.
13823 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13824 (MAP_FIXED_NOREPLACE): New macro.
13825 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13826 (MAP_FIXED_NOREPLACE): Likewise.
13827 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13828 (MAP_FIXED_NOREPLACE): Likewise.
13829 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13830 (MAP_FIXED_NOREPLACE): Likewise.
13831 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13832 (MAP_FIXED_NOREPLACE): Likewise.
13833 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13834 (MAP_FIXED_NOREPLACE): Likewise.
13835 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13836 (MAP_FIXED_NOREPLACE): Likewise.
13837 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13838 (MAP_FIXED_NOREPLACE): Likewise.
13839 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13840 (MAP_FIXED_NOREPLACE): Likewise.
13841 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13842 (MAP_FIXED_NOREPLACE): Likewise.
13843 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13844 (MAP_FIXED_NOREPLACE): Likewise.
13845 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13846 (MAP_FIXED_NOREPLACE): Likewise.
13847 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13848 (MAP_FIXED_NOREPLACE): Likewise.
13849 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13850 (MAP_FIXED_NOREPLACE): Likewise.
13851 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13852 (MAP_FIXED_NOREPLACE): Likewise.
13854 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13857 2018-06-04 Joseph Myers <joseph@codesourcery.com>
13859 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13862 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13864 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13866 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13868 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13870 * benchtests/scripts/compare_string.py: (process_results) Catch
13871 exception in non-existent base_func and catch exception in
13872 non-existent attribute.
13873 (parse_file) Catch exception if input file does not exist.
13875 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13877 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13878 options to avoid diff calculation and omit header, respectively.
13879 (main): process --no-diff and --no-header
13881 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13882 H.J. Lu <hongjiu.lu@intel.com>
13884 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13885 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13887 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13888 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13889 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13890 and __wcsncmp_sse2.
13891 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13892 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13893 AVX unaligned load is fast and vzeroupper is preferred.
13894 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13895 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13896 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13897 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13898 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13899 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13900 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13901 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13902 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13903 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13906 2018-06-01 Florian Weimer <fweimer@redhat.com>
13908 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13909 configuring with --disable-multi-arch, building with
13910 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13913 2018-06-01 Florian Weimer <fweimer@redhat.com>
13915 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13916 results from building with “-march=x86-64 -mtune=generic
13917 -mfpmath=sse” and running on a Haswell-era CPU.
13919 2018-06-01 Joseph Myers <joseph@codesourcery.com>
13922 * soft-fp/sqrttf2.c: Remove file.
13923 * soft-fp/sqrtdf2.c: Move to ....
13924 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13926 (__sqrtdf2): Make conditional on
13927 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13929 * soft-fp/sqrtsf2.c: Move to ....
13930 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13932 (__sqrtsf2): Make conditional on
13933 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13935 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13936 (gcc-double-routines): Remove sqrtdf2.
13937 (gcc-quad-routines): Remove sqrttf2.
13938 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13939 Do not filter out sqrtsf2 and sqrtdf2.
13940 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13941 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13943 2018-06-01 Florian Weimer <fweimer@redhat.com>
13945 * sysdeps/generic/libcidn.abilist: Remove file.
13947 2018-06-01 Florian Weimer <fweimer@redhat.com>
13950 * libio/strfile.h (struct _IO_str_fields): Rename members to
13951 discourage their use and add comment.
13952 (_IO_STR_DYNAMIC): Remove unused macro.
13953 * libio/strops.c (_IO_str_init_static_internal): Do not use
13954 callback pointers. Call malloc and free.
13955 (_IO_str_overflow): Do not use callback pointers. Call malloc
13957 (enlarge_userbuf): Likewise.
13958 (_IO_str_finish): Call free.
13959 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13960 _allocate_buffer_unused.
13961 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13963 (enlarge_userbuf): Likewise.
13964 (_IO_wstr_finish): Call free.
13965 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13966 _allocate_buffer_unused, _free_buffer_unused.
13967 * libio/memstream.c (__open_memstream): Likewise.
13968 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13969 * libio/wmemstream.c (open_wmemstream): Likewise.
13971 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13973 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13976 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13978 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13979 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13980 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13982 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13984 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13986 2018-05-29 Florian Weimer <fweimer@redhat.com>
13988 * support/Makefile (libsupport-routines): Add
13989 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13990 xpthread_barrierattr_setpshared.
13991 * support/xpthread_barrierattr_destroy.c: New file.
13992 * support/xpthread_barrierattr_init.c: Likewise.
13993 * support/xpthread_barrierattr_setpshared.c: Likewise.
13995 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13998 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13999 _r_debug and update DT_DEBUG for debugger.
14001 2018-05-29 Florian Weimer <fweimer@redhat.com>
14003 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
14004 (tst-strtod5i.out): Likewise.
14006 2018-05-25 Joseph Myers <joseph@codesourcery.com>
14008 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
14009 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
14010 (sparc64-quad-routines): New variable. Moved from ....
14011 [$(subdir) = soft-fp] (sysdep_routines): Add
14012 $(sparc64-quad-routines). Moved from ....
14013 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
14014 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
14015 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
14017 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
14018 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
14019 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
14020 * sysdeps/sparc/sparc64/qp_add.c: ... here.
14021 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
14022 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
14023 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
14024 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
14025 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
14026 * sysdeps/sparc/sparc64/qp_div.c: ... here.
14027 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
14028 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
14029 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
14030 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
14031 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
14032 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
14033 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
14034 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
14035 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
14036 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
14037 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
14038 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
14039 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
14040 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
14041 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
14042 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
14043 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
14044 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
14045 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
14046 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
14047 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
14048 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
14049 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
14050 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
14051 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
14052 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
14053 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
14054 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
14055 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
14056 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
14057 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
14058 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
14059 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
14060 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
14061 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
14062 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
14063 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
14064 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
14065 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
14066 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
14067 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
14068 * sysdeps/sparc/sparc64/qp_util.c: ... here.
14069 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
14070 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
14071 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
14072 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
14073 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
14074 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
14076 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
14077 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
14078 (sparc32-quad-routines): New variable. Moved from ....
14079 [$(subdir) = soft-fp] (sysdep_routines): Add
14080 $(sparc32-quad-routines). Moved from ....
14081 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
14082 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
14084 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
14085 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
14086 * sysdeps/sparc/sparc32/q_add.c: ... here.
14087 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
14088 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
14089 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
14090 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
14091 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
14092 * sysdeps/sparc/sparc32/q_div.c: ... here.
14093 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
14094 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
14095 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
14096 * sysdeps/sparc/sparc32/q_feq.c: ... here.
14097 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
14098 * sysdeps/sparc/sparc32/q_fge.c: ... here.
14099 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
14100 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
14101 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
14102 * sysdeps/sparc/sparc32/q_fle.c: ... here.
14103 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
14104 * sysdeps/sparc/sparc32/q_flt.c: ... here.
14105 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
14106 * sysdeps/sparc/sparc32/q_fne.c: ... here.
14107 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
14108 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
14109 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
14110 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
14111 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
14112 * sysdeps/sparc/sparc32/q_mul.c: ... here.
14113 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
14114 * sysdeps/sparc/sparc32/q_neg.c: ... here.
14115 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
14116 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
14117 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
14118 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
14119 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
14120 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
14121 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
14122 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
14123 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
14124 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
14125 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
14126 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
14127 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
14128 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
14129 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
14130 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
14131 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
14132 * sysdeps/sparc/sparc32/q_sub.c: ... here.
14133 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
14134 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
14135 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
14136 * sysdeps/sparc/sparc32/q_util.c: ... here.
14137 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
14138 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
14139 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
14140 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
14142 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14143 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14145 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
14146 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
14147 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
14148 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
14150 2018-05-24 Joseph Myers <joseph@codesourcery.com>
14152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
14154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14156 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
14157 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
14159 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14162 * math/math.h [C++] (iseqsig): Fix parameter type for the long
14165 2018-05-23 Joseph Myers <joseph@codesourcery.com>
14167 * sysdeps/sh/Implies: Remove sh/soft-fp.
14168 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
14169 * sysdeps/sh/sfp-machine.h: ... here.
14171 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14173 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14174 (__mempcpy_erms): Skip zero length.
14175 (__memmove_erms): Likewise.
14176 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14177 (__memset_erms): Likewise.
14179 2018-05-23 Joseph Myers <joseph@codesourcery.com>
14181 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
14182 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14183 Add functions moved from ....
14184 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
14185 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
14186 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
14188 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
14189 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
14190 * sysdeps/alpha/e_sqrtl.c: ... here.
14191 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
14192 * sysdeps/alpha/local-soft-fp.h: ... here.
14193 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
14194 * sysdeps/alpha/ots_add.c: ... here.
14195 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
14196 * sysdeps/alpha/ots_cmp.c: ... here.
14197 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
14198 * sysdeps/alpha/ots_cmpe.c: ... here.
14199 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
14200 * sysdeps/alpha/ots_cvtqux.c: ... here.
14201 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
14202 * sysdeps/alpha/ots_cvtqx.c: ... here.
14203 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
14204 * sysdeps/alpha/ots_cvttx.c: ... here.
14205 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
14206 * sysdeps/alpha/ots_cvtxq.c: ... here.
14207 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
14208 * sysdeps/alpha/ots_cvtxt.c: ... here.
14209 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
14210 * sysdeps/alpha/ots_div.c: ... here.
14211 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
14212 * sysdeps/alpha/ots_mul.c: ... here.
14213 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
14214 * sysdeps/alpha/ots_nintxq.c: ... here.
14215 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
14216 * sysdeps/alpha/ots_sub.c: ... here.
14217 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
14218 * sysdeps/alpha/sfp-machine.h: ... here.
14220 2018-05-23 Florian Weimer <fweimer@redhat.com>
14228 Switch to extern IDNA implementation (libidn2).
14229 * libidn: Remove subdirectory.
14230 * LICENSES: Do not mention licensing conditions for the removed
14232 * config.h.in (HAVE_LIBIDN): Remove.
14233 * include/dlfcn.h (__libc_dlopen): Update comment.
14234 * include/idna.h: Remove file.
14235 * inet/Makefile (routines): Add idna.
14236 (tests-static, tests-internal): Add tst-idna_name_classify.
14237 (LOCALES): Generate locales for tests.
14238 (tst-idna_name_classify.out): Depend on generated locales.
14239 * inet/idna_name_classify.c: New file.
14240 * inet/tst-idna_name_classify.c: Likewise.
14241 * inet/net-internal.h (__idna_to_dns_encoding)
14242 (__idna_from_dns_encoding): Declare.
14243 * inet/net-internal.h (enum idna_name_classification): Define.
14244 (__idna_name_classify): Declare.
14245 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
14246 __idna_from_dns_encoding.
14247 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
14248 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
14249 name as a fallback in case of encoding errors.
14250 (getnameinfo): Use DEPRECATED_NI_IDN.
14251 * inet/idna.c: New file.
14252 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
14253 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
14254 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
14255 (modules-names): Add tst-no-libidn2.
14256 (extra-test-objs): Add tst-no-libidn2.os.
14257 (LDFLAGS-tst-no-libidn2.so): Set soname.
14258 (LOCALES): Set, and generate locales.
14259 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
14260 (tst-resolv-ai_idn-latin1): Likewise.
14261 (tst-resolv-ai_idn-nolibidn2): Likewise.
14262 (tst-resolv-ai_idn.out): Depend on locales.
14263 (tst-resolv-ai_idn-latin1.out): Depend on locales.
14264 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
14266 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
14267 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
14268 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
14269 * resolv/tst-resolv-ai_idn.c: New file.
14270 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
14271 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
14272 * resolv/tst-no-libidn2.c: Likewise.
14273 * support/support_format_addrinfo.c (format_ai_flags): Do not
14274 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
14275 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
14276 (gaih_inet): Call __idna_to_dns_encoding and
14277 __idna_from_dns_encoding, and use the original (punycode) name if
14278 __idna_from_dns_encoding fails due to an encoding error.
14279 (getaddrinfo): Use DEPRECATED_AI_IDN.
14280 * sysdeps/unix/inet/Subdirs (libidn): Remove.
14281 * sysdeps/unix/inet/configure: Remove file.
14282 * sysdeps/unix/inet/configure.ac: Likewise.
14284 2018-05-23 Florian Weimer <fweimer@redhat.com>
14286 Implement allocate_once.
14287 * include/allocate_once.h: New file.
14288 * misc/allocate_once.c: Likewise.
14289 * misc/tst-allocate_once.c: Likewise.
14290 * misc/Makefile (routines): Add allocate_once.
14291 (tests-internal): Add tst-allocate_once.
14292 (generated): Add tst-allocate_once.mtrace,
14293 tst-allocate_once-mem.out.
14294 (tests-special): Add tst-allocate_once-mem.out.
14295 (tst-allocate_once-ENV): Set MALLOC_TRACE.
14296 (tst-allocate_once-mem.out): Call mtrace.
14297 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
14299 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14302 * string/test-memcpy.c (do_test1): New function.
14303 (test_main): Call it.
14305 2018-05-23 Andreas Schwab <schwab@suse.de>
14309 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
14310 (L(preloop_large)): Save initial destination pointer in %r11 and
14311 use it instead of %rax after the loop.
14312 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
14314 2018-05-22 Joseph Myers <joseph@codesourcery.com>
14316 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
14317 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
14318 -I../soft-fp. Moved from ....
14319 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
14320 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
14321 * sysdeps/aarch64/e_sqrtl.c: ... here.
14322 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
14323 * sysdeps/aarch64/sfp-machine.h: ... here.
14325 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
14326 -Wmaybe-uninitialized around access to fq[0].
14327 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14331 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
14332 aliases for non-libc case of versioned symbols.
14333 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
14334 (llseek): Define as compat symbol if
14335 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
14337 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
14338 Make into a compat symbol, disabled for minimum symbol version
14339 GLIBC_2.28 and later.
14340 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
14342 2018-05-22 Florian Weimer <fweimer@redhat.com>
14344 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
14345 not add -mpreferred-stack-boundary=4.
14346 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
14347 (stack-align-test-flags): Likewise.
14348 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
14350 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
14351 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
14352 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
14353 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
14354 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
14355 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
14356 (CFLAGS-tst-align2.c): Likewise.
14358 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14360 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
14361 (index_arch_Prefer_FSRM): Likewise.
14362 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14363 Also check Prefer_FSRM.
14364 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
14365 Also return OPTIMIZE (erms) for Prefer_FSRM.
14367 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14369 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
14370 (index_cpu_FSRM): Likewise.
14371 (reg_FSRM): Likewise.
14373 2018-05-18 Joseph Myers <joseph@codesourcery.com>
14375 * math/gen-tgmath-tests.py: Import sys.
14376 (Tests.__init__): Initialize macros_seen.
14377 (Tests.add_tests): Add macro to macros_seen. Only generate tests
14378 if requested to do so for this macro.
14379 (Tests.add_all_tests): Take argument for macro for which to
14381 (Tests.check_macro_list): New function.
14382 (main): Handle check-list argument and argument specifying macro
14383 for which to generate tests.
14384 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
14385 [PYTHON] (tgmath3-macro-tests): Likewise.
14386 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
14387 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
14388 not test-tgmath3.c.
14389 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
14390 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
14392 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
14393 [PYTHON] ($(foreach
14394 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
14396 [PYTHON] (tests-special): Add
14397 $(objpfx)test-tgmath3-macro-list.out.
14398 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
14400 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
14401 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
14405 * time/tzset.c (SECSPERDAY): Cast to time_t.
14406 * time/tst-y2039.c: New file.
14407 * time/Makefile (tests): Add tst-y2039.
14409 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14411 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14412 (PREFETCH_ONE_SET): Remove duplicate line.
14414 2018-05-17 Florian Weimer <fweimer@redhat.com>
14416 * sysdeps/generic/math-type-macros-double.h: Include
14417 <math-nan-payload-double.h> after <libm-alias-double.h>.
14418 * sysdeps/generic/math-type-macros-float.h: Include
14419 <math-nan-payload-float.h> after <libm-alias-float.h>.
14420 * sysdeps/generic/math-type-macros-float128.h: Include
14421 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
14422 * sysdeps/generic/math-type-macros-ldouble.h: Include
14423 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
14425 2018-05-17 Andreas Schwab <schwab@suse.de>
14427 * resolv/res_send.c (__res_context_send): Don't set errno when
14428 returing error after malloc failure.
14430 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
14432 * nptl/allocatestack.c (allocate_stack): Remove the
14433 !__ASSUME_PRIVATE_FUTEX paths.
14434 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
14435 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14437 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
14438 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14439 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14440 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14441 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
14442 !__ASSUME_PRIVATE_FUTEX path.
14443 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
14444 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
14445 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14446 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
14447 !__ASSUME_PRIVATE_FUTEX macros.
14448 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14449 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14450 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
14451 * sysdeps/unix/sysv/linux/kernel-features.h
14452 (__ASSUME_PRIVATE_FUTEX): Removed.
14454 2018-05-17 Joseph Myers <joseph@codesourcery.com>
14456 * math/Makefile (libm-narrow-fns): Add div.
14457 (libm-test-funcs-narrow): Likewise.
14458 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
14459 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
14460 * math/gen-auto-libm-tests.c (test_functions): Add div.
14461 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
14462 (NARROW_DIV_ROUND_TO_ODD): Likewise.
14463 (NARROW_DIV_TRIVIAL): Likewise.
14464 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
14466 (__ddivl): Likewise.
14467 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
14469 (CFLAGS-nldbl-ddiv.c): New variable.
14470 (CFLAGS-nldbl-fdiv.c): Likewise.
14471 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14473 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
14475 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
14476 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
14477 * math/auto-libm-test-in: Add tests of div.
14478 * math/auto-libm-test-out-narrow-div: New generated file.
14479 * math/libm-test-narrow-div.inc: New file.
14480 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
14481 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
14482 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
14483 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
14484 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
14485 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
14486 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
14487 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
14488 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
14489 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
14490 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
14491 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
14492 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
14493 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
14494 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
14495 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
14496 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
14497 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
14498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14499 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14500 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14501 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14502 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14503 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14504 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14505 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14506 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14507 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14508 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14509 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14510 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14511 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14516 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14517 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14518 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14519 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14520 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14521 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14522 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14523 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14525 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14528 * nscd/nscd-client.h (sendfileall): Remove prototype.
14529 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
14530 (handle_request): Use writeall instead of sendfileall.
14531 * nscd/aicache.c (addhstaiX): Likewise.
14532 * nscd/grpcache.c (cache_addgr): Likewise.
14533 * nscd/hstcache.c (cache_addhst): Likewise.
14534 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14535 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
14536 * nscd/pwdcache.c (cache_addpw): Likewise.
14537 * nscd/servicescache.c (cache_addserv): Likewise.
14538 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
14539 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
14540 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
14543 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
14545 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
14546 Include <string/strncat.c>.
14547 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
14549 (__GI___strncat): New hidden alias.
14551 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14553 * sysdeps/mips/mips32/libm-test-ulps: Update.
14554 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14556 2018-05-16 Florian Weimer <fweimer@redhat.com>
14558 * support/Makefile (libsupport-routines): Add support_quote_blob,
14559 support_test_compare_blob.
14560 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
14561 * support/check.h (TEST_COMPARE_BLOB): Define.
14562 (support_test_compare_blob): Declare.
14563 * support/support.h (support_quote_blob): Declare.
14564 * support/support_quote_blob.c: New file.
14565 * support/support_test_compare_blob.c: Likewise.
14566 * support/tst-support_quote_blob.c: Likewise.
14567 * support/tst-test_compare_blob.c: Likewise.
14569 2018-05-16 Florian Weimer <fweimer@redhat.com>
14571 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
14572 of <strtod_nan_double.h>.
14573 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
14574 instead of SET_MANTISSA.
14575 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
14576 of include <strtod_nan_float.h>.
14577 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
14578 instead of <strtod_nan_ldouble.h>.
14579 * stdlib/strtod_nan_double.h: Move to ...
14580 * sysdeps/generic/math-nan-payload-double.h: ... here.
14581 (FLOAT): Remove definition.
14582 (SET_MANTISSA): Rename to ...
14583 (SET_NAN_PAYLOAD): ... this.
14584 * stdlib/strtod_nan_float.h: Move to ...
14585 * sysdeps/generic/math-nan-payload-float.h: ... here.
14586 (FLOAT): Remove definition.
14587 (SET_MANTISSA): Rename to ...
14588 (SET_NAN_PAYLOAD): ... this.
14589 * sysdeps/generic/math-type-macros-double.h: Include
14590 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
14591 instead of <math-svid-compat.h>.
14592 * sysdeps/generic/math-type-macros-float.h: Include
14593 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
14594 instead of <math-svid-compat.h>.
14595 * sysdeps/generic/math-type-macros-float128.h: Include
14596 <math-nan-payload-float128.h>.
14597 * sysdeps/generic/math-type-macros-ldouble.h: Include
14598 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
14599 instead of <math-svid-compat.h>.
14600 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
14601 check for definition.
14602 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
14603 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
14604 Include <ieee754_float128.h>.
14605 (FLOAT): Remove definition.
14606 (SET_MANTISSA): Rename to ...
14607 (SET_NAN_PAYLOAD): ... this.
14608 * sysdeps/ieee754/float128/strtof128_nan.c: Include
14609 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14610 Do not include <float128_private.h>.
14611 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14612 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14613 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14614 (FLOAT): Remove definition.
14615 (SET_MANTISSA): Rename to ...
14616 (SET_NAN_PAYLOAD): ... this.
14617 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14618 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14619 (FLOAT): Remove definition.
14620 (SET_MANTISSA): Rename to ...
14621 (SET_NAN_PAYLOAD): ... this.
14622 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14623 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14624 (FLOAT): Remove definition.
14625 (SET_MANTISSA): Rename to ...
14626 (SET_NAN_PAYLOAD): ... this.
14627 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14628 of "../stdlib/strtod_nan_double.h".
14629 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14630 of "../stdlib/strtod_nan_float.h".
14631 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14632 instead of "../stdlib/strtod_nan_ldouble.h".
14633 * manual/arith.texi (Parsing of Floats): Adjust comment.
14635 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14637 * math/Makefile (libm-narrow-fns): Add mul.
14638 (libm-test-funcs-narrow): Likewise.
14639 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14640 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14641 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14642 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14643 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14644 (NARROW_MUL_TRIVIAL): Likewise.
14645 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14646 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14648 (__dmull): Likewise.
14649 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14651 (CFLAGS-nldbl-dmul.c): New variable.
14652 (CFLAGS-nldbl-fmul.c): Likewise.
14653 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14655 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14657 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14658 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14659 * math/auto-libm-test-in: Add tests of mul.
14660 * math/auto-libm-test-out-narrow-mul: New generated file.
14661 * math/libm-test-narrow-mul.inc: New file.
14662 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14663 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14664 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
14665 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
14666 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
14667 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
14668 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
14669 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
14670 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
14671 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
14672 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
14673 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
14674 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
14675 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
14676 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
14677 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
14678 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
14679 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
14680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14681 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14682 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14683 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14684 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14685 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14686 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14687 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14688 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14689 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14690 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14691 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14692 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14693 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14698 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14699 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14700 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14701 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14702 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14703 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14704 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14705 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14707 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14709 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14710 with *%eax in call.
14712 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14714 * sysdeps/i386/ldsodefs.h: Removed.
14715 * sysdeps/x86_64/ldsodefs.h: Moved to ...
14716 * sysdeps/x86/ldsodefs.h: This.
14717 (La_i86_regs): New.
14718 (La_i86_retval): Likewise.
14719 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
14720 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
14722 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14724 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
14727 2018-05-13 Alan Modra <amodra@gmail.com>
14729 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
14730 R_PARISC_TLS_DTPOFF32 reloc addend.
14732 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14734 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
14735 * math/math.h: Restrict the prototype definition for the functions
14736 issignaling(_Float128) and iszero(_Float128); and template
14737 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
14738 __HAVE_FLOAT128_UNLIKE_LDBL.
14739 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
14740 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
14741 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
14742 __f128() constants; define the type _Float128 as long double;
14743 and reuse long double in __CFLOAT128.
14745 2018-05-11 Joseph Myers <joseph@codesourcery.com>
14747 * sysdeps/generic/math_private.h: Do not include
14749 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
14751 * math/fromfp.h: Include <math-barriers.h>.
14752 * math/math-narrow.h: Likewise.
14753 * math/s_nextafter.c: Likewise.
14754 * math/s_nexttowardf.c: Likewise.
14755 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
14756 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
14757 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
14758 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
14759 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14760 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14761 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14762 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14763 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14764 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14765 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14766 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14767 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14768 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14769 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14770 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14771 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14772 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14773 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14774 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14775 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14776 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14777 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14778 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14779 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14780 * sysdeps/ieee754/k_standardl.c: Likewise.
14781 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14782 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14783 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14784 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14785 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14786 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14787 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14788 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14789 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14790 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14791 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14792 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14793 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14794 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14795 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14796 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14797 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14798 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14799 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14800 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14801 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14802 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14804 2018-05-11 Florian Weimer <fweimer@redhat.com>
14806 Use 64-bit epoch values in the time zone file parser.
14807 * include/time.h (internal_time_t): Define.
14808 (__tzfile_compute): Use it.
14809 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14811 (transitions): Switch to internal_time_t.
14812 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14814 (__tzfile_compute): Use internal_time_t for timer argument. Check
14815 for truncation before calling __offtime.
14817 2018-05-11 Florian Weimer <fweimer@redhat.com>
14820 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14821 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14823 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14824 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14825 export without --enable-obsolete-rpc.
14826 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14827 symbol. This should not have been exported, ever.
14829 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14832 * localedata/locales/gd_GB (abmon): Fix typo in May:
14833 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14835 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14837 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14838 Use multiple registers to copy data in loop tail.
14840 * sysdeps/aarch64/multiarch/memmove_falkor.S
14841 (__memmove_falkor): Use multiple registers to move data in
14844 2018-05-10 Joseph Myers <joseph@codesourcery.com>
14846 * math/math-underflow.h: New file.
14847 * sysdeps/generic/math_private.h: Do not include <float.h>.
14848 (fabs_tg): Remove macro. Moved to math-underflow.h.
14849 (min_of_type_f): Likewise.
14850 (min_of_type_): Likewise.
14851 (min_of_type_l): Likewise.
14852 (min_of_type_f128): Likewise.
14853 (min_of_type): Likewise.
14854 (math_check_force_underflow): Likewise.
14855 (math_check_force_underflow_nonneg): Likewise.
14856 (math_check_force_underflow_complex): Likewise.
14857 * math/e_exp2_template.c: Include <math-underflow.h>.
14858 * math/k_casinh_template.c: Likewise.
14859 * math/s_catan_template.c: Likewise.
14860 * math/s_catanh_template.c: Likewise.
14861 * math/s_ccosh_template.c: Likewise.
14862 * math/s_cexp_template.c: Likewise.
14863 * math/s_clog10_template.c: Likewise.
14864 * math/s_clog_template.c: Likewise.
14865 * math/s_csin_template.c: Likewise.
14866 * math/s_csinh_template.c: Likewise.
14867 * math/s_csqrt_template.c: Likewise.
14868 * math/s_ctan_template.c: Likewise.
14869 * math/s_ctanh_template.c: Likewise.
14870 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14871 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14872 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14873 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14874 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14875 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14876 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14877 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14878 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14879 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14880 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14881 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14882 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14883 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14884 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14885 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14886 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14887 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14888 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14889 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14890 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14891 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14892 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14893 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14894 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14895 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14896 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14897 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14898 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14899 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14900 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14901 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14902 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14903 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14904 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14905 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14906 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14907 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14908 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14909 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14910 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14911 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14912 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14913 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14914 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14915 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14916 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14917 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14918 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14919 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14920 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14921 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14922 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14923 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14924 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14925 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14926 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14927 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14928 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14929 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14930 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14931 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14932 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14933 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14934 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14935 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14936 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14937 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14938 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14939 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14940 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14941 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14942 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14943 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14944 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14945 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14946 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14947 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14948 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14949 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14950 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14951 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14952 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14953 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14955 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14957 * sysdeps/generic/math-barriers.h: New file.
14958 * sysdeps/generic/math_private.h [!math_opt_barrier]
14959 (math_opt_barrier): Move to math-barriers.h.
14960 [!math_opt_barrier] (math_force_eval): Likewise.
14961 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14962 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14964 (math_force_eval): Likewise.
14965 * sysdeps/alpha/fpu/math-barriers.h: New file.
14966 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14968 (math_force_eval): Likewise.
14969 * sysdeps/x86/fpu/math-barriers.h: New file.
14970 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14972 (math_force_eval): Likewise.
14973 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14974 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14975 multiple-include guard for rename.
14976 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14977 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14979 (math_force_eval): Likewise.
14981 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14985 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14987 * stdlib/Makefile (test-bz22786): New test.
14988 * stdlib/test-bz22786.c: New test.
14990 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14992 * include/math-narrow-eval.h: New file. Contents moved from ....
14993 * sysdeps/generic/math_private.h: ... here.
14994 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14995 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14996 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14997 * stdlib/strtod_l.c: Likewise.
14998 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14999 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15000 * sysdeps/i386/fpu/s_fdim.c: Likewise.
15001 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15002 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15003 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15004 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15005 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15006 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15007 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15008 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15009 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
15010 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15011 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15012 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15013 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15014 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15015 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15016 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15017 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15018 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15019 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15020 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15021 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15022 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15023 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15024 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15025 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15026 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15028 2018-05-08 Andreas Schwab <schwab@suse.de>
15030 * sysdeps/nptl/internaltypes.h: Fix comment.
15032 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
15034 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15035 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
15038 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
15040 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
15041 of I into loop header.
15042 * benchtests/bench-memmove-walk.c
15043 (test_main): Likewise.
15045 2018-05-07 Alexandre Oliva <oliva@gnu.org>
15048 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15049 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15051 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15054 * elf/dl-load.c (open_verify): Fix stack overflow.
15055 * elf/Makefile (tst-big-note): New test.
15056 * elf/tst-big-note-lib.S: New.
15057 * elf/tst-big-note.c: New.
15059 2018-05-04 Joseph Myers <joseph@codesourcery.com>
15061 * scripts/abilist.awk: Ignore absolute symbols.
15062 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
15063 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
15064 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
15065 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
15066 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
15067 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
15068 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15069 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
15070 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
15071 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
15072 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
15073 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
15074 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
15075 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
15076 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
15077 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15078 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
15079 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
15080 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15081 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
15082 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15083 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
15084 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
15085 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
15086 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
15087 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
15088 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
15089 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
15090 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15091 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
15092 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
15093 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15094 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
15095 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15096 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
15097 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
15098 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
15099 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
15100 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
15101 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
15102 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
15103 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15104 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
15105 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
15106 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15107 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
15108 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15109 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
15110 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
15111 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
15112 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
15113 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
15114 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
15115 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
15116 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15117 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
15118 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
15119 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15120 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
15121 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15122 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
15123 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
15124 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
15125 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
15126 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
15127 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
15128 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
15129 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15130 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
15131 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
15132 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15133 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
15134 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
15135 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
15136 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
15137 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
15138 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
15139 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
15140 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
15141 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
15142 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15143 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
15144 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
15145 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15146 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
15147 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
15148 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
15149 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
15150 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
15151 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
15152 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
15153 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15155 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
15156 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15157 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
15158 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
15159 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15160 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
15161 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
15162 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
15163 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
15164 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
15165 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
15166 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
15167 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15169 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
15170 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15171 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
15172 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
15173 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15174 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
15175 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
15176 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
15177 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
15178 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
15179 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
15180 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
15181 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
15182 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
15183 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15184 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
15185 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
15186 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15187 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
15188 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
15189 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
15190 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
15191 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
15192 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
15193 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15194 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
15195 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15197 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
15198 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
15199 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
15200 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
15201 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15202 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
15203 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
15204 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
15205 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
15206 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
15207 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
15208 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
15209 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
15210 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
15211 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
15212 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
15213 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
15214 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
15215 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15216 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15218 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
15219 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
15220 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
15221 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15222 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
15223 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
15224 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
15225 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
15226 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
15227 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
15228 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15229 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
15230 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
15231 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15232 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
15233 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
15234 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
15235 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
15236 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15237 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
15238 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
15239 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15240 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
15241 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
15242 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
15243 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
15244 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
15245 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
15246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
15249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
15252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
15253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
15254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
15255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
15257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
15259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
15260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
15263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
15275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
15276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
15281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
15282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
15283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
15287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
15288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
15296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
15297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
15298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
15305 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15306 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
15308 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15309 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15310 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
15311 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15312 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15313 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15314 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
15315 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
15316 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15317 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
15318 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15319 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
15320 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
15321 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15323 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15324 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
15325 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
15326 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15327 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
15328 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
15329 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
15330 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
15331 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
15332 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
15333 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
15334 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15336 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15337 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
15338 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
15339 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15340 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
15341 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
15342 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
15343 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
15344 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
15345 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
15346 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
15347 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
15348 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
15349 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15350 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
15351 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
15352 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15353 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
15354 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
15355 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
15356 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
15357 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
15358 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
15359 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
15360 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15362 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
15363 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15364 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
15365 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
15366 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15367 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
15368 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
15369 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
15370 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
15371 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
15372 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
15373 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
15374 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15376 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
15377 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15378 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
15379 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
15380 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15381 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
15382 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
15383 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
15384 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
15385 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
15386 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
15387 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
15388 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
15389 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
15390 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15391 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
15392 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
15393 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15394 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
15395 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
15396 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
15397 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
15398 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
15399 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
15400 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15401 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
15402 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
15403 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
15404 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15405 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
15406 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
15407 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15408 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
15409 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
15410 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
15411 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
15412 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
15413 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
15415 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15418 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
15419 Use atomic_load_acquire to load __tid.
15421 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15423 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
15424 Restore the pointer into %rdx, after syscall and use %rdx,
15425 instead of %rsi, to restore context.
15427 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15429 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
15430 Pop the pointer into %rdx after syscall and use %rdx, instead
15431 of %rsi, to restore context.
15433 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15435 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
15436 handlers after setjmp.
15437 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
15439 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
15440 <libc-pointer-arith.h>.
15441 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
15442 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
15443 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
15444 _JUMP_BUF_SIGSET_BITS_PER_WORD.
15445 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
15446 * sysdeps/x86/__longjmp_cancel.S: New file.
15447 * sysdeps/x86/longjmp.c: Likewise.
15448 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
15450 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15452 * NEWS: Add ustat.h deprecation entry.
15453 * bits/ustat.h: Remove file.
15454 * misc/sys/ustat.h: Likewise.
15455 * misc/ustat.h: Likewise.
15456 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
15457 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
15458 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
15459 compatibility mode.
15460 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
15461 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
15462 generic Linux implementation.
15464 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15466 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
15467 * math/w_expl_compat.c: Likewise.
15468 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
15470 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15472 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15474 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15476 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
15477 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
15478 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
15480 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
15481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15482 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15483 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
15484 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
15487 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15489 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
15491 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
15492 * math/w_asin_template.c: Likewise.
15493 * math/w_atanh_template.c: Likewise.
15495 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15497 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
15498 to powerpc/powerpc64/be for big-endian.
15499 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
15502 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
15503 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
15504 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
15505 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
15506 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15507 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
15508 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
15509 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
15510 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
15511 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15512 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
15513 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
15514 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
15515 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
15516 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
15517 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
15518 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
15519 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
15520 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
15521 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
15522 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
15523 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15524 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
15525 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
15526 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
15527 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15528 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
15529 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
15530 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
15531 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15532 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15533 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
15535 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
15536 adjusted to imply powerpc64 and older processors on powerpc64/be.
15537 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
15538 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
15539 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
15540 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
15541 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
15542 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
15543 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
15544 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
15545 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
15546 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
15547 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
15548 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
15549 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
15550 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
15551 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
15552 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
15553 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
15554 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
15555 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
15556 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
15557 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
15558 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
15559 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
15560 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
15561 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
15562 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
15563 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
15564 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
15565 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
15566 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
15567 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
15569 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
15570 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
15571 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
15572 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
15574 * sysdeps/powerpc/powerpc64/be/Implies: New file.
15575 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
15576 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
15577 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
15579 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
15580 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
15581 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
15582 * sysdeps/powerpc/powerpc64le/configure: Likewise.
15583 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
15584 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
15585 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
15586 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
15587 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
15588 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
15589 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
15591 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
15592 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
15593 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
15594 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
15595 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
15596 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
15597 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
15598 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
15599 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
15600 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
15601 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
15603 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
15604 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
15605 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
15606 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
15607 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
15608 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
15609 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15610 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15611 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15612 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15613 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15614 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15616 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15617 and adjusted to imply olders processors.
15618 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15619 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15620 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15621 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15622 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15623 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15624 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15625 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15626 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15627 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15628 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15630 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15632 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15633 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15647 powerpc64 and adjusted.
15648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15653 2018-04-27 Joseph Myers <joseph@codesourcery.com>
15655 * sysdeps/tile: Remove.
15656 * sysdeps/unix/sysv/linux/tile: Likewise.
15657 * README (tilegx-*-linux-gnu): Remove from list of supported
15659 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15660 contribution of support for generic Linux kernel syscall
15662 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15663 tilegx configurations.
15664 (Config.install_linux_headers): Do not handle tile.
15665 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
15667 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
15668 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
15669 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15670 conditional undefine and redefine.
15671 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
15673 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15674 conditional undefine and redefine.
15676 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
15678 * signal/tst-sigaction.c: New file to test BZ #23069.
15679 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
15681 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15684 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
15685 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
15686 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
15687 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15689 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15691 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
15692 _DIRENT_MATCHES_DIRENT64 is not defined.
15693 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
15694 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
15696 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
15697 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
15699 2018-04-25 Joseph Myers <joseph@codesourcery.com>
15701 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
15702 version to GCC 8 branch.
15704 2018-04-24 Joseph Myers <joseph@codesourcery.com>
15706 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
15707 (check_no_hidden): Use type of original function when declaring
15710 * sysdeps/unix/sysv/linux/sys/ptrace.h
15711 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
15712 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
15713 (struct __ptrace_seccomp_metadata): New type.
15714 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15715 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15716 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
15717 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15718 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
15719 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15720 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15721 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15722 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15723 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15724 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15725 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15726 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
15727 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15728 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
15729 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15731 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15733 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
15735 * dirent/versionsort.c (versionsort): Likewise.
15736 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
15737 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
15738 * dirent/versionsort64.c (versionsort64): Likewise.
15739 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
15740 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
15741 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
15742 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
15743 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
15744 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
15745 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
15746 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15747 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
15748 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
15749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
15750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
15751 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
15752 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
15754 2018-04-23 Joseph Myers <joseph@codesourcery.com>
15756 * elf/elf.h (NT_PPC_PKEY): New macro.
15758 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
15761 * localedata/locales/hr_HR: fix thousands_sep and
15764 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15766 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15767 (XTABS): Define to TAB3.
15769 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15771 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15773 * dirent/scandir-tail-common.c: New file.
15774 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15775 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15776 * dirent/scandir.c: Use scandir-tail-common.c.
15777 * dirent/scandirat.c: Likewise.
15778 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15779 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15780 if _DIRENT_MATCHES_DIRENT64 is defined.
15781 * dirent/scandirat64.c (scandirat64): Likewise.
15782 * include/dirent.h (__scandir_tail): Only define iff
15783 _DIRENT_MATCHES_DIRENT64 is not defined.
15784 (__scandir64_tail): Define regardless.
15785 (__scandirat, scandirat64): Remove libc_hidden_proto.
15786 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15787 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15789 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15790 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15791 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15792 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15794 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15796 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15798 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15800 (_dl_aarch64_cap_flags): Add asimdfhm.
15802 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15804 * sysdeps/nios2/libm-test-ulps: Update.
15806 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15808 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15809 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15811 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15813 (_DIRENT_MATCHES_DIRENT64): Undef
15814 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15815 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15816 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15817 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15818 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15819 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15820 use getdents64 syscalls as base.
15821 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15822 symbol if required.
15823 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15824 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15825 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15826 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15827 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15828 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15829 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15830 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15831 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15832 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15833 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15835 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15837 * scripts/test_printers_common.py (init_test): Disable lock elision.
15839 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15841 * math/test-tgmath.c (count_double, count_float,
15842 count_ldouble, count_cdouble, count_cfloat,
15843 count_cldouble): Use volatile int.
15845 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15847 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15848 (conformtest-xfail-conds): Add i386-gnu.
15849 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
15851 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15852 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15853 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15854 msqid_ds.msg_lrpid): Likewise.
15855 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15857 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15858 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
15859 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15860 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15862 (struct statvfs64): Likewise.
15863 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15865 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15866 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15867 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15868 instead of wait_queue.
15869 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15870 instead of vm_area_struct.
15871 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15872 struct sched_param definition to it.
15873 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15874 * bits/types/struct_sched_param.h: New file.
15875 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15876 <bits/types/struct_sched_param.h> instead of <sched.h>.
15877 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
15878 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15879 generic version but include <bits/pthreadtypes.h> to make struct
15880 sigevent's sigev_notify_attributes field a pthread_attr_t*.
15881 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15883 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15884 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15885 [__USE_XOPEN] (OFDEL): New macro.
15886 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
15887 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
15888 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15890 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15891 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
15892 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15894 * sysdeps/i386/sys/ucontext.h: Likewise.
15895 * sysdeps/m68k/sys/ucontext.h: Likewise.
15896 * sysdeps/mips/sys/ucontext.h: Likewise.
15897 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
15898 * sysdeps/mach/hurd/i386/Makefile
15899 (test-xfail-POSIX/fcntl.h/conform): Add.
15900 (test-xfail-POSIX/signal.h/conform): Add.
15901 (test-xfail-POSIX/semaphore.h/conform): Add.
15902 (test-xfail-POSIX/regex.h/conform): Add.
15903 (test-xfail-POSIX/aio.h/conform): Add.
15904 (test-xfail-POSIX/mqueue.h/conform): Add.
15905 (test-xfail-POSIX/sys/types.h/conform): Add.
15906 (test-xfail-UNIX98/fcntl.h/conform): Add.
15907 (test-xfail-UNIX98/netdb.h/conform): Add.
15908 (test-xfail-UNIX98/signal.h/conform): Add.
15909 (test-xfail-UNIX98/semaphore.h/conform): Add.
15910 (test-xfail-UNIX98/regex.h/conform): Add.
15911 (test-xfail-UNIX98/aio.h/conform): Add.
15912 (test-xfail-UNIX98/ftw.h/conform): Add.
15913 (test-xfail-UNIX98/mqueue.h/conform): Add.
15914 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15915 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15916 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15917 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15918 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15919 (test-xfail-UNIX98/sys/types.h/conform): Add.
15920 (test-xfail-UNIX98/stdlib.h/conform): Add.
15921 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15922 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15923 (test-xfail-POSIX2008/netdb.h/conform): Add.
15924 (test-xfail-POSIX2008/signal.h/conform): Add.
15925 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15926 (test-xfail-POSIX2008/regex.h/conform): Add.
15927 (test-xfail-POSIX2008/aio.h/conform): Add.
15928 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15929 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15930 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15931 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15932 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15933 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15934 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15935 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15936 (test-xfail-XOPEN2K/signal.h/conform): Add.
15937 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15938 (test-xfail-XOPEN2K/regex.h/conform): Add.
15939 (test-xfail-XOPEN2K/aio.h/conform): Add.
15940 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15941 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15942 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15943 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15944 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15945 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15946 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15947 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15948 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15949 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15950 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15951 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15952 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15953 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15954 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15955 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15956 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15957 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15958 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15959 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15960 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15961 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15962 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15963 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15964 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15965 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
15966 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15968 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15969 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
15971 2018-04-18 Joseph Myers <joseph@codesourcery.com>
15973 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15974 --enable-obsolete for powerpc-linux-gnuspe.
15976 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15978 * conform/data/sys/un.h-data: Allow sun_ prefix.
15979 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
15981 * sysdeps/mach/include/mach.h: Likewise.
15982 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15983 * sysdeps/mach/include/mach_error.h: Likewise.
15985 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15987 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15988 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15989 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15990 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15992 2018-04-16 Andreas Schwab <schwab@suse.de>
15995 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15997 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15999 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
16000 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
16002 2018-04-12 DJ Delorie <dj@redhat.com>
16004 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16007 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16009 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
16010 (struct kernel_sigaction): Use the same definition on 31bit as is used
16013 2018-04-09 Florian Weimer <fweimer@redhat.com>
16016 * resolv/res_send.c (send_dg): Use designated initializers instead
16017 of assignment to zero-initialize other fields of struct mmsghdr.
16019 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16021 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
16022 __READDIR_ALIAS): Undefine after usage.
16023 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
16024 __READDIR_R_ALIAS): Likewise.
16025 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
16026 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
16027 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
16028 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
16029 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
16030 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
16031 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16032 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16033 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
16034 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
16035 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
16036 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
16037 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16038 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
16039 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
16040 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
16041 * sysdeps/unix/sysv/linux/readdir.c: New file.
16042 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
16043 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
16044 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
16046 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16048 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
16050 * manual/charset.texi (Converting a Character): Fix typo.
16052 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16056 * sysdeps/arm/libm-test-ulps: Update.
16058 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
16059 as base implementation.
16060 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16061 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16062 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16063 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16064 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16065 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
16066 remove unrequired definitions and update comments.
16067 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
16068 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
16069 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
16070 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
16071 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
16072 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
16073 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
16074 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
16075 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
16076 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
16077 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
16078 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16079 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16080 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
16081 and RESET_SA_RESTORER hooks.
16083 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
16085 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16087 2018-04-05 Florian Weimer <fweimer@redhat.com>
16089 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
16090 integer overflow, memory leak on error, and indeterminate errno
16091 value. Add a null wide character to terminate the result string.
16092 * manual/charset.texi (Converting a Character): Mention embedded
16093 null bytes in the mbrtowc input string. Explain what happens in
16094 the -2 result case. Do not claim that mbrtowc is simple or
16095 obvious to use. Adjust the description of the code example. Use
16096 @code, not @var, for concrete variables.
16098 2018-04-05 Florian Weimer <fweimer@redhat.com>
16100 * manual/examples/mbstouwcs.c: New file.
16101 * manual/charset.texi (Converting a Character): Include it.
16103 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16105 * include/dirent.h (dirfd): Add hidden proto.
16106 * dirent/dirfd.c (dirfd): Add hidden def.
16107 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
16108 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
16110 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16112 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
16113 sin, cos and sincos to 1 ULP.
16115 2018-04-04 Maciej W. Rozycki <macro@mips.com>
16118 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
16120 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
16121 * elf/tst-absolute-sym.c: New file.
16122 * elf/tst-absolute-sym-lib.c: New file.
16123 * elf/tst-absolute-sym-lib.lds: New file.
16124 * elf/Makefile (tests): Add `tst-absolute-sym'.
16125 (modules-names): Add `tst-absolute-sym-lib'.
16126 (LDLIBS-tst-absolute-sym-lib.so): New variable.
16127 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
16128 ($(objpfx)tst-absolute-sym): New dependency.
16131 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
16133 (SYMBOL_ADDRESS): New macro.
16134 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
16135 SYMBOL_ADDRESS for symbol address calculation.
16136 * elf/dl-runtime.c (_dl_fixup): Likewise.
16137 (_dl_profile_fixup): Likewise.
16138 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
16139 * elf/rtld.c (dl_main): Likewise.
16140 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
16141 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
16142 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
16143 (elf_machine_rela): Likewise.
16144 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
16145 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
16146 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16147 (elf_machine_rela): Likewise.
16148 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16149 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
16150 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
16151 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
16153 (elf_machine_reloc): Likewise.
16154 (elf_machine_got_rel): Likewise.
16155 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
16156 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
16157 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16159 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16161 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
16162 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16164 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16166 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16167 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16169 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16171 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
16172 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16174 2018-04-04 Zack Weinberg <zackw@panix.com>
16176 * sysdeps/generic/internal-signals.h: Include signal.h,
16177 sigsetops.h, and stdbool.h.
16178 (__libc_signal_block_all): Actually block all signals.
16179 (__libc_signal_block_app): Likewise.
16180 (__libc_signal_restore_set): Actually restore the signal mask.
16182 2018-04-04 Florian Weimer <fweimer@redhat.com>
16184 inet: Actually build and run tst-deadline.
16185 * inet/Makefile (tests-internal): Add tst-deadline and do not
16186 overwrite the variable.
16187 (tests-static-internal): Remove variable.
16189 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
16192 * bits/uio-ext.h (RWF_APPEND): New.
16193 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
16194 * manual/llio.texi: Document RWF_APPEND.
16195 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
16196 (RWF_SUPPORTED): Add RWF_APPEND.
16198 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16201 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
16202 check for internal nptl signals.
16203 * nptl/sigaction.c (__sigaction): Likewise.
16204 * signal/sigaddset.c (sigaddset): Likewise.
16205 * signal/sigdelset.c (sigdelset): Likewise.
16206 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16207 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
16209 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
16210 to filter out internal nptl signals.
16211 * signal/tst-sigset.c (do_test): Check ech signal indidually and
16212 also check realtime signals using standard macros.
16213 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
16214 __is_internal_signal, __libc_signal_block_all,
16215 __libc_signal_block_app, __libc_signal_restore_set): New functions.
16216 * sysdeps/nptl/sigfillset.c: Remove file.
16217 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
16218 Change return to bool.
16219 (__clear_internal_signals): Remove SIGTIMER clean since it is
16220 equal to SIGCANEL on Linux.
16221 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
16222 signal set was constructed using standard functions.
16224 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16226 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
16227 ifname is too long.
16228 * hurd/hurdsig.c (interrupted_reply_port_location): Use
16229 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
16230 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
16232 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
16233 * signal/sigaddset.c: Include <sigsetopts.h>.
16234 * signal/sigdelset.c: Likewise.
16236 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16238 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
16240 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
16241 logic as sin and cos.
16243 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16245 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
16246 inputs. Return correct sign.
16247 (do_sincos): Remove small input check before do_sin, let do_sin set
16252 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16254 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
16255 (do_cos_slow): Likewise.
16256 (do_sin_slow): Likewise.
16257 (reduce_and_compute): Likewise.
16262 (sloww1): Likewise.
16263 (sloww2): Likewise.
16265 (bslow1): Likewise.
16266 (bslow2): Likewise.
16267 (cslow2): Likewise.
16269 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16271 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
16272 (do_cos): Remove corp parameter and calculations.
16273 (do_sin): Likewise.
16274 (do_sincos): Remove cor variable.
16275 (__sin): Use do_sincos for huge inputs.
16277 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16278 (reduce_and_compute_sincos): Remove unused function.
16280 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16282 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
16283 reduce_sincos, improve accuracy to 136 bits.
16284 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
16285 (__sin): Use improved reduction and simplified do_sincos calculation.
16287 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16289 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16291 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
16292 (do_sincos_2): Likewise.
16293 (__sin): Remove middle range reduction case.
16295 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
16298 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16300 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
16301 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
16304 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
16306 2018-04-03 Joseph Myers <joseph@codesourcery.com>
16308 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16311 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16313 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
16314 Remove definitions.
16315 (opendir_oflags): Use O_DIRECTORY regardless.
16316 (__opendir, __opendirat): Remove need_isdir_precheck usage.
16317 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
16319 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16321 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
16322 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
16324 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
16325 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
16326 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
16327 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
16328 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
16329 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
16331 * htl/Makefile: Bump licence to LGPL 2.1+.
16332 * htl/alloca_cutoff.c: Likewise.
16333 * htl/cthreads-compat.c: Likewise.
16334 * htl/lockfile.c: Likewise.
16335 * htl/pt-alloc.c: Likewise.
16336 * htl/pt-cancel.c: Likewise.
16337 * htl/pt-cleanup.c: Likewise.
16338 * htl/pt-create.c: Likewise.
16339 * htl/pt-dealloc.c: Likewise.
16340 * htl/pt-detach.c: Likewise.
16341 * htl/pt-exit.c: Likewise.
16342 * htl/pt-getattr.c: Likewise.
16343 * htl/pt-initialize.c: Likewise.
16344 * htl/pt-internal.h: Likewise.
16345 * htl/pt-join.c: Likewise.
16346 * htl/pt-self.c: Likewise.
16347 * htl/pt-setcancelstate.c: Likewise.
16348 * htl/pt-setcanceltype.c: Likewise.
16349 * htl/pt-sigmask.c: Likewise.
16350 * htl/pt-spin-inlines.c: Likewise.
16351 * htl/pt-testcancel.c: Likewise.
16352 * htl/pt-yield.c: Likewise.
16353 * htl/tests/test-1.c: Likewise.
16354 * htl/tests/test-10.c: Likewise.
16355 * htl/tests/test-11.c: Likewise.
16356 * htl/tests/test-12.c: Likewise.
16357 * htl/tests/test-13.c: Likewise.
16358 * htl/tests/test-14.c: Likewise.
16359 * htl/tests/test-15.c: Likewise.
16360 * htl/tests/test-16.c: Likewise.
16361 * htl/tests/test-17.c: Likewise.
16362 * htl/tests/test-2.c: Likewise.
16363 * htl/tests/test-3.c: Likewise.
16364 * htl/tests/test-4.c: Likewise.
16365 * htl/tests/test-5.c: Likewise.
16366 * htl/tests/test-6.c: Likewise.
16367 * htl/tests/test-7.c: Likewise.
16368 * htl/tests/test-8.c: Likewise.
16369 * htl/tests/test-9.c: Likewise.
16370 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
16371 * sysdeps/htl/bits/cancelation.h: Likewise.
16372 * sysdeps/htl/bits/pthread-np.h: Likewise.
16373 * sysdeps/htl/bits/pthread.h: Likewise.
16374 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
16375 * sysdeps/htl/bits/semaphore.h: Likewise.
16376 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
16377 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
16378 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
16379 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
16380 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
16381 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
16382 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
16383 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
16384 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
16385 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
16386 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
16387 * sysdeps/htl/old_pt-atfork.c: Likewise.
16388 * sysdeps/htl/pt-atfork.c: Likewise.
16389 * sysdeps/htl/pt-attr-destroy.c: Likewise.
16390 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
16391 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
16392 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
16393 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
16394 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
16395 * sysdeps/htl/pt-attr-getscope.c: Likewise.
16396 * sysdeps/htl/pt-attr-getstack.c: Likewise.
16397 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
16398 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
16399 * sysdeps/htl/pt-attr-init.c: Likewise.
16400 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
16401 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
16402 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
16403 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
16404 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
16405 * sysdeps/htl/pt-attr-setscope.c: Likewise.
16406 * sysdeps/htl/pt-attr-setstack.c: Likewise.
16407 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
16408 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
16409 * sysdeps/htl/pt-attr.c: Likewise.
16410 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
16411 * sysdeps/htl/pt-barrier-init.c: Likewise.
16412 * sysdeps/htl/pt-barrier-wait.c: Likewise.
16413 * sysdeps/htl/pt-barrier.c: Likewise.
16414 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
16415 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
16416 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
16417 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
16418 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
16419 * sysdeps/htl/pt-cond-destroy.c: Likewise.
16420 * sysdeps/htl/pt-cond-init.c: Likewise.
16421 * sysdeps/htl/pt-cond-signal.c: Likewise.
16422 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
16423 * sysdeps/htl/pt-cond-wait.c: Likewise.
16424 * sysdeps/htl/pt-cond.c: Likewise.
16425 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
16426 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
16427 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
16428 * sysdeps/htl/pt-condattr-init.c: Likewise.
16429 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
16430 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
16431 * sysdeps/htl/pt-destroy-specific.c: Likewise.
16432 * sysdeps/htl/pt-equal.c: Likewise.
16433 * sysdeps/htl/pt-getconcurrency.c: Likewise.
16434 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
16435 * sysdeps/htl/pt-getschedparam.c: Likewise.
16436 * sysdeps/htl/pt-getspecific.c: Likewise.
16437 * sysdeps/htl/pt-init-specific.c: Likewise.
16438 * sysdeps/htl/pt-key-create.c: Likewise.
16439 * sysdeps/htl/pt-key-delete.c: Likewise.
16440 * sysdeps/htl/pt-key.h: Likewise.
16441 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
16442 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
16443 * sysdeps/htl/pt-mutex-init.c: Likewise.
16444 * sysdeps/htl/pt-mutex-lock.c: Likewise.
16445 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
16446 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
16447 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
16448 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
16449 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
16450 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
16451 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
16452 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
16453 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
16454 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
16455 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
16456 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
16457 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
16458 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
16459 * sysdeps/htl/pt-mutexattr.c: Likewise.
16460 * sysdeps/htl/pt-once.c: Likewise.
16461 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
16462 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
16463 * sysdeps/htl/pt-rwlock-init.c: Likewise.
16464 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
16465 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
16466 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
16467 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
16468 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
16469 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
16470 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
16471 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
16472 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
16473 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
16474 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
16475 * sysdeps/htl/pt-setconcurrency.c: Likewise.
16476 * sysdeps/htl/pt-setschedparam.c: Likewise.
16477 * sysdeps/htl/pt-setschedprio.c: Likewise.
16478 * sysdeps/htl/pt-setspecific.c: Likewise.
16479 * sysdeps/htl/pt-spin.c: Likewise.
16480 * sysdeps/htl/pt-startup.c: Likewise.
16481 * sysdeps/htl/pthread.h: Likewise.
16482 * sysdeps/htl/sem-close.c: Likewise.
16483 * sysdeps/htl/sem-destroy.c: Likewise.
16484 * sysdeps/htl/sem-getvalue.c: Likewise.
16485 * sysdeps/htl/sem-init.c: Likewise.
16486 * sysdeps/htl/sem-open.c: Likewise.
16487 * sysdeps/htl/sem-post.c: Likewise.
16488 * sysdeps/htl/sem-timedwait.c: Likewise.
16489 * sysdeps/htl/sem-trywait.c: Likewise.
16490 * sysdeps/htl/sem-unlink.c: Likewise.
16491 * sysdeps/htl/sem-wait.c: Likewise.
16492 * sysdeps/hurd/htl/pt-kill.c: Likewise.
16493 * sysdeps/i386/htl/pt-machdep.h: Likewise.
16494 * sysdeps/mach/htl/pt-block.c: Likewise.
16495 * sysdeps/mach/htl/pt-spin.c: Likewise.
16496 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
16497 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
16498 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
16499 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
16500 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
16501 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
16502 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
16503 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
16504 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
16505 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
16506 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
16507 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
16508 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
16509 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
16510 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
16511 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
16512 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
16513 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
16514 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
16515 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
16516 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
16517 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
16518 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
16519 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
16520 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
16521 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
16522 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
16523 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
16524 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
16525 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
16526 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
16527 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
16528 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
16529 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
16530 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
16531 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
16532 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
16533 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
16534 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
16535 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
16536 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
16537 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
16538 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
16540 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
16541 * README: Remove the mention of out-of-tree patches needed for
16544 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
16545 (UTIME_NOW, UTIME_OMIT): Define macros.
16547 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
16548 instead of pthread_detach.
16549 (__cthread_fork): Call __pthread_create instead of pthread_create.
16550 (__cthread_keycreate): Call __pthread_key_create instead of
16551 pthread_key_create.
16552 (__cthread_getspecific): Call __pthread_getspecific instead of
16553 pthread_getspecific.
16554 (__cthread_setspecific): Call __pthread_setspecific instead of
16555 pthread_setspecific.
16556 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
16557 __pthread_mutex_unlock instead of pthread_mutex_lock and
16558 pthread_mutex_unlock.
16559 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
16560 ___pthread_get_cleanup_stack.
16561 (__pthread_get_cleanup_stack): New strong alias.
16562 * htl/pt-create.c: Include <pthreadP.h>.
16563 (entry_point): Call __pthread_exit instead of pthread_exit.
16564 (pthread_create): Rename to __pthread_create.
16565 (pthread_create): New strong alias.
16566 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
16567 (pthread_detach): New strong alias.
16568 (__pthread_detach): Call __pthread_cond_broadcast instead of
16569 pthread_cond_broadcast.
16570 * htl/pt-exit.c: Include <pthreadP.h>.
16571 (__pthread_exit): Call __pthread_setcancelstate and
16572 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
16573 __pthread_get_cleanup_stack.
16574 * htl/pt-testcancel.c: Include <pthreadP.h>.
16575 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
16576 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
16577 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
16578 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
16579 pthread_attr_getstacksize.
16580 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
16581 Rename to __pthread_attr_getstackaddr.
16582 (pthread_attr_getstackaddr): New strong alias.
16583 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
16584 Rename to __pthread_attr_getstacksize.
16585 (pthread_attr_getstacksize): New strong alias.
16586 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
16587 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
16588 (pthread_attr_setstack): New strong alias.
16589 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
16590 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
16591 pthread_attr_getstacksize, pthread_attr_setstacksize and
16592 pthread_attr_setstackaddr.
16593 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
16594 Rename to __pthread_attr_setstackaddr.
16595 (pthread_attr_setstackaddr): New strong alias.
16596 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
16597 Rename to __pthread_attr_setstacksize.
16598 (pthread_attr_setstacksize): New strong alias.
16599 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
16600 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
16602 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
16603 (__pthread_key_create): New hidden def.
16604 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
16605 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
16606 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
16607 __pthread_exit, __pthread_key_create, __pthread_getspecific,
16608 __pthread_setspecific, __pthread_setcancelstate,
16609 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16610 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16611 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16613 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16614 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16615 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16616 (pthread_attr_setstackaddr): New strong alias.
16617 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16618 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16619 (pthread_attr_setstacksize): New strong alias.
16620 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16621 (call_exit): Call __pthread_exit instead of pthread_exit.
16622 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16623 (_pthread_mutex_init): New hidden definition.
16624 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16625 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16626 instead of pthread_attr_init and pthread_attr_setstack.
16628 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16629 __vm_deallocate instead of vm_allocate and vm_deallocate.
16630 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16632 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16634 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16636 * hurd/siginfo.c: Include <libioP.h>.
16637 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16638 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16640 * mach/devstream.c: Include <libioP.h>.
16641 (dealloc_ref): Call __mach_port_deallocate instead of
16642 mach_port_deallocate.
16643 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16644 Call __mach_port_deallocate instead of mach_port_deallocate.
16645 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16647 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16649 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16650 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16651 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16653 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16655 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16656 instead of sysconf.
16657 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16658 __clock_gettime instead of clock_gettime.
16659 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16660 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16661 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16662 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16663 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
16665 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
16666 __clock_gettime and __nanosleep instead of clock_gettime and
16668 * hurd/catch-signal.c (hurd_catch_signal): Rename to
16669 __hurd_catch_signal.
16670 (hurd_catch_signal): New strong alias.
16671 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
16672 __hurd_catch_signal instead of hurd_catch_signal.
16673 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
16674 * hurd/hurdexec.c (_hurd_init): Add hidden def.
16675 * hurd/hurdinit.c (_hurd_init): Add hidden def.
16676 * hurd/hurdsig.c: Include <mach/mig_support.h>.
16677 (_hurd_thread_sigstate): Add hidden def.
16678 (_hurd_internal_post_signal): Use __mutex_unlock instead of
16680 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
16681 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
16682 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
16683 __hurd_file_name_path_lookup.
16684 (hurd_file_name_path_lookup): New strong alias.
16685 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
16686 hurd_file_name_path_lookup.
16687 * mach/errstring.c (mach_error_type): Add hidden def.
16688 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
16689 * mach/mutex-init.c (__mutex_init): Add hidden def.
16690 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
16691 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
16692 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
16693 * sysdeps/mach/hurd/getcwd.c
16694 (_hurd_canonicalize_directory_name_internal): Rename to
16695 __hurd_canonicalize_directory_name_internal.
16696 (_hurd_canonicalize_directory_name_internal): New strong alias.
16697 (__canonicalize_directory_name_internal, __getcwd): Call
16698 __hurd_canonicalize_directory_name_internal instead of
16699 _hurd_canonicalize_directory_name_internal.
16700 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
16701 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
16703 * sysdeps/hurd/include/hurd.h: New file.
16704 * sysdeps/hurd/include/hurd/fd.h: New file.
16705 * sysdeps/hurd/include/hurd/signal.h: New file.
16706 * sysdeps/mach/include/lock-intern.h: New file.
16707 * sysdeps/mach/include/mach.h: New file.
16708 * sysdeps/mach/include/mach/mig_support.h: New file.
16709 * sysdeps/mach/include/mach_error.h: New file.
16710 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
16712 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
16713 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
16714 _HEADER_H_HIDDEN_DEF macro.
16715 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
16716 _hurd_fd_error_signal): Add hidden prototype.
16717 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
16719 * libio/iolibio.h (_IO_puts): New hidden prototype.
16720 * libio/ioputs.c (_IO_puts): New hidden def.
16721 * sysdeps/mach/hurd/localplt.data: New file.
16723 2018-04-02 Agustina Arzille <avarzille@riseup.net>
16724 Amos Jeffries <squid3@treenet.co.nz>
16725 David Michael <fedora.dm0@gmail.com>
16726 Marco Gerards <marco@gnu.org>
16727 Marcus Brinkmann <marcus@gnu.org>
16728 Neal H. Walfield <neal@gnu.org>
16729 Pino Toscano <toscano.pino@tiscali.it>
16730 Richard Braun <rbraun@sceen.net>
16731 Roland McGrath <roland@gnu.org>
16732 Samuel Thibault <samuel.thibault@ens-lyon.org>
16733 Thomas DiModica <ricinwich@yahoo.com>
16734 Thomas Schwinge <tschwinge@gnu.org>
16736 * htl: New directory.
16737 * sysdeps/htl: New directory.
16738 * sysdeps/hurd/htl: New directory.
16739 * sysdeps/i386/htl: New directory.
16740 * sysdeps/mach/htl: New directory.
16741 * sysdeps/mach/hurd/htl: New directory.
16742 * sysdeps/mach/hurd/i386/htl: New directory.
16743 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
16744 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
16745 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
16747 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16749 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
16750 signals in thread created for runing timers.
16752 2018-04-01 Florian Weimer <fweimer@redhat.com>
16754 * support/support_format_addrinfo.c (support_format_addrinfo):
16755 Include unknown error number in formatted result.
16757 2018-03-29 Florian Weimer <fweimer@redhat.com>
16759 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
16762 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16764 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16765 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16766 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16767 (__ASSUME_CLONE_BACKWARDS): Define.
16769 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16772 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16773 early when linux sentinel value is set.
16775 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16777 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16779 2018-03-27 Andreas Schwab <schwab@suse.de>
16782 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16783 allocation of private copy of nsaddr_list fails.
16785 2018-03-26 Joseph Myers <joseph@codesourcery.com>
16788 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16789 * sysdeps/unix/sysv/linux/umount.c: ... here.
16790 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16791 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16792 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16793 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16795 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16796 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16798 2018-03-26 Andreas Schwab <schwab@suse.de>
16800 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16801 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16802 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16803 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16804 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16805 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16806 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16807 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16808 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16809 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16810 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16811 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16812 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16813 (R_RISCV_NUM): Define.
16815 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16817 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16818 TLS declaration of errno.
16819 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16821 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16822 (ARCH_SETUP_TLS): Likewise.
16823 * sysdeps/mach/hurd/libc-start.h: New file copied from
16824 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
16825 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16826 instead of __libc_setup_tls.
16827 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
16828 __libc_setup_tls before initializing libpthread and running _hurd_init
16829 which starts the signal thread.
16830 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16832 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16834 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16837 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16838 after it is defined.
16840 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16841 Max Horn <max@quendi.de>
16845 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16847 * string/test-memmove.c (do_test2): New testcase.
16849 2018-03-22 Joseph Myers <joseph@codesourcery.com>
16851 * sysdeps/generic/frame.h: Remove file.
16852 * sysdeps/arm/frame.h: Likewise.
16853 * sysdeps/hppa/frame.h: Likewise.
16854 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16856 (GET_FRAME): Likewise.
16857 (GET_STACK): Likewise.
16858 (CALL_SIGHANDLER): Likewise.
16859 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16861 (GET_FRAME): Likewise.
16862 (GET_STACK): Likewise.
16863 (CALL_SIGHANDLER): Likewise.
16864 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16865 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16866 (GET_FRAME): Likewise.
16867 (GET_STACK): Likewise.
16868 (CALL_SIGHANDLER): Likewise.
16869 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16870 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16871 (GET_FRAME): Likewise.
16872 (GET_STACK): Likewise.
16873 (ADVANCE_STACK_FRAME): Likewise.
16874 (CALL_SIGHANDLER): Likewise.
16875 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16876 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16877 (GET_FRAME): Likewise.
16878 (GET_STACK): Likewise.
16879 (CALL_SIGHANDLER): Likewise.
16880 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16881 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16882 (GET_FRAME): Likewise.
16883 (GET_STACK): Likewise.
16884 (CALL_SIGHANDLER): Likewise.
16885 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16886 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16887 (GET_FRAME): Likewise.
16888 (GET_STACK): Likewise.
16889 (CALL_SIGHANDLER): Likewise.
16890 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16891 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16892 (GET_FRAME): Likewise.
16893 (GET_STACK): Likewise.
16894 (CALL_SIGHANDLER): Likewise.
16895 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16896 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16897 (GET_FRAME): Likewise.
16898 (GET_STACK): Likewise.
16899 (CALL_SIGHANDLER): Likewise.
16900 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16901 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16902 (GET_FRAME): Likewise.
16903 (GET_STACK): Likewise.
16904 (CALL_SIGHANDLER): Likewise.
16905 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16906 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16907 (GET_FRAME): Likewise.
16908 (GET_STACK): Likewise.
16909 (CALL_SIGHANDLER): Likewise.
16910 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16911 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16912 (GET_FRAME): Likewise.
16913 (GET_STACK): Likewise.
16914 (CALL_SIGHANDLER): Likewise.
16915 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16916 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16917 (GET_FRAME): Likewise.
16918 (GET_STACK): Likewise.
16919 (CALL_SIGHANDLER): Likewise.
16920 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16921 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16922 (FIRST_FRAME_POINTER): Likewise.
16923 (ADVANCE_STACK_FRAME): Likewise.
16924 (GET_STACK): Likewise.
16925 (GET_FRAME): Likewise.
16926 (CALL_SIGHANDLER): Likewise.
16927 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16928 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16929 (ADVANCE_STACK_FRAME): Likewise.
16930 (GET_STACK): Likewise.
16931 (GET_FRAME): Likewise.
16932 (CALL_SIGHANDLER): Likewise.
16933 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16934 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16935 (GET_FRAME): Likewise.
16936 (GET_STACK): Likewise.
16937 (CALL_SIGHANDLER): Likewise.
16938 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16939 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16940 (GET_FRAME): Likewise.
16941 (GET_STACK): Likewise.
16942 (CALL_SIGHANDLER): Likewise.
16944 2018-03-21 Joseph Myers <joseph@codesourcery.com>
16946 * sysdeps/x86_64/backtrace.c: Move to ....
16947 * debug/backtrace.c: ... here.
16948 * sysdeps/aarch64/backtrace.c: Remove file.
16949 * sysdeps/alpha/backtrace.c: Likewise.
16950 * sysdeps/hppa/backtrace.c: Likewise.
16951 * sysdeps/ia64/backtrace.c: Likewise.
16952 * sysdeps/mips/backtrace.c: Likewise.
16953 * sysdeps/nios2/backtrace.c: Likewise.
16954 * sysdeps/riscv/backtrace.c: Likewise.
16955 * sysdeps/sh/backtrace.c: Likewise.
16956 * sysdeps/tile/backtrace.c: Likewise.
16958 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16961 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16964 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16967 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16968 possibly overflowing computations.
16970 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16972 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16973 values from Linux-specific section now that it is in the GNU section.
16974 * sysdeps/gnu/errlist.c: Regenerate.
16976 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16978 * math/Makefile (libm-narrow-fns): Add sub.
16979 (libm-test-funcs-narrow): Likewise.
16980 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16981 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16982 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16983 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16984 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16985 (NARROW_SUB_TRIVIAL): Likewise.
16986 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16988 (__dsubl): Likewise.
16989 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16991 (CFLAGS-nldbl-dsub.c): New variable.
16992 (CFLAGS-nldbl-fsub.c): Likewise.
16993 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16995 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16997 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16998 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16999 * math/auto-libm-test-in: Add tests of sub.
17000 * math/auto-libm-test-out-narrow-sub: New generated file.
17001 * math/libm-test-narrow-sub.inc: New file.
17002 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17003 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
17004 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
17005 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
17006 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
17007 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
17008 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
17009 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
17010 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
17011 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
17012 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
17013 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
17014 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
17015 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
17016 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
17017 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
17018 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
17019 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
17020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17021 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17022 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17023 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17024 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17025 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17026 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17027 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17028 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17029 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17030 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17031 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17032 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17033 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17038 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17039 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17040 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17041 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17042 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17043 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17044 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17045 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17046 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17047 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17049 2018-03-19 Joseph Myers <joseph@codesourcery.com>
17052 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
17054 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
17056 * benchtests/bench-timing.h (attribute_hidden): Undefine.
17058 2018-03-18 Richard Braun <rbraun@sceen.net>
17060 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
17063 2018-03-18 Agustina Arzille <avarzille@riseup.net>
17065 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
17066 (__libc_cleanup_fct): Define function.
17067 (__libc_cleanup_region_start, __libc_cleanup_region_end,
17068 __libc_cleanup_end): Rewrite implementation using
17069 __attribute__ ((__cleanup__)).
17070 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
17071 * hurd/Makefile (routines): Add hurdlock.
17072 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
17074 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
17075 * hurd/hurdpid.c: Include <lowlevellock.h>
17076 (_S_msg_proc_newids): Use lll_wait to synchronize.
17077 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
17078 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
17079 * mach/Makefile (lock-headers): Remove machine-lock.h.
17080 * mach/lock-intern.h: Include <lowlevellock.h> instead of
17082 (__spin_lock_t): New type.
17083 (__SPIN_LOCK_INITIALIZER): New macro.
17084 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
17085 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
17086 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
17087 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
17088 (__mutex_init): Initialize with lll.
17089 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
17090 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
17092 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17093 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
17094 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
17095 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
17096 (__setpgid): Use lll for synchronization.
17097 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
17098 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
17099 instead of <cthreads.h>.
17100 (_IO_lock_inexpensive): New macro
17101 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
17102 (__libc_lock_self0): New declaration.
17103 (__libc_lock_owner_self): New macro.
17104 (__libc_key_t): Remove type.
17105 (_LIBC_LOCK_INITIALIZER): New macro.
17106 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
17107 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
17108 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
17109 __libc_lock_define_initialized_recursive,
17110 __rtld_lock_define_initialized_recursive,
17111 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
17112 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
17113 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
17114 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
17115 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
17116 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
17117 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
17119 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
17120 * hurd/hurdlock.c: New file.
17121 * hurd/hurdlock.h: New file.
17122 * mach/lowlevellock.h: New file
17124 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17126 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
17127 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
17128 when opening a symlink with O_NOFOLLOW.
17129 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
17130 path when flags contains O_NOFOLLOW.
17131 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
17132 if flags contains O_DIRECTORY and the result is a directory.
17133 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
17134 oneself when the pointer given in D is nul (as set by ext2fs).
17135 * sysdeps/mach/hurd/mlockall.c: New file.
17136 * sysdeps/mach/hurd/munlockall.c: New file.
17138 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17140 * hurd/hurdsig.c: Include <pthread.h>.
17141 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
17142 get the signal thread stack layout.
17143 * hurd/Makefile (headers): Remove threadvar.h.
17144 (inline-headers): Remove threadvar.h.
17145 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
17146 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
17147 __hurd_threadvar_max, __hurd_errno_location.
17148 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
17149 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
17150 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
17151 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
17152 unless TLS is not initialized yet, in which case we do not need a
17153 critical section yet anyway.
17154 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
17156 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
17158 (__hurd_threadvar_index): Remove enum.
17159 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
17160 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
17162 (__hurd_reply_port0): New variable declaration.
17163 (__hurd_local_reply_port): New macro.
17164 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
17165 (interrupted_reply_port_location): Add thread_t parameter. Use it
17166 with THREAD_TCB to access thread-local variables.
17167 (_hurdsig_abort_rpcs): Pass ss->thread to
17168 interrupted_reply_port_location.
17169 (_hurd_internal_post_signal): Likewise.
17170 (_hurdsig_init): Use presence of cthread_fork instead of
17171 __hurd_threadvar_stack_mask to start signal thread by hand.
17172 Remove signal thread threadvar initialization.
17173 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
17174 * hurd/sigunwind.c: Include <hurd/threadvar.h>
17175 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
17177 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
17179 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
17180 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
17181 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
17182 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
17183 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
17184 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
17185 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
17187 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
17188 <hurd/threadvar.h>.
17189 [IS_IN(rtld)] (rtld_errno): New variable.
17190 [IS_IN(rtld)] (__errno_location): New weak function.
17191 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
17192 * sysdeps/mach/hurd/errno.c: Remove file.
17193 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
17194 (__fork): Remove THREADVAR_SPACE macro and its use.
17195 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
17197 (init): Do not initialize threadvar.
17198 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
17200 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
17201 __hurd_local_reply_port instead of threadvar.
17202 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
17203 _hurd_sigstate fields.
17204 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
17205 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
17206 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
17207 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
17208 instead of threadvar.
17209 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
17210 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
17211 (use_threadvar, global_reply_port): Remove variables.
17212 (__hurd_reply_port0): New variable.
17213 (__mig_get_reply_port): Use __hurd_local_reply_port and
17214 __hurd_reply_port0 instead of threadvar.
17215 (__mig_dealloc_reply_port): Likewise.
17216 (__mig_init): Do not initialize threadvar.
17217 * sysdeps/mach/hurd/profil.c: Fix comment.
17218 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
17219 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
17220 cthread_keycreate, cthread_getspecific, cthread_setspecific to
17221 __cthread_fork, __cthread_detach, __pthread_getattr_np,
17222 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
17223 __cthread_setspecific.
17224 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
17225 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
17226 __cthread_t instead of cthread_fork, cthread_detach,
17227 pthread_getattr_np, pthread_attr_getstack.
17228 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
17229 __cthread_keycreate.
17230 (cthread_getspecific): Rename to __cthread_getspecific.
17231 (cthread_setspecific): Rename to __cthread_setspecific.
17232 (__libc_getspecific): Use __cthread_getspecific instead of
17233 cthread_getspecific.
17234 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
17235 __cthread_keycreate instead of cthread_keycreate.
17236 (__libc_setspecific): Use __cthread_setspecific instead of
17237 cthread_setspecific.
17238 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
17240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
17241 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
17242 testing whether it is defined.
17244 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17246 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
17248 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
17249 * sysdeps/mach/i386/thread_state.h
17250 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
17252 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
17254 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
17256 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
17257 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
17259 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
17261 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
17262 descriptor instead of creating a new one.
17263 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
17265 * mach/setup-thread.c: Include <ldsodefs.h>.
17266 (__mach_setup_thread): Call _dl_allocate_tls, pass
17267 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
17268 MACHINE_THREAD_STATE_FLAVOR, before getting
17269 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
17270 MACHINE_THREAD_STATE_FLAVOR with the result.
17271 * hurd/hurdfault.c (_hurdsig_fault_init): Call
17272 MACHINE_THREAD_STATE_FIX_NEW.
17273 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
17274 too. Add original thread parameter.
17276 2018-03-16 Joseph Myers <joseph@codesourcery.com>
17278 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
17279 Remove inline function.
17281 * sysdeps/i386/fpu/libm-test-ulps: Update.
17282 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17284 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
17286 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
17289 2018-03-15 Joseph Myers <joseph@codesourcery.com>
17291 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
17292 (__sincos_code): Remove define and undefine.
17293 [__FAST_MATH__] (__sincos): Remove inline function.
17294 [__FAST_MATH__] (__sincosf): Remove inline function.
17295 [__FAST_MATH__] (__sincosl): Remove inline function.
17296 (__atan2l): Remove inline functions.
17297 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
17298 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
17300 (floor): Remove inline function.
17302 [__FAST_MATH__] (__ldexp_code): Remove macro.
17303 [__FAST_MATH__] (ldexp): Remove inline function.
17304 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
17305 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
17306 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
17307 [__USE_ISOC99] (__lrint_code): Remove macro.
17308 [__USE_ISOC99] (__llrint_code): Likewise.
17309 [__USE_ISOC99] (lrintf): Remove inline function.
17310 [__USE_ISOC99] (lrint): Likewise.
17311 [__USE_ISOC99] (lrintl): Likewise.
17312 [__USE_ISOC99] (llrint): Likewise.
17313 [__USE_ISOC99] (llrintf): Likewise.
17314 [__USE_ISOC99] (llrintl): Likewise.
17316 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17318 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
17319 (__ieee754_sqrtf): Remove.
17320 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
17321 (__ieee754_sqrtf): Remove.
17322 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
17323 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17324 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
17325 (__ieee754_sqrtf): Remove.
17326 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
17327 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
17330 (__ieee754_sqrt): Remove.
17331 (__ieee754_sqrtf): Remove.
17332 (__ieee754_sqrtl): Remove.
17333 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17334 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
17335 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
17336 (__ieee754_sqrtf): Remove.
17337 (__ieee754_sqrtl): Remove.
17339 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17341 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
17342 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17343 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17344 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
17345 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
17346 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17347 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17348 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17350 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
17351 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
17352 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17353 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17354 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
17355 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
17356 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
17357 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
17358 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17359 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17360 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
17361 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17362 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
17363 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
17364 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
17365 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17366 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17367 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17368 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
17369 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
17370 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17371 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17372 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
17373 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
17374 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
17375 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
17376 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17377 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17378 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
17379 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17380 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17381 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
17382 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17383 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
17384 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17385 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17386 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
17387 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
17388 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17389 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
17391 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17393 * include/math.h (sqrt): Declare with asm redirect.
17396 (sqrtf128): Likewise.
17397 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
17398 nonlib and libnldbl with -fmath-errno.
17399 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
17400 * math/w_sqrt_template.c: Likewise.
17401 * math/w_sqrtf_compat.c: Likewise.
17402 * math/w_sqrtl_compat.c: Likewise.
17403 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
17404 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
17405 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
17408 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17410 * benchtests/Makefile: Define _ISOMAC.
17411 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
17412 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
17413 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
17414 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
17415 * benchtests/bench-timing.h: Define attribute_hidden.
17417 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
17419 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
17422 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17425 * localedata/locales/cs_CZ (mon): Rename to...
17427 (mon): Import from CLDR (genitive case).
17429 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17432 * localedata/locales/el_CY (abmon): Rename to...
17433 (ab_alt_mon): This.
17434 (abmon): Import from CLDR (abbreviated genitive case).
17435 * localedata/locales/el_GR (abmon): Rename to...
17436 (ab_alt_mon): This.
17437 (abmon): Import from CLDR (abbreviated genitive case).
17439 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17442 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
17444 2018-03-15 Robert Buj <robert.buj@gmail.com>
17447 * localedata/locales/ca_ES (abmon): Rename to...
17448 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17449 (mon): Rename to...
17451 (abmon): Import from CLDR (genitive case, month names preceded by
17454 (abday): Synchronize with CLDR.
17455 (d_t_fmt): Likewise.
17459 (LC_TIME): Improve indentation.
17460 (LC_TELEPHONE): Likewise.
17461 (LC_NAME): Likewise.
17462 (LC_ADDRESS): Likewise.
17464 2018-03-14 Joseph Myers <joseph@codesourcery.com>
17466 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
17467 (lrintf): Remove definitions used only with old GCC.
17468 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
17469 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
17470 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
17471 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
17472 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
17473 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
17474 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
17475 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
17476 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
17477 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
17478 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
17479 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
17480 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
17481 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
17482 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
17483 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
17484 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
17485 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
17486 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
17487 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
17488 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
17489 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
17490 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
17491 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
17492 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
17493 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
17494 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
17495 [__FAST_MATH__] (__M_SQRT2): Remove macro.
17497 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17499 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
17500 instruction to unbreak builds with binutils 2.26 and older.
17502 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17504 * sysdeps/aarch64/strncmp.S (count): New macro.
17505 (strncmp): Store misaligned length in SRC1 in COUNT.
17506 (mutual_align): Adjust.
17507 (misaligned8): Load dword at a time when it is safe.
17509 2018-03-12 Zack Weinberg <zackw@panix.com>
17513 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
17514 if the _IO_EOF_SEEN bit is already set; update commentary.
17515 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
17516 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17518 * support/support_openpty.c, support/tty.h: New files.
17519 * support/Makefile (libsupport-routines): Add support_openpty.
17521 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
17523 * libio/Makefile (tests): Add tst-fgetc-after-eof.
17524 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
17526 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
17528 * po/pt_BR.po: Update translations.
17530 2018-03-12 David Michael <fedora.dm0@gmail.com>
17532 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
17533 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
17534 get a port to the startup server.
17536 2018-03-11 Zack Weinberg <zackw@panix.com>
17538 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
17539 before nldbl-compat.h.
17541 2018-03-10 Zack Weinberg <zackw@panix.com>
17543 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
17544 math.h or math_private.h.
17546 * sysdeps/alpha/fpu/s_isnan.c
17547 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
17548 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
17549 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
17550 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
17551 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
17552 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
17553 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
17554 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
17555 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
17556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
17557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
17558 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
17559 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
17560 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
17561 Include math_private.h.
17563 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
17564 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
17565 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
17566 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
17567 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
17568 * sysdeps/powerpc/power7/fpu/s_logb.c:
17569 Include math.h and math_private.h.
17571 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
17572 uses of $at in .set noat / .set at.
17574 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
17576 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
17577 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
17578 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
17579 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
17582 2018-03-09 Florian Weimer <fweimer@redhat.com>
17584 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
17587 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
17590 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
17591 Add nop before __startcontext, add explaining comments.
17593 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17596 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
17598 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
17599 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
17600 Do not build hardware transactional code for __SPE__.
17601 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17602 (__lll_trylock_elision): Likewise.
17603 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17604 (__lll_unlock_elision): Likewise.
17606 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
17607 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
17608 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17609 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17610 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17611 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17612 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17613 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17614 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17615 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17616 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17617 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17618 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17619 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17620 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17621 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17622 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17623 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17624 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17625 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17626 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17627 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17628 (__ASSUME_CLONE_BACKWARDS): Define.
17629 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17630 __clone2 if __NR_clone2 is defined.
17631 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17632 (__ASSUME_CLONE_BACKWARDS): Likewise.
17633 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17634 (__ASSUME_CLONE_BACKWARDS): Likewise.
17635 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17636 (__ASSUME_CLONE2): Likewise.
17637 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17638 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17639 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17640 variants and the define architecture can use.
17641 (__ASSUME_CLONE_DEFAULT): Define as default.
17642 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17643 (__ASSUME_CLONE_BACKWARDS): Likewise.
17644 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17645 (__ASSUME_CLONE_BACKWARDS): Likewise.
17646 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17647 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17649 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17651 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17653 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17656 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17657 (do_test_limit): Likewise.
17659 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17660 for every implementation.
17661 (do_test): Likewise.
17663 * benchtests/bench-strncmp.c: Convert output to json.
17665 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17667 * io/futimens.c: Add missing start-of-file descriptive comment.
17668 * io/utime.c: Likewise.
17669 * misc/futimesat.c: Likewise.
17670 * misc/utimes.c: Likewise.
17671 * sysdeps/mach/hurd/futimesat.c: Likewise.
17672 * sysdeps/mach/hurd/utimes.c: Likewise.
17673 * sysdeps/posix/utime.c: Likewise.
17674 * sysdeps/posix/utimes.c: Likewise.
17675 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
17676 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17677 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
17678 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
17680 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17682 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
17684 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
17685 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
17686 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
17687 (__futimens): Move implementation to...
17688 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
17689 utime_tvalue_from_tspec): ... new helper functions.
17690 (hurd_futimens): New function.
17691 * sysdeps/mach/hurd/futimesat.c: New file.
17692 * sysdeps/mach/hurd/utimensat.c: New file.
17694 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
17696 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
17697 UTIME_OMIT): New macros.
17698 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
17699 before reverting to converting time spec to time value and calling
17701 * sysdeps/mach/hurd/utime-helper.c: New file.
17702 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
17703 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
17704 reverting to utime_tvalue_from_tval and __file_utimes.
17705 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
17706 (__lutimes): Just call hurd_futimens after lookup.
17707 * sysdeps/mach/hurd/utimes.c: Likewise.
17709 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17711 * bits/sigaction.h: Add include guard.
17712 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
17713 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
17714 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
17715 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
17716 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
17717 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
17718 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
17719 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
17720 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
17722 2018-03-05 Joseph Myers <joseph@codesourcery.com>
17724 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
17725 -Wmaybe-uninitialized for -Os.
17726 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
17729 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17731 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
17732 __INO_T_MATCHES_INO64_T is defined.
17733 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
17734 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
17736 * dirent/alphasort64.c: Likewise.
17737 * dirent/scandir.c: Likewise.
17738 * dirent/scandir64-tail.c: Likewise.
17739 * dirent/scandir64.c: Likewise.
17740 * dirent/scandirat.c: Likewise.
17741 * dirent/scandirat64.c: Likewise.
17742 * dirent/versionsort.c: Likewise.
17743 * dirent/versionsort64.c: Likewise.
17744 * include/dirent.h: Likewise.
17746 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
17747 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
17748 for socketpair endpoint.
17749 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
17750 WRITE_BUFFER_SIZE as buffer size for sending socket.
17751 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
17752 issue on system where send is implemented with sendto syscall.
17753 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
17754 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
17755 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
17756 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
17759 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
17760 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
17761 sa_restorer for vDSO case.
17762 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17764 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17766 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
17767 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17768 * hurd/hurd/ioctl.h: Include <mach/port.h>
17769 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
17770 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17771 <mach/mach_types.h> and <mach/message.h>.
17772 (headers): Move mach/param.h to bits/mach/param.h.
17773 * sysdeps/mach/i386/mach/param.h: Move file to ...
17774 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17775 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17777 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17778 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17779 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
17780 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17781 trivial, for C++ conformity.
17782 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
17783 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17784 Process mig output through $(migheadersed).
17785 * hurd/Makefile (migheadersed): Define variable.
17786 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17787 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17789 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17790 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17791 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17792 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17793 <bits/types/sigset_t.h>.
17794 [!defined __USE_GNU]: Do not #error out.
17795 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17796 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17797 Include <stddef.h> and <bits/types/sigset_t.h>
17798 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17799 instead of sighandler_t.
17800 * stdlib/errno.h (error_t): Move definition to...
17801 * bits/types/error_t.h: ... new header.
17802 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17803 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17804 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17805 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17806 * hurd/hurd.h: Include <bits/types/error_t.h>
17807 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17808 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17809 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17810 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17811 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17812 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
17813 * sysdeps/mach/hurd/futimens.c: New file.
17815 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17818 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17819 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17820 * nscd/gai.c (__nss_hosts_database): Readd definition.
17821 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17822 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17823 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17825 2018-03-02 Joseph Myers <joseph@codesourcery.com>
17827 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17828 (ifunc_one): Likewise.
17830 2018-03-01 DJ Delorie <dj@delorie.com>
17833 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17836 2018-03-01 Maciej W. Rozycki <macro@mips.com>
17838 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17839 `match_pid' parameter.
17840 (td_ta_thr_iter): Update accordingly.
17842 2018-03-01 Florian Weimer <fweimer@redhat.com>
17844 * nptl/Makefile (install-lib-ldscripts): Remove.
17845 (install): Remove rule.
17846 ($(inst_libdir)/libpthread.so): Likewise.
17848 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17851 * localedata/locales/an_ES: update month and day names,
17852 improve d_fmt, improve postal_fmt, add country_post,
17855 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17857 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17858 Ukrainian instead of Bulgarian.
17860 2018-03-01 Florian Weimer <fweimer@redhat.com>
17862 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17865 2018-03-01 Florian Weimer <fweimer@redhat.com>
17867 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17868 * nptl/Makefile (routines): Add pthread_atfork.
17869 (static-only-routines): Set to pthread_atfork.
17870 (libpthread-routines): Remove pthread_atfork.
17871 (libpthread-static-only-routines): Remove.
17872 (install): Update comment.
17873 (libpthread.so): Do not install libpthread_nonshared.a.
17874 (tests): Do not link with libpthread_nonshared.a.
17875 (generated): Remove libpthread_nonshared.a.
17876 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17877 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17878 with libpthread_nonshared.a.
17880 2018-02-28 Joseph Myers <joseph@codesourcery.com>
17883 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17884 (libc_feholdexcept_setroundf128): New macro.
17885 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17888 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17890 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17891 * include/inttypes.h: New file.
17893 2018-02-27 Joseph Myers <joseph@codesourcery.com>
17895 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17896 -Os in two more places.
17898 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17900 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17901 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17902 be sorted correctly at the moment because of a bug.
17904 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17906 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17907 treat ñ as a primary different character, sync the collation
17908 for Spanish with CLDR.
17909 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17910 * localedata/Makefile: Add new test files.
17911 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17912 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17914 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17915 * localedata/am_ET.UTF-8.in: New test file.
17916 * localedata/az_AZ.UTF-8.in: Likewise.
17917 * localedata/be_BY.UTF-8.in: Likewise.
17918 * localedata/ber_DZ.UTF-8.in: Likewise.
17919 * localedata/ber_MA.UTF-8.in: Likewise.
17920 * localedata/bg_BG.UTF-8.in: Likewise.
17921 * localedata/br_FR.UTF-8.in: Likewise.
17922 * localedata/cmn_TW.UTF-8.in: Likewise.
17923 * localedata/crh_UA.UTF-8.in: Likewise.
17924 * localedata/csb_PL.UTF-8.in: Likewise.
17925 * localedata/cv_RU.UTF-8.in: Likewise.
17926 * localedata/cy_GB.UTF-8.in: Likewise.
17927 * localedata/dz_BT.UTF-8.in: Likewise.
17928 * localedata/eo.UTF-8.in: Likewise.
17929 * localedata/es_ES.UTF-8.in: Likewise.
17930 * localedata/fa_IR.UTF-8.in: Likewise.
17931 * localedata/fi_FI.UTF-8.in: Likewise.
17932 * localedata/fil_PH.UTF-8.in: Likewise.
17933 * localedata/fur_IT.UTF-8.in: Likewise.
17934 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17935 * localedata/ha_NG.UTF-8.in: Likewise.
17936 * localedata/ig_NG.UTF-8.in: Likewise.
17937 * localedata/ik_CA.UTF-8.in: Likewise.
17938 * localedata/kk_KZ.UTF-8.in: Likewise.
17939 * localedata/ku_TR.UTF-8.in: Likewise.
17940 * localedata/ky_KG.UTF-8.in: Likewise.
17941 * localedata/ln_CD.UTF-8.in: Likewise.
17942 * localedata/mi_NZ.UTF-8.in: Likewise.
17943 * localedata/ml_IN.UTF-8.in: Likewise.
17944 * localedata/mn_MN.UTF-8.in: Likewise.
17945 * localedata/mr_IN.UTF-8.in: Likewise.
17946 * localedata/mt_MT.UTF-8.in: Likewise.
17947 * localedata/nb_NO.UTF-8.in: Likewise.
17948 * localedata/om_KE.UTF-8.in: Likewise.
17949 * localedata/os_RU.UTF-8.in: Likewise.
17950 * localedata/ps_AF.UTF-8.in: Likewise.
17951 * localedata/ro_RO.UTF-8.in: Likewise.
17952 * localedata/ru_RU.UTF-8.in: Likewise.
17953 * localedata/sc_IT.UTF-8.in: Likewise.
17954 * localedata/se_NO.UTF-8.in: Likewise.
17955 * localedata/sq_AL.UTF-8.in: Likewise.
17956 * localedata/sv_SE.UTF-8.in: Likewise.
17957 * localedata/szl_PL.UTF-8.in: Likewise.
17958 * localedata/tg_TJ.UTF-8.in: Likewise.
17959 * localedata/tk_TM.UTF-8.in: Likewise.
17960 * localedata/tt_RU.UTF-8.in: Likewise.
17961 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17962 * localedata/ug_CN.UTF-8.in: Likewise.
17963 * localedata/uz_UZ.UTF-8.in: Likewise.
17964 * localedata/vi_VN.UTF-8.in: Likewise.
17965 * localedata/yi_US.UTF-8.in: Likewise.
17966 * localedata/yo_NG.UTF-8.in: Likewise.
17967 * localedata/zh_CN.UTF-8.in: Likewise.
17968 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17969 file and fix bugs in the collation.
17970 * localedata/locales/az_AZ: Likewise.
17971 * localedata/locales/be_BY: Likewise.
17972 * localedata/locales/ber_DZ: Likewise.
17973 * localedata/locales/ber_MA: Likewise.
17974 * localedata/locales/bg_BG: Likewise.
17975 * localedata/locales/br_FR: Likewise.
17976 * localedata/locales/br_FR@euro: Likewise.
17977 * localedata/locales/ca_ES: Likewise.
17978 * localedata/locales/cns11643_stroke: Likewise.
17979 * localedata/locales/crh_UA: Likewise.
17980 * localedata/locales/cs_CZ: Likewise.
17981 * localedata/locales/csb_PL: Likewise.
17982 * localedata/locales/cv_RU: Likewise.
17983 * localedata/locales/cy_GB: Likewise.
17984 * localedata/locales/da_DK: Likewise.
17985 * localedata/locales/dz_BT: Likewise.
17986 * localedata/locales/en_CA: Likewise.
17987 * localedata/locales/eo: Likewise.
17988 * localedata/locales/es_CU: Likewise.
17989 * localedata/locales/es_EC: Likewise.
17990 * localedata/locales/es_ES: Likewise.
17991 * localedata/locales/es_US: Likewise.
17992 * localedata/locales/et_EE: Likewise.
17993 * localedata/locales/fa_IR: Likewise.
17994 * localedata/locales/fi_FI: Likewise.
17995 * localedata/locales/fil_PH: Likewise.
17996 * localedata/locales/fur_IT: Likewise.
17997 * localedata/locales/gez_ER@abegede: Likewise.
17998 * localedata/locales/ha_NG: Likewise.
17999 * localedata/locales/hr_HR: Likewise.
18000 * localedata/locales/hsb_DE: Likewise.
18001 * localedata/locales/hu_HU: Likewise.
18002 * localedata/locales/ig_NG: Likewise.
18003 * localedata/locales/ik_CA: Likewise.
18004 * localedata/locales/is_IS: Likewise.
18005 * localedata/locales/iso14651_t1_pinyin: Likewise.
18006 * localedata/locales/kk_KZ: Likewise.
18007 * localedata/locales/ku_TR: Likewise.
18008 * localedata/locales/ky_KG: Likewise.
18009 * localedata/locales/ln_CD: Likewise.
18010 * localedata/locales/lt_LT: Likewise.
18011 * localedata/locales/lv_LV: Likewise.
18012 * localedata/locales/mi_NZ: Likewise.
18013 * localedata/locales/ml_IN: Likewise.
18014 * localedata/locales/mn_MN: Likewise.
18015 * localedata/locales/mr_IN: Likewise.
18016 * localedata/locales/mt_MT: Likewise.
18017 * localedata/locales/nb_NO: Likewise.
18018 * localedata/locales/om_KE: Likewise.
18019 * localedata/locales/os_RU: Likewise.
18020 * localedata/locales/pl_PL: Likewise.
18021 * localedata/locales/ps_AF: Likewise.
18022 * localedata/locales/ro_RO: Likewise.
18023 * localedata/locales/ru_RU: Likewise.
18024 * localedata/locales/ru_UA: Likewise.
18025 * localedata/locales/sc_IT: Likewise.
18026 * localedata/locales/se_NO: Likewise.
18027 * localedata/locales/si_LK: Likewise.
18028 * localedata/locales/sq_AL: Likewise.
18029 * localedata/locales/sv_FI: Likewise.
18030 * localedata/locales/sv_FI@euro: Likewise.
18031 * localedata/locales/sv_SE: Likewise.
18032 * localedata/locales/szl_PL: Likewise.
18033 * localedata/locales/tg_TJ: Likewise.
18034 * localedata/locales/ti_ER: Likewise.
18035 * localedata/locales/tk_TM: Likewise.
18036 * localedata/locales/tl_PH: Likewise.
18037 * localedata/locales/tr_TR: Likewise.
18038 * localedata/locales/tt_RU: Likewise.
18039 * localedata/locales/tt_RU@iqtelif: Likewise.
18040 * localedata/locales/ug_CN: Likewise.
18041 * localedata/locales/uk_UA: Likewise.
18042 * localedata/locales/uz_UZ: Likewise.
18043 * localedata/locales/uz_UZ@cyrillic: Likewise.
18044 * localedata/locales/vi_VN: Likewise.
18045 * localedata/locales/yi_US: Likewise.
18046 * localedata/locales/yo_NG: Likewise.
18048 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18050 * gen-locales.mk: Make test files which contain @ modifiers in their
18052 * localedata/gen-locale.sh: Likewise.
18054 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18056 * posix/tst-fnmatch.input: Fix results for range expressions
18058 * posix/tst-regexloc.c: Do not use a range expression for
18059 de_DE.ISO-8859-1 locale.
18061 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18063 * posix/bug-regex5.c: Fix test case because with the new
18064 iso14651_t1_common file, the da_DK locale now has 6 collating elements
18065 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
18068 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18070 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
18071 downloaded from ISO, the collation order of @-. and space has changed.
18072 Therefore, this test file needed to be adapted.
18073 * localedata/fr_CA.UTF-8.in: Likewise.
18074 * localedata/fr_FR.UTF-8.in: Likewise.
18075 * localedata/uk_UA.UTF-8.in: Likewise.
18077 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18079 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
18080 order of ȥ in the new iso14651_t1_common file.
18081 * localedata/pl_PL.UTF-8.in: Likewise.
18083 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18085 * localedata/locales/iso14651_t1_common: Add sections for various
18086 scripts to the iso14651_t1_common file.
18088 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18090 * localedata/locales/iso14651_t1_common: Use the code point of a
18091 character in the fourth collation level instead of IGNORE for all
18092 entries which have IGNORE on all 4 levels.
18094 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18096 * localedata/locales/iso14651_t1_common: Add some convenient collation
18097 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
18098 rules similar to those in CLDR.
18100 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18102 * localedata/locales/iso14651_t1_common: The new version of this
18103 file downloaded from ISO contained several syntax errors which
18104 are fixed by this patch.
18106 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18108 * localedata/locales/iso14651_t1_common: replace all <U.....>
18109 with <U000.....> because glibc understands only 4 digit or 8 digit
18111 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18113 * localedata/locales/iso14651_t1_common: Necessary changes
18114 to make the file downloaded from ISO usable by glibc.
18116 2018-02-27 Mike FABIAN <mfabian@redhat.com>
18119 * localedata/locales/iso14651_t1_common: Update file to
18120 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
18122 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18124 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
18125 of <nptl/pthreadP.h>
18126 (thread_attr_compare): Move function to...
18127 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
18128 * sysdeps/nptl/timer_routines.h: ... new header.
18129 * sysdeps/mach/hurd/gai_misc.h: New file.
18131 2018-02-26 Joseph Myers <joseph@codesourcery.com>
18133 * string/strcoll_l.c: Include <libc-diag.h>.
18134 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
18135 declarations of seq1 and seq2.
18138 * stdlib/atoi.c (atoi): Use libc_hidden_def.
18139 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
18141 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
18145 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
18146 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
18147 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
18148 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
18149 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
18150 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
18152 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18154 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
18155 macros used in __ptrace_request.
18157 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
18160 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
18162 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
18163 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
18164 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
18167 2018-02-23 Joseph Myers <joseph@codesourcery.com>
18170 * ctype/ctype.c (tolower): Use libc_hidden_def.
18171 (toupper): Likewise.
18172 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
18173 [!_ISOMAC] (toupper): Likewise.
18175 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18177 * localedata/Makefile: Remove --quiet argument when
18180 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18183 * localedata/locales/pt_BR (LC_TIME): use / instead of -
18185 * localedata/locales/pt_PT (LC_TIME): likewise
18187 2018-02-23 Mike FABIAN <mfabian@redhat.com>
18190 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
18191 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
18192 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
18194 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18198 * nptl/Makefile (routines): Remove unregister-atfork.
18199 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
18200 (fork_handler_alloc): Remove function.
18201 (fork_handlers, fork_handler_init): New variables.
18202 (__fork_lock): Rename to atfork_lock.
18203 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
18204 to use a dynamic array to add/remove atfork handlers.
18205 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18206 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
18207 Remove declaration.
18208 (fork_handler): Remove next, refcntr, and need_signal member.
18209 (__run_fork_handler_type): New enum.
18210 (__run_fork_handlers): New prototype.
18211 * nptl/register-atfork.c: Remove file.
18212 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
18214 * sysdeps/nptl/nptl-signals.h: Move to ...
18215 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
18217 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
18218 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
18219 unnecessary check for SIGTIMER.
18220 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
18221 remove unnecessary removal of SIGTIMER.
18222 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
18223 include-signals.h rename.
18224 * nptl/pthreadP.h: Likewise.
18225 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
18226 __is_internal_signal instead of __nptl_is_internal_signal.
18228 2018-02-22 Andrew Waterman <andrew@sifive.com>
18231 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
18232 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
18233 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
18234 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
18236 2018-02-22 DJ Delorie <dj@delorie.com>
18238 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
18240 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
18242 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
18243 do_misaligned, not misaligned8.
18245 2018-02-22 Steve Ellcey <sellcey@cavium.com>
18247 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
18248 Add memcpy_thunderx2.
18249 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
18251 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
18252 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
18253 and IS_THUNDERX2PA checks.
18254 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
18255 Use macro to set name appropriately.
18256 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
18257 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
18258 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
18260 (IS_THUNDERX2): New macro.
18262 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
18264 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18266 2018-02-21 Zack Weinberg <zackw@panix.com>
18268 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
18269 Define here, unconditionally.
18270 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
18271 * libio/libioP.h: Remove #if 0 blocks.
18272 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
18273 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
18274 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
18276 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
18277 Assume weak_alias is always defined.
18279 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
18280 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
18281 Remove #if 0 and #ifdef TODO blocks.
18282 Assume text_set_element is always defined.
18284 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
18285 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
18286 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
18288 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
18289 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
18290 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
18291 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
18292 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
18293 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
18294 Reformat bit flags for _flags field to make occupancy clearer.
18296 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
18297 Keep definitions consistent with those in libio/libio.h.
18299 * libio/libio.h (_IO_file_flags): Remove macro.
18300 All uses changed to _flags.
18302 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
18303 (__HAVE_COLUMN, _IO_BE): Don't define.
18304 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
18305 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
18306 * libio/libioP.h (EOF): Don't define.
18307 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
18308 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
18309 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
18310 testing _IO_UNIFIED_JUMPTABLES.
18312 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
18313 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
18314 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
18315 (_IO_size_t): Delete; all uses changed to size_t.
18316 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
18317 (_IO_off_t): Delete; all uses changed to off_t.
18318 (_IO_off64_t): Delete; all uses changed to off64_t.
18319 (_IO_pid_t): Delete; all uses changed to pid_t.
18320 (_IO_uid_t): Delete; all uses changed to uid_t.
18321 (_IO_wint_t): Delete; all uses changed to wint_t.
18322 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
18323 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
18324 (_IO_cookie_io_functions_t): Delete; all uses changed to
18325 cookie_io_functions_t.
18326 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
18327 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
18328 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
18329 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
18331 * libio/iofopncook.c: Remove unnecessary forward declarations.
18332 * libio/iolibio.h: Correct outdated commentary.
18333 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
18334 * stdio-common/fxprintf.c (__fxprintf_nocancel):
18335 Remove unnecessary casts.
18336 * stdio-common/getline.c: Use _IO_getdelim directly.
18337 Don't redefine ssize_t.
18338 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
18339 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
18340 Remove outdated comments.
18341 * stdio-common/vfscanf.c: Don't redefine va_list.
18343 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
18344 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
18345 Remove preprocessor conditionals on _LIBC and __USE_GNU,
18346 which are always true, and __cplusplus, which is always false.
18348 2018-02-21 Joseph Myers <joseph@codesourcery.com>
18352 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
18353 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
18354 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
18355 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
18357 [!_ISOMAC] (putc_unlocked): Likewise.
18358 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
18359 define inline if [__USE_EXTERN_INLINES].
18360 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
18365 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
18366 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
18367 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
18368 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
18369 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
18371 * time/tzfile.c (__tzfile_read): Likewise.
18373 2018-02-21 Mike FABIAN <mfabian@redhat.com>
18376 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
18378 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
18380 * io/fcntl.h: Fix a typo in a comment.
18382 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
18385 * include/features.h: Add _ISOC11_SOURCE to test for whether to
18386 define _DEFAULT_SOURCE.
18387 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
18389 2018-02-21 Florian Weimer <fweimer@redhat.com>
18392 * elf/cache.c (save_cache): Call fsync on temporary file before
18394 (save_aux_cache): Call fdatasync on temporary file before renaming
18397 2018-02-21 Florian Weimer <fweimer@redhat.com>
18400 * include/caller.h: Remove file.
18401 * elf/dl-caller.c: Likewise.
18402 * elf/Makefile (dl-routines): Remove dl-caller.
18403 (shared-only-routines): Do not add dl-caller.
18404 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
18406 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
18408 (dl_open_worker): Do not call __check_caller.
18409 (_dl_open): Do not set caller_dl_open member.
18410 * elf/rtld.c (_rtld_global_ro): Do not initialize
18411 _dl_check_caller member.
18412 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
18413 _dl_check_caller member.
18414 (_dl_check_caller): Remove declaration.
18415 * sysdeps/unix/sysv/linux/dl-execstack.c
18416 (_dl_make_stack_executable): Do not call __check_caller.
18418 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
18420 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
18421 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
18423 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
18425 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
18428 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
18431 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
18432 of 199606L, 200112L, and 200809L.
18433 (_XOPEN_SOURCE): Document special values of 600 and 700.
18434 (_ISOC11_SOURCE): Document macro.
18435 (_ATFILE_SOURCE): Likewise.
18436 (_FORTIFY_SOURCE): Likewise.
18438 2018-02-19 Joseph Myers <joseph@codesourcery.com>
18442 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
18443 and define as weak alias of __ferror_unlocked. Use
18445 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
18447 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
18448 function if [__USE_EXTERN_INLINES].
18449 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
18452 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
18455 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
18457 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18460 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
18461 the GLIBC_2.1 version.
18463 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18466 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
18467 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
18468 intl/tst-gettext-de.po from po/de.po by removing the
18469 POT-Creation-Date line.
18470 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
18472 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
18475 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18477 * mach/Makefile (headers): Add mach/param.h.
18478 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
18479 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
18480 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
18481 (__ptsname_r): Move implementation to...
18482 (__ptsname_internal): ... new function. Add filling the STP
18485 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
18487 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
18490 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
18492 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
18495 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18497 * nptl/Makefile (tst-mutex8-ENV): Delete.
18498 * nptl/tst-mutex8.c (check_type):
18499 Add runtime check if mutex will be elided.
18501 2018-02-15 Joseph Myers <joseph@codesourcery.com>
18505 * manual/install.texi (Configuring and compiling): Describe
18506 passing CC and CFLAGS on configure command line, not as
18507 environment variables. Use @code markup on those variables.
18508 Specify what options go in CC and what go in CFLAGS. Note the
18509 requirement to compile with optimization.
18510 * INSTALL: Regenerated.
18513 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
18514 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
18515 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
18516 __sigprocmask instead of sigprocmask.
18517 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
18519 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
18520 __sigsetjmp and sigprocmask.
18523 * include/argz.h (argz_next): Use libc_hidden_proto.
18524 (__argz_next): Likewise.
18525 * string-argz-next.c (__argz_next): Use libc_hidden_def.
18526 (argz_next): Use libc_hidden_weak.
18529 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
18531 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
18535 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
18537 * libio/iofputs.c (fputs): Use libc_hidden_weak.
18541 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
18542 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
18543 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
18544 (__feof_unlocked): New declaration, and inline function if
18545 [__USE_EXTERN_INLINES].
18546 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
18547 instead of feof_unlocked.
18548 * intl/localealias.c [_LIBC] (FEOF): Likewise.
18549 * nss/nsswitch.c (nss_parse_file): Likewise.
18550 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
18552 * time/getdate.c (__getdate_r): Likewise.
18553 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
18554 Define as macro to call __feof_unlocked.
18556 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18558 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
18560 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18562 * math/Makefile: Remove mpexp.c and mplog.c
18563 * sysdeps/i386/fpu/mpexp.c: Delete file.
18564 * sysdeps/i386/fpu/mplog.c: Likewise.
18565 * sysdeps/ia64/fpu/mpexp.c: Likewise.
18566 * sysdeps/ia64/fpu/mplog.c: Likewise.
18567 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
18568 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
18569 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
18570 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18571 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
18572 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
18573 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
18574 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
18575 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18576 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18577 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
18578 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18579 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18580 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
18581 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18582 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18584 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18586 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18588 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18590 * sysdeps/sh/libm-test-ulps: Update.
18592 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18594 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
18597 2018-02-12 Zack Weinberg <zackw@panix.com>
18600 * posix/sys/types.h: Don't include sys/sysmacros.h.
18601 * misc/sys/sysmacros.h: Remove the conditional deprecation
18602 warnings for the macros defined by this header.
18604 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18606 * manual/probes.texi: Remove slowexp probes.
18607 * math/Makefile: Remove slowexp.
18608 * sysdeps/generic/math_private.h (__slowexp): Remove.
18609 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18610 document error bounds.
18611 * sysdeps/i386/fpu/slowexp.c: Remove.
18612 * sysdeps/ia64/fpu/slowexp.c: Remove.
18613 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18614 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18615 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18616 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18617 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18618 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18619 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18620 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18621 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18622 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18623 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18625 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18628 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18629 * benchtests/pow-inputs: Update comment for slow path cases.
18630 * manual/probes.texi (slowpow_p10): Delete removed probe.
18631 (slowpow_p10): Likewise.
18632 * math/Makefile: Remove halfulp.c and slowpow.c.
18633 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18634 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18635 (__halfulp): Remove.
18636 (__slowpow): Remove.
18637 * sysdeps/i386/fpu/halfulp.c: Delete file.
18638 * sysdeps/i386/fpu/slowpow.c: Likewise.
18639 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18640 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18641 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18642 improve comments and add error analysis.
18643 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18644 (power1): Remove function:
18645 (log1): Remove error argument, add error analysis.
18646 (my_log2): Remove function.
18647 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18648 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18649 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18650 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18651 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18652 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18653 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18654 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18655 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18656 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18657 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18658 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18659 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18660 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18662 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18664 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
18665 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
18667 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
18670 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
18671 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
18672 and PTRACE_SETHBPREGS.
18674 2018-02-10 Zack Weinberg <zackw@panix.com>
18677 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
18679 * malloc/tst-malloc-stats-cancellation.c: New test case.
18680 * malloc/Makefile: Add new test case.
18682 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
18684 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
18686 2018-02-10 Joseph Myers <joseph@codesourcery.com>
18688 * math/Makefile (libm-narrow-fns): Add add.
18689 (libm-test-funcs-narrow): Likewise.
18690 * math/Versions (GLIBC_2.28): Add narrowing add functions.
18691 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
18692 * math/gen-auto-libm-tests.c (test_functions): Add add.
18693 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
18694 (NARROW_ADD_ROUND_TO_ODD): Likewise.
18695 (NARROW_ADD_TRIVIAL): Likewise.
18696 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
18698 (__daddl): Likewise.
18699 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
18701 (CFLAGS-nldbl-dadd.c): New variable.
18702 (CFLAGS-nldbl-fadd.c): Likewise.
18703 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18705 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
18707 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
18708 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
18709 * math/auto-libm-test-in: Add tests of add.
18710 * math/auto-libm-test-out-narrow-add: New generated file.
18711 * math/libm-test-narrow-add.inc: New file.
18712 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18713 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
18714 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
18715 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
18716 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
18717 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
18718 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
18719 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
18720 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
18721 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
18722 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
18723 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
18724 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
18725 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
18726 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
18727 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
18728 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
18729 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
18730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18731 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18732 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18733 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18734 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18735 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18736 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18737 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18738 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18739 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18740 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18741 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18742 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18743 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18748 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18749 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18750 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18751 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18752 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18753 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18754 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18755 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18756 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18757 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18759 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
18760 (f128-pairs): New variable.
18761 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
18762 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18764 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18765 Also make tests add $(f128-loader-link) to gnulib-tests.
18767 2018-02-09 DJ Delorie <dj@redhat.com>
18770 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18771 64-bit ELF type for 64-bit ELF objects.
18773 2018-02-09 Joseph Myers <joseph@codesourcery.com>
18775 * math/libm-test-driver.c (snan_tests_arg): New variable.
18776 * math/libm-test-support.h (snan_tests_arg): New declaration.
18777 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18779 * math/Makefile (test-type-pairs): New variable.
18780 (test-type-pairs-f64xf128-yes): Likewise.
18781 (tests): Add test-narrow-macros.
18782 (libm-test-funcs-narrow): New variable.
18783 (libm-test-c-narrow): Likewise.
18784 (generated): Add $(libm-test-c-narrow).
18785 (libm-tests-base-narrow): New variable.
18786 (libm-tests-narrow): Likewise.
18787 (libm-tests): Add $(libm-tests-narrow).
18788 (libm-tests-for-type): Handle $(libm-tests-narrow).
18789 (libm-test-c-narrow-obj): New variable.
18790 ($(libm-test-c-narrow-obj)): New rule.
18791 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18792 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18793 $(o-iterator) to set dependencies and CFLAGS.
18794 * math/gen-auto-libm-tests.c: Document use for narrowing
18796 (output_for_one_input_case): Take argument NARROW.
18797 (generate_output): Likewise. Update call to
18798 output_for_one_input_case.
18799 (main): Take --narrow option. Update call to generate_output.
18800 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18801 (apply_lit): Update call to _apply_lit.
18802 (apply_arglit): New function.
18803 (parse_args): Handle "a" arguments.
18804 (parse_auto_input): Handle format names using ":".
18805 * math/README.libm-test: Document "a" parameter type.
18806 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18807 (ARG_TYPE_TRUE_MIN): Likewise.
18808 (ARG_TYPE_MAX): Likwise.
18809 (ARG_MIN_EXP): Likewise.
18810 (ARG_MAX_EXP): Likewise.
18811 (ARG_MANT_DIG): Likewise.
18812 (TEST_COND_arg_ibm128): Likewise.
18813 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18814 (TEST_COND_arg_fmt): New macro.
18815 (init_max_error): Update prototype.
18816 * math/libm-test-support.c (test_ibm128): New variable.
18817 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18818 instead of using [TEST_COND_ibm128] conditional.
18819 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18820 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18821 [TEST_NARROW] (TEST_MSG): New definition.
18822 (arg_plus_zero): New macro.
18823 (arg_minus_zero): Likewise.
18824 (arg_plus_infty): Likewise.
18825 (arg_minus_infty): Likewise.
18826 (arg_qnan_value_pl): Likewise.
18827 (arg_qnan_value): Likewise.
18828 (arg_snan_value_pl): Likewise.
18829 (arg_snan_value): Likewise.
18830 (arg_max_value): Likewise.
18831 (arg_min_value): Likewise.
18832 (arg_min_subnorm_value): Likewise.
18833 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18834 (RUN_TEST_LOOP_aa_f): New macro.
18835 (TEST_SUFF): New macro.
18836 (TEST_SUFF_STR): Likewise.
18837 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18838 (TEST_COND_any_ibm128): New macro.
18839 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18840 this_func. Update call to init_max_error.
18841 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18842 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18843 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18844 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18845 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18846 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18847 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18848 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18849 * math/test-math-vector.h (TEST_NARROW): Likewise.
18850 * math/test-arg-double.h: New file.
18851 * math/test-arg-float128.h: Likewise.
18852 * math/test-arg-float32x.h: Likewise.
18853 * math/test-arg-float64.h: Likewise.
18854 * math/test-arg-float64x.h: Likewise.
18855 * math/test-arg-ldouble.h: Likewise.
18856 * math/test-math-narrow.h: Likewise.
18857 * math/test-narrow-macros.c: Likewise.
18858 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18859 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18860 test-narrow-macros-ldbl-64.
18861 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18863 * math/bits/mathcalls-narrow.h: New file.
18864 * include/bits/mathcalls-narrow.h: Likewise.
18865 * math/math-narrow.h: Likewise.
18866 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18867 (__MATHCALL_NARROW_ARGS_2): Likewise.
18868 (__MATHCALL_NARROW_ARGS_3): Likewise.
18869 (__MATHCALL_NARROW_NORMAL): Likewise.
18870 (__MATHCALL_NARROW_REDIR): Likewise.
18871 (__MATHCALL_NARROW): Likewise.
18872 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18873 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18875 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18876 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18877 (libm-narrow-fns): New variable.
18878 (libm-narrow-types-basic): Likewise.
18879 (libm-narrow-types-ldouble-yes): Likewise.
18880 (libm-narrow-types-float128-yes): Likewise.
18881 (libm-narrow-types-float128-alias-yes): Likewise.
18882 (libm-narrow-types): Likewise.
18883 (libm-routines): Add narrowing functions.
18884 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18885 (libc_feholdexcept_setroundf128): New macro.
18886 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18887 * sysdeps/ieee754/float128/float128_private.h: Include
18888 <math/math-narrow.h>.
18889 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18890 Undefine and redefine.
18891 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18892 (libm_alias_float_ldouble): Undefine and redefine.
18893 (libm_alias_double_ldouble): Likewise.
18895 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18897 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18899 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18902 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
18904 * manual/creature.texi: Convert references to gcc.info to gcc.
18905 * manual/stdio.texi: Likewise.
18906 * manual/string.texi: Likewise.
18908 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18911 * posix/bits/types.h (__int_least8_t): New typedef.
18912 (__uint_least8_t): Likewise.
18913 (__int_least16_t): Likewise.
18914 (__uint_least16_t): Likewise.
18915 (__int_least32_t): Likewise.
18916 (__uint_least32_t): Likewise.
18917 (__int_least64_t): Likewise.
18918 (__uint_least64_t): Likewise.
18919 * sysdeps/generic/stdint.h (int_least8_t): Define using
18921 (int_least16_t): Define using __int_least16_t.
18922 (int_least32_t): Define using __int_least32_t.
18923 (int_least64_t): Define using __int_least64_t.
18924 (uint_least8_t): Define using __uint_least8_t.
18925 (uint_least16_t): Define using __uint_least16_t.
18926 (uint_least32_t): Define using __uint_least32_t.
18927 (uint_least64_t): Define using __uint_least64_t.
18928 * wcsmbs/uchar.h: Include <bits/types.h>.
18929 (char16_t): Define using __uint_least16_t conditional only on
18931 (char32_t): Define using __uint_least32_t conditional only on
18933 * wcsmbs/test-char-types.c: New file.
18934 * wcsmbs/Makefile (tests): Add test-char-types.
18936 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18939 2018-02-07 Zack Weinberg <zackw@panix.com>
18941 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18942 Delete all contents except for definitions of _G_HAVE_MMAP and
18943 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18944 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18945 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18948 * libio/libio.h: Don't include bits/_G_config.h here.
18949 Include stddef.h with __need_wchar_t defined. Include
18950 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18951 Define _IO_iconv_t here, directly.
18952 Don't define _IO_HAVE_ST_BLKSIZE.
18953 * libio/libioP.h: Include _G_config.h here. Move include of
18954 shlib-compat.h up with rest of includes. Simplify conditionals
18955 controlling definition of _IO_JUMPS_OFFSET.
18957 * csu/init.c: Remove always-true #if around entire file.
18958 Don't include stdio.h. Set _IO_stdin_used to hardwired
18959 constant 0x20001, and update commentary.
18960 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18961 Replace all uses of _G_va_list with __gnuc_va_list.
18962 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18963 instead of #if _IO_HAVE_ST_BLKSIZE.
18964 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18965 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18968 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18969 multiple-include guard to match.
18970 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18972 Remove preprocessor conditionals that are always true and/or
18973 redundant to other preprocessor conditionals in the same nest.
18974 Include shlib-compat.h unconditionally.
18975 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18976 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18977 defined after including stdio.h.
18978 Use __BEGIN_DECLS/__END_DECLS.
18980 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18981 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18982 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18984 2018-02-07 Zack Weinberg <zackw@panix.com>
18986 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18987 New single-type headers split from _G_config.h.
18988 * libio/bits/types/cookie_io_functions_t.h
18989 * libio/bits/types/struct_FILE.h
18990 New single-type headers split from libio.h.
18992 * libio/Makefile: Install the above new headers. Don't install
18993 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18995 * libio/_G_config.h, libio/libio.h: Delete file.
18997 * libio/bits/libio.h: Remove improper-inclusion guard.
18998 Include stdio.h and don't repeat anything that it does.
18999 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
19000 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
19001 __io_read_fn as cookie_read_function_t,
19002 __io_write_fn as cookie_write_function_t,
19003 __io_seek_fn as cookie_seek_function_t,
19004 __io_close_fn as cookie_close_function_t,
19005 and _IO_cookie_io_functions_t as cookie_io_functions_t.
19006 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
19007 here, in the "compatibility defines" section. Remove an #if 0
19008 block. Use the "body" macros from bits/types/struct_FILE.h to
19009 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
19010 and _IO_ferror_unlocked.
19011 Move prototypes of __uflow and __overflow...
19013 * libio/stdio.h: ...here. Don't include bits/libio.h.
19014 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
19015 directly from stdarg.h. Include bits/types/__fpos_t.h,
19016 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
19017 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
19018 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
19019 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
19020 cookie_io_functions_t, not _IO_cookie_io_functions_t;
19021 __ssize_t, not _IO_ssize_t. Unconditionally define
19022 BUFSIZ as 8192 and EOF as (-1).
19024 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
19025 macros from bits/types/struct_FILE.h instead of _IO_* macros
19026 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
19027 instead of _IO_ssize_t.
19028 * libio/bits/stdio2.h: Similarly.
19030 * libio/iolibio.h: Add multiple-include guard.
19031 Include bits/libio.h after stdio.h.
19032 * libio/libioP.h: Add multiple-include guard.
19033 Include stdio.h and bits/libio.h before iolibio.h.
19035 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
19036 * include/bits/types/cookie_io_functions_t.h
19037 * include/bits/types/struct_FILE.h: New wrappers.
19039 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
19040 Get definitions of _G_fpos_t and _G_fpos64_t from
19041 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
19042 respectively. Remove improper-inclusion guards.
19044 * conform/data/stdio.h-data: Update expectations of va_list.
19045 * scripts/check-installed-headers.sh: Remove special case for
19046 libio.h and _G_config.h.
19048 2018-02-07 Joseph Myers <joseph@codesourcery.com>
19052 * include/sys/sysmacros.h [!_ISOMAC]
19053 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
19054 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
19055 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
19056 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
19058 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
19059 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
19061 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
19062 Undefine and redefine to add use __gnu_dev_ prefix.
19063 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
19065 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
19066 and define as hidden inline function.
19067 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
19069 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
19071 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
19072 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
19073 (gnu_dev_minor): Likewise.
19074 (gnu_dev_makedev): Likewise.
19075 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
19077 * posix/wordexp.c (exec_comm_child): Likewise.
19078 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
19079 instead of minor and __gnu_dev_major instead of major.
19080 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
19081 __gnu_dev_major instead of major.
19082 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
19083 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
19084 instead of gnu_dev_minor.
19085 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
19086 (SLAVE_P): Likewise.
19087 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
19088 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
19092 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
19094 * locale/weightwc.h (findidx): Likewise.
19096 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
19098 * manual/probes.texi (slowlog): Delete documentation of removed probe.
19099 (slowlog_inexact): Likewise
19100 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
19101 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
19103 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
19106 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
19107 missing second underscore to parameter name.
19109 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19115 * bits/byteswap.h: Update file comment. Do not include
19116 <bits/byteswap-16.h>.
19117 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
19119 (__bswap_16): Define as inline function.
19120 (__bswap_constant_32): Reformat definition.
19121 (__bswap_32): Always define as inline function, not macro, using
19122 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
19123 otherwise __bswap_constant_32.
19124 (__bswap_constant_64): Reformat definition. Do not use
19125 __extension__ here.
19126 (__bswap_64): Always define as inline function, not macro. Use
19127 __extension__ on function definition. Use __builtin_bswap64 if
19128 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
19129 * string/test-endian-file-scope.c: New file.
19130 * string/test-endian-sign-conversion.c: Likewise.
19131 * string/Makefile (headers): Remove bits/byteswap-16.h.
19132 (tests): Add test-endian-file-scope and
19133 test-endian-sign-conversion.
19134 (CFLAGS-test-endian-sign-conversion.c): New variable.
19135 * bits/byteswap-16.h: Remove file.
19136 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
19137 * sysdeps/ia64/bits/byteswap.h: Likewise.
19138 * sysdeps/m68k/bits/byteswap.h: Likewise.
19139 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19140 * sysdeps/s390/bits/byteswap.h: Likewise.
19141 * sysdeps/tile/bits/byteswap.h: Likewise.
19142 * sysdeps/x86/bits/byteswap-16.h: Likewise.
19143 * sysdeps/x86/bits/byteswap.h: Likewise.
19146 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
19147 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
19148 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
19149 199901L] (__restrict): Define to restrict.
19152 * string/testcopy.c: Include <support/support.h>. Do not include
19153 <malloc.h>. Use <support/test-driver.c>.
19154 (main): Rename to do_test. Make static. Use xmalloc instead of
19158 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
19159 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
19160 (SSIZE_MAX): Define to INT_MAX.
19161 * posix/test-ssize-max.c: New file.
19162 * posix/Makefile (tests): Add test-ssize-max.
19165 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
19166 <support/support.h>. Do not include <malloc.h>.
19167 (query_auxv): Use xmalloc instead of malloc.
19170 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
19171 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
19174 2018-02-06 Florian Weimer <fweimer@redhat.com>
19177 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19178 Use scratch_buffer instead of extend_alloca.
19180 2018-02-06 Zack Weinberg <zackw@panix.com>
19182 * libio/stdio.h: Don't define getc or putc as macros.
19183 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
19184 not _IO_getc and _IO_putc.
19186 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
19187 * stdio-common/tstgetln.c: Don't redefine ssize_t.
19189 2018-02-06 Joseph Myers <joseph@codesourcery.com>
19191 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
19192 (TCP_FASTOPEN_NO_COOKIE): Likewise.
19194 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
19197 * elf/elf.h (NT_PRFPREG): New macro.
19198 (NT_S390_VXRS_LOW): Likewise.
19199 (NT_S390_VXRS_HIGH): Likewise.
19200 (NT_S390_GS_CB): Likewise.
19201 (NT_S390_GS_BC): Likewise.
19202 (NT_S390_RI_CB): Likewise.
19204 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
19205 (MAP_SYNC): New macro.
19206 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
19208 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
19209 (MAP_SYNC): Likewise.
19210 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
19211 (MAP_SYNC): Likewise.
19212 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
19213 (MAP_SYNC): Likewise.
19214 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
19215 (MAP_SYNC): Likewise.
19216 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
19217 (MAP_SYNC): Likewise.
19218 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
19219 (MAP_SYNC): Likewise.
19220 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
19222 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
19225 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
19226 (MAP_SHARED_VALIDATE): New macro.
19227 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
19228 (MAP_SHARED_VALIDATE): Likewise.
19230 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19232 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
19233 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
19234 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19236 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19238 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
19239 (DT_NUM): Updated to 35.
19241 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19243 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
19244 __builtin_expect with __glibc_likely and __glibc_unlikely.
19245 (elf_machine_rela): Likewise.
19246 (elf_machine_lazy_rel): Likewise.
19248 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19250 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
19251 __builtin_expect with __glibc_likely and __glibc_unlikely.
19252 (elf_machine_lazy_rel): Likewise.
19254 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19257 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
19259 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
19261 2018-02-05 Andreas Schwab <schwab@suse.de>
19264 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
19267 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19269 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
19270 not check against PTHREAD_STACK_MIN.
19272 2018-02-02 Sean McKean <smckean83@gmail.com>
19275 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
19277 2018-02-02 Florian Weimer <fweimer@redhat.com>
19280 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
19281 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
19282 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
19283 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
19284 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
19285 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
19286 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
19287 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
19288 * manual/llio.texi (Scatter-Gather): Mention offset -1.
19289 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
19290 * misc/tst-preadvwritev2.c (do_test): Call it.
19291 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
19293 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
19295 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
19297 * benchtests/bench-memcmp.c: Print json instead of plain text.
19299 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
19302 2018-02-01 Joseph Myers <joseph@codesourcery.com>
19304 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19306 (s390_sthyi): New syscall.
19308 * sysdeps/generic/ldbl-classify-compat.h: New file.
19309 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
19310 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
19311 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
19312 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
19313 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
19314 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
19315 * sysdeps/ieee754/dbl-64/s_finite.c: Include
19316 <ldbl-classify-compat.h>.
19317 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19318 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
19319 <ldbl-classify-compat.h>.
19320 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19321 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
19322 <ldbl-classify-compat.h>.
19323 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19324 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
19325 <ldbl-classify-compat.h>.
19326 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19327 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
19328 <ldbl-classify-compat.h>.
19329 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19330 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
19331 <ldbl-classify-compat.h>.
19332 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19333 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
19334 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19335 * sysdeps/m68k/coldfire/math_private.h: Remove file.
19336 * sysdeps/microblaze/math_private.h: Likewise.
19337 * sysdeps/nios2/math_private.h: Likewise.
19338 * sysdeps/sh/math_private.h: Likewise.
19340 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
19341 * sysdeps/m68k/coldfire/math_private.h: ... here.
19342 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
19343 * sysdeps/tile/math_private.h: Likewise.
19344 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
19346 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
19349 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
19351 (libc_fetestexcept): Likewise.
19352 (libc_feupdateenv_test): Likewise.
19353 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
19354 (libc_fetestexcept): Likewise.
19355 (libc_feupdateenv_test): Likewise.
19356 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
19357 (libc_fetestexcept): Likewise.
19358 (libc_feupdateenv_test): Likewise.
19359 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
19360 (libc_fetestexcept): Likewise.
19361 (libc_feupdateenv_test): Likewise.
19363 * sysdeps/generic/math_private.h
19364 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
19365 New inline function.
19366 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
19369 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
19370 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
19371 * sysdeps/generic/math_private.h
19372 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
19374 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
19376 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
19378 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
19380 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
19382 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
19384 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
19385 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
19386 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
19387 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
19388 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
19389 (__fegetenv): Likewise.
19390 (fesetenv): Likewise.
19391 (__fesetenv): Likewise.
19392 (feupdateenv): Likewise.
19393 (__feupdateenv): Likewise.
19394 (fegetround): Likewise.
19395 (__fegetround): Likewise.
19396 (fesetround): Likewise.
19397 (__fesetround): Likewise.
19399 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
19400 (feraiseexcept): New macro.
19401 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
19402 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
19404 (__feraiseexcept): Likewise.
19405 (feclearexcept): Likewise.
19406 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
19407 (__feraiseexcept): Likewise.
19408 (feclearexcept): Likewise.
19409 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
19410 (__feraiseexcept): Likewise.
19411 (feclearexcept): Likewise.
19412 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
19413 (__feraiseexcept): Likewise.
19414 (feclearexcept): Likewise.
19415 (fetestexcept): Likewise.
19417 * sysdeps/m68k/coldfire/math-tests.h: New file.
19419 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
19420 * sysdeps/m68k/bits/fenv.h: ... here.
19421 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
19423 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
19425 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
19427 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
19429 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
19431 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
19433 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
19434 (__FE_UNDEFINED): New enum constant.
19435 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
19437 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
19439 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
19441 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
19442 to match generic bits/fenv.h.
19443 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
19446 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
19448 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
19449 * soft-fp/half.h (union _FP_UNION_H): Likewise.
19450 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
19451 * soft-fp/single.h (union _FP_UNION_S): Likewise.
19453 2018-02-01 Carlos O'Donell <carlos@redhat.com>
19454 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
19455 Joseph Myers <joseph@codesourcery.com>
19458 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
19459 (__log1p): Disable -Wmaybe-uninitialized for -Os around
19460 computation using c.
19461 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
19462 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
19463 computation using c.
19465 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19467 * version.h (RELEASE): Set to "development".
19468 (VERSION): Set to "2.27.9000".
19469 * NEWS (2.28): New section.
19471 * version.h (RELEASE): Set to "stable".
19472 (VERSION): Set to "2.27".
19473 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
19475 * NEWS: Add the list of bugs fixed in 2.27.
19477 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19479 * stdlib/test-atexit-race-common.c (do_test): Check stack size
19480 against PTHREAD_STACK_MIN.
19482 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19484 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
19486 (Rafal Luzynski, Andreas Schwab): Update.
19488 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
19491 * NEWS: List the languages which actually use the alternative
19492 months feature in this release. Also explain that "alt_mon" and
19493 "ab_alt_mon" are optional.
19495 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
19498 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
19500 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
19502 * manual/install.texi (Tools for Compilation): Update the newest
19503 versions of gcc, binutils, texinfo, gawk, bison, and sed.
19504 * INSTALL: Regenerated.
19506 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19508 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
19509 instead of __builtin_expect.
19511 2018-01-30 Florian Weimer <fweimer@redhat.com>
19513 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
19515 * nss/tst-nss-getpwent.c (do_test): Likewise.
19517 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
19520 * localedata/locales/hr_HR (mon): Rename to...
19522 (mon): Import from CLDR (genitive case).
19523 (d_t_fmt): Update the comment.
19525 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
19527 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
19528 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
19529 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
19531 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19533 * mach/Versions: Fix version when __mach_host_self_ was added.
19534 * hurd/Versions: Fix version when _hurd_exec_paths was added.
19535 * sysdeps/mach/hurd/i386/ld.abilist: New file.
19536 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
19537 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
19538 * sysdeps/mach/hurd/i386/libc.abilist: New file.
19539 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
19540 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
19541 * sysdeps/mach/hurd/i386/libm.abilist: New file.
19542 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
19543 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
19544 * sysdeps/mach/hurd/i386/librt.abilist: New file.
19545 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
19546 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
19547 || to respect codestyle.
19548 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
19549 (do_test_bz20181): Rename accordingly.
19550 * malloc/malloc.c: Include <assert.h>.
19551 (assert): Do not define.
19552 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
19553 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
19554 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
19555 * sysdeps/mach/hurd/hp-timing.h: New file.
19556 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
19558 2018-01-29 Darius Rad <darius@bluespec.com>
19560 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
19562 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
19564 * sysdeps/init_array/crti.S (.section .init_array): Add
19565 PREINIT_FUNCTION when defined.
19566 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
19567 * config.h.in: Regenerate.
19568 * manual/platform.texi: Add RISC-V documenation for
19569 __riscv_flush_icache.
19570 * sysdeps/riscv/__longjmp.S: New file.
19571 * sysdeps/riscv/backtrace.c: Likewise.
19572 * sysdeps/riscv/bits/endian.h: Likewise.
19573 * sysdeps/riscv/bits/setjmp.h: Likewise.
19574 * sysdeps/riscv/bits/wordsize.h: Likewise.
19575 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
19576 * sysdeps/riscv/bsd-setjmp.c: Likewise.
19577 * sysdeps/riscv/dl-trampoline.S: Likewise.
19578 * sysdeps/riscv/gccframe.h: Likewise.
19579 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
19580 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
19581 * sysdeps/riscv/machine-gmon.h: Likewise.
19582 * sysdeps/riscv/memusage.h: Likewise.
19583 * sysdeps/riscv/setjmp.S: Likewise.
19584 * sysdeps/riscv/sys/asm.h: Likewise.
19585 * sysdeps/riscv/tls-macros.h: Likewise.
19586 * sysdeps/riscv/dl-tls.h: New file.
19587 * sysdeps/riscv/libc-tls.c: Likewise.
19588 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
19589 * sysdeps/riscv/nptl/tls.h: Likewise.
19590 * sysdeps/riscv/stackinfo.h: Likewise.
19591 * sysdeps/riscv/bits/fenv.h: New file.
19592 * sysdeps/riscv/e_sqrtl.c: Likewise.
19593 * sysdeps/riscv/fpu_control.h: Likewise.
19594 * sysdeps/riscv/math-tests.h: Likewise.
19595 * sysdeps/riscv/nofpu/Implies: Likewise.
19596 * sysdeps/riscv/sfp-machine.h: Likewise.
19597 * sysdeps/riscv/tininess.h: Likewise.
19598 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
19599 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
19600 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
19601 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
19602 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
19603 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
19604 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
19605 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
19606 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
19607 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
19608 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
19609 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19610 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19611 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19612 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19613 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19614 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19615 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19616 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19617 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19618 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19619 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19620 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19621 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19622 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19623 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19624 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19625 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19626 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19627 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19628 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19629 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19630 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19631 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19632 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19633 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19634 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19635 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19636 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19637 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19638 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19639 * sysdeps/riscv/rvf/math_private.h: Likewise.
19640 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19641 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19642 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19643 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19644 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19645 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19646 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19647 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19648 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19649 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19650 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19651 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19652 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19653 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19654 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19655 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
19656 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19657 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19658 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19659 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
19660 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19661 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19662 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19663 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19664 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
19665 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
19666 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
19667 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
19668 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
19669 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
19670 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
19671 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
19672 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
19673 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
19674 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
19675 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
19676 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
19677 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
19678 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
19679 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
19680 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
19681 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
19682 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
19683 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
19684 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
19685 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
19686 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
19687 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
19688 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
19689 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
19690 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
19691 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
19692 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
19693 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
19694 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
19695 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
19696 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
19697 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
19698 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
19699 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
19700 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
19701 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
19702 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
19703 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
19704 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19705 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
19706 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
19707 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
19708 * sysdeps/riscv/Implies: New file.
19709 * sysdeps/riscv/Makefile: Likewise.
19710 * sysdeps/riscv/configure: Likewise.
19711 * sysdeps/riscv/configure.ac: Likewise.
19712 * sysdeps/riscv/nptl/Makefile: Likewise.
19713 * sysdeps/riscv/preconfigure: Likewise.
19714 * sysdeps/riscv/rv64/Implies-after: Likewise.
19715 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
19716 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
19717 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
19718 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
19719 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
19720 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
19721 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
19722 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
19723 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
19724 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
19725 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
19726 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
19727 (Config): Likewise.
19729 2018-01-29 Florian Weimer <fweimer@redhat.com>
19732 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
19733 libnsl_hidden_proto.
19734 * include/rpcsvc/yp.h (yp_xdrall): Declare with
19735 libnsl_hidden_proto.
19736 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
19737 * nis/Makefile (libnsl-routines): Add nss-default only for
19738 build-obsolete-nsl.
19739 * nis/nis_defaults.c (__nis_default_ttl): Add
19740 libnsl_hidden_nolink_def.
19741 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
19743 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
19744 * nis/ypclnt.c (yp_maplist): Likewise.
19746 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
19748 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19749 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
19751 2018-01-29 Joseph Myers <joseph@codesourcery.com>
19753 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
19754 clean -dxfq for git updates when replacing sources.
19756 * scripts/build-many-glibcs.py (Config.build_gcc): Use
19757 --disable-libcilkrts unconditionally, not just for the final GCC
19760 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19763 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19766 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19769 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19772 * localedata/locales/be_BY (mon): Rename to...
19773 (alt_mon): This, then synchronize with CLDR (nominative case).
19774 (abmon): Rename to...
19775 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19776 (mon): Import from CLDR (genitive case).
19778 * localedata/locales/be_BY@latin (mon): Rename to...
19780 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19782 * localedata/locales/be_BY@latin (lang_name): Reworded to
19783 "biełaruskaja mova".
19785 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19788 * localedata/locales/el_CY (mon): Renamed to...
19790 (mon): Import from CLDR (genitive case).
19791 * localedata/locales/el_GR: Likewise.
19793 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19796 * localedata/locales/ru_RU (mon): Rename to...
19798 (abmon): Rename to...
19799 (ab_alt_mon): This.
19800 (mon): Import from CLDR (genitive case).
19801 (abmon): Copy from the old content except the 5th month which is
19802 now in the genitive case, even when abbreviated.
19803 * localedata/locales/ru_UA: Likewise.
19804 * time/tst-strptime.c (day_tests): Add an actual example of
19805 a difference between %b and %Ob in Russian.
19807 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19809 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
19810 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19812 * resolv/res-close.c: Include <stdlib.h>.
19813 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19814 <sys/wait.h>, <time.h>, <sys/uio.h>.
19815 (NOT_CANCEL_H): Add inclusion guard.
19816 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
19817 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19818 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19820 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19821 vm_address_t * to ElfW(Addr) * for dl_main parameter.
19822 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19824 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19825 timer_ptr2id to cast struct timer_node * to void *.
19826 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19827 --disable-libcilkrts to gcc configure.
19828 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19829 and make them the default for now.
19830 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19831 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
19832 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19833 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19834 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19836 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19837 __task_terminate would ever return successfully.
19838 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19840 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19841 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
19842 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19843 critical section to make code simpler and avoid warning.
19844 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19845 critical section to make code simpler and avoid warning.
19846 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19847 const char * instead of char *.
19848 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19849 __hurd_file_name_split, hurd_file_name_split,
19850 __hurd_directory_name_split, hurd_directory_name_split,
19851 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19852 hurd_file_name_path_lookup): Make lookup function parameter take a
19853 const char *name instead of char *name.
19854 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19855 __hurd_directory_name_split): Likewise.
19856 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19857 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
19858 * sysdeps/mach/hurd/check_native.c: New file.
19859 * sysdeps/mach/hurd/check_pf.c: New file.
19860 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19861 (__freeifaddrs): Define macro to freeifaddrs.
19862 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19863 * sysdeps/mach/libmachuser.abilist: New file.
19864 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19865 (do_test_bz20181): Rename accordingly.
19866 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
19867 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19869 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19870 version only if __USE_EXTERN_INLINES is defined.
19871 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19872 __hurd_sockfail): Likewise.
19873 (_hurd_fd_get): Always declare functions, and provide inline versions
19874 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19875 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19876 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19877 _hurd_port_set): Always declare functions, and provide inline versions
19878 only if __USE_EXTERN_INLINES and _LIBC are defined and
19880 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19881 _hurd_critical_section_unlock): Likewise.
19882 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19883 * __hurd_threadvar_location): Likewise.
19884 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19885 _hurd_userlink_clear): Likewise.
19886 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19887 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19888 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19889 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19890 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19891 __spin_lock_locked): Likewise.
19892 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19893 __spin_lock_locked): Likewise.
19894 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19895 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19896 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19897 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19898 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
19899 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19900 _POSIX_NO_TRUNC): Define to 0.
19901 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19902 check size against PTHREAD_STACK_MIN.
19903 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19904 IS_IN(libpthread)]: Include <sigsetops.h>.
19905 * mach/Makefile (user-interfaces): Add mach/gnumach.
19906 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19907 * sysdeps/mach/configure (mach_interface_list): Regenerate.
19908 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19909 instead of invalid -1.
19910 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19911 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19912 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19915 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
19917 * hurd/fcntl-internal.h: New file.
19919 2018-01-27 James Clarke <jrtc27@jrtc27.com>
19921 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19923 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19925 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19928 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19929 Build only shared objects.
19931 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19933 * README: Update for hppa.
19935 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19937 * sysdeps/sparc/fpu/libm-test-ulps: Update
19938 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
19940 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19944 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19947 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19948 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19949 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19950 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19953 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19956 * bits/types/__cancel_jmp_buf_tag.h: New file.
19957 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19958 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19959 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19960 * nptl/Makefile (headers): Add
19961 bits/types/__cancel_jmp_buf_tag.h.
19962 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19963 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19964 * sysdeps/nptl/pthread.h: Include
19965 <bits/types/__cancel_jmp_buf_tag.h>.
19966 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19968 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19970 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19973 * localedata/locales/uk_UA (mon): Renamed to...
19975 (alt_digits): "0" removed and then renamed to...
19977 (date_fmt): Definition changed not to use the alternative
19980 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
19982 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19983 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19984 * elf/elf.h (EF_RISCV_RVC): New define.
19985 (EF_RISCV_FLOAT_ABI): Likewise.
19986 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19987 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19988 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19989 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19990 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19992 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19994 2018-01-25 Andreas Schwab <schwab@suse.de>
19996 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19998 * sysdeps/gnu/configure: Regenerate.
19999 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20000 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20002 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20003 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20004 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
20005 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20006 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20008 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
20010 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
20011 URL, and run autoconf, make it the default for now.
20013 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20015 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20016 soft-float ColdFire configuration.
20018 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
20019 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
20020 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
20022 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
20025 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
20027 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
20029 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
20032 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
20033 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
20034 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
20037 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20040 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
20041 Rename to __reserved and add comment.
20042 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
20043 Rename to __reserved.
20045 2018-01-24 Joseph Myers <joseph@codesourcery.com>
20047 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20048 i686-gnu configurations.
20049 (Context.run_builds): Include mig, gnumach and hurd in components
20051 (Context.checkout): Add mig, gnumach and hurd to components.
20052 (Context.checkout_tar): Add URL mappings for mig, gnumach and
20054 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
20055 (Config.build): Install gnumach headers, build mig and install
20056 hurd headers for 'gnu' OS.
20057 (Config.install_gnumach_headers): New function.
20058 (Config.install_hurd_headers): Likewise.
20059 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
20060 when building for 'gnu' OS.
20062 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
20064 * manual/tunables.texi (Hardware Capability Tunables): Fix
20067 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
20069 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
20070 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
20071 (ALTMON_11, ALTMON_12): Improve documentation.
20072 * manual/time.texi (strftime): Likewise.
20074 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20077 * localedata/locales/pl_PL: Alternative month names added,
20078 primary month names are genitive now.
20079 * time/tst-strptime.c (day_tests): Actually use a genitive case
20080 of a month name in Polish language.
20082 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20085 * manual/locale.texi: Document ALTMON_1..12 constants for
20086 nl_langinfo. Specify when to use ALTMON instead of MON.
20087 * manual/time.texi (strftime, strptime): Document GNU extension
20088 permitting O modifier with %B and %b. Specify when to use
20091 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20094 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
20095 names, define them as the same as abbreviated month names explicitly.
20096 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
20097 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
20098 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
20099 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
20100 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
20101 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
20102 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
20103 _NL_WABALTMON_12): New enum constants.
20104 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
20105 wab_alt_mon, and ab_alt_mon_defined members.
20106 (time_output): Output ab_alt_mon and wab_alt_mon members.
20107 (time_read): Read them, initialize them as copies of abmon and wabmon
20108 respectively if they are missing, initialize ab_alt_mon_defined.
20109 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
20110 * locale/programs/locfile-kw.h: Regenerate.
20111 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
20112 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
20114 * time/strftime_l.c (a_altmonth, aam_len): New macros.
20115 [!COMPILE_WIDE] (ABALTMON_1): New macro.
20116 (__strftime_internal): Handle %Ob and %Oh formats.
20117 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
20118 (__strptime_internal): Handle %Ob and %Oh formats.
20119 * time/tst-strptime.c (day_tests): Add more tests to parse different
20120 forms of month names including the new %Ob format specifier.
20122 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20125 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
20126 define them as the same as primary full month names explicitly.
20127 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
20128 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
20129 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
20130 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
20131 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
20132 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
20133 _NL_WALTMON_12): New enum constants.
20134 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
20135 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
20137 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
20138 walt_mon, and alt_mon_defined members.
20139 (time_output): Output alt_mon and walt_mon members.
20140 (time_read): Read them, initialize them as copies of mon and wmon
20141 respectively if they are missing, initialize alt_mon_defined.
20142 * locale/programs/locfile-kw.gperf (alt_mon): Define.
20143 * locale/programs/locfile-kw.h: Regenerate.
20144 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
20145 * localedata/tst-langinfo.c (map): Add tests for the new constants
20146 ALTMON_1 .. ALTMON_12.
20147 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
20149 * time/strftime_l.c (f_altmonth): New macro.
20150 (__strftime_internal): Handle %OB format.
20151 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
20152 (__strptime_internal): Handle %OB format.
20153 * time/tst-strptime.c (day_tests): Add tests to parse different forms
20154 of month names including the new %OB format specifier.
20156 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20159 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
20160 from ABORT_TRANSACTION.
20161 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
20162 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
20163 ABORT_TRANSACTION_IMPL): Likewise.
20164 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
20165 Linux code, but remove the code that aborts transactions.
20167 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20169 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
20171 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
20173 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
20174 in date: "2004-14-09" should be "2004-09-14".
20175 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
20176 "2003-15-09" should be "2003-09-15".
20178 2018-01-18 Arjun Shankar <arjun@redhat.com>
20184 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
20186 (_int_memalign): check for integer overflow before calling
20188 * malloc/tst-malloc-too-large.c: New test.
20189 * malloc/Makefile: Add tst-malloc-too-large.
20191 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
20193 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
20194 in date: "2017-24-07" should be "2017-07-24".
20195 * localedata/locales/mai_IN: Likewise.
20196 * localedata/locales/mai_NP: Likewise.
20198 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
20200 * po/ru.po: Update translations.
20202 2018-01-17 Joseph Myers <joseph@codesourcery.com>
20205 * sysdeps/hppa/backtrace.c: New file.
20207 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
20210 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
20211 align La_x86_64_retval to VEC_SIZE.
20213 2018-01-16 Joseph Myers <joseph@codesourcery.com>
20215 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
20216 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
20218 2018-01-16 Florian Weimer <fweimer@redhat.com>
20220 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
20221 Move tst-thread-exit-clobber ...
20222 [$(CXX)] (tests-unsupported): ... to here.
20224 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20226 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
20227 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
20228 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20229 (_dl_aarch64_cap_flags): Update.
20230 (_DL_HWCAP_COUNT): Update.
20232 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20234 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
20235 (_DL_HWCAP_LAST): Remove.
20236 (_DL_HWCAP_COUNT): Move to ...
20237 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20238 (_DL_HWCAP_COUNT): ... here.
20240 2018-01-16 Florian Weimer <fweimer@redhat.com>
20242 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
20243 mode with GNU extensions.
20245 2018-01-15 Alan Hayward <alan.hayward@arm.com>
20247 * elf/elf.h (NT_ARM_SVE): Define.
20249 2018-01-15 Florian Weimer <fweimer@redhat.com>
20252 * nptl/tst-minstack-throw.cc: New file.
20253 * nptl/Makefile (tests): Add tst-minstack-throw.
20254 (LDLIBS-tst-minstack-throw): Link with libstdc++.
20255 [!CXX] (tests-unsupported): Add tst-minstack-throw.
20257 2018-01-15 Joseph Myers <joseph@codesourcery.com>
20259 * scripts/build-many-glibcs.py (Context.checkout): Default
20260 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
20263 2018-01-13 Carlos O'Donell <carlos@redhat.com>
20266 * elf/elf.h (DF_1_STUB): Define.
20267 (DF_1_PIE): Define.
20269 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20272 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
20273 Do not add 0.5 to integer or out-of-range arguments.
20275 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20277 * po/bg.po: Update translations.
20278 * po/cs.po: Likewise.
20279 * po/de.po: Likewise.
20280 * po/ko.po: Likewise.
20281 * po/pl.po: Likewise.
20282 * po/sv.po: Likewise.
20283 * po/uk.po: Likewise.
20284 * po/vi.po: Likewise.
20286 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20288 * aarch64/start.S (_start): Use __wrap_main.
20289 (__wrap_main): New local symbol.
20291 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20295 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
20296 generic_getcwd if the path returned by getcwd syscall is not absolute.
20297 * io/tst-getcwd-abspath.c: New test.
20298 * io/Makefile (tests): Add tst-getcwd-abspath.
20300 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
20302 * malloc/malloc.c (malloc_consolidate): Add size check.
20304 2018-01-12 Florian Weimer <fweimer@redhat.com>
20306 * support/write_message.c (write_message): Preserve errno.
20307 * support/check.c (print_failure): Likewise.
20308 * support/support_test_verify_impl.c (support_test_verify_impl):
20310 * support/support_test_compare_failure.c
20311 (support_test_compare_failure): Likewise.
20313 2018-01-12 Florian Weimer <fweimer@redhat.com>
20316 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
20317 Prevent installation of libnsl.so.
20318 (libnsl-inhibit-o): Do not build (or install) static libraries.
20320 2018-01-12 Egmont Koblinger <egmont@gmail.com>
20323 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
20324 before the day number which may produce a double space.
20325 (date_fmt): Likewise.
20327 2018-01-12 Joseph Myers <joseph@codesourcery.com>
20329 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
20330 instead of fegetenv.
20332 2018-01-11 Joseph Myers <joseph@codesourcery.com>
20335 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
20336 comment to say exceptions are discarded.
20337 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
20339 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
20342 2018-01-11 Florian Weimer <fweimer@redhat.com>
20344 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
20347 2018-01-11 Florian Weimer <fweimer@redhat.com>
20350 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
20351 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
20353 2018-01-10 Joseph Myers <joseph@codesourcery.com>
20356 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
20357 negative arguments in test for NaN or infinity argument.
20359 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
20361 * po/libc.pot: Regenerate.
20363 2018-01-10 Florian Weimer <fweimer@redhat.com>
20366 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
20367 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
20369 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20371 * hurd/hurd/fd.h: Include <fcntl.h>
20372 (__hurd_at_flags): New function.
20373 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
20374 with call to __hurd_at_flags.
20375 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
20376 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
20378 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
20379 (__access_noerrno): Use __faccessat_common instead of access_common.
20380 (__access): Likewise.
20381 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
20382 with a call to __faccessat.
20383 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
20384 (__faccessat_common): ... this. Move implementation of __access into it when
20385 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
20386 reauthenticate_cwdir_at helper to implement AT mechanism.
20387 (__faccessat_noerrno): New function, just calls __faccessat_common.
20388 (__faccessat): New function, just calls __faccessat_common.
20389 (faccessat): Define weak alias.
20391 2018-01-10 Joseph Myers <joseph@codesourcery.com>
20394 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20395 (CFLAGS-s_fmaxmagl.c): New variable.
20396 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
20399 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
20400 long int for arguments of possibly overflowing addition or
20402 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20404 2018-01-09 Joseph Myers <joseph@codesourcery.com>
20407 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20408 (CFLAGS-e_remainderl.c): New variable.
20411 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
20413 (CFLAGS-s_cacoshl.c): Likewise.
20414 (CFLAGS-s_casinhl.c): Likewise.
20415 (CFLAGS-s_catanl.c): Likewise.
20416 (CFLAGS-s_catanhl.c): Likewise.
20417 (CFLAGS-s_cexpl.c): Likewise.
20418 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
20419 (CFLAGS-s_csinhl.c): Likewise.
20420 (CFLAGS-s_clogl.c): Likewise.
20421 (CFLAGS-s_clog10l.c): Likewise.
20422 (CFLAGS-s_csinl.c): Likewise.
20423 (CFLAGS-s_csqrtl.c): Likewise.
20425 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
20426 2017-01-09 Svante Signell <svante.signell@gmail.com>
20428 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
20429 (_hurd_exec_paths): New function.
20430 * hurd/hurd.h (_hurd_exec): Deprecate function.
20431 (_hurd_exec_paths): Declare function.
20432 * hurd/Versions: Export _hurd_exec_paths.
20433 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
20434 (__execve): Use __getcwd to build absolute path, and use
20435 _hurd_exec_paths instead of _hurd_exec.
20436 * sysdeps/mach/hurd/spawni.c: Likewise.
20437 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
20440 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
20442 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
20443 test instead of failing in case of ENOENT returned by posix_openpt.
20445 2018-01-08 Florian Weimer <fweimer@redhat.com>
20447 resolv: Support binary labels in test framework.
20448 * support/resolv_test.c (struct to_be_freed): Remove.
20449 (struct compressed_name): New.
20450 (allocate_compressed_name, ascii_tolower)
20451 (compare_compressed_name): New functions.
20452 (struct resolv_response_builder): Update type of
20453 compression_offsets for use with tsearch. Rempve to_be_freed.
20454 (response_push_pointer_to_free): Remove function.
20455 (resolv_response_add_name): Rewrite using struct compressed_name
20456 and tsearch instead of hsearch_r.
20457 (response_builder_allocate): Remove initialization of
20458 compression_offsets.
20459 (response_builder_free): Update for removal of to_be_freed. Use
20460 tdestroy instead of hdestroy_r.
20461 * resolv/Makefile (tests): Add tst-resolv-binary.
20462 (tst-resolv-binary): Link with -lresolv -lpthread.
20464 2018-01-08 Florian Weimer <fweimer@redhat.com>
20466 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
20467 time. Pass positive flag instead of negative flag to
20468 support_test_compare_failure.
20469 (support_test_compare_failure): Change negative parameter to
20471 * support/support_test_compare_failure.c (report)
20472 (support_test_compare_failure): Likewise.
20473 * support/tst-test_compare.c (return_ssize_t, return_int): New.
20474 (do_test): Check int/size_t, ssize_t/size_t comparisons.
20476 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
20479 * nptl/descr.h (stackblock, stackblock_size): Update comments.
20480 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
20481 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
20483 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20485 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
20487 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20488 Add s_sincosf-sse2 and s_sincosf-fma.
20489 (CFLAGS-s_sincosf-fma.c): New.
20490 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
20491 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
20492 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
20493 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
20494 __sincosf is defined.
20496 2018-01-08 Florian Weimer <fweimer@redhat.com>
20498 * nptl/tst-thread-exit-clobber.cc: New file.
20499 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
20501 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
20502 (tests): Add tst-thread-exit-clobber.
20503 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
20505 2018-01-08 Florian Weimer <fweimer@redhat.com>
20507 * support/check.h (support_static_assert): Define.
20508 (TEST_COMPARE): Use it.
20510 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
20512 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
20513 [!__RLIM_T_MATCHES_RLIM64_T]
20514 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
20515 __getrlimit64. Add libc_hidden_weak.
20517 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
20519 * elf/elf.h (R_RISCV_NONE): New define.
20520 (R_RISCV_32): Likewise.
20521 (R_RISCV_64): Likewise.
20522 (R_RISCV_RELATIVE): Likewise.
20523 (R_RISCV_COPY): Likewise.
20524 (R_RISCV_JUMP_SLOT): Likewise.
20525 (R_RISCV_TLS_DTPMOD32): Likewise.
20526 (R_RISCV_TLS_DTPMOD64): Likewise.
20527 (R_RISCV_TLS_DTPREL32): Likewise.
20528 (R_RISCV_TLS_DTPREL64): Likewise.
20529 (R_RISCV_TLS_TPREL32): Likewise.
20530 (R_RISCV_TLS_TPREL64): Likewise.
20531 * Makerules (make-link-multidir): Make directories before linking into
20533 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
20535 (VDSO_HASH_LINUX_4_15): Likewise.
20536 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
20537 in subdirectories of lib.
20538 * nptl/Makefile (/librt.so): Always depend on
20539 "$(shared-thread-library)".
20541 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20543 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
20544 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
20545 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
20547 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
20548 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20550 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
20551 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
20552 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
20553 * sysdeps/gnu/glob-lstat-compat.c: New file.
20554 * sysdeps/gnu/glob64-lstat-compat.c: New file.
20555 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
20557 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20559 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
20560 Reserve 16 chars to reloc_addr before calling _itoa_word.
20562 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20565 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
20566 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
20568 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
20569 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
20571 * resource/tst-getrlimit.c: Add copyright header.
20573 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20574 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20576 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20577 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
20578 Define __GI_getrlimit64 as weak alias of __getrlimit64.
20579 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
20581 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20582 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
20583 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
20584 RLIM64_INFINITY): Fix values to match the kernel ones.
20585 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
20586 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
20587 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
20588 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
20589 getrlimit64@@GLIBC_2_27.
20590 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
20592 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
20593 getrlimit, setrlimit, getrlimit64 and setrlimit64.
20594 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
20595 setrlimit, getrlimit64 and setrlimit64.
20597 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20600 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
20601 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
20603 2018-01-04 Joseph Myers <joseph@codesourcery.com>
20605 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
20606 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
20607 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
20609 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20613 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20614 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20618 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20619 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20620 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20621 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20623 2018-01-04 Florian Weimer <fweimer@redhat.com>
20626 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20627 Align the stack before calling exit.
20628 * stdlib/tst-makecontext-align.c: New file.
20629 * stdlib/Makefile (tests): Add tst-makecontext-align.
20631 2018-01-04 Florian Weimer <fweimer@redhat.com>
20633 Add support for calling dlvsym from libc.so.
20634 * include/dlfcn.h (__libc_dlvsym): Declare.
20635 * elf/Makefile (tests-static-internal): Add
20636 tst-libc_dlvsym-static.
20637 (tests-internal): Add tst-libc_dlvsym.
20638 (modules-names): Add tst-libc_dlvsym-dso.
20639 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20640 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20641 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20642 object tst-libc_dlvsym-dso.so needs to be built before running
20644 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20645 * elf/Versions: Export __libc_dlvsym.
20646 * elf/dl-libc.c (struct do_dlvsym_args): New.
20647 (do_dlvsym, __libc_dlvsym): New functions.
20648 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20649 (_dl_open_hook2): New variable.
20650 (__libc_register_dl_open_hook): Set it.
20651 * elf/tst-libc_dlvsym-dso.c: New file.
20652 * elf/tst-libc_dlvsym-static.c: Likewise.
20653 * elf/tst-libc_dlvsym.c: Likewise.
20654 * elf/tst-libc_dlvsym.h: Likewise.
20656 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20658 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20659 include <sys/mount.h>.
20661 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20663 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20664 Add __NO_MATH_ERRNO__ check.
20666 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20668 * sysdeps/mips/mips32/libm-test-ulps: Update.
20669 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20671 2018-01-02 Florian Weimer <fweimer@redhat.com>
20673 * misc/tst-pselect.c: Add copyright header.
20675 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20677 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
20679 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
20681 (settrlimit): Rename into setrlimit.
20682 (__sttrlimit): Rename into __setrlimit.
20684 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
20685 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
20686 never defined in that case.
20688 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20690 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
20692 * sysdeps/arm/libm-test-ulps: Update.
20694 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
20695 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
20697 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20699 * NEWS: Add cosf and sincosf to list of optimized functions.
20701 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20704 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
20705 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
20706 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
20707 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
20709 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
20712 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
20714 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
20715 making a copy of it.
20717 2018-01-01 Joseph Myers <joseph@codesourcery.com>
20719 * manual/texinfo.tex: Update to version 2017-12-26.21 with
20720 trailing whitespace removed.
20721 * scripts/config.guess: Update to version 2018-01-01.
20722 * scripts/config.sub: Update to version 2018-01-01.
20723 * scripts/move-if-change: Update from gnulib.
20725 * NEWS: Update copyright dates.
20726 * catgets/gencat.c (print_version): Likewise.
20727 * csu/version.c (banner): Likewise.
20728 * debug/catchsegv.sh: Likewise.
20729 * debug/pcprofiledump.c (print_version): Likewise.
20730 * debug/xtrace.sh (do_version): Likewise.
20731 * elf/ldconfig.c (print_version): Likewise.
20732 * elf/ldd.bash.in: Likewise.
20733 * elf/pldd.c (print_version): Likewise.
20734 * elf/sotruss.sh: Likewise.
20735 * elf/sprof.c (print_version): Likewise.
20736 * iconv/iconv_prog.c (print_version): Likewise.
20737 * iconv/iconvconfig.c (print_version): Likewise.
20738 * locale/programs/locale.c (print_version): Likewise.
20739 * locale/programs/localedef.c (print_version): Likewise.
20740 * login/programs/pt_chown.c (print_version): Likewise.
20741 * malloc/memusage.sh (do_version): Likewise.
20742 * malloc/memusagestat.c (print_version): Likewise.
20743 * malloc/mtrace.pl: Likewise.
20744 * manual/libc.texinfo: Likewise.
20745 * nptl/version.c (banner): Likewise.
20746 * nscd/nscd.c (print_version): Likewise.
20747 * nss/getent.c (print_version): Likewise.
20748 * nss/makedb.c (print_version): Likewise.
20749 * posix/getconf.c (main): Likewise.
20750 * scripts/test-installation.pl: Likewise.
20751 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20753 * All files with FSF copyright notices: Update copyright dates
20754 using scripts/update-copyrights.
20755 * locale/programs/charmap-kw.h: Regenerated.
20756 * locale/programs/locfile-kw.h: Likewise.
20758 2017-12-31 Zack Weinberg <zackw@panix.com>
20760 * libio/bits/libio-ldbl.h: Correct check for improper
20761 inclusion. Add own multiple include guard.
20763 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20764 Dmitry V. Levin <ldv@altlinux.org>
20768 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20769 string token expansion. Check for NULL pointer or empty string possibly
20770 returned by expand_dynamic_string_token.
20771 (decompose_rpath): Check for empty path after dynamic string
20774 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20777 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20779 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20780 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20781 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20782 and PTRACE_SYSCALL.
20783 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20784 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20785 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20786 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20787 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20788 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20790 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20791 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20792 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20793 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20795 bits/ptrace-shared.h.
20796 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20797 <bits/ptrace-shared.h>.
20798 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20799 __ptrace_peeksiginfo_flags, ptrace): Remove.
20800 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20801 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20802 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20803 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20804 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20806 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20809 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20810 end of the loop. Improve comments.
20812 2017-12-29 Zack Weinberg <zackw@panix.com>
20815 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20816 might be set on success.
20818 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20821 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20822 is unchanged on success.
20824 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20826 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20828 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20829 expand_dynamic_string_token): Likewise.
20830 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20833 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20836 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20837 is set and name contains ':', and all code depending on these checks.
20839 2017-12-24 Zack Weinberg <zackw@panix.com>
20841 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20842 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20844 * libio/libio.h: Rename the original version of this file to
20845 libio/bits/libio.h. Error out if not included by stdio.h or the
20847 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20848 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20849 if not included by bits/libio.h or the stub _G_config.h.
20850 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20851 sysdeps/unix/sysv/linux/bits. Error out if not included by
20852 bits/libio.h or the stub _G_config.h.
20853 * libio/stdio.h: Include bits/libio.h, not libio.h.
20854 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20855 well as libio.h and _G_config.h.
20857 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20858 * libio/strfile.h, stdio-common/vfscanf.c
20859 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20860 Include stdio.h, not _G_config.h nor libio.h.
20861 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20862 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20864 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20866 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20869 * stdlib/getrandom.c (getrandom): Fix comment.
20870 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20872 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
20875 * manual/arith.texi (strtoul): Fix a typo.
20878 * manual/arith.texi (finite): Fix the description of the return
20881 2017-12-22 Eric Blake <ebb9@byu.net>
20883 Avoid gcc warnings on cygwin
20884 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20885 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20886 Avoid unused variable.
20888 2017-12-22 Florian Weimer <fweimer@redhat.com>
20890 * io/Makefile (routines): Add copy_file_range.
20891 (tests): Add tst-copy_file_range.
20892 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20893 * io/Versions (GLIBC_2.27): Export copy_file_range.
20894 * io/copy_file_range-compat.c: New file.
20895 * io/copy_file_range.c: Likewise.
20896 * io/tst-copy_file_range-compat.c: Likewise.
20897 * io/tst-copy_file_range.c: Likewise.
20898 * manual/llio.texi (Copying File Data): New section.
20899 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20900 * support/Makefile (libsupport-routines): Add support-xfstat,
20901 xftruncate, xlseek.
20902 * support/support-xfstat.c: New file.
20903 * support/xftruncate.c: Likewise.
20904 * support/xlseek.c: Likewise.
20905 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20906 * sysdeps/unix/sysv/linux/**.abilist: Update.
20907 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20909 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20911 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20912 disable-multi-arch variant to aarch64-linux-gnu.
20914 2017-12-20 Joseph Myers <joseph@codesourcery.com>
20916 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20917 trailing whitespace removed.
20918 * scripts/config.guess: Update to version 2017-12-17.
20919 * scripts/config.sub: Update to version 2017-11-23.
20920 * scripts/install-sh: Update to version 2017-09-23.17.
20921 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20923 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20925 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20926 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20927 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20928 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20929 * sysdeps/tile/crtn.S: Likewise.
20930 * sysdeps/tile/dl-start.S (_start): Likewise.
20931 * sysdeps/tile/dl-trampoline.S: Likewise.
20932 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20933 * sysdeps/tile/start.S (_start): Likewise.
20934 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20935 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20936 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20937 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20938 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20939 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20940 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20942 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20944 * sysdeps/tile/preconfigure: Remove tilegx folder.
20945 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20946 * sysdeps/tile/Implies: ... here.
20947 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20948 * sysdeps/tile/Makefile: ... here.
20949 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20950 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20951 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20952 * sysdeps/tile/bits/wordsize.h: ... here.
20953 * sysdeps/tile/tilegx/*: Move to ...
20954 * sysdeps/tile/*: ... here.
20955 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20956 * sysdeps/tile/tilegx32/Implies: ... here.
20957 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20958 * sysdeps/tile/tilegx64/Implies: ... here.
20959 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20961 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20962 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20963 * sysdeps/unix/sysv/linux/tile/*: ... here.
20964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20965 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20967 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20969 * README: Remove tilepro-*-linux-gnu from supported architecture.
20970 * scripts/build-many-glibcs.py: Likewise.
20971 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20972 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20973 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20974 elf_machine_matches_host, elf_machine_dynamic,
20975 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20976 howto, elf_machine_rela): Likewise.
20977 * sysdeps/tile/dl-start.S (_start): Likewise.
20978 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20979 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20980 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20981 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20982 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20983 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20985 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20986 * sysdeps/tile/preconfigure: Likewise.
20987 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20988 POINTER_CHK_GUARD): Likewise.
20989 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20990 * sysdeps/tile/start.S (_start): Likewise.
20991 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20993 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20994 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20996 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20997 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20998 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
21000 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
21001 * sysdeps/tile/tilepro/Implies: Remove file.
21002 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
21003 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
21004 * sysdeps/tile/tilepro/memchr.c: Likewise.
21005 * sysdeps/tile/tilepro/memcpy.S: Likewise.
21006 * sysdeps/tile/tilepro/memset.c: Likewise.
21007 * sysdeps/tile/tilepro/memusage.h: Likewise.
21008 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
21009 * sysdeps/tile/tilepro/strchr.c: Likewise.
21010 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
21011 * sysdeps/tile/tilepro/strlen.c: Likewise.
21012 * sysdeps/tile/tilepro/strrchr.c: Likewise.
21013 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
21014 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
21015 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21016 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
21017 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
21018 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21020 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
21021 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21022 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
21023 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
21024 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21025 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
21026 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
21027 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
21028 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
21029 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
21030 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
21031 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
21032 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
21033 tilepro mention in comment.
21035 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
21036 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
21037 * nptl/pthread_join_common.c: New file: common function used on
21038 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
21039 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
21040 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
21041 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21042 (cleanup): Move definition to pthread_join_common.c.
21043 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
21044 Remove superflous checks.
21045 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
21048 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
21050 * sysdeps/aarch64/libm-test-ulps: Update.
21052 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21054 * sysdeps/aarch64/memset.S (MEMSET): Define.
21056 2017-12-20 Florian Weimer <fweimer@redhat.com>
21059 nptl: Provide full implementation of pthread_self in libc.so.
21060 * nptl/Makefile (routines): Add pthread_self.
21061 (libpthread-routines): Replace pthread_self with
21062 compat-pthread_self.
21063 * nptl/forward.c (pthread_self): Remove.
21064 * nptl/nptl-init.c (pthread_functions): Do not initialize
21066 * nptl/pthread_self.c (pthread_self): Remove weak alias.
21067 * nptl/compat-pthread_self.c: New file.
21068 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
21069 Remove ptr_pthread_self.
21071 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
21073 * posix/regcomp.c: Fix spelling in comments.
21074 * posix/regex.h: Likewise.
21075 * posix/regex_internal.c: Likewise.
21076 * posix/regexec.c: Likewise.
21078 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
21081 * math/Makefile [C++] (tests): Add test for iseqsig.
21082 * math/math.h [C++] (iseqsig): New implementation, which does
21083 not rely on __MATH_TG/__builtin_types_compatible_p.
21084 * math/test-math-iseqsig.cc: New file.
21085 * sysdeps/powerpc/powerpc64le/Makefile
21086 (CFLAGS-test-math-iseqsig.cc): New variable.
21088 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
21090 * elf/dl-load.c (is_trusted_path): Remove.
21091 (fillin_rpath): Remove check_trusted argument and its use,
21092 all callers changed.
21094 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21097 * Makeconfig (link-pie-before-libc): Replace -pie with
21098 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
21099 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
21100 (tst-dlopen-aout-no-pie): New.
21101 (LDFLAGS-tst-prelink): Removed.
21102 (tst-prelink-no-pie): New.
21103 (LDFLAGS-tst-main1): Removed.
21104 (tst-main1-no-pie): New.
21105 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
21106 (tst-gmon-no-pie): New.
21108 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21110 * manual/install.texi: Document that --enable-static-pie
21112 * INSTALL: Regenerated.
21114 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
21117 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
21120 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21124 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21126 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21128 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21130 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21131 <errno.h>. Include "eexp.tbl".
21132 (half): New constant.
21134 (__ieee754_exp): Rewrite.
21135 (__slowexp): Remove prototype.
21136 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21137 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21138 * sysdeps/i386/fpu/slowexp.c: Likewise.
21139 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21140 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21141 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21142 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21143 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21144 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21145 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21147 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21148 (CPPFLAGS-slowexp.c): Remove variable.
21149 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21150 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21151 (CFLAGS-slowexp-fma.c): Remove variable.
21152 (CFLAGS-slowexp-fma4.c): Likewise.
21153 (CFLAGS-slowexp-avx.c): Likewise.
21154 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21156 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21157 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21158 * math/Makefile (type-double-routines): Remove slowexp.
21159 * manual/probes.texi (slowexp_p6): Remove.
21160 (slowexp_p32): Likewise.
21162 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21164 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
21167 * lib/glob.c (glob): Do not pass NULL to mempcpy.
21169 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21173 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21175 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21176 <errno.h>. Include "eexp.tbl".
21177 (half): New constant.
21179 (__ieee754_exp): Rewrite.
21180 (__slowexp): Remove prototype.
21181 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21182 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21183 * sysdeps/i386/fpu/slowexp.c: Likewise.
21184 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21185 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21186 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21187 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21188 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21189 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21190 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21192 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21193 (CPPFLAGS-slowexp.c): Remove variable.
21194 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21195 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21196 (CFLAGS-slowexp-fma.c): Remove variable.
21197 (CFLAGS-slowexp-fma4.c): Likewise.
21198 (CFLAGS-slowexp-avx.c): Likewise.
21199 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21201 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21202 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21203 * math/Makefile (type-double-routines): Remove slowexp.
21204 * manual/probes.texi (slowexp_p6): Remove.
21205 (slowexp_p32): Likewise.
21207 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21208 James Clarke <jrtc27@jrtc27.com>
21211 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
21214 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21217 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
21220 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21223 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21224 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21225 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21226 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
21229 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21232 * bits/types/__cancel_jmp_buf_tag.h: New file.
21233 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
21234 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
21235 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
21236 * nptl/Makefile (headers): Add
21237 bits/types/__cancel_jmp_buf_tag.h.
21238 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
21239 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21240 * sysdeps/nptl/pthread.h: Include
21241 <bits/types/__cancel_jmp_buf_tag.h>.
21242 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21244 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
21246 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21248 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21249 --enable-static-pie variants to x86_64, x32 and i686.
21251 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21254 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
21255 argument for attrubutes. All callers changed.
21256 (__inline_mathop1): Likewise. All callers changed.
21257 (__inline_mathop): Likewise. All callers changed.
21258 [__USE_MISC] (scalbn): Use __inline_forward instead of
21259 __inline_forward_c.
21260 [__USE_ISOC99] (scalbln): Likewise.
21261 [__USE_ISOC99] (nearbyint): Likewise.
21262 [__USE_ISOC99] (lrint): Likewise.
21263 [__USE_MISC] (scalbnf): Likewise.
21264 [__USE_ISOC99] (scalblnf): Likewise.
21265 [__USE_ISOC99] (nearbyintf): Likewise.
21266 [__USE_ISOC99] (lrintf): Likewise.
21267 [__USE_MISC] (scalbnl): Likewise.
21268 [__USE_ISOC99] (scalblnl): Likewise.
21269 [__USE_ISOC99] (nearbyintl): Likewise.
21270 [__USE_ISOC99] (lrintl): Likewise.
21271 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
21272 __inline_mathop and __m81_defun changed.
21274 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
21275 CPU or FPU for ARM hard-float configurations.
21277 2017-12-18 Joseph Myers <joseph@codesourcery.com>
21279 * nptl/tst-attr3.c: Include <libc-diag.h>.
21280 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
21282 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
21284 * string/tester.c (test_strncat): Also disable -Warray-bounds
21285 warnings for two tests.
21287 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21290 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
21291 $(cc-pie-default) == yes.
21292 * config.make.in (cc-pie-default): New.
21293 * configure.ac (libc_cv_pie_default): Renamed to ...
21294 (libc_cv_cc_pie_default): This.
21295 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
21296 * configure: Regenerated.
21298 2017-12-18 Florian Weimer <fweimer@redhat.com>
21301 ld.so: Harden dl-libc/libdl hooks.
21302 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
21303 (rtld_active): New function.
21304 * dlfcn/dladdr.c (__dladdr): Call it.
21305 * dlfcn/dladdr1.c (__dladdr1): Likewise.
21306 * dlfcn/dlclose.c (__dlcose): Likewise.
21307 * dlfcn/dlerror.c (__dlerror): Likewise.
21308 * dlfcn/dlinfo.c (__dlinfo): Likewise.
21309 * dlfcn/dlmopen.c (__dlmopen): Likewise.
21310 * dlfcn/dlopen.c (__dlopen): Likewise.
21311 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21312 * dlfcn/dlsym.c (__dlsym): Likewise.
21313 * dlfcn/dlvsym.c (__dlvsym): Likewise.
21314 * libio/vtables.c (_IO_vtable_check): Likewise.
21315 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
21316 (__libc_dlclose): Likewise.
21317 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
21320 2017-12-18 Joseph Myers <joseph@codesourcery.com>
21323 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
21324 buffers for readlink input and output.
21326 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
21329 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
21330 inhibit_stack_protector.
21333 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
21334 inhibit_stack_protector.
21336 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
21339 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
21340 code and invocation.
21342 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
21344 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
21346 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
21349 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
21351 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21353 * sysdeps/s390/fpu/libm-test-ulps: Update.
21355 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21359 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21361 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
21362 constants to s_sincosf.h file.
21363 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21364 * sysdeps/ieee754/flt-32/s_sincosf.c: New
21366 * sysdeps/ieee754/flt-32/s_sincosf.h:
21369 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21372 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
21375 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
21378 * INSTALL: Regenerated.
21379 * Makeconfig (real-static-start-installed-name): New.
21380 (pic-default): Updated for --enable-static-pie.
21381 (pie-default): New for --enable-static-pie.
21382 (default-pie-ldflag): Likewise.
21383 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
21384 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
21385 Replace $(static-start-installed-name) with
21386 $(real-static-start-installed-name).
21387 (+prectorT): Updated for --enable-static-pie.
21388 (+postctorT): Likewise.
21389 (CFLAGS-.o): Add $(pie-default).
21390 (CFLAGS-.op): Likewise.
21391 * NEWS: Mention --enable-static-pie.
21392 * config.h.in (ENABLE_STATIC_PIE): New.
21393 * configure.ac (--enable-static-pie): New configure option.
21394 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
21395 (have-static-pie): Likewise.
21396 Enable static PIE if linker supports --no-dynamic-linker.
21397 (ENABLE_STATIC_PIE): New AC_DEFINE.
21398 (enable-static-pie): New LIBC_CONFIG_VAR.
21399 * configure: Regenerated.
21400 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
21401 gr$(start-installed-name) for --enable-static-pie.
21402 (extra-objs): Likewise.
21403 (install-lib): Likewise.
21404 (extra-objs): Add static-reloc.o and static-reloc.os
21405 ($(objpfx)$(start-installed-name)): Also depend on
21406 $(objpfx)static-reloc.o.
21407 ($(objpfx)r$(start-installed-name)): New.
21408 ($(objpfx)g$(start-installed-name)): Also depend on
21409 $(objpfx)static-reloc.os.
21410 ($(objpfx)gr$(start-installed-name)): New.
21411 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
21413 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
21415 * csu/static-reloc.c: New file.
21416 * elf/Makefile (routines): Add dl-reloc-static-pie.
21417 (elide-routines.os): Likewise.
21418 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
21419 (tst-tls1-static-non-pie-no-pie): New.
21420 * elf/dl-reloc-static-pie.c: New file.
21421 * elf/dl-support.c (_dl_get_dl_main_map): New function.
21422 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
21423 STATIC_PIE_BOOTSTRAP.
21424 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21425 * gmon/Makefile (tests): Add tst-gmon-static-pie.
21426 (tests-static): Likewise.
21427 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
21428 (tst-gmon-static-no-pie): New.
21429 (CFLAGS-tst-gmon-static-pie.c): Likewise.
21430 (CRT-tst-gmon-static-pie): Likewise.
21431 (tst-gmon-static-pie-ENV): Likewise.
21432 (tests-special): Likewise.
21433 ($(objpfx)tst-gmon-static-pie.out): Likewise.
21434 (clean-tst-gmon-static-pie-data): Likewise.
21435 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
21436 * gmon/tst-gmon-static-pie.c: New file.
21437 * manual/install.texi: Document --enable-static-pie.
21438 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
21439 (_dl_get_dl_main_map): Likewise.
21440 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
21441 * sysdeps/x86_64/configure.ac: Likewise.
21442 * sysdeps/i386/configure: Regenerated.
21443 * sysdeps/x86_64/configure: Likewise.
21444 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
21445 (ASFLAGS-.op): Likewise.
21447 2017-12-15 Joseph Myers <joseph@codesourcery.com>
21449 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
21450 * posix/tst-mmap-offset.c (fname): Use /tmp.
21451 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
21453 2017-12-15 Steve Ellcey <sellcey@cavium.com>
21455 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
21457 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
21459 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
21462 2017-12-15 Joseph Myers <joseph@codesourcery.com>
21464 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
21465 --with-float=hard for arm-linux-gnueabihf configurations.
21468 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
21469 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
21470 ($(mo-installed)): Use $(objpfx)%.mo.
21471 (realclean): Remove rule.
21473 * po/Makefile (linguas): Remove rule and dependencies.
21474 (linguas.mo): Likewise.
21475 (.PHONY): Do not depend on linguas and linguas.mo.
21476 (podir): Remove variable.
21477 (pofiles): Likewise.
21478 [$(pofiles)] (%.po): Remove rule.
21480 * sysdeps/sparc/sparc32/Makefile
21481 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
21482 start-of-line whitespace in argument of echo.
21483 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
21484 with whitespace. Generate __wrap_.udiv alias.
21485 * sysdeps/sparc/sparc32/rem.S: Regenerated.
21486 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21487 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21488 * sysdeps/sparc/sparc32/urem.S: Likewise.
21490 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21492 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
21493 for aligned inputs.
21495 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
21497 * benchtests/bench-strcmp.c: Print output in JSON format.
21499 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
21501 2017-12-14 Florian Weimer <fweimer@redhat.com>
21505 * elf/dl-load.c (_dl_init_paths): Compute number of components in
21506 the expanded path string.
21508 2017-12-14 Florian Weimer <fweimer@redhat.com>
21512 * elf/dl-load.c (system_dirs): Update comment.
21513 (nsystem_dirs_len): Use array_length.
21514 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
21516 2017-12-14 Florian Weimer <fweimer@redhat.com>
21518 Simplify compiling most of support/ outside of glibc.
21519 * support/check_addrinfo.c: Include <string.h>.
21520 * support/check_dns_packet.c: Likewise.
21521 * support/check_hostent.c: Likewise.
21522 * support/support_can_chroot.c: Include <support/xunistd.h>.
21523 * support/support_format_addrinfo.c: Include <stdlib.h>
21524 * support/support_format_dns_packet.c: Include <stdbool.h>.
21525 * support/support_format_hostent.c: Include <stdlib.h>.
21526 * support/support_format_netent.c: Likewise.
21527 * support/support_write_string.c: Include <support/xunistd.h>.
21528 * support/xdlfcn.c: Include <stddef.h>.
21530 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
21532 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
21534 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21535 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21537 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21538 (sysdeps_routines): Add memset-niagara7.
21539 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
21541 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
21543 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
21544 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21545 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
21546 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
21547 Add niagara7 option.
21548 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
21551 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21552 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
21553 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
21555 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
21557 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
21558 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
21559 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21560 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
21561 and __memmove_niagara7.
21562 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
21563 Add niagara7 option.
21564 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
21565 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
21566 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
21567 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
21568 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
21570 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
21572 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
21573 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
21574 * sysdeps/sparc/sparc64/memmove.S: Likewise.
21575 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
21577 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
21578 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
21579 _dl_sparc_cap_flags array.
21580 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
21582 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
21584 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
21585 time whenever possible.
21587 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21589 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
21590 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
21592 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21594 * soft-fp/fmadf4.c: Move to ....
21595 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
21596 * soft-fp/fmasf4.c: Move to ....
21597 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
21598 * soft-fp/fmatf4.c: Move to ....
21599 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
21600 * sysdeps/ieee754/soft-fp/Makefile: New file.
21601 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
21602 * sysdeps/arm/preconfigure: Regenerated.
21603 * sysdeps/arm/nofpu/Implies: New file.
21604 * sysdeps/arm/s_fma.c: Remove file.
21605 * sysdeps/arm/s_fmaf.c: Likewise.
21606 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
21607 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
21608 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21609 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21610 * sysdeps/microblaze/s_fma.c: Remove file.
21611 * sysdeps/microblaze/s_fmaf.c: Likewise.
21612 * sysdeps/mips/mips32/nofpu/Implies: New file.
21613 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21614 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21615 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21616 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21617 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21618 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21619 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21621 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21622 * sysdeps/nios2/s_fma.c: Remove file.
21623 * sysdeps/nios2/s_fmaf.c: Likewise.
21624 * sysdeps/sh/nofpu/Implies: New file.
21625 * sysdeps/sh/s_fma.c: Remove file.
21626 * sysdeps/sh/s_fmaf.c: Likewise.
21627 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21628 * sysdeps/tile/s_fma.c: Remove file.
21629 * sysdeps/tile/s_fmaf.c: Likewise.
21631 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21633 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21634 Add s_cosf-sse2 and s_cosf-fma.
21635 (CFLAGS-s_cosf-fma.c): New.
21636 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21637 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21638 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21640 2017-12-12 Steve Ellcey <sellcey@cavium.com>
21642 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21644 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21646 * libio/Makefile (tests): Add tst-bz22415.
21647 (tst-bz22415-ENV): New rule.
21648 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21649 (tests-special): Add tst-bz22415-mem.out.
21650 ($(objpfx)tst-bz22415-mem.out): New rule.
21651 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21652 in case of a successful seek operation.
21653 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21654 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21655 buffer is required.
21656 * libio/tst-bz22415.c: New test.
21658 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21660 2017-12-12 James Clarke <jrtc27@jrtc27.com>
21662 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21663 __IPC_64 to 0 to avoid IPC_64 being set.
21665 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21668 * math/bits/mathcalls.h (nextafter): Remove const.
21669 (nexttoward): Likewise.
21671 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21673 * configure.ac (--with-fp): Remove configure option.
21674 (with_fp_cond): New variable.
21675 (libc_cv_with_fp): New configure test. Use this variable instead
21677 * configure: Regenerated.
21678 * config.make.in (with-fp): Use @libc_cv_with_fp@.
21679 * manual/install.texi (Configuring and compiling): Remove
21681 * INSTALL: Regenerated.
21682 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
21683 * sysdeps/mips/preconfigure (with_fp_cond): Define.
21684 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
21685 * sysdeps/sh/preconfigure (with_fp_cond): Define.
21686 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
21687 use --without-fp to configure glibc.
21689 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
21691 * manual/locale.texi (nl_langinfo): Fix a typo.
21693 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
21696 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
21698 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21700 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
21701 (CFLAGS-argp-parse.c): Likewise.
21702 (CFLAGS-argp-fmtstream.c): Likewise.
21703 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
21704 (CPPFLAGS-sha512-crypt.c): Likewise.
21705 (CPPFLAGS-md5-crypt.c): Likewise.
21706 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
21707 (CFLAGS-stack_chk_fail_local.c): Likewise.
21708 (CFLAGS-backtrace.c): Likewise.
21709 (CFLAGS-sprintf_chk.c): Likewise.
21710 (CFLAGS-snprintf_chk.c): Likewise.
21711 (CFLAGS-vsprintf_chk.c): Likewise.
21712 (CFLAGS-vsnprintf_chk.c): Likewise.
21713 (CFLAGS-asprintf_chk.c): Likewise.
21714 (CFLAGS-vasprintf_chk.c): Likewise.
21715 (CFLAGS-obprintf_chk.c): Likewise.
21716 (CFLAGS-dprintf_chk.c): Likewise.
21717 (CFLAGS-vdprintf_chk.c): Likewise.
21718 (CFLAGS-printf_chk.c): Likewise.
21719 (CFLAGS-fprintf_chk.c): Likewise.
21720 (CFLAGS-vprintf_chk.c): Likewise.
21721 (CFLAGS-vfprintf_chk.c): Likewise.
21722 (CFLAGS-gets_chk.c): Likewise.
21723 (CFLAGS-fgets_chk.c): Likewise.
21724 (CFLAGS-fgets_u_chk.c): Likewise.
21725 (CFLAGS-fread_chk.c): Likewise.
21726 (CFLAGS-fread_u_chk.c): Likewise.
21727 (CFLAGS-swprintf_chk.c): Likewise.
21728 (CFLAGS-vswprintf_chk.c): Likewise.
21729 (CFLAGS-wprintf_chk.c): Likewise.
21730 (CFLAGS-fwprintf_chk.c): Likewise.
21731 (CFLAGS-vwprintf_chk.c): Likewise.
21732 (CFLAGS-vfwprintf_chk.c): Likewise.
21733 (CFLAGS-fgetws_chk.c): Likewise.
21734 (CFLAGS-fgetws_u_chk.c): Likewise.
21735 (CFLAGS-read_chk.c): Likewise.
21736 (CFLAGS-pread_chk.c): Likewise.
21737 (CFLAGS-pread64_chk.c): Likewise.
21738 (CFLAGS-recv_chk.c): Likewise.
21739 (CFLAGS-recvfrom_chk.c): Likewise.
21740 (CFLAGS-tst-longjmp_chk.c): Likewise.
21741 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
21742 (CFLAGS-tst-longjmp_chk2.c): Likewise.
21743 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
21744 (CFLAGS-tst-longjmp_chk3.c): Likewise.
21745 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21746 (CFLAGS-tst-chk1.c): Likewise.
21747 (CFLAGS-tst-chk2.c): Likewise.
21748 (CFLAGS-tst-chk3.c): Likewise.
21749 (CFLAGS-tst-chk4.cc): Likewise.
21750 (CFLAGS-tst-chk5.cc): Likewise.
21751 (CFLAGS-tst-chk6.cc): Likewise.
21752 (CFLAGS-tst-lfschk1.c): Likewise.
21753 (CFLAGS-tst-lfschk2.c): Likewise.
21754 (CFLAGS-tst-lfschk3.c): Likewise.
21755 (CFLAGS-tst-lfschk4.cc): Likewise.
21756 (CFLAGS-tst-lfschk5.cc): Likewise.
21757 (CFLAGS-tst-lfschk6.cc): Likewise.
21758 (CFLAGS-tst-ssp-1.c): Likewise.
21759 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
21760 (CFLAGS-scandir64.c): Likewise.
21761 (CFLAGS-scandir-tail.c): Likewise.
21762 (CFLAGS-scandir64-tail.c): Likewise.
21763 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21764 (CFLAGS-dl-tunables.c): Likewise.
21765 (CFLAGS-dl-runtime.c): Likewise.
21766 (CFLAGS-dl-lookup.c): Likewise.
21767 (CFLAGS-dl-iterate-phdr.c): Likewise.
21768 (CFLAGS-vismain.c): Likewise.
21769 (CFLAGS-tst-linkall-static.c): Likewise.
21770 (CFLAGS-tst-linkall-static.c): Likewise.
21771 (CPPFLAGS-dl-load.c): Likewise.
21772 (CFLAGS-ldconfig.c): Likewise.
21773 (CFLAGS-dl-cache.c): Likewise.
21774 (CFLAGS-cache.c): Likewise.
21775 (CFLAGS-rtld.c): Likewise.
21776 (CFLAGS-multiload.c): Likewise.
21777 (CFLAGS-filtmod1.c): Likewise.
21778 (CFLAGS-tst-align.c): Likewise.
21779 (CFLAGS-tst-align2.c): Likewise.
21780 (CFLAGS-tst-alignmod.c): Likewise.
21781 (CFLAGS-tst-alignmod2.c): Likewise.
21782 (CPPFLAGS-tst-execstack.c): Likewise.
21783 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21784 (CFLAGS-tst-latepthreadmod.c): Likewise.
21785 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21786 (CFLAGS-getgrnam_r.c): Likewise.
21787 (CFLAGS-getgrent_r.c): Likewise.
21788 (CFLAGS-getgrent.c): Likewise.
21789 (CFLAGS-fgetgrent.c): Likewise.
21790 (CFLAGS-fgetgrent_r.c): Likewise.
21791 (CFLAGS-putgrent.c): Likewise.
21792 (CFLAGS-initgroups.c): Likewise.
21793 (CFLAGS-getgrgid.c): Likewise.
21794 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21795 (CFLAGS-getsgent.c): Likewise.
21796 (CFLAGS-fgetsgent.c): Likewise.
21797 (CFLAGS-fgetsgent_r.c): Likewise.
21798 (CFLAGS-putsgent.c): Likewise.
21799 (CFLAGS-getsgnam.c): Likewise.
21800 (CFLAGS-getsgnam_r.c): Likewise.
21801 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21802 (CFLAGS-iconv_charmap.c): Likewise.
21803 (CFLAGS-dummy-repertoire.c): Likewise.
21804 (CFLAGS-charmap.c): Likewise.
21805 (CFLAGS-linereader.c): Likewise.
21806 (CFLAGS-simple-hash.c): Likewise.
21807 (CFLAGS-gconv_conf.c): Likewise.
21808 (CFLAGS-iconvconfig.c): Likewise.
21809 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21810 (CFLAGS-gethstbyad.c): Likewise.
21811 (CFLAGS-gethstbynm_r.c): Likewise.
21812 (CFLAGS-gethstbynm.c): Likewise.
21813 (CFLAGS-gethstbynm2_r.c): Likewise.
21814 (CFLAGS-gethstbynm2.c): Likewise.
21815 (CFLAGS-gethstent_r.c): Likewise.
21816 (CFLAGS-gethstent.c): Likewise.
21817 (CFLAGS-rcmd.c): Likewise.
21818 (CFLAGS-getnetbynm_r.c): Likewise.
21819 (CFLAGS-getnetbynm.c): Likewise.
21820 (CFLAGS-getnetbyad_r.c): Likewise.
21821 (CFLAGS-getnetbyad.c): Likewise.
21822 (CFLAGS-getnetent_r.c): Likewise.
21823 (CFLAGS-getnetent.c): Likewise.
21824 (CFLAGS-getaliasent_r.c): Likewise.
21825 (CFLAGS-getaliasent.c): Likewise.
21826 (CFLAGS-getrpcent_r.c): Likewise.
21827 (CFLAGS-getrpcent.c): Likewise.
21828 (CFLAGS-getservent_r.c): Likewise.
21829 (CFLAGS-getservent.c): Likewise.
21830 (CFLAGS-getprtent_r.c): Likewise.
21831 (CFLAGS-getprtent.c): Likewise.
21832 (CFLAGS-either_ntoh.c): Likewise.
21833 (CFLAGS-either_hton.c): Likewise.
21834 (CFLAGS-getnetgrent.c): Likewise.
21835 (CFLAGS-getnetgrent_r.c): Likewise.
21836 (CFLAGS-tst-checks-posix.c): Likewise.
21837 (CFLAGS-tst-sockaddr.c): Likewise.
21838 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21839 (CFLAGS-tst-translit.c): Likewise.
21840 (CFLAGS-tst-gettext2.c): Likewise.
21841 (CFLAGS-tst-codeset.c): Likewise.
21842 (CFLAGS-tst-gettext3.c): Likewise.
21843 (CFLAGS-tst-gettext4.c): Likewise.
21844 (CFLAGS-tst-gettext5.c): Likewise.
21845 (CFLAGS-tst-gettext6.c): Likewise.
21846 * io/Makefile (CFLAGS-open.c): Likewise.
21847 (CFLAGS-open64.c): Likewise.
21848 (CFLAGS-creat.c): Likewise.
21849 (CFLAGS-creat64.c): Likewise.
21850 (CFLAGS-fcntl.c): Likewise.
21851 (CFLAGS-poll.c): Likewise.
21852 (CFLAGS-ppoll.c): Likewise.
21853 (CFLAGS-lockf.c): Likewise.
21854 (CFLAGS-statfs.c): Likewise.
21855 (CFLAGS-fstatfs.c): Likewise.
21856 (CFLAGS-statvfs.c): Likewise.
21857 (CFLAGS-fstatvfs.c): Likewise.
21858 (CFLAGS-fts.c): Likewise.
21859 (CFLAGS-fts64.c): Likewise.
21860 (CFLAGS-ftw.c): Likewise.
21861 (CFLAGS-ftw64.c): Likewise.
21862 (CFLAGS-lockf.c): Likewise.
21863 (CFLAGS-posix_fallocate.c): Likewise.
21864 (CFLAGS-posix_fallocate64.c): Likewise.
21865 (CFLAGS-fallocate.c): Likewise.
21866 (CFLAGS-fallocate64.c): Likewise.
21867 (CFLAGS-read.c): Likewise.
21868 (CFLAGS-write.c): Likewise.
21869 (CFLAGS-test-stat.c): Likewise.
21870 (CFLAGS-test-lfs.c): Likewise.
21871 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21872 (CFLAGS-fputc.c): Likewise.
21873 (CFLAGS-fputwc.c): Likewise.
21874 (CFLAGS-freopen64.c): Likewise.
21875 (CFLAGS-freopen.c): Likewise.
21876 (CFLAGS-fseek.c): Likewise.
21877 (CFLAGS-fseeko64.c): Likewise.
21878 (CFLAGS-fseeko.c): Likewise.
21879 (CFLAGS-ftello64.c): Likewise.
21880 (CFLAGS-ftello.c): Likewise.
21881 (CFLAGS-fwide.c): Likewise.
21882 (CFLAGS-genops.c): Likewise.
21883 (CFLAGS-getc.c): Likewise.
21884 (CFLAGS-getchar.c): Likewise.
21885 (CFLAGS-getwc.c): Likewise.
21886 (CFLAGS-getwchar.c): Likewise.
21887 (CFLAGS-iofclose.c): Likewise.
21888 (CFLAGS-iofflush.c): Likewise.
21889 (CFLAGS-iofgetpos64.c): Likewise.
21890 (CFLAGS-iofgetpos.c): Likewise.
21891 (CFLAGS-iofgets.c): Likewise.
21892 (CFLAGS-iofgetws.c): Likewise.
21893 (CFLAGS-iofputs.c): Likewise.
21894 (CFLAGS-iofputws.c): Likewise.
21895 (CFLAGS-iofread.c): Likewise.
21896 (CFLAGS-iofsetpos64.c): Likewise.
21897 (CFLAGS-iofsetpos.c): Likewise.
21898 (CFLAGS-ioftell.c): Likewise.
21899 (CFLAGS-iofwrite.c): Likewise.
21900 (CFLAGS-iogetdelim.c): Likewise.
21901 (CFLAGS-iogetline.c): Likewise.
21902 (CFLAGS-iogets.c): Likewise.
21903 (CFLAGS-iogetwline.c): Likewise.
21904 (CFLAGS-ioputs.c): Likewise.
21905 (CFLAGS-ioseekoff.c): Likewise.
21906 (CFLAGS-ioseekpos.c): Likewise.
21907 (CFLAGS-iosetbuffer.c): Likewise.
21908 (CFLAGS-iosetvbuf.c): Likewise.
21909 (CFLAGS-ioungetc.c): Likewise.
21910 (CFLAGS-ioungetwc.c): Likewise.
21911 (CFLAGS-oldfileops.c): Likewise.
21912 (CFLAGS-oldiofclose.c): Likewise.
21913 (CFLAGS-oldiofgetpos64.c): Likewise.
21914 (CFLAGS-oldiofgetpos.c): Likewise.
21915 (CFLAGS-oldiofsetpos64.c): Likewise.
21916 (CFLAGS-oldiofsetpos.c): Likewise.
21917 (CFLAGS-peekc.c): Likewise.
21918 (CFLAGS-putc.c): Likewise.
21919 (CFLAGS-putchar.c): Likewise.
21920 (CFLAGS-putwc.c): Likewise.
21921 (CFLAGS-putwchar.c): Likewise.
21922 (CFLAGS-rewind.c): Likewise.
21923 (CFLAGS-wfileops.c): Likewise.
21924 (CFLAGS-wgenops.c): Likewise.
21925 (CFLAGS-oldiofopen.c): Likewise.
21926 (CFLAGS-iofopen.c): Likewise.
21927 (CFLAGS-iofopen64.c): Likewise.
21928 (CFLAGS-oldtmpfile.c): Likewise.
21929 (CFLAGS-tst_putwc.c): Likewise.
21930 * locale/Makefile (CFLAGS-md5.c): Likewise.
21931 (CFLAGS-charmap.c): Likewise.
21932 (CFLAGS-locfile.c): Likewise.
21933 (CFLAGS-charmap-dir.c): Likewise.
21934 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21935 (CFLAGS-getpt.c): Likewise.
21936 (CFLAGS-pt_chown.c): Likewise.
21937 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21938 (CFLAGS-obstack.c): Likewise.
21939 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21940 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21941 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21942 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21943 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21944 (CFLAGS-test-tgmath.c): Likewise.
21945 (CFLAGS-test-tgmath2.c): Likewise.
21946 (CFLAGS-test-tgmath-ret.c): Likewise.
21947 (CFLAGS-test-powl.c): Likewise.
21948 (CFLAGS-test-snan.c): Likewise.
21949 (CFLAGS-test-signgam-finite.c): Likewise.
21950 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21951 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21952 (CFLAGS-test-signgam-uchar.c): Likewise.
21953 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21954 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21955 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21956 (CFLAGS-test-signgam-uint.c): Likewise.
21957 (CFLAGS-test-signgam-uint-init.c): Likewise.
21958 (CFLAGS-test-signgam-uint-static.c): Likewise.
21959 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21960 (CFLAGS-test-signgam-ullong.c): Likewise.
21961 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21962 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21963 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21964 (CFLAGS-test-math-cxx11.cc): Likewise.
21965 (CFLAGS-test-math-isinff.cc): Likewise.
21966 (CFLAGS-test-math-iszero.cc): Likewise.
21967 (CFLAGS-test-math-issignaling.cc): Likewise.
21968 (CFLAGS-test-math-iscanonical.cc): Likewise.
21969 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21970 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21971 (CFLAGS-test-flt-eval-method.c): Likewise.
21972 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21973 (CFLAGS-test-finite-macros.c): Likewise.
21974 * misc/Makefile (CFLAGS-select.c): Likewise.
21975 (CFLAGS-tsearch.c): Likewise.
21976 (CFLAGS-lsearch.c): Likewise.
21977 (CFLAGS-pselect.c): Likewise.
21978 (CFLAGS-readv.c): Likewise.
21979 (CFLAGS-writev.c): Likewise.
21980 (CFLAGS-preadv.c): Likewise.
21981 (CFLAGS-preadv64.c): Likewise.
21982 (CFLAGS-pwritev.c): Likewise.
21983 (CFLAGS-pwritev64.c): Likewise.
21984 (CFLAGS-preadv2.c): Likewise.
21985 (CFLAGS-preadv64v2.c): Likewise.
21986 (CFLAGS-pwritev2.c): Likewise.
21987 (CFLAGS-pwritev64v2.c): Likewise.
21988 (CFLAGS-usleep.c): Likewise.
21989 (CFLAGS-syslog.c): Likewise.
21990 (CFLAGS-error.c): Likewise.
21991 (CFLAGS-getpass.c): Likewise.
21992 (CFLAGS-mkstemp.c): Likewise.
21993 (CFLAGS-mkstemp64.c): Likewise.
21994 (CFLAGS-getsysstats.c): Likewise.
21995 (CFLAGS-getusershell.c): Likewise.
21996 (CFLAGS-err.c): Likewise.
21997 (CFLAGS-tst-tsearch.c): Likewise.
21998 (CFLAGS-msync.c): Likewise.
21999 (CFLAGS-fdatasync.c): Likewise.
22000 (CFLAGS-fsync.c): Likewise.
22001 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
22002 (CFLAGS-unwind.c): Likewise.
22003 (CFLAGS-unwind-forcedunwind.c): Likewise.
22004 (CFLAGS-pthread_cancel.c): Likewise.
22005 (CFLAGS-pthread_setcancelstate.c): Likewise.
22006 (CFLAGS-pthread_setcanceltype.c): Likewise.
22007 (CFLAGS-cancellation.c): Likewise.
22008 (CFLAGS-libc-cancellation.c): Likewise.
22009 (CFLAGS-pthread_exit.c): Likewise.
22010 (CFLAGS-forward.c): Likewise.
22011 (CFLAGS-pthread_testcancel.c): Likewise.
22012 (CFLAGS-pthread_join.c): Likewise.
22013 (CFLAGS-pthread_timedjoin.c): Likewise.
22014 (CFLAGS-pthread_once.c): Likewise.
22015 (CFLAGS-pthread_cond_wait.c): Likewise.
22016 (CFLAGS-sem_wait.c): Likewise.
22017 (CFLAGS-sem_timedwait.c): Likewise.
22018 (CFLAGS-fcntl.c): Likewise.
22019 (CFLAGS-lockf.c): Likewise.
22020 (CFLAGS-pread.c): Likewise.
22021 (CFLAGS-pread64.c): Likewise.
22022 (CFLAGS-pwrite.c): Likewise.
22023 (CFLAGS-pwrite64.c): Likewise.
22024 (CFLAGS-wait.c): Likewise.
22025 (CFLAGS-waitpid.c): Likewise.
22026 (CFLAGS-sigwait.c): Likewise.
22027 (CFLAGS-msgrcv.c): Likewise.
22028 (CFLAGS-msgsnd.c): Likewise.
22029 (CFLAGS-tcdrain.c): Likewise.
22030 (CFLAGS-open.c): Likewise.
22031 (CFLAGS-open64.c): Likewise.
22032 (CFLAGS-pause.c): Likewise.
22033 (CFLAGS-recv.c): Likewise.
22034 (CFLAGS-send.c): Likewise.
22035 (CFLAGS-accept.c): Likewise.
22036 (CFLAGS-sendto.c): Likewise.
22037 (CFLAGS-connect.c): Likewise.
22038 (CFLAGS-recvfrom.c): Likewise.
22039 (CFLAGS-recvmsg.c): Likewise.
22040 (CFLAGS-sendmsg.c): Likewise.
22041 (CFLAGS-close.c): Likewise.
22042 (CFLAGS-read.c): Likewise.
22043 (CFLAGS-write.c): Likewise.
22044 (CFLAGS-nanosleep.c): Likewise.
22045 (CFLAGS-sigsuspend.c): Likewise.
22046 (CFLAGS-msync.c): Likewise.
22047 (CFLAGS-fdatasync.c): Likewise.
22048 (CFLAGS-fsync.c): Likewise.
22049 (CFLAGS-pt-system.c): Likewise.
22050 (CFLAGS-tst-cleanup2.c): Likewise.
22051 (CFLAGS-tst-cleanupx2.c): Likewise.
22052 (CFLAGS-flockfile.c): Likewise.
22053 (CFLAGS-ftrylockfile.c): Likewise.
22054 (CFLAGS-funlockfile.c): Likewise.
22055 (CFLAGS-tst-initializers1.c): Likewise.
22056 (CFLAGS-tst-initializers1-c89.c): Likewise.
22057 (CFLAGS-tst-initializers1-c99.c): Likewise.
22058 (CFLAGS-tst-initializers1-c11.c): Likewise.
22059 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
22060 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
22061 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22062 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
22063 (CFLAGS-nscd_getgr_r.c): Likewise.
22064 (CFLAGS-nscd_gethst_r.c): Likewise.
22065 (CFLAGS-nscd_getai.c): Likewise.
22066 (CFLAGS-nscd_initgroups.c): Likewise.
22067 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
22068 (CFLAGS-pause.c): Likewise.
22069 (CFLAGS-pread.c): Likewise.
22070 (CFLAGS-pread64.c): Likewise.
22071 (CFLAGS-pwrite.c): Likewise.
22072 (CFLAGS-pwrite64.c): Likewise.
22073 (CFLAGS-sleep.c): Likewise.
22074 (CFLAGS-wait.c): Likewise.
22075 (CFLAGS-waitid.c): Likewise.
22076 (CFLAGS-waitpid.c): Likewise.
22077 (CFLAGS-getopt.c): Likewise.
22078 (CFLAGS-wordexp.c): Likewise.
22079 (CFLAGS-sysconf.c): Likewise.
22080 (CFLAGS-pathconf.c): Likewise.
22081 (CFLAGS-fpathconf.c): Likewise.
22082 (CFLAGS-spawn.c): Likewise.
22083 (CFLAGS-spawnp.c): Likewise.
22084 (CFLAGS-spawni.c): Likewise.
22085 (CFLAGS-glob.c): Likewise.
22086 (CFLAGS-glob64.c): Likewise.
22087 (CFLAGS-getconf.c): Likewise.
22088 (CFLAGS-nanosleep.c): Likewise.
22089 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
22090 (CFLAGS-getpwent.c): Likewise.
22091 (CFLAGS-getpw.c): Likewise.
22092 (CFLAGS-fgetpwent_r.c): Likewise.
22093 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
22094 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
22095 (CFLAGS-mq_timedreceive.c): Likewise.
22096 (CFLAGS-mq_timedsend.c): Likewise.
22097 (CFLAGS-clock_nanosleep.c): Likewise.
22098 (CFLAGS-librt-cancellation.c): Likewise.
22099 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
22100 (CFLAGS-getspent.c): Likewise.
22101 (CFLAGS-fgetspent.c): Likewise.
22102 (CFLAGS-fgetspent_r.c): Likewise.
22103 (CFLAGS-putspent.c): Likewise.
22104 (CFLAGS-getspnam.c): Likewise.
22105 (CFLAGS-getspnam_r.c): Likewise.
22106 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
22107 (CFLAGS-sigsuspend.c): Likewise.
22108 (CFLAGS-sigtimedwait.c): Likewise.
22109 (CFLAGS-sigwait.c): Likewise.
22110 (CFLAGS-sigwaitinfo.c): Likewise.
22111 (CFLAGS-sigreturn.c): Likewise.
22112 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22113 (CFLAGS-vfwprintf.c): Likewise.
22114 (CFLAGS-tmpfile.c): Likewise.
22115 (CFLAGS-tmpfile64.c): Likewise.
22116 (CFLAGS-tempname.c): Likewise.
22117 (CFLAGS-psignal.c): Likewise.
22118 (CFLAGS-vprintf.c): Likewise.
22119 (CFLAGS-cuserid.c): Likewise.
22120 (CFLAGS-errlist.c): Likewise.
22121 (CFLAGS-siglist.c): Likewise.
22122 (CFLAGS-scanf15.c): Likewise.
22123 (CFLAGS-scanf17.c): Likewise.
22124 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
22125 (CFLAGS-msort.c): Likewise.
22126 (CFLAGS-qsort.c): Likewise.
22127 (CFLAGS-system.c): Likewise.
22128 (CFLAGS-fmtmsg.c): Likewise.
22129 (CFLAGS-strfmon.c): Likewise.
22130 (CFLAGS-strfmon_l.c): Likewise.
22131 (CFLAGS-strfromd.c): Likewise.
22132 (CFLAGS-strfromf.c): Likewise.
22133 (CFLAGS-strfroml.c): Likewise.
22134 (CFLAGS-tst-bsearch.c): Likewise.
22135 (CFLAGS-tst-qsort.c): Likewise.
22136 (CFLAGS-tst-makecontext2.c): Likewise.
22137 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
22138 (CFLAGS-xnlm_prot.c): Likewise.
22139 (CFLAGS-xrstat.c): Likewise.
22140 (CFLAGS-xyppasswd.c): Likewise.
22141 (CFLAGS-xklm_prot.c): Likewise.
22142 (CFLAGS-xrex.c): Likewise.
22143 (CFLAGS-xsm_inter.c): Likewise.
22144 (CFLAGS-xmount.c): Likewise.
22145 (CFLAGS-xrusers.c): Likewise.
22146 (CFLAGS-xspray.c): Likewise.
22147 (CFLAGS-xnfs_prot.c): Likewise.
22148 (CFLAGS-xrquota.c): Likewise.
22149 (CFLAGS-xkey_prot.c): Likewise.
22150 (CFLAGS-auth_unix.c): Likewise.
22151 (CFLAGS-key_call.c): Likewise.
22152 (CFLAGS-pmap_rmt.c): Likewise.
22153 (CFLAGS-clnt_perr.c): Likewise.
22154 (CFLAGS-openchild.c): Likewise.
22155 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
22156 (CFLAGS-msgsnd.c): Likewise.
22157 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
22158 * time/Makefile (CFLAGS-tzfile.c): Likewise.
22159 (CFLAGS-tzset.c): Likewise.
22160 (CFLAGS-getdate.c): Likewise.
22161 (CFLAGS-test_time.c): Likewise.
22162 (CPPFLAGS-tst-tzname.c): Likewise.
22163 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
22164 (CFLAGS-zic.c): Likewise.
22165 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
22166 (CFLAGS-wcswidth.c): Likewise.
22167 (CFLAGS-wcstol.c): Likewise.
22168 (CFLAGS-wcstoul.c): Likewise.
22169 (CFLAGS-wcstoll.c): Likewise.
22170 (CFLAGS-wcstoull.c): Likewise.
22171 (CFLAGS-wcstod.c): Likewise.
22172 (CFLAGS-wcstold.c): Likewise.
22173 (CFLAGS-wcstof128.c): Likewise.
22174 (CFLAGS-wcstof.c): Likewise.
22175 (CFLAGS-wcstol_l.c): Likewise.
22176 (CFLAGS-wcstoul_l.c): Likewise.
22177 (CFLAGS-wcstoll_l.c): Likewise.
22178 (CFLAGS-wcstoull_l.c): Likewise.
22179 (CFLAGS-wcstod_l.c): Likewise.
22180 (CFLAGS-wcstold_l.c): Likewise.
22181 (CFLAGS-wcstof128_l.c): Likewise.
22182 (CFLAGS-wcstof_l.c): Likewise.
22183 (CPPFLAGS-tst-wchar-h.c): Likewise.
22184 (CPPFLAGS-wcstold_l.c): Likewise.
22186 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
22188 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
22190 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22191 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22193 * manual/tunables.texi (Hardware Capability Tunables): Document
22194 glibc.tune.cached_memopt.
22195 * sysdeps/powerpc/cpu-features.c: New file.
22196 * sysdeps/powerpc/cpu-features.h: New file.
22197 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
22198 _dl_powerpc_cpu_features.
22199 * sysdeps/powerpc/dl-tunables.list: New file.
22200 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
22201 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22202 (INIT_ARCH): Initialize use_aligned_memopt.
22203 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
22204 IS_IN(rtld))]: Restrict dl_platform_init availability and
22205 initialize CPU features used by tunables.
22206 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
22207 Add memcpy-power8-cached.
22208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
22209 __memcpy_power8_cached.
22210 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22211 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
22214 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22216 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
22217 (CFLAGS-noinl-tester.c): Likewise.
22218 (CFLAGS-tst-strlen.c): Likewise.
22219 (CFLAGS-stratcliff.c): Likewise.
22220 (CFLAGS-test-ffs.c): Likewise.
22221 (CFLAGS-tst-inlcall.c): Likewise.
22222 (CFLAGS-tst-xbzero-opt.c): Likewise.
22223 (CFLAGS-memcpy.c): Likewise.
22224 (CFLAGS-wordcopy.c): Likewise.
22226 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22228 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
22229 Store r15 on stack and add cfi rule.
22230 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22233 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
22236 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
22239 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22241 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22242 Add s_sinf-sse2 and s_sinf-fma.
22243 (CFLAGS-s_sinf-fma.c): New.
22244 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
22245 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
22246 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
22248 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22250 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
22252 2017-12-07 Joseph Myers <joseph@codesourcery.com>
22255 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
22256 part of result to imaginary part of argument if it is zero and the
22257 real part of the argument is not finite.
22258 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
22259 of result to real part of argument if it is zero and the imaginary
22260 part of the argument is not finite.
22262 2017-12-07 Mike FABIAN <mfabian@redhat.com>
22265 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
22266 and to the list of locales to be built for testing.
22267 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
22268 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
22269 and build the collation rules upon that.
22271 2017-12-07 Joseph Myers <joseph@codesourcery.com>
22273 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
22274 * manual/math.texi (Mathematics): Document support for _Float32.
22275 * math/Makefile (test-types): Add float32.
22276 * math/Versions (GLIBC_2.27): Add _Float32 functions.
22277 * stdlib/Versions (GLIBC_2.27): Likewise.
22278 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22279 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22280 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22281 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22282 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22283 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22284 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22285 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22286 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22287 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22288 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22289 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22290 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22291 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22292 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22293 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22294 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22295 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22296 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22297 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22298 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22299 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22301 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22302 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22303 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22304 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22305 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22323 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22324 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22325 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22326 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22327 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22328 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22329 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22330 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22331 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22332 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22341 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22342 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22343 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22344 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22345 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22346 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22347 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22348 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22350 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22352 * stdlib/strtof.c: Include <bits/floatn.h>
22353 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
22354 and later undefine as macro. Define as weak alias if
22356 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
22357 and later undefine as macro. Define as weak alias if
22359 * stdlib/strtof_l.c: Include <bits/floatn.h>
22360 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
22361 and later undefine as macro. Define as weak alias if
22363 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
22364 and later undefine as macro. Define as weak alias if
22367 * stdlib/strfromf.c: Include <bits/floatn.h>.
22368 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
22369 and later undefine as macro and define as weak alias.
22371 * math/test-float32.h: New file.
22373 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
22374 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
22375 (libm_alias_float_other_r): Create f32 alias.
22376 (libm_alias_float_r): Use semicolon before call to
22377 libm_alias_float_other_r.
22379 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
22380 second argument to libm_alias_float_other.
22381 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
22382 second argument to libm_alias_float_other.
22383 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
22384 argument to libm_alias_float_other.
22387 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
22388 real part of result for argument 0 + i * NaN.
22389 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
22390 results for tests of 0 + i * NaN.
22392 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22394 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22396 2017-12-06 David S. Miller <davem@davemloft.net>
22398 * sysdeps/sparc/fpu/libm-test-ulps: Update
22399 exp_{downward,towardzero,upward} ulps.
22401 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22403 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
22406 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
22408 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
22410 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
22412 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
22415 2017-12-06 Mike FABIAN <mfabian@redhat.com>
22418 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
22419 and to the list of locales to be built for testing.
22420 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
22421 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
22422 and build the collation rules upon that.
22424 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22426 * NEWS: Add sinf to list of optimized functions.
22428 2017-12-06 Joseph Myers <joseph@codesourcery.com>
22430 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
22431 (__HAVE_FLOAT32X): Likewise.
22432 * manual/math.texi (Mathematics): Document support for _Float64
22434 * math/Makefile (test-types): Add float64 and float32x.
22435 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
22437 * stdlib/Versions (GLIBC_2.27): Likewise.
22438 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22439 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22440 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22441 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22442 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22443 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22444 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22445 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22446 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22447 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22448 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22449 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22450 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22451 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22452 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22453 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22454 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22455 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22456 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22457 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22458 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22459 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22461 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22462 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22463 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22464 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22465 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22482 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22483 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22484 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22485 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22486 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22487 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22488 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22489 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22490 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22491 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22500 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22501 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22502 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22503 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22504 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22505 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22506 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22507 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22509 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22511 * bits/floatn-common.h: Include <bits/long-double.h>.
22512 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22513 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
22514 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22515 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
22516 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22517 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
22518 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22519 (__builtin_huge_valf64): Use __builtin_huge_vall.
22520 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22521 (__builtin_inff64): Use __builtin_infl.
22522 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22523 (__builtin_nanf64): Use __builtin_nanl.
22524 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22525 (__builtin_nansf64): Use __builtin_nansl.
22527 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
22528 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22529 Carlos O'Donnell <carlos@redhat.com>
22531 * elf/dl-tunables.list: Add elision parameters.
22532 * manual/tunables.texi: Add entries about elision tunable.
22533 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
22534 Add callback functions to dynamically enable/disable elision.
22535 Add multiple callbacks functions to set elision parameters.
22536 Deleted __libc_enable_secure check.
22537 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
22538 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
22539 * configure: Regenerated.
22540 * configure.ac: Option enable_lock_elision was deleted.
22541 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
22542 * config.make.in: Remove references to enable_lock_elision.
22543 * manual/install.texi: Elision configure option was removed.
22544 * INSTALL: Regenerated to remove enable_lock_elision.
22546 Disable elision so it can verify error case for destroying a mutex.
22547 * sysdeps/powerpc/nptl/elide.h:
22548 Cleanup ENABLE_LOCK_ELISION check.
22549 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
22550 * sysdeps/s390/configure: Regenerated.
22551 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
22552 * nptl/tst-mutex8.c:
22553 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
22554 * sysdeps/powerpc/powerpc32/sysdep.h:
22555 Deleted all ENABLE_LOCK_ELISION checks.
22556 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22557 * sysdeps/powerpc/sysdep.h: Likewise.
22558 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
22559 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
22560 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22561 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22562 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22563 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
22564 enable-lock-elision.
22566 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22568 * stdlib/strtod.c: Include <bits/floatn.h>.
22569 (BUILD_DOUBLE): New macro.
22570 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22571 (strtof64): Define and later undefine as macro. Define as weak
22572 alias if [!USE_WIDE_CHAR].
22573 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22574 (wcstof64): Define and later undefine as macro. Define as weak
22575 alias if [USE_WIDE_CHAR].
22576 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22577 (strtof32x): Define and later undefine as macro. Define as weak
22578 alias if [!USE_WIDE_CHAR].
22579 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22580 (wcstof32x): Define and later undefine as macro. Define as weak
22581 alias if [USE_WIDE_CHAR].
22582 * stdlib/strtod_l.c: Include <bits/floatn.h>.
22583 (BUILD_DOUBLE): New macro.
22584 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22585 (strtof64_l): Define and later undefine as macro. Define as weak
22586 alias if [!USE_WIDE_CHAR].
22587 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22588 (wcstof64_l): Define and later undefine as macro. Define as weak
22589 alias if [USE_WIDE_CHAR].
22590 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22591 (strtof32x_l): Define and later undefine as macro. Define as weak
22592 alias if [!USE_WIDE_CHAR].
22593 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22594 (wcstof32x_l): Define and later undefine as macro. Define as weak
22595 alias if [USE_WIDE_CHAR].
22597 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22599 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
22600 (reduced): Use ones as double instead of integer.
22602 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
22604 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
22606 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22608 * stdlib/strfromd.c: Include <bits/floatn.h>.
22609 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22610 and later undefine as macro and define as weak alias.
22611 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22614 * math/test-float32x.h: New file.
22615 * math/test-float64.h: Likewise.
22617 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22618 (libm_alias_double_other_r_f64): New macro.
22619 (libm_alias_double_other_r_f32x): Likewise.
22620 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22621 libm_alias_double_other_r_f32x.
22622 (libm_alias_double_r): Use semicolon before call to
22623 libm_alias_double_other_r.
22624 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22626 (libm_alias_double_other_r_f64): New macro.
22627 (libm_alias_double_other_r_f32x): Likewise.
22628 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22629 libm_alias_double_other_r_f32x.
22631 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22633 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22635 (SINF_FUNC): Likewise. Replace floor with simple casts.
22637 2017-12-05 Mike FABIAN <mfabian@redhat.com>
22640 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22641 and to the list of locales to be built for testing.
22642 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22643 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22644 and build the collation rules upon that.
22646 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22648 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22649 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22650 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22651 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22652 instead of __insn__xxx.
22653 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22654 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22655 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22656 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22657 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22658 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22660 2017-12-05 Florian Weimer <fweimer@redhat.com>
22662 Linux: Implement interfaces for memory protection keys
22663 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
22665 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
22666 * support/xunistd.h (xsysconf): Declare.
22667 * support/xraise.c: New file.
22668 * support/xsigaction.c: Likewise.
22669 * support/xsignal.c: Likewise.
22670 * support/xsysconf.c: Likewise.
22671 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
22672 pkey_set, pkey_get, pkey_mprotect.
22673 [misc] (tests): Add tst-pkey.
22674 (tst-pkey): Link with -lpthread.
22675 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
22676 pkey_free, pkey_set, pkey_get, pkey_mprotect.
22677 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
22678 (PKEY_DISABLE_WRITE): Define.
22679 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
22681 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
22682 (SEGV_PKUERR): Add.
22683 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
22684 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
22685 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
22686 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
22688 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
22689 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
22690 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
22691 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
22692 * sysdeps/unix/sysv/linux/**.abilist: Update.
22694 2017-12-05 Florian Weimer <fweimer@redhat.com>
22696 * support/tst-test_compare.c (subprocess): Use long long instead
22697 of long argument for consistent type width across 32-bit and
22698 64-bit architectures.
22699 (do_test): Adjust expected output.
22701 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22703 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
22704 (cosf): Define using libm_alias_float.
22705 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
22706 (fabsf): Define using libm_alias_float.
22707 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
22708 (fmaf): Define using libm_alias_float.
22709 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
22710 (rintf): Define using libm_alias_float.
22711 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
22712 (sinf): Define using libm_alias_float.
22713 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
22714 <libm-alias-float.h>.
22715 (modff): Define using libm_alias_float.
22716 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
22717 <libm-alias-float.h>.
22718 (logbf): Define using libm_alias_float.
22719 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
22720 <libm-alias-float.h>.
22721 (ceilf): Define using libm_alias_float.
22722 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22723 <libm-alias-float.h>.
22724 (copysignf): Define using libm_alias_float.
22725 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
22726 <libm-alias-float.h>.
22727 (floorf): Define using libm_alias_float.
22728 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22729 <libm-alias-float.h>.
22730 (llrintf): Define using libm_alias_float.
22731 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22732 <libm-alias-float.h>.
22733 (llroundf): Define using libm_alias_float.
22734 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22735 <libm-alias-float.h>.
22736 (lrintf): Define using libm_alias_float.
22737 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22738 <libm-alias-float.h>.
22739 (lroundf): Define using libm_alias_float.
22740 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
22741 <libm-alias-float.h>.
22742 (nearbyintf): Define using libm_alias_float.
22743 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
22744 <libm-alias-float.h>.
22745 (rintf): Define using libm_alias_float.
22746 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
22747 <libm-alias-float.h>.
22748 (roundf): Define using libm_alias_float.
22749 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
22750 <libm-alias-float.h>.
22751 (truncf): Define using libm_alias_float.
22752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
22753 Include <libm-alias-float.h>.
22754 (ceilf): Define using libm_alias_float.
22755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
22756 Include <libm-alias-float.h>.
22757 (copysignf): Define using libm_alias_float.
22758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
22759 Include <libm-alias-float.h>.
22760 (floorf): Define using libm_alias_float.
22761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
22762 Include <libm-alias-float.h>.
22763 (llrintf): Define using libm_alias_float.
22764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22765 Include <libm-alias-float.h>.
22766 (llroundf): Define using libm_alias_float.
22767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22768 Include <libm-alias-float.h>.
22769 (logbf): Define using libm_alias_float.
22770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22771 Include <libm-alias-float.h>.
22772 (lrintf): Define using libm_alias_float.
22773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22774 Include <libm-alias-float.h>.
22775 (lroundf): Define using libm_alias_float.
22776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22777 Include <libm-alias-float.h>.
22778 (modff): Define using libm_alias_float.
22779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22780 Include <libm-alias-float.h>.
22781 (roundf): Define using libm_alias_float.
22782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22783 Include <libm-alias-float.h>.
22784 (truncf): Define using libm_alias_float.
22785 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22786 <libm-alias-float.h>.
22787 (llrintf): Define using libm_alias_float.
22788 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22789 <libm-alias-float.h>.
22790 (llroundf): Define using libm_alias_float.
22791 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22792 <libm-alias-float.h>.
22793 (ceilf): Define using libm_alias_float.
22794 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22795 <libm-alias-float.h>.
22796 (floorf): Define using libm_alias_float.
22797 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22798 <libm-alias-float.h>.
22799 (llroundf): Define using libm_alias_float.
22800 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22801 <libm-alias-float.h>.
22802 (lroundf): Define using libm_alias_float.
22803 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22804 <libm-alias-float.h>.
22805 (roundf): Define using libm_alias_float.
22806 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22807 <libm-alias-float.h>.
22808 (truncf): Define using libm_alias_float.
22809 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22810 <libm-alias-float.h>.
22811 (copysignf): Define using libm_alias_float.
22812 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22813 <libm-alias-float.h>.
22814 (llrintf): Define using libm_alias_float.
22815 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22816 <libm-alias-float.h>.
22817 (llroundf): Define using libm_alias_float.
22818 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22819 <libm-alias-float.h>.
22820 (lrintf): Define using libm_alias_float.
22821 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22822 <libm-alias-float.h>.
22823 (lroundf): Define using libm_alias_float.
22824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22825 <libm-alias-float.h>.
22826 (ceilf): Define using libm_alias_float.
22827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22828 <libm-alias-float.h>.
22829 (copysignf): Define using libm_alias_float.
22830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22831 <libm-alias-float.h>.
22832 (cosf): Define using libm_alias_float.
22833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22834 <libm-alias-float.h>.
22835 (floorf): Define using libm_alias_float.
22836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22837 <libm-alias-float.h>.
22838 (llrintf): Define using libm_alias_float.
22839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22840 <libm-alias-float.h>.
22841 (llroundf): Define using libm_alias_float.
22842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22843 <libm-alias-float.h>.
22844 (logbf): Define using libm_alias_float.
22845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22846 <libm-alias-float.h>.
22847 (modff): Define using libm_alias_float.
22848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22849 <libm-alias-float.h>.
22850 (roundf): Define using libm_alias_float.
22851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22852 <libm-alias-float.h>.
22853 (sinf): Define using libm_alias_float.
22854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22855 <libm-alias-float.h>.
22856 (truncf): Define using libm_alias_float.
22857 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22858 <libm-alias-float.h>.
22859 (ceilf): Define using libm_alias_float.
22860 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22861 <libm-alias-float.h>.
22862 (copysignf): Define using libm_alias_float.
22863 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22864 <libm-alias-float.h>.
22865 (floorf): Define using libm_alias_float.
22866 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22867 <libm-alias-float.h>.
22868 (llrintf): Define using libm_alias_float.
22869 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22870 <libm-alias-float.h>.
22871 (llroundf): Define using libm_alias_float.
22872 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22873 <libm-alias-float.h>.
22874 (nearbyintf): Define using libm_alias_float.
22875 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22876 <libm-alias-float.h>.
22877 (rintf): Define using libm_alias_float.
22878 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22879 <libm-alias-float.h>.
22880 (roundf): Define using libm_alias_float.
22881 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22882 <libm-alias-float.h>.
22883 (truncf): Define using libm_alias_float.
22884 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22885 <libm-alias-float.h>.
22886 (ceilf): Define using libm_alias_float.
22887 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22888 <libm-alias-float.h>.
22889 (floorf): Define using libm_alias_float.
22890 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22891 <libm-alias-float.h>.
22892 (llroundf): Define using libm_alias_float.
22893 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22894 <libm-alias-float.h>.
22895 (roundf): Define using libm_alias_float.
22896 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22897 <libm-alias-float.h>.
22898 (truncf): Define using libm_alias_float.
22899 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22900 <libm-alias-float.h>.
22901 (copysignf): Define using libm_alias_float.
22902 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22903 <libm-alias-float.h>.
22904 (llrintf): Define using libm_alias_float.
22905 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22906 <libm-alias-float.h>.
22907 (llroundf): Define using libm_alias_float.
22908 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22909 <libm-alias-float.h>.
22910 (cosf): Define using libm_alias_float.
22911 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22912 <libm-alias-float.h>.
22913 (llrintf): Define using libm_alias_float.
22914 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22915 <libm-alias-float.h>.
22916 (llroundf): Define using libm_alias_float.
22917 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22918 <libm-alias-float.h>.
22919 (sinf): Define using libm_alias_float.
22921 2017-12-04 Florian Weimer <fweimer@redhat.com>
22923 * support/check.h (TEST_COMPARE): Define.
22924 (support_test_compare_failure): Declare.
22925 * support/Makefile (libsupport-routines): Add
22926 support_test_compare_failure.
22927 (tests): Add tst-test_compare.
22928 * support /support_test_compare_failure.c: New file.
22929 * support/tst-test_compare.c: Likewise.
22931 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22934 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22935 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22936 available, this rewrite of the collation rules does reproduce
22937 the test file in the same order.
22939 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22942 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22943 digraphs in the month and day names. Using single code points for
22944 digraphs is deprecated. While there are dedicated Unicode
22945 codepoints, for the digraphs, these are included for backwards
22946 compatibility and modern texts use a sequence of Basic Latin
22947 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22948 This makes the month and day names agree exactly with CLDR now,
22949 CLDR does not use the single code points for the digraphs either.
22951 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22953 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22955 2017-12-04 Joseph Myers <joseph@codesourcery.com>
22957 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22960 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22962 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22963 Define only for libc.so.
22965 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22967 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22968 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
22969 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
22970 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22971 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22973 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22976 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22978 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
22981 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22982 PREINIT_FUNCTION_WEAK is nonzero.
22983 (gmon_initializer): New function. Put procedure label for it in
22984 .init_array section.
22985 (_init): Don't call PREINIT_FUNCTION.
22986 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22987 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22988 value when map argument is null.
22990 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22991 depi instruction from PIC pc-relative sequence.
22992 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22993 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22994 (elf_machine_load_address): Likewise.
22995 (elf_machine_runtime_setup): Likewise.
22997 2017-12-02 Joseph Myers <joseph@codesourcery.com>
22999 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
23000 <libm-alias-double.h>.
23001 (logb): Define using libm_alias_double.
23002 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23003 <libm-alias-double.h>.
23004 (copysign): Define using libm_alias_double.
23005 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
23006 <libm-alias-double.h>.
23007 (llrint): Define using libm_alias_double.
23008 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
23009 <libm-alias-double.h>.
23010 (llround): Define using libm_alias_double.
23011 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23012 <libm-alias-double.h>.
23013 (lrint): Define using libm_alias_double.
23014 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23015 <libm-alias-double.h>.
23016 (lround): Define using libm_alias_double.
23017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23018 Include <libm-alias-double.h>.
23019 (copysign): Define using libm_alias_double.
23020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
23021 Include <libm-alias-double.h>.
23022 (llrint): Define using libm_alias_double.
23023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
23024 Include <libm-alias-double.h>.
23025 (llround): Define using libm_alias_double.
23026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
23027 <libm-alias-double.h>.
23028 (logb): Define using libm_alias_double.
23029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
23030 Include <libm-alias-double.h>.
23031 (lrint): Define using libm_alias_double.
23032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
23033 Include <libm-alias-double.h>.
23034 (lround): Define using libm_alias_double.
23035 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
23036 <libm-alias-double.h>.
23037 (llrint): Define using libm_alias_double.
23038 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23039 <libm-alias-double.h>.
23040 (llround): Define using libm_alias_double.
23041 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23042 <libm-alias-double.h>.
23043 (llround): Define using libm_alias_double.
23044 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23045 <libm-alias-double.h>.
23046 (lround): Define using libm_alias_double.
23047 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23048 <libm-alias-double.h>.
23049 (copysign): Define using libm_alias_double.
23050 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
23051 <libm-alias-double.h>.
23052 (llrint): Define using libm_alias_double.
23053 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23054 <libm-alias-double.h>.
23055 (llround): Define using libm_alias_double.
23056 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23057 <libm-alias-double.h>.
23058 (lrint): Define using libm_alias_double.
23059 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23060 <libm-alias-double.h>.
23061 (lround): Define using libm_alias_double.
23062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
23063 <libm-alias-double.h>.
23064 (copysign): Define using libm_alias_double.
23065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
23066 <libm-alias-double.h>.
23067 (llrint): Define using libm_alias_double.
23069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
23070 <libm-alias-double.h>.
23071 (llround): Define using libm_alias_double.
23072 (lround): Likewise.
23073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
23074 <libm-alias-double.h>.
23075 (logb): Define using libm_alias_double.
23076 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23077 <libm-alias-double.h>.
23078 (copysign): Define using libm_alias_double.
23079 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23080 <libm-alias-double.h>.
23081 (llrint): Define using libm_alias_double.
23083 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
23084 <libm-alias-double.h>.
23085 (llround): Define using libm_alias_double.
23086 (lround): Likewise.
23087 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23088 <libm-alias-double.h>.
23089 (llround): Define using libm_alias_double.
23090 (lround): Likewise.
23091 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23092 <libm-alias-double.h>.
23093 (copysign): Define using libm_alias_double.
23094 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23095 <libm-alias-double.h>.
23096 (llrint): Define using libm_alias_double.
23098 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23099 <libm-alias-double.h>.
23100 (llround): Define using libm_alias_double.
23101 (lround): Likewise.
23102 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23103 <libm-alias-double.h>.
23104 (llrint): Define using libm_alias_double.
23106 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23107 <libm-alias-double.h>.
23108 (llround): Define using libm_alias_double.
23109 (lround): Likewise.
23111 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23114 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
23115 compat symbol based on llround.
23117 * sysdeps/powerpc/power7/fpu/s_logb.c
23118 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
23119 symbol based on __logb, not on logb.
23120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
23121 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
23123 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23125 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
23126 (rint): Define using libm_alias_double.
23127 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
23128 <libm-alias-double.h>.
23129 (modf): Define using libm_alias_double.
23130 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
23131 <libm-alias-double.h>.
23132 (ceil): Define using libm_alias_double.
23133 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
23134 <libm-alias-double.h>.
23135 (floor): Define using libm_alias_double.
23136 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
23137 <libm-alias-double.h>.
23138 (nearbyint): Define using libm_alias_double.
23139 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
23140 <libm-alias-double.h>.
23141 (rint): Define using libm_alias_double.
23142 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
23143 <libm-alias-double.h>.
23144 (round): Define using libm_alias_double.
23145 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
23146 <libm-alias-double.h>.
23147 (trunc): Define using libm_alias_double.
23148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
23149 <libm-alias-double.h>.
23150 (ceil): Define using libm_alias_double.
23151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
23152 Include <libm-alias-double.h>.
23153 (floor): Define using libm_alias_double.
23154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
23155 <libm-alias-double.h>.
23156 (modf): Define using libm_alias_double.
23157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
23158 Include <libm-alias-double.h>.
23159 (round): Define using libm_alias_double.
23160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
23161 Include <libm-alias-double.h>.
23162 (trunc): Define using libm_alias_double.
23163 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
23164 <libm-alias-double.h>.
23165 (ceil): Define using libm_alias_double.
23166 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
23167 <libm-alias-double.h>.
23168 (floor): Define using libm_alias_double.
23169 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
23170 <libm-alias-double.h>.
23171 (round): Define using libm_alias_double.
23172 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
23173 <libm-alias-double.h>.
23174 (trunc): Define using libm_alias_double.
23175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
23176 <libm-alias-double.h>.
23177 (ceil): Define using libm_alias_double.
23178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
23179 <libm-alias-double.h>.
23180 (floor): Define using libm_alias_double.
23181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
23182 <libm-alias-double.h>.
23183 (modf): Define using libm_alias_double.
23184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
23185 <libm-alias-double.h>.
23186 (round): Define using libm_alias_double.
23187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
23188 <libm-alias-double.h>.
23189 (trunc): Define using libm_alias_double.
23190 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
23191 <libm-alias-double.h>.
23192 (ceil): Define using libm_alias_double.
23193 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
23194 <libm-alias-double.h>.
23195 (floor): Define using libm_alias_double.
23196 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
23197 <libm-alias-double.h>.
23198 (nearbyint): Define using libm_alias_double.
23199 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
23200 <libm-alias-double.h>.
23201 (rint): Define using libm_alias_double.
23202 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
23203 <libm-alias-double.h>.
23204 (round): Define using libm_alias_double.
23205 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
23206 <libm-alias-double.h>.
23207 (trunc): Define using libm_alias_double.
23208 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
23209 <libm-alias-double.h>.
23210 (ceil): Define using libm_alias_double.
23211 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
23212 <libm-alias-double.h>.
23213 (floor): Define using libm_alias_double.
23214 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
23215 <libm-alias-double.h>.
23216 (round): Define using libm_alias_double.
23217 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
23218 <libm-alias-double.h>.
23219 (trunc): Define using libm_alias_double.
23221 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
23222 (fabs): Define using libm_alias_double.
23223 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
23224 (fma): Define using libm_alias_double.
23225 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
23226 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
23227 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
23228 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
23230 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23232 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
23234 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
23235 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
23236 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
23239 due redirect macro.
23241 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
23243 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
23245 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23247 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
23248 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
23249 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
23250 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
23252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23253 (libm-sysdep_routines): Add s_nearbyintf-generic and
23254 s_nearbyint-generic.
23255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
23257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
23258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
23260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
23262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
23264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23268 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
23269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
23271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
23272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
23274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
23275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
23276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23279 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
23280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
23282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
23283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
23285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
23286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
23287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
23289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23290 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
23291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
23293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
23294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
23296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
23297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
23298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23301 (sysdep_calls): New rule.
23302 (sysdep_routines): Use sysdep_calls as base.
23303 (libm-sysdep_routines): Add generic rule for symbols shared with
23304 libc. Add s_copysign-generic and s_copysign-generic objects.
23305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
23307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
23308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
23310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
23311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
23312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
23314 2017-12-01 Mike FABIAN <mfabian@redhat.com>
23317 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
23318 the list of locales to be built for testing.
23319 * localedata/is_IS.UTF-8.in: New file.
23320 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
23323 2017-12-01 Joseph Myers <joseph@codesourcery.com>
23325 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
23326 <libm-alias-float.h>.
23327 (fabsf): Define using libm_alias_float.
23329 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23331 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
23333 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23335 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
23336 <libm-alias-float.h>.
23337 (fabsf): Define using libm_alias_float.
23338 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
23339 <libm-alias-float.h>.
23340 (lrintf): Define using libm_alias_float.
23341 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
23342 <libm-alias-float.h>.
23343 (rintf): Define using libm_alias_float.
23345 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
23346 <libm-alias-double.h>.
23347 (fabs): Define using libm_alias_double.
23348 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
23349 <libm-alias-double.h>.
23350 (lrint): Define using libm_alias_double.
23351 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
23352 <libm-alias-double.h>.
23353 (rint): Define using libm_alias_double.
23355 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
23356 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
23357 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
23358 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
23359 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
23360 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
23361 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
23362 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
23363 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
23364 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
23365 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
23366 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
23367 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
23368 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
23369 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
23370 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
23371 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
23372 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
23374 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
23375 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
23376 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
23378 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
23379 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
23380 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
23382 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
23383 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
23384 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
23385 s_expm1_template.c.
23386 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
23387 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
23388 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
23390 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
23391 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
23392 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
23393 s_floor_template.c.
23394 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
23395 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
23396 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
23397 s_frexp_template.c.
23398 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
23399 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
23400 s_lrint_template.c.
23401 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
23402 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
23403 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
23405 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
23406 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
23407 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
23408 s_nearbyint_template.c.
23409 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
23410 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
23411 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
23412 s_remquo_template.c.
23413 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
23414 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
23415 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
23417 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
23418 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
23419 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
23421 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
23422 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
23423 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
23424 s_sincos_template.c.
23425 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
23426 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
23427 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
23429 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
23430 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
23431 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
23433 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
23434 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
23435 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
23436 s_trunc_template.c.
23437 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
23438 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
23439 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
23440 s_atan.c instead of including s_atan.c.
23441 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
23442 s_atanf.c instead of including s_atanf.c.
23443 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
23444 s_atanl.c instead of including s_atanl.c.
23445 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
23446 instead of s_atan.c.
23447 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
23448 instead of s_atanf.c.
23449 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
23450 instead of s_atanl.c.
23452 * scripts/update-copyrights: Do not handle intl/plural.c
23455 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
23458 * configure.ac (BISON): Require to be present.
23459 * configure: Regenerated.
23460 * intl/Makefile (generated): Add plural.c.
23461 [$(BISON) != no]: Make code unconditional.
23462 (plural.c): Change rule to $(objpfx)plural.c.
23463 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
23464 * intl/plural.c: Remove.
23465 * manual/install.texi (Tools for Compilation): Document bison as
23467 * INSTALL: Regenerated.
23469 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23471 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
23472 <libm-alias-double.h>.
23473 (llrint): Define using libm_alias_double.
23474 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
23475 <libm-alias-float.h>.
23476 (llrintf): Define using libm_alias_float.
23477 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
23478 <libm-alias-ldouble.h>.
23479 (llrintl): Define using libm_alias_ldouble.
23481 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
23482 declare_mgen_alias instead of weak_alias.
23483 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
23484 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
23485 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
23487 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23489 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23491 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
23492 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
23493 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
23495 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23496 Add submul_1-generic.
23497 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
23498 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
23499 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
23501 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23502 Add addmul_1-generic.
23503 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
23504 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
23505 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
23507 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23509 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
23510 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
23511 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
23513 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23515 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
23516 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
23517 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
23519 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23521 According to CLDR, collation rules for Serbian and Bosnian
23522 should be the same as for Croatian.
23525 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
23526 and to the list of locales to be built for testing.
23527 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23528 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23529 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
23530 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
23532 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23534 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
23535 to make test case pass.
23536 * localedata/hr_HR.UTF-8.in: Add more test strings.
23538 2017-11-30 Mike FABIAN <mfabian@redhat.com>
23540 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
23542 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
23544 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
23545 the list of locales to built for testing.
23546 * localedata/hr_HR.UTF-8.in: New file.
23548 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
23551 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
23553 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
23554 CLDR (except use ligatures for the digraphs, CLDR does not use
23555 the ligatures), add first_workday, some fixes in the date and time
23557 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
23559 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
23560 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
23561 Add int_p_cs_precedes and int_n_cs_precedes.
23562 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
23563 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
23565 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
23566 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
23568 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
23569 and lang_lib. Change postal_fmt.
23571 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23573 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
23575 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23576 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
23577 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23578 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
23579 * sysdeps/generic/setjmpP.h: New file.
23580 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
23581 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
23582 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
23583 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
23584 Add jmp_buf-ssp.sym.
23585 (tests): Add tst-saved_mask-1.
23587 2017-11-30 Arjun Shankar <arjun@redhat.com>
23591 * malloc/malloc.c (__libc_malloc): Use checked_request2size
23592 instead of request2size.
23594 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
23597 (__lllrint): Remove alias.
23598 (lllrint): Likewise.
23599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
23600 (__lllrintf): Likewise.
23601 (lllrintf): Likewise.
23603 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
23604 <libm-alias-float.h>.
23605 (copysignf): Define using libm_alias_float.
23606 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
23607 <libm-alias-float.h>.
23608 (fabsf): Define using libm_alias_float.
23609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23610 Include <libm-alias-float.h>.
23611 (copysignf): Define using libm_alias_float.
23612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23613 <libm-alias-float.h>.
23614 (fabsf): Define using libm_alias_float.
23615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23616 <libm-alias-float.h>.
23617 (fdimf): Define using libm_alias_float.
23618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23619 <libm-alias-float.h>.
23620 (fmaf): Define using libm_alias_float.
23621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23622 <libm-alias-float.h>.
23623 (llrintf): Define using libm_alias_float.
23624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23625 Include <libm-alias-float.h>.
23626 (nearbyintf): Define using libm_alias_float.
23627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23628 <libm-alias-float.h>.
23629 (rintf): Define using libm_alias_float.
23630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23631 <libm-alias-float.h>.
23632 (llrintf): Define using libm_alias_float.
23633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23634 <libm-alias-float.h>.
23635 (lrintf): Define using libm_alias_float.
23636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23637 <libm-alias-float.h>.
23638 (nearbyintf): Define using libm_alias_float.
23639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23640 <libm-alias-float.h>.
23641 (rintf): Define using libm_alias_float.
23642 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23643 <libm-alias-float.h>.
23644 (ceilf): Define using libm_alias_float.
23645 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23646 <libm-alias-float.h>.
23647 (floorf): Define using libm_alias_float.
23648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23649 <libm-alias-float.h>.
23650 (fmaf): Define using libm_alias_float.
23651 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23652 <libm-alias-float.h>.
23653 (lrintf): Define using libm_alias_float.
23654 (llrintf): Likewise.
23655 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23656 <libm-alias-float.h>.
23657 (nearbyintf): Define using libm_alias_float.
23658 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23659 <libm-alias-float.h>.
23660 (rintf): Define using libm_alias_float.
23661 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23662 <libm-alias-float.h>.
23663 (truncf): Define using libm_alias_float.
23664 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
23665 <libm-alias-float.h>.
23666 (copysignf): Define using libm_alias_float.
23667 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
23668 <libm-alias-float.h>.
23669 (fabsf): Define using libm_alias_float.
23670 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
23671 <libm-alias-float.h>.
23672 (lrintf): Define using libm_alias_float.
23673 (llrintf): Likewise.
23674 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
23675 <libm-alias-float.h>.
23676 (nearbyintf): Define using libm_alias_float.
23677 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
23678 <libm-alias-float.h>.
23679 (rintf): Define using libm_alias_float.
23681 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23683 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23684 <libm-alias-double.h>.
23685 (copysign): Define using libm_alias_double.
23686 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
23687 <libm-alias-double.h>.
23688 (fabs): Define using libm_alias_double.
23689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23690 Include <libm-alias-double.h>.
23691 (copysign): Define using libm_alias_double.
23692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23693 <libm-alias-double.h>.
23694 (fabs): Define using libm_alias_double.
23695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
23696 <libm-alias-double.h>.
23697 (fdim): Define using libm_alias_double.
23698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
23699 <libm-alias-double.h>.
23700 (fma): Define using libm_alias_double.
23701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
23702 <libm-alias-double.h>.
23703 (llrint): Define using libm_alias_double.
23704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
23705 Include <libm-alias-double.h>.
23706 (nearbyint): Define using libm_alias_double.
23707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
23708 <libm-alias-double.h>.
23709 (rint): Define using libm_alias_double.
23710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23711 <libm-alias-double.h>.
23712 (fabs): Define using libm_alias_double.
23713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
23714 <libm-alias-double.h>.
23715 (llrint): Define using libm_alias_double.
23716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
23717 <libm-alias-double.h>.
23718 (nearbyint): Define using libm_alias_double.
23719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
23720 <libm-alias-double.h>.
23721 (rint): Define using libm_alias_double.
23722 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
23723 <libm-alias-double.h>.
23724 (ceil): Define using libm_alias_double.
23725 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
23726 <libm-alias-double.h>.
23727 (floor): Define using libm_alias_double.
23728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
23729 <libm-alias-double.h>.
23730 (fma): Define using libm_alias_double.
23731 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
23732 <libm-alias-double.h>.
23733 (lrint): Define using libm_alias_double.
23734 (llrint): Likewise.
23735 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
23736 <libm-alias-double.h>.
23737 (nearbyint): Define using libm_alias_double.
23738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
23739 <libm-alias-double.h>.
23740 (rint): Define using libm_alias_double.
23741 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
23742 <libm-alias-double.h>.
23743 (trunc): Define using libm_alias_double.
23744 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
23745 <libm-alias-double.h>.
23746 (copysign): Define using libm_alias_double.
23747 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
23748 <libm-alias-double.h>.
23749 (fabs): Define using libm_alias_double.
23750 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
23751 <libm-alias-double.h>.
23752 (lrint): Define using libm_alias_double.
23753 (llrint): Likewise.
23754 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
23755 <libm-alias-double.h>.
23756 (nearbyint): Define using libm_alias_double.
23757 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
23758 <libm-alias-double.h>.
23759 (rint): Define using libm_alias_double.
23762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23764 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23766 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23767 SPARC --disable-multi-arch glibc variants.
23769 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23770 <libm-alias-float.h>.
23771 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23773 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23774 <libm-alias-float.h>.
23775 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23777 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23778 <libm-alias-float.h>.
23779 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23781 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23782 <libm-alias-float.h>.
23783 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23785 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23786 <libm-alias-float.h>.
23787 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23789 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23790 <libm-alias-float.h>.
23791 (ceilf): Define using libm_alias_float.
23792 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23793 <libm-alias-float.h>.
23794 (floorf): Define using libm_alias_float.
23795 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23796 <libm-alias-float.h>.
23797 (fmaf): Define using libm_alias_float.
23798 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23799 <libm-alias-float.h>.
23800 (nearbyintf): Define using libm_alias_float.
23801 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23802 <libm-alias-float.h>.
23803 (rintf): Define using libm_alias_float.
23804 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23805 <libm-alias-float.h>.
23806 (truncf): Define using libm_alias_float.
23807 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23808 (copysignf): Define using libm_alias_float.
23809 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23810 (cosf): Define using libm_alias_float.
23811 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23812 (fabsf): Define using libm_alias_float.
23813 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23814 (fmaxf): Define using libm_alias_float.
23815 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23816 (fminf): Define using libm_alias_float.
23817 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23818 (llrintf): Define using libm_alias_float.
23819 [!__ILP32__] (lrintf): Likewise.
23820 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23821 (sincosf): Define using libm_alias_float.
23822 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23823 (sinf): Define using libm_alias_float.
23824 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23825 (lrintf): Define using libm_alias_float.
23827 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23828 <libm-alias-double.h>.
23829 (atan): Define using libm_alias_double.
23830 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23831 <libm-alias-double.h>.
23832 (ceil): Define using libm_alias_double.
23833 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23834 <libm-alias-double.h>.
23835 (floor): Define using libm_alias_double.
23836 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23837 <libm-alias-double.h>.
23838 (fma): Define using libm_alias_double.
23839 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23840 <libm-alias-double.h>.
23841 (nearbyint): Define using libm_alias_double.
23842 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23843 <libm-alias-double.h>.
23844 (rint): Define using libm_alias_double.
23845 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23846 <libm-alias-double.h>.
23847 (sin): Define using libm_alias_double.
23849 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23850 <libm-alias-double.h>.
23851 (tan): Define using libm_alias_double.
23852 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23853 <libm-alias-double.h>.
23854 (trunc): Define using libm_alias_double.
23855 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23856 (copysign): Define using libm_alias_double.
23857 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23858 (fabs): Define using libm_alias_double.
23859 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23860 (fmax): Define using libm_alias_double.
23861 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23862 (fmin): Define using libm_alias_double.
23863 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23864 (llrint): Define using libm_alias_double.
23865 [!__ILP32__] (lrint): Likewise.
23866 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23867 (lrint): Define using libm_alias_double.
23869 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23871 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23872 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23874 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23875 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23876 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23877 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23878 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23881 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23882 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23884 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23885 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23886 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23887 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23888 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23889 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23892 (libm-sysdep_routines): Add s_nearbyint-generic and
23893 s_nearbyintf-generic objects.
23894 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23895 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23896 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23897 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23898 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23899 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23901 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23902 Add s_finitef-generic and s_finite-generic objects.
23903 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23904 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23905 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23906 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23907 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23908 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23910 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23911 Add s_isinff-generic and s_isinf-generic objects.
23912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23919 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23920 Add s_isnanf-generic and s_isnan-generic objects.
23921 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23922 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23923 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23925 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23928 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23930 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23932 (sysdep_routines): Use sysdep_calls as base.
23933 (libm-sysdep_routines): Add generic rule for symbols shared with
23934 libc. Add s_signbit-generic and s_signbitf-generic objects.
23935 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23936 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23937 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23938 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23942 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23944 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23945 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23946 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23947 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23948 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23949 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23950 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23951 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23952 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23953 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23954 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23955 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23956 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23957 libm_alias_float_r.
23958 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23959 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23961 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23962 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23963 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23964 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23965 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23966 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23967 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23968 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23969 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23970 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23972 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23974 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23975 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23976 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23977 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23978 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23979 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23980 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23981 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23982 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23983 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23984 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23985 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23986 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23987 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23988 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23989 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23990 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23991 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23992 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23994 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23995 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23996 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23997 * sysdeps/ia64/fpu/w_lgammaf_main.c
23998 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23999 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
24001 2017-11-28 Mike FABIAN <mfabian@redhat.com>
24002 Alexandre Oliva <aoliva@redhat.com>
24005 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
24006 * localedata/fr_CA.UTF-8.in: New file with test data for backward
24008 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
24010 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
24011 * localedata/locales/de_DE (LC_COLLATE): Likewise.
24012 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
24013 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
24014 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
24015 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
24016 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
24017 instead of “ifdef DIACRIT_BACKWARD”.
24019 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24021 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
24022 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
24023 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
24024 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
24025 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
24026 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
24027 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
24028 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
24029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
24030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
24031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
24032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
24033 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
24034 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
24035 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
24036 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24037 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
24038 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
24039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24040 ($(have-as-vis3) == yes): Remove conditional.
24041 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
24043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
24045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
24047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
24049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
24051 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
24052 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
24053 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
24054 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
24055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
24056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
24057 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
24058 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
24060 2017-11-29 Joseph Myers <joseph@codesourcery.com>
24062 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
24063 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
24064 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
24065 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
24066 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
24067 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
24068 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
24069 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
24070 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
24071 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
24072 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
24073 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
24074 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
24075 libm_alias_double_r.
24076 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
24078 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
24079 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
24080 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
24081 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
24082 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
24083 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
24084 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
24085 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
24086 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
24087 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
24088 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
24090 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
24092 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
24093 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
24094 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
24095 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
24096 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
24097 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
24098 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
24099 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
24100 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
24101 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
24102 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
24103 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
24104 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
24105 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
24106 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
24107 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
24108 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
24109 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
24111 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
24112 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
24113 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
24114 * sysdeps/ia64/fpu/w_lgamma_main.c
24115 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
24116 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
24118 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
24120 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
24121 address of $global$ into %dp register earlier. Use pc-relative
24122 instruction sequence for PIC case.
24124 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24126 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
24127 (asinhf): Define using libm_alias_float.
24128 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
24129 (atanf): Define using libm_alias_float.
24130 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
24131 (cbrtf): Define using libm_alias_float.
24132 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
24133 (ceilf): Define using libm_alias_float.
24134 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24135 (copysignf): Define using libm_alias_float.
24136 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
24137 (expm1f): Define using libm_alias_float.
24138 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
24139 (fabsf): Define using libm_alias_float.
24140 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
24141 (floorf): Define using libm_alias_float.
24142 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24143 (fmaxf): Define using libm_alias_float.
24144 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
24145 (fminf): Define using libm_alias_float.
24146 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
24147 (frexpf): Define using libm_alias_float.
24148 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24149 (llrintf): Define using libm_alias_float.
24150 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
24151 (logbf): Define using libm_alias_float.
24152 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24153 (lrintf): Define using libm_alias_float.
24154 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
24155 (nearbyintf): Define using libm_alias_float.
24156 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
24157 (remquof): Define using libm_alias_float.
24158 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
24159 (rintf): Define using libm_alias_float.
24160 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
24161 (truncf): Define using libm_alias_float.
24162 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
24163 <libm-alias-float.h>.
24164 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24166 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
24167 <libm-alias-float.h>.
24168 (expf): Define using libm_alias_float, or libm_alias_float_other
24170 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
24171 <libm-alias-float.h>.
24172 (log2f): Define using libm_alias_float, or libm_alias_float_other
24174 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
24175 <libm-alias-float.h>.
24176 (logf): Define using libm_alias_float, or libm_alias_float_other
24178 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
24179 <libm-alias-float.h>.
24180 (powf): Define using libm_alias_float, or libm_alias_float_other
24182 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
24183 <libm-alias-float.h>.
24184 (cosf): Define using libm_alias_float.
24185 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
24186 <libm-alias-float.h>.
24187 (sincosf): Define using libm_alias_float.
24188 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
24189 <libm-alias-float.h>.
24190 (sinf): Define using libm_alias_float.
24191 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24192 (fmaxf): Define using libm_alias_float.
24193 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
24194 (fminf): Define using libm_alias_float.
24195 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24196 <libm-alias-float.h>.
24197 (fmaf): Define using libm_alias_float.
24199 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
24200 (asinh): Define using libm_alias_double.
24201 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
24202 (atan): Define using libm_alias_double.
24203 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
24204 (cbrt): Define using libm_alias_double.
24205 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
24206 (ceil): Define using libm_alias_double.
24207 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
24208 (copysign): Define using libm_alias_double.
24209 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
24210 (expm1): Define using libm_alias_double.
24211 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
24212 (fabs): Define using libm_alias_double.
24213 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
24214 (fdim): Define using libm_alias_double.
24215 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
24216 (floor): Define using libm_alias_double.
24217 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
24218 (fmax): Define using libm_alias_double.
24219 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
24220 (fmin): Define using libm_alias_double.
24221 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
24222 (frexp): Define using libm_alias_double.
24223 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
24224 (llrint): Define using libm_alias_double.
24225 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
24226 (logb): Define using libm_alias_double.
24227 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
24228 (lrint): Define using libm_alias_double.
24229 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
24230 (nearbyint): Define using libm_alias_double.
24231 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
24232 (remquo): Define using libm_alias_double.
24233 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
24234 (rint): Define using libm_alias_double.
24235 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
24236 (trunc): Define using libm_alias_double.
24237 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
24238 (fmax): Define using libm_alias_double.
24239 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
24240 (fmin): Define using libm_alias_double.
24241 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
24242 (fma): Define using libm_alias_double.
24244 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
24247 * elf/dl-hwcaps.c (ROUND): Removed.
24248 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
24249 and ELF_NOTE_NEXT_OFFSET.
24250 * elf/dl-load.c (ROUND): Removed.
24251 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24252 * elf/readelflib.c (ROUND): Removed.
24253 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24254 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
24255 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
24256 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
24258 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24260 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24261 [!__fmaf] (fmaf): Define using libm_alias_float.
24263 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
24264 [!__fma] (fma): Define using libm_alias_double.
24265 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
24267 2017-11-28 Mike FABIAN <mfabian@redhat.com>
24270 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
24271 and implement the collation rules for cs from CLDR on top of that.
24272 * Makefile: Add cs_CZ.UTF-8 to test-input.
24273 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
24275 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
24277 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
24279 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24280 Icarus Sparry <icarus.w.sparry@intel.com>
24282 * benchtests/Makefile:Add BENCHSET to allow subsets of
24283 benchmarks to be run.
24284 * benchtests/README: Add documentation for: Running subsets of
24287 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24289 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
24290 range of tests names.
24292 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
24293 result from property and remove "max", min" and "mean" from
24294 required properties based on benchtests/bench-skeleton.c.
24296 2017-11-28 Florian Weimer <fweimer@redhat.com>
24299 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
24300 due to Internet requirement.
24301 * posix/Makefile (tests): Remove tst-getaddrinfo4,
24303 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
24305 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24307 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24308 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
24309 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24310 (sysdep_routines): Add memset-ultra1.
24311 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
24313 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
24314 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
24315 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
24316 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
24317 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
24318 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
24319 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
24320 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24322 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
24324 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
24325 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
24326 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
24327 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
24328 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
24329 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
24330 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
24332 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24333 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
24334 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24335 (sysdep_routines): Add memcpy-ultra1.
24336 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
24337 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
24339 2017-11-28 Joseph Myers <joseph@codesourcery.com>
24341 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
24342 (cfloat_versions): Take function argument without trailing 'f'.
24343 Call libm_alias_float_other.
24344 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
24345 * sysdeps/alpha/fpu/cargf.c: Likewise.
24346 * sysdeps/alpha/fpu/cimagf.c: Likewise.
24347 * sysdeps/alpha/fpu/conjf.c: Likewise.
24348 * sysdeps/alpha/fpu/crealf.c: Likewise.
24349 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
24350 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
24351 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
24352 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
24353 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
24354 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
24355 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
24356 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
24357 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
24358 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
24359 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
24360 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
24361 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
24362 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
24363 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
24364 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
24365 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
24366 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
24367 (clog10f): Use libm_alias_float_other.
24368 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24369 (ceilf): Define using libm_alias_float.
24370 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
24371 (copysignf): Define using libm_alias_float.
24372 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24373 (fabsf): Define using libm_alias_float.
24374 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
24375 (floorf): Define using libm_alias_float.
24376 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
24377 (fmaxf): Define using libm_alias_float.
24378 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
24379 (fminf): Define using libm_alias_float.
24380 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24381 (lrintf): Define using libm_alias_float.
24382 (llrintf): Likewise.
24383 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24384 (lroundf): Define using libm_alias_float.
24385 (llroundf): Likewise.
24386 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
24387 (rintf): Define using libm_alias_float.
24388 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
24389 (truncf): Define using libm_alias_float.
24391 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24392 (ceilf): Define using libm_alias_float.
24393 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
24394 (floorf): Define using libm_alias_float.
24395 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24396 (fmaf): Define using libm_alias_float.
24397 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
24398 (fmaxf): Define using libm_alias_float.
24399 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
24400 (fminf): Define using libm_alias_float.
24401 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
24402 (llrintf): Define using libm_alias_float.
24403 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
24404 (llroundf): Define using libm_alias_float.
24405 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24406 (lrintf): Define using libm_alias_float.
24407 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24408 (lroundf): Define using libm_alias_float.
24409 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
24410 <libm-alias-float.h>.
24411 (nearbyintf): Define using libm_alias_float.
24412 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
24413 (rintf): Define using libm_alias_float.
24414 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
24415 (roundf): Define using libm_alias_float.
24416 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
24417 (truncf): Define using libm_alias_float.
24419 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
24420 (ceil): Define using libm_alias_double.
24421 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
24422 (copysign): Define using libm_alias_double.
24423 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
24424 (fabs): Define using libm_alias_double.
24425 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
24426 (floor): Define using libm_alias_double.
24427 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
24428 (fmax): Define using libm_alias_double.
24429 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
24430 (fmin): Define using libm_alias_double.
24431 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
24432 (lrint): Define using libm_alias_double.
24433 (llrint): Likewise.
24434 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
24435 (lround): Define using libm_alias_double.
24436 (llround): Likewise.
24437 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
24438 (rint): Define using libm_alias_double.
24439 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
24440 (trunc): Define using libm_alias_double.
24442 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24443 (libm_alias_double_r): Add semicolon after weak_alias call.
24445 2017-11-27 Joseph Myers <joseph@codesourcery.com>
24447 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
24448 (ceil): Define using libm_alias_double.
24449 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
24450 (floor): Define using libm_alias_double.
24451 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
24452 (fma): Define using libm_alias_double.
24453 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
24454 (fmax): Define using libm_alias_double.
24455 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
24456 (fmin): Define using libm_alias_double.
24457 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
24458 (llrint): Define using libm_alias_double.
24459 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
24460 (llround): Define using libm_alias_double.
24461 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
24462 (lrint): Define using libm_alias_double.
24463 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
24464 (lround): Define using libm_alias_double.
24465 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
24466 (nearbyint): Define using libm_alias_double.
24467 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
24468 (rint): Define using libm_alias_double.
24469 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
24470 (round): Define using libm_alias_double.
24471 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
24472 (trunc): Define using libm_alias_double.
24474 2017-11-27 Florian Weimer <fweimer@redhat.com>
24476 * sysdeps/unix/sysv/linux/mlock2.c: New file.
24477 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
24478 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
24479 (tests): Add tst-mlock2.
24480 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
24481 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
24482 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
24483 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
24484 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
24485 for mlock. Document mlock2.
24487 2017-11-27 Joseph Myers <joseph@codesourcery.com>
24489 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
24490 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
24492 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
24494 * sysdeps/x86/Makeconfig: New file.
24495 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
24496 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24497 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
24498 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24499 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24500 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24501 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
24503 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24504 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24505 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24506 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24507 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24508 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24509 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24510 * manual/math.texi (Mathematics): Document support for _Float64x.
24511 * math/Versions (GLIBC_2.27): Add _Float64x functions.
24512 * stdlib/Versions (GLIBC_2.27): Likewise.
24513 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24514 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24515 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24516 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24517 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24518 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24519 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24520 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24521 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24522 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24523 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24524 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24529 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24530 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24531 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24532 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24533 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24534 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24535 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24536 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24537 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24538 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24539 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24540 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24541 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24542 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24544 2017-11-27 Andreas Schwab <schwab@suse.de>
24546 * elf/Makefile (dl-routines): Add dl-sort-maps.
24547 * elf/dl-sort-maps.c: New file.
24548 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
24549 (_dl_sort_maps): Declare.
24550 * elf/dl-fini.c (_dl_sort_fini): Remove.
24551 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
24552 * elf/dl-close.c (_dl_close_worker): Likewise.
24553 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
24555 * elf/dl-open.c (dl_open_worker): Likewise.
24557 2017-11-24 Joseph Myers <joseph@codesourcery.com>
24559 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
24560 using libm_alias_float128.
24561 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
24563 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
24565 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
24566 (setpayloadsigf128): Likewise.
24567 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
24569 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
24572 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
24573 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
24574 -mfloat128 to CFLAGS.
24576 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
24578 (CFLAGS-libm-test-support-float64x.c): New variable.
24579 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
24580 $(f128-loader-link) to gnulib-tests.
24582 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
24583 (libm_alias_float128_other_r): If
24584 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
24586 (libm_alias_float128_r): Add semicolon after weak_alias call.
24587 * sysdeps/generic/libm-alias-ldouble.h
24588 (libm_alias_ldouble_other_r_f128): New macro.
24589 (libm_alias_ldouble_other_r_f64x): Likewise.
24590 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24591 and libm_alias_ldouble_other_r_f64x.
24592 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24593 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24594 (libm_alias_ldouble_other_r_f128): New macro.
24595 (libm_alias_ldouble_other_r_f64x): Likewise.
24596 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24597 and libm_alias_ldouble_other_r_f64x.
24599 * stdlib/strfroml.c: Always include <stdlib.h>.
24600 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
24601 undefine as macro and define as weak alias.
24602 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
24603 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
24605 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
24606 Define and later undefine as macro and define as weak alias.
24608 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24609 Define and later undefine as macro. Define as weak alias if
24611 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24612 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24613 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24614 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24615 Define and later undefine as macro. Define as weak alias if
24617 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24618 Define and later undefine as macro. Define as weak alias if
24620 * sysdeps/ieee754/float128/strtof128_l.c
24621 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24622 Define and later undefine as macro. Define as weak alias if
24624 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24625 Define and later undefine as macro. Define as weak alias if
24627 * sysdeps/ieee754/ldbl-128/strtold_l.c
24628 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24629 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24630 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24631 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24632 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24633 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24634 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24635 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24636 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24637 * sysdeps/ieee754/ldbl-96/strtold_l.c
24638 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24639 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24640 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24641 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24643 * math/test-float64x.h: New file.
24644 * math/Makefile (type-float64x-yes): New variable.
24645 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24647 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24648 function-like macro.
24649 (min_of_type_): Likewise.
24650 (min_of_type_l): Likewise.
24651 (min_of_type_f128): Likewise.
24652 (min_of_type): Pass () as last argument of __MATH_TG.
24654 * stdlib/tst-strtod-round-skeleton.c
24655 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24658 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24659 for combinations of long double with _Float64 and _Float64x.
24661 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24662 (__DECL_SIMD_cosf32): Likewise.
24663 (__DECL_SIMD_cosf64): Likewise.
24664 (__DECL_SIMD_cosf32x): Likewise.
24665 (__DECL_SIMD_cosf64x): Likewise.
24666 (__DECL_SIMD_cosf128x): Likewise.
24667 (__DECL_SIMD_sinf16): Likewise.
24668 (__DECL_SIMD_sinf32): Likewise.
24669 (__DECL_SIMD_sinf64): Likewise.
24670 (__DECL_SIMD_sinf32x): Likewise.
24671 (__DECL_SIMD_sinf64x): Likewise.
24672 (__DECL_SIMD_sinf128x): Likewise.
24673 (__DECL_SIMD_sincosf16): Likewise.
24674 (__DECL_SIMD_sincosf32): Likewise.
24675 (__DECL_SIMD_sincosf64): Likewise.
24676 (__DECL_SIMD_sincosf32x): Likewise.
24677 (__DECL_SIMD_sincosf64x): Likewise.
24678 (__DECL_SIMD_sincosf128x): Likewise.
24679 (__DECL_SIMD_logf16): Likewise.
24680 (__DECL_SIMD_logf32): Likewise.
24681 (__DECL_SIMD_logf64): Likewise.
24682 (__DECL_SIMD_logf32x): Likewise.
24683 (__DECL_SIMD_logf64x): Likewise.
24684 (__DECL_SIMD_logf128x): Likewise.
24685 (__DECL_SIMD_expf16): Likewise.
24686 (__DECL_SIMD_expf32): Likewise.
24687 (__DECL_SIMD_expf64): Likewise.
24688 (__DECL_SIMD_expf32x): Likewise.
24689 (__DECL_SIMD_expf64x): Likewise.
24690 (__DECL_SIMD_expf128x): Likewise.
24691 (__DECL_SIMD_powf16): Likewise.
24692 (__DECL_SIMD_powf32): Likewise.
24693 (__DECL_SIMD_powf64): Likewise.
24694 (__DECL_SIMD_powf32x): Likewise.
24695 (__DECL_SIMD_powf64x): Likewise.
24696 (__DECL_SIMD_powf128x): Likewise.
24698 * stdlib/Versions (libc): Move entries for wcstof128 and
24699 wcstof128_l to ....
24700 * wcsmbs/Versions (libc): ... here.
24701 Include <float128-abi.h>.
24703 2017-11-24 Florian Weimer <fweimer@redhat.com>
24705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24706 bits/mman-shared.h.
24707 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
24708 <bits/mman-shared.h>.
24709 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
24711 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
24712 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
24713 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
24714 <bits/mman-shared.h>.
24716 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24719 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
24720 posix_memalign/free.
24721 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
24723 2017-11-22 Mike FABIAN <mfabian@redhat.com>
24726 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
24727 and implement the collation rules for pl from CLDR on top of that.
24728 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
24729 of locales to be built for testing.
24730 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
24732 2017-11-23 Joseph Myers <joseph@codesourcery.com>
24734 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
24735 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
24736 libm_alias_ldouble_other.
24737 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
24738 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
24739 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
24740 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
24741 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
24742 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
24743 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
24744 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
24745 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
24746 libm_alias_ldouble_r.
24747 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
24748 libm_alias_ldouble_other.
24749 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
24750 (log10l): Likewise.
24751 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
24752 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
24753 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
24754 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
24755 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
24756 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
24757 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
24758 (atan2l): Likewise.
24759 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
24760 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
24761 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
24762 libm_alias_ldouble.
24763 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24765 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24766 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24767 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24769 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24770 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24771 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24772 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24773 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24774 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24775 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24776 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24777 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24778 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24779 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24780 libm_alias_ldouble.
24781 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24782 libm_alias_ldouble_other.
24783 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24784 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24785 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24786 libm_alias_ldouble.
24787 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24788 libm_alias_ldouble_other.
24789 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24790 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24791 * sysdeps/ia64/fpu/w_lgammal_main.c
24792 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24793 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24795 2017-11-23 Florian Weimer <fweimer@redhat.com>
24797 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24798 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24799 alike. Remove freeres marker.
24800 * malloc/arena.c (arena_thread_freeres): Call
24801 tcache_thread_shutdown.
24803 2017-11-23 Florian Weimer <fweimer@redhat.com>
24806 Export nscd hash function as __nss_hash.
24807 * include/nss.h (__nss_hash): Declare.
24808 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24810 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24811 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24813 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24814 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24815 * nss/Makefiles (routines): Add nss_hash.
24816 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24817 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24818 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24819 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24821 2017-11-23 Florian Weimer <fweimer@redhat.com>
24824 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24825 Return error code, not -1.
24826 * signal/tst-sigwait-eintr.c: New file.
24827 * signal/Makefile (tests): Add tst-sigwait-eintr.
24829 2017-11-23 Florian Weimer <fweimer@redhat.com>
24831 Linux: Add memfd_create system call wrapper
24832 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24834 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24835 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24836 [__USE_GNU] (memfd_create): Declare.
24837 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24838 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24839 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24840 * sysdeps/unix/sysv/linux/**.abilist: Update.
24841 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24843 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24845 * localedata/gen-locale.sh: Fix typo in variable name.
24847 * resolv/res_debug.c (p_secstodate): Condition definition on
24848 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24849 directly as __p_secstodate, and as a compat symbol. Do not use
24850 libresolv_hidden_def.
24851 * resolv/resolv.h (p_secstodate): Remove macro and function
24853 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24854 using p_secstodate.
24855 * include/resolv.h (__p_secstodate): Do not use
24856 libresolv_hidden_proto.
24857 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24858 (tests-internal): ... here.
24859 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24860 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24861 and declare and use __p_secstodate and use compat_symbol_reference
24863 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24864 implementation returning 77.
24867 * resolv/res_debug.c: Include <libc-diag.h>.
24868 (p_secstodate): Assert time_t at least as wide as u_long. On
24869 overflow, use integer seconds since the epoch as output, or use
24870 "<overflow>" as output and set errno to EOVERFLOW if integer
24871 seconds since the epoch would be 14 or more characters.
24872 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24874 * resolv/tst-p_secstodate.c: New file.
24875 * resolv/Makefile (tests): Add tst-p_secstodate.
24876 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24878 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24879 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24880 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24882 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24884 * posix/regcomp.c (init_word_char): Add comments.
24886 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24889 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24890 strlen to compute length of ut_user and set trailing NUL byte of
24893 2017-11-21 Mike FABIAN <mfabian@redhat.com>
24896 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24897 using “copy "iso14651_t1"” and then implementing the
24898 collation rules for lv from CLDR on top of that.
24899 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24900 of locales to be built for testing.
24901 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24904 2017-11-21 Joseph Myers <joseph@codesourcery.com>
24906 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24907 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24908 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24909 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24910 [__USE_MISC] (MADV_HWPOISON): New macro.
24911 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24913 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24915 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24916 -Wmissing-braces on GCC 4.9.
24918 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24920 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24921 * sysdeps/s390/s390-32/start.S (_start): Likewise
24922 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24923 (thread_start): Likewise.
24924 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24925 (thread_start): Likewise.
24926 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24927 (__makecontext_ret): Likewise.
24928 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24929 (__makecontext_ret): Likewise.
24931 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24933 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24934 __wcschrnul): Remove attribute_hidden.
24936 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24938 regex: don't assume uint64_t or uint32_t
24939 This avoids -Werror=overflow errors for 32-bit systems in
24940 the 64-bit case. Problem reported by Joseph Myers in:
24941 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24942 Also, when this code is used in Gnulib it ports to platforms
24943 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24944 them, and on some 32-bit compilers there is no uint64_t.
24945 Problem reported by Gianluigi Tiesi in:
24946 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24947 * posix/regcomp.c (init_word_char): Don't assume that the types
24948 uint64_t and uint32_t exist. Adapted from Gnulib patch
24949 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24950 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24952 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24954 * sysdeps/aarch64/memset-reg.h: New file.
24955 * sysdeps/aarch64/memset.S: Use it.
24956 (__memset): Rename to MEMSET macro.
24957 [ZVA_MACRO]: Use zva_macro.
24958 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24959 Add memset_generic and memset_falkor.
24960 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24961 (__libc_ifunc_impl_list): Add memset ifuncs.
24962 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24963 local variable zva_size.
24964 * sysdeps/aarch64/multiarch/memset.c: New file.
24965 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24966 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24967 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24968 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24969 (DCZID_DZP_MASK): New macro.
24970 (DCZID_BS_MASK): Likewise.
24971 (init_cpu_features): Read and set zva_size.
24972 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24973 (struct cpu_features): New member zva_size.
24975 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24976 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24977 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24979 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24980 backwards. Fix timing computation.
24981 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24982 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24983 on memset by N at a time. Fix timing computation.
24985 2017-11-20 Florian Weimer <fweimer@redhat.com>
24987 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24988 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24990 2017-11-19 Florian Weimer <fweimer@redhat.com>
24992 manual: Document mprotect
24993 * manual/memory.texi (Memory Protection): New section.
24994 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24995 documentation of PROT_* flags and reference the Memory Protection
24998 2017-11-19 Florian Weimer <fweimer@redhat.com>
25000 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
25001 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
25002 (Scatter-Gather): ... to here. Remove misleading comment.
25004 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
25006 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
25009 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
25010 when /proc/<pid>/setgroups does not exist.
25012 2017-11-18 Florian Weimer <fweimer@redhat.com>
25014 * sysdeps/unix/sysv/linux/tst-ttyname.c
25015 (become_root_in_mount_ns): Remove.
25016 (do_in_chroot_1): Call support_enter_mount_namespace.
25017 (do_in_chroot_2): Likewise.
25018 (do_test): Call support_become_root early.
25020 2017-11-18 Florian Weimer <fweimer@redhat.com>
25022 * support/namespace.h (support_enter_mount_namespace): Declare.
25023 * support/support_enter_mount_namespace.c: New file.
25024 * support/Makefile (libsupport-routines): Add
25025 support_enter_mount_namespace.
25027 2017-11-18 Florian Weimer <fweimer@redhat.com>
25029 * support/temp_file.c (support_create_temp_directory): Use
25030 test_dir and do not rely on the presence of the XXXXXX suffix.
25031 * support/temp_file.h (support_create_temp_directory): Update
25033 * support/tst-xreadlink.c (do_test): Adjust.
25034 * support/support_chroot.c (support_chroot_create): Likewise.
25036 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25038 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
25040 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
25043 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25045 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25046 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25047 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25048 (ceill): Define using libm_alias_ldouble.
25049 * sysdeps/x86_64/fpu/s_copysignl.S: Include
25050 <libm-alias-ldouble.h>.
25051 (copysignl): Define using libm_alias_ldouble.
25052 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25053 (fabsl): Define using libm_alias_ldouble.
25054 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25055 (floorl): Define using libm_alias_ldouble.
25056 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25057 (fmaxl): Define using libm_alias_ldouble.
25058 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25059 (fminl): Define using libm_alias_ldouble.
25060 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25061 (llrintl): Define using libm_alias_ldouble.
25062 (lrintl): Likewise.
25063 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
25064 <libm-alias-ldouble.h>.
25065 (nearbyintl): Define using libm_alias_ldouble.
25066 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25067 (truncl): Define using libm_alias_ldouble.
25068 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
25069 <libm-alias-ldouble.h>.
25070 (lrintl): Define using libm_alias_ldouble.
25072 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25073 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25074 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
25075 (asinhl): Define using libm_alias_ldouble.
25076 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
25077 (atanl): Define using libm_alias_ldouble.
25078 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
25079 (cbrtl): Define using libm_alias_ldouble.
25080 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25081 (ceill): Define using libm_alias_ldouble.
25082 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
25083 (copysignl): Define using libm_alias_ldouble.
25084 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25085 (fabsl): Define using libm_alias_ldouble.
25086 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25087 (floorl): Define using libm_alias_ldouble.
25088 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25089 (fmaxl): Define using libm_alias_ldouble.
25090 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25091 (fminl): Define using libm_alias_ldouble.
25092 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
25093 (frexpl): Define using libm_alias_ldouble.
25094 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25095 (llrintl): Define using libm_alias_ldouble.
25096 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
25097 (logbl): Define using libm_alias_ldouble.
25098 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
25099 (lrintl): Define using libm_alias_ldouble.
25100 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
25101 (nearbyintl): Define using libm_alias_ldouble.
25102 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
25103 (nextafterl): Define using libm_alias_ldouble.
25104 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
25105 (remquol): Define using libm_alias_ldouble.
25106 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
25107 (rintl): Define using libm_alias_ldouble.
25108 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25109 (truncl): Define using libm_alias_ldouble.
25110 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25111 (fmaxl): Define using libm_alias_ldouble.
25112 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25113 (fminl): Define using libm_alias_ldouble.
25115 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
25116 to C syntax instead of availability and properties of types.
25117 * bits/floatn.h [!__ASSEMBLER]: Likewise.
25118 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
25119 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
25120 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
25121 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
25122 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
25124 2017-11-17 Florian Weimer <fweimer@redhat.com>
25126 support_become_root: Enable file creation in namespaces.
25127 * support/support_become_root.c (setup_mapping): New function.
25128 (support_become_root): Call it.
25130 2017-11-17 Joseph Myers <joseph@codesourcery.com>
25132 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
25135 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25137 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
25138 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
25140 2017-11-16 Joseph Myers <joseph@codesourcery.com>
25142 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
25144 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25147 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25149 * INSTALL: Fix botched up regeneration.
25151 * NEWS: Update sourceare link to https.
25152 * configure.ac: Likewise.
25153 * crypt/md5test-giant.c: Likewise.
25154 * dlfcn/bug-atexit1.c: Likewise.
25155 * dlfcn/bug-atexit2.c: Likewise.
25156 * localedata/README: Likewise.
25157 * malloc/tst-mallocfork.c: Likewise.
25158 * manual/install.texi: Likewise.
25159 * nptl/tst-pthread-getattr.c: Likewise.
25160 * stdio-common/tst-fgets.c: Likewise.
25161 * stdio-common/tst-fwrite.c: Likewise.
25162 * sunrpc/Makefile: Likewise.
25163 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
25164 * wcsmbs/tst-mbrtowc2.c: Likewise.
25165 * configure: Regenerate.
25166 * INSTALL: Regenerate.
25168 2017-11-15 Martin Sebor <msebor@redhat.com>
25170 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
25171 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
25172 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
25174 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25177 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
25178 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
25181 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
25182 Defer is_pty check until end of the function.
25183 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25186 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
25187 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
25188 (ttyname): Likewise.
25189 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
25190 (__ttyname_r): Likewise.
25192 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
25195 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
25197 * manual/terminal.texi (Is It a Terminal):
25198 Mention ENODEV for ttyname and ttyname_r.
25200 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25202 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
25203 constant and macro.
25205 * sysdeps/unix/sysv/linux/bits/mman-linux.h
25206 [__USE_MISC] (MADV_WIPEONFORK): New macro.
25207 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25208 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25209 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
25210 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25212 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25214 * signal/sigrelse.c (sigrelse): Optimize implementation.
25216 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
25217 (__sigpause): Rely on __sigsuspend to implement single thread
25218 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
25220 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25222 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
25223 kernel version to 4.14.
25225 2017-11-15 Steve Ellcey <sellcey@cavium.com>
25228 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
25229 Check if ifname is too long.
25231 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25233 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
25235 2017-11-15 Mike FABIAN <mfabian@redhat.com>
25237 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
25238 was accidentally lost.
25240 2017-11-15 Mike FABIAN <mfabian@redhat.com>
25242 * localedata/locales/az_IR: Add standard copyright header.
25244 2017-11-15 Florian Weimer <fweimer@redhat.com>
25247 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
25248 not just the top one. Output a new "subheaps" statistic.
25250 2017-11-15 Florian Weimer <fweimer@redhat.com>
25253 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
25254 under the per-arena lock.
25255 * malloc/Makefile (tests): Add tst-malloc_info.
25256 (tst-malloc_info): Link with libpthread.
25257 * malloc/tst-malloc_info.c: New file.
25259 2017-11-15 Joseph Myers <joseph@codesourcery.com>
25262 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
25263 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
25264 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
25265 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
25266 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
25267 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
25268 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
25269 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
25270 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
25271 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
25272 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
25273 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
25274 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
25275 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
25276 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
25277 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
25278 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
25279 (__floating_type): Likewise.
25280 (__real_integer_type): Likewise.
25281 (__complex_integer_type): Likewise.
25282 (__expr_is_real): Likewise.
25283 (__tgmath_real_type_sub): Likewise.
25284 (__tgmath_real_type): Likewise.
25285 (__tgmath_complex_type_sub): Likewise.
25286 (__tgmath_complex_type): Likewise.
25287 (__TGMATH_F128): Likewise.
25288 (__TGMATH_CF128): Likewise.
25289 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
25291 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
25292 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
25294 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
25296 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
25297 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
25298 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
25299 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
25301 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
25302 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
25304 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
25305 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
25306 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
25308 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
25309 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
25310 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
25314 2017-11-14 Joseph Myers <joseph@codesourcery.com>
25316 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
25317 for stpncpy calls for GCC 8.
25318 (test_strncat): Disable -Wstringop-truncation warning for strncat
25319 calls for GCC 8. Disable -Wstringop-overflow= warning for one
25320 strncat call for GCC 7.
25321 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
25323 (test_memcmp): Use memcpy instead of strncpy for calls not copying
25326 * string/bug-strncat1.c: Include <libc-diag.h>.
25327 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
25329 2017-11-13 Claude Paroz <claude@2xlibre.net>
25332 * localedata/locales/aa_DJ: Improved readibility by replacing
25333 <Uxxxx> sequences in the ASCII printable range by their ASCII
25334 character equivalents.
25335 * localedata/locales/aa_ER: Likewise.
25336 * localedata/locales/aa_ER@saaho: Likewise.
25337 * localedata/locales/aa_ET: Likewise.
25338 * localedata/locales/af_ZA: Likewise.
25339 * localedata/locales/agr_PE: Likewise.
25340 * localedata/locales/ak_GH: Likewise.
25341 * localedata/locales/am_ET: Likewise.
25342 * localedata/locales/anp_IN: Likewise.
25343 * localedata/locales/ar_AE: Likewise.
25344 * localedata/locales/ar_BH: Likewise.
25345 * localedata/locales/ar_DZ: Likewise.
25346 * localedata/locales/ar_EG: Likewise.
25347 * localedata/locales/ar_IN: Likewise.
25348 * localedata/locales/ar_IQ: Likewise.
25349 * localedata/locales/ar_JO: Likewise.
25350 * localedata/locales/ar_KW: Likewise.
25351 * localedata/locales/ar_LB: Likewise.
25352 * localedata/locales/ar_LY: Likewise.
25353 * localedata/locales/ar_MA: Likewise.
25354 * localedata/locales/ar_OM: Likewise.
25355 * localedata/locales/ar_QA: Likewise.
25356 * localedata/locales/ar_SA: Likewise.
25357 * localedata/locales/ar_SD: Likewise.
25358 * localedata/locales/ar_SS: Likewise.
25359 * localedata/locales/ar_SY: Likewise.
25360 * localedata/locales/ar_TN: Likewise.
25361 * localedata/locales/ar_YE: Likewise.
25362 * localedata/locales/as_IN: Likewise.
25363 * localedata/locales/ast_ES: Likewise.
25364 * localedata/locales/ayc_PE: Likewise.
25365 * localedata/locales/az_AZ: Likewise.
25366 * localedata/locales/az_IR: Likewise.
25367 * localedata/locales/be_BY: Likewise.
25368 * localedata/locales/be_BY@latin: Likewise.
25369 * localedata/locales/bem_ZM: Likewise.
25370 * localedata/locales/ber_DZ: Likewise.
25371 * localedata/locales/ber_MA: Likewise.
25372 * localedata/locales/bg_BG: Likewise.
25373 * localedata/locales/bhb_IN: Likewise.
25374 * localedata/locales/bho_IN: Likewise.
25375 * localedata/locales/bi_VU: Likewise.
25376 * localedata/locales/bn_BD: Likewise.
25377 * localedata/locales/bn_IN: Likewise.
25378 * localedata/locales/bo_CN: Likewise.
25379 * localedata/locales/bo_IN: Likewise.
25380 * localedata/locales/br_FR: Likewise.
25381 * localedata/locales/brx_IN: Likewise.
25382 * localedata/locales/bs_BA: Likewise.
25383 * localedata/locales/byn_ER: Likewise.
25384 * localedata/locales/ca_AD: Likewise.
25385 * localedata/locales/ca_ES: Likewise.
25386 * localedata/locales/ca_FR: Likewise.
25387 * localedata/locales/ca_IT: Likewise.
25388 * localedata/locales/ce_RU: Likewise.
25389 * localedata/locales/chr_US: Likewise.
25390 * localedata/locales/cmn_TW: Likewise.
25391 * localedata/locales/crh_UA: Likewise.
25392 * localedata/locales/cs_CZ: Likewise.
25393 * localedata/locales/csb_PL: Likewise.
25394 * localedata/locales/cv_RU: Likewise.
25395 * localedata/locales/cy_GB: Likewise.
25396 * localedata/locales/da_DK: Likewise.
25397 * localedata/locales/de_AT: Likewise.
25398 * localedata/locales/de_BE: Likewise.
25399 * localedata/locales/de_CH: Likewise.
25400 * localedata/locales/de_DE: Likewise.
25401 * localedata/locales/de_IT: Likewise.
25402 * localedata/locales/de_LI: Likewise.
25403 * localedata/locales/de_LU: Likewise.
25404 * localedata/locales/doi_IN: Likewise.
25405 * localedata/locales/dv_MV: Likewise.
25406 * localedata/locales/dz_BT: Likewise.
25407 * localedata/locales/el_CY: Likewise.
25408 * localedata/locales/el_GR: Likewise.
25409 * localedata/locales/en_AG: Likewise.
25410 * localedata/locales/en_AU: Likewise.
25411 * localedata/locales/en_BW: Likewise.
25412 * localedata/locales/en_CA: Likewise.
25413 * localedata/locales/en_DK: Likewise.
25414 * localedata/locales/en_GB: Likewise.
25415 * localedata/locales/en_HK: Likewise.
25416 * localedata/locales/en_IE: Likewise.
25417 * localedata/locales/en_IL: Likewise.
25418 * localedata/locales/en_IN: Likewise.
25419 * localedata/locales/en_NG: Likewise.
25420 * localedata/locales/en_NZ: Likewise.
25421 * localedata/locales/en_PH: Likewise.
25422 * localedata/locales/en_SG: Likewise.
25423 * localedata/locales/en_US: Likewise.
25424 * localedata/locales/en_ZA: Likewise.
25425 * localedata/locales/en_ZM: Likewise.
25426 * localedata/locales/en_ZW: Likewise.
25427 * localedata/locales/eo: Likewise.
25428 * localedata/locales/es_AR: Likewise.
25429 * localedata/locales/es_BO: Likewise.
25430 * localedata/locales/es_CL: Likewise.
25431 * localedata/locales/es_CO: Likewise.
25432 * localedata/locales/es_CR: Likewise.
25433 * localedata/locales/es_CU: Likewise.
25434 * localedata/locales/es_DO: Likewise.
25435 * localedata/locales/es_EC: Likewise.
25436 * localedata/locales/es_ES: Likewise.
25437 * localedata/locales/es_GT: Likewise.
25438 * localedata/locales/es_HN: Likewise.
25439 * localedata/locales/es_MX: Likewise.
25440 * localedata/locales/es_NI: Likewise.
25441 * localedata/locales/es_PA: Likewise.
25442 * localedata/locales/es_PE: Likewise.
25443 * localedata/locales/es_PR: Likewise.
25444 * localedata/locales/es_PY: Likewise.
25445 * localedata/locales/es_SV: Likewise.
25446 * localedata/locales/es_US: Likewise.
25447 * localedata/locales/es_UY: Likewise.
25448 * localedata/locales/es_VE: Likewise.
25449 * localedata/locales/et_EE: Likewise.
25450 * localedata/locales/eu_ES: Likewise.
25451 * localedata/locales/eu_ES@euro: Likewise.
25452 * localedata/locales/fa_IR: Likewise.
25453 * localedata/locales/ff_SN: Likewise.
25454 * localedata/locales/fi_FI: Likewise.
25455 * localedata/locales/fil_PH: Likewise.
25456 * localedata/locales/fo_FO: Likewise.
25457 * localedata/locales/fr_BE: Likewise.
25458 * localedata/locales/fr_CA: Likewise.
25459 * localedata/locales/fr_CH: Likewise.
25460 * localedata/locales/fr_FR: Likewise.
25461 * localedata/locales/fr_LU: Likewise.
25462 * localedata/locales/fur_IT: Likewise.
25463 * localedata/locales/fy_DE: Likewise.
25464 * localedata/locales/fy_NL: Likewise.
25465 * localedata/locales/ga_IE: Likewise.
25466 * localedata/locales/gd_GB: Likewise.
25467 * localedata/locales/gez_ER: Likewise.
25468 * localedata/locales/gez_ET: Likewise.
25469 * localedata/locales/gl_ES: Likewise.
25470 * localedata/locales/gu_IN: Likewise.
25471 * localedata/locales/gv_GB: Likewise.
25472 * localedata/locales/ha_NG: Likewise.
25473 * localedata/locales/hak_TW: Likewise.
25474 * localedata/locales/he_IL: Likewise.
25475 * localedata/locales/hi_IN: Likewise.
25476 * localedata/locales/hif_FJ: Likewise.
25477 * localedata/locales/hne_IN: Likewise.
25478 * localedata/locales/hr_HR: Likewise.
25479 * localedata/locales/hsb_DE: Likewise.
25480 * localedata/locales/ht_HT: Likewise.
25481 * localedata/locales/hu_HU: Likewise.
25482 * localedata/locales/hy_AM: Likewise.
25483 * localedata/locales/i18n: Likewise.
25484 * localedata/locales/ia_FR: Likewise.
25485 * localedata/locales/id_ID: Likewise.
25486 * localedata/locales/ig_NG: Likewise.
25487 * localedata/locales/ik_CA: Likewise.
25488 * localedata/locales/is_IS: Likewise.
25489 * localedata/locales/it_CH: Likewise.
25490 * localedata/locales/it_IT: Likewise.
25491 * localedata/locales/iu_CA: Likewise.
25492 * localedata/locales/ja_JP: Likewise.
25493 * localedata/locales/ka_GE: Likewise.
25494 * localedata/locales/kk_KZ: Likewise.
25495 * localedata/locales/kl_GL: Likewise.
25496 * localedata/locales/kn_IN: Likewise.
25497 * localedata/locales/ko_KR: Likewise.
25498 * localedata/locales/kok_IN: Likewise.
25499 * localedata/locales/ks_IN: Likewise.
25500 * localedata/locales/ks_IN@devanagari: Likewise.
25501 * localedata/locales/ku_TR: Likewise.
25502 * localedata/locales/kw_GB: Likewise.
25503 * localedata/locales/ky_KG: Likewise.
25504 * localedata/locales/lb_LU: Likewise.
25505 * localedata/locales/lg_UG: Likewise.
25506 * localedata/locales/li_BE: Likewise.
25507 * localedata/locales/li_NL: Likewise.
25508 * localedata/locales/lij_IT: Likewise.
25509 * localedata/locales/ln_CD: Likewise.
25510 * localedata/locales/lo_LA: Likewise.
25511 * localedata/locales/lt_LT: Likewise.
25512 * localedata/locales/lv_LV: Likewise.
25513 * localedata/locales/lzh_TW: Likewise.
25514 * localedata/locales/mag_IN: Likewise.
25515 * localedata/locales/mai_IN: Likewise.
25516 * localedata/locales/mg_MG: Likewise.
25517 * localedata/locales/mhr_RU: Likewise.
25518 * localedata/locales/mi_NZ: Likewise.
25519 * localedata/locales/mk_MK: Likewise.
25520 * localedata/locales/ml_IN: Likewise.
25521 * localedata/locales/mn_MN: Likewise.
25522 * localedata/locales/mni_IN: Likewise.
25523 * localedata/locales/mr_IN: Likewise.
25524 * localedata/locales/ms_MY: Likewise.
25525 * localedata/locales/mt_MT: Likewise.
25526 * localedata/locales/my_MM: Likewise.
25527 * localedata/locales/nan_TW: Likewise.
25528 * localedata/locales/nan_TW@latin: Likewise.
25529 * localedata/locales/nb_NO: Likewise.
25530 * localedata/locales/nds_DE: Likewise.
25531 * localedata/locales/nds_NL: Likewise.
25532 * localedata/locales/ne_NP: Likewise.
25533 * localedata/locales/nhn_MX: Likewise.
25534 * localedata/locales/niu_NU: Likewise.
25535 * localedata/locales/niu_NZ: Likewise.
25536 * localedata/locales/nl_AW: Likewise.
25537 * localedata/locales/nl_BE: Likewise.
25538 * localedata/locales/nl_NL: Likewise.
25539 * localedata/locales/nn_NO: Likewise.
25540 * localedata/locales/nr_ZA: Likewise.
25541 * localedata/locales/nso_ZA: Likewise.
25542 * localedata/locales/oc_FR: Likewise.
25543 * localedata/locales/om_ET: Likewise.
25544 * localedata/locales/om_KE: Likewise.
25545 * localedata/locales/or_IN: Likewise.
25546 * localedata/locales/os_RU: Likewise.
25547 * localedata/locales/pa_IN: Likewise.
25548 * localedata/locales/pa_PK: Likewise.
25549 * localedata/locales/pap_AW: Likewise.
25550 * localedata/locales/pap_CW: Likewise.
25551 * localedata/locales/pl_PL: Likewise.
25552 * localedata/locales/ps_AF: Likewise.
25553 * localedata/locales/pt_BR: Likewise.
25554 * localedata/locales/pt_PT: Likewise.
25555 * localedata/locales/quz_PE: Likewise.
25556 * localedata/locales/raj_IN: Likewise.
25557 * localedata/locales/ro_RO: Likewise.
25558 * localedata/locales/ru_RU: Likewise.
25559 * localedata/locales/ru_UA: Likewise.
25560 * localedata/locales/rw_RW: Likewise.
25561 * localedata/locales/sa_IN: Likewise.
25562 * localedata/locales/sat_IN: Likewise.
25563 * localedata/locales/sc_IT: Likewise.
25564 * localedata/locales/sd_IN: Likewise.
25565 * localedata/locales/sd_IN@devanagari: Likewise.
25566 * localedata/locales/se_NO: Likewise.
25567 * localedata/locales/sgs_LT: Likewise.
25568 * localedata/locales/shs_CA: Likewise.
25569 * localedata/locales/si_LK: Likewise.
25570 * localedata/locales/sid_ET: Likewise.
25571 * localedata/locales/sk_SK: Likewise.
25572 * localedata/locales/sl_SI: Likewise.
25573 * localedata/locales/sm_WS: Likewise.
25574 * localedata/locales/so_DJ: Likewise.
25575 * localedata/locales/so_ET: Likewise.
25576 * localedata/locales/so_KE: Likewise.
25577 * localedata/locales/so_SO: Likewise.
25578 * localedata/locales/sq_AL: Likewise.
25579 * localedata/locales/sq_MK: Likewise.
25580 * localedata/locales/sr_ME: Likewise.
25581 * localedata/locales/sr_RS: Likewise.
25582 * localedata/locales/sr_RS@latin: Likewise.
25583 * localedata/locales/ss_ZA: Likewise.
25584 * localedata/locales/st_ZA: Likewise.
25585 * localedata/locales/sv_FI: Likewise.
25586 * localedata/locales/sv_SE: Likewise.
25587 * localedata/locales/sw_KE: Likewise.
25588 * localedata/locales/sw_TZ: Likewise.
25589 * localedata/locales/szl_PL: Likewise.
25590 * localedata/locales/ta_IN: Likewise.
25591 * localedata/locales/ta_LK: Likewise.
25592 * localedata/locales/tcy_IN: Likewise.
25593 * localedata/locales/te_IN: Likewise.
25594 * localedata/locales/tg_TJ: Likewise.
25595 * localedata/locales/th_TH: Likewise.
25596 * localedata/locales/the_NP: Likewise.
25597 * localedata/locales/ti_ER: Likewise.
25598 * localedata/locales/ti_ET: Likewise.
25599 * localedata/locales/tig_ER: Likewise.
25600 * localedata/locales/tk_TM: Likewise.
25601 * localedata/locales/tl_PH: Likewise.
25602 * localedata/locales/tn_ZA: Likewise.
25603 * localedata/locales/to_TO: Likewise.
25604 * localedata/locales/tpi_PG: Likewise.
25605 * localedata/locales/tr_CY: Likewise.
25606 * localedata/locales/tr_TR: Likewise.
25607 * localedata/locales/ts_ZA: Likewise.
25608 * localedata/locales/tt_RU: Likewise.
25609 * localedata/locales/tt_RU@iqtelif: Likewise.
25610 * localedata/locales/ug_CN: Likewise.
25611 * localedata/locales/uk_UA: Likewise.
25612 * localedata/locales/unm_US: Likewise.
25613 * localedata/locales/ur_IN: Likewise.
25614 * localedata/locales/ur_PK: Likewise.
25615 * localedata/locales/uz_UZ: Likewise.
25616 * localedata/locales/uz_UZ@cyrillic: Likewise.
25617 * localedata/locales/ve_ZA: Likewise.
25618 * localedata/locales/vi_VN: Likewise.
25619 * localedata/locales/wa_BE: Likewise.
25620 * localedata/locales/wae_CH: Likewise.
25621 * localedata/locales/wal_ET: Likewise.
25622 * localedata/locales/wo_SN: Likewise.
25623 * localedata/locales/xh_ZA: Likewise.
25624 * localedata/locales/yi_US: Likewise.
25625 * localedata/locales/yo_NG: Likewise.
25626 * localedata/locales/yue_HK: Likewise.
25627 * localedata/locales/yuw_PG: Likewise.
25628 * localedata/locales/zh_CN: Likewise.
25629 * localedata/locales/zh_HK: Likewise.
25630 * localedata/locales/zh_SG: Likewise.
25631 * localedata/locales/zh_TW: Likewise.
25632 * localedata/locales/zu_ZA: Likewise.
25634 2017-11-13 Florian Weimer <fweimer@redhat.com>
25636 * support/next_to_fault.h, support/next_to_fault.c: New files.
25637 * support/Makefile (libsupport-routines): Add next_to_fault.
25638 * resolv/tst-inet_pton.c (struct next_to_fault)
25639 (next_to_fault_allocate, next_to_fault_free): Remove.
25640 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25642 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25644 * elf/dl-support.c: Include <dl-procruntime.c>.
25645 * include/link.h: Include <link_map.h>.
25646 * sysdeps/generic/dl-procruntime.c: New file.
25647 * sysdeps/generic/link_map.h: Likewise.
25648 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25649 the writable ld.so namespace.
25651 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25653 timezone: pacify GCC -Wstringop-truncation
25654 Problem reported by Martin Sebor in:
25655 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25656 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25658 2017-11-12 Florian Weimer <fweimer@redhat.com>
25660 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25662 (tests): Add tst-xreadlink.
25663 * support/support.h (xstrndup): Declare.
25664 * support/xunistd.h (xunlink, xreadlink): Declare.
25665 * support/temp_file.h (support_create_temp_directory): Declare.
25666 * support/temp_file.c (support_create_temp_directory): New function.
25667 * support/support_chroot.c (support_chroot_create): Use it.
25668 * support/xreadlink.c: New file.
25669 * support/xstrndup.c: Likewise.
25670 * support/xunlink.c: Likewise.
25671 * support/tst-xreadlink.c: Likewise.
25673 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
25675 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
25677 2017-11-11 Florian Weimer <fweimer@redhat.com>
25681 * resolv/res_comp.c (printable_string, binary_hnok)
25682 (binary_leading_dash): New functions.
25683 (res_hnok): Reimplement using these functions and ns_name_pton.
25684 (res_ownok): Likewise.
25685 (res_mailok): Reimplement using printable_string, ns_name_pton and
25687 (res_dnok): Reimplement using printable_string and ns_name_pton.
25688 * resolv/tst-res_hnok.c (tests): Add additional tests.
25689 (LETTERDIGITS, PRINTABLE): Define.
25690 (do_test): Adjust one_char results.
25692 2017-11-11 Florian Weimer <fweimer@redhat.com>
25695 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
25696 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
25698 2017-11-11 Florian Weimer <fweimer@redhat.com>
25700 * resolv/tst-ns_name_pton.c: New file.
25701 * resolv/Makefile (tests): Add tst-ns_name_pton.
25702 (tst-ns_name_pton): Link against libresolv.
25704 2017-11-11 Florian Weimer <fweimer@redhat.com>
25706 * resolv/tst-res_hnok.c: New file.
25707 * resolv/Makefile (tests): Add tst-res_hnok.
25708 (tst-res_hnok): Link against libresolv.
25710 2017-11-11 Florian Weimer <fweimer@redhat.com>
25712 * resolv/tst-resolv-network.c: Use test framework instead explicit
25715 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
25717 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
25718 <jmp_buf-macros.h>.
25719 [!_ISOMAC] (STR_HELPER): New.
25720 [!_ISOMAC] (STR): Likewise.
25721 [!_ISOMAC] (TEST_SIZE): Likewise.
25722 [!_ISOMAC] (TEST_ALIGN): Likewise.
25723 [!_ISOMAC] (TEST_OFFSET): Likewise.
25724 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
25725 field offsets of jmp_buf as well as sigjmp_buf.
25726 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
25727 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
25728 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
25729 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
25730 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
25731 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
25732 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
25733 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
25734 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
25735 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
25737 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
25739 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
25740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
25742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
25744 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
25745 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
25746 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
25747 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
25748 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
25749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
25751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
25753 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
25754 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
25755 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
25757 2017-11-07 Joseph Myers <joseph@codesourcery.com>
25760 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25761 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
25762 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25763 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25764 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25765 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25766 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25767 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25768 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25769 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25770 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25771 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25772 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25773 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25774 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25775 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25776 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25777 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25778 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25779 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25780 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25781 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25782 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25783 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25784 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25785 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25786 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25787 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25788 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25789 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25790 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25791 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25792 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25793 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25794 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25795 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25796 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25797 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25798 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25799 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25800 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25801 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25802 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25803 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25804 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25805 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25806 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25807 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25808 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25809 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25810 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25811 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25812 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25813 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25814 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25815 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25816 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25817 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25818 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25819 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25820 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25821 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25822 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25823 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25824 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25825 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25826 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25827 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25828 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25829 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25830 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25831 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25832 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25833 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25834 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25835 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25836 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25837 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25838 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25839 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25840 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25841 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25842 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25843 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25844 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25845 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25846 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25847 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25849 * stdlib/tst-strtod.h (F16): New macro.
25855 (IF_FLOAT16): Likewise.
25856 (IF_FLOAT32): Likewise.
25857 (IF_FLOAT64): Likewise.
25858 (IF_FLOAT32X): Likewise.
25859 (IF_FLOAT64X): Likewise.
25860 (IF_FLOAT128X): Likewise.
25861 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25862 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25863 (STRTOD_TEST_FOREACH): Likewise.
25864 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25865 (CHOOSE_f64): Likewise.
25866 (CHOOSE_f32x): Likewise.
25867 (CHOOSE_f64x): Likewise.
25869 2017-11-07 Andreas Schwab <schwab@suse.de>
25871 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25873 2017-11-07 Mike FABIAN <mfabian@redhat.com>
25876 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25878 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25881 2017-11-07 Claude Paroz <claude@2xlibre.net>
25884 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25886 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25888 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25891 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25894 * nptl/allocatestack.c (allocate_stack): Check if
25895 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25896 __PTHREAD_MUTEX_HAVE_PREV is defined.
25897 * nptl/descr.h (pthread): Likewise.
25898 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25900 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25901 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25902 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25903 * sysdeps/nptl/bits/thread-shared-types.h
25904 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25906 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25907 of __WORDSIZE for internal layout.
25908 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25909 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25910 instead of __WORDSIZE whether to use an union for __spins and __list
25912 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25914 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25915 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25917 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25918 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25920 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25921 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25923 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25924 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25926 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25927 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25929 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25930 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25932 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25933 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25935 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25936 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25938 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25939 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25941 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25942 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25944 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25945 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25947 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25948 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25950 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25951 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25953 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25954 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25956 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25957 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25960 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25962 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25963 checks for expected input type size.
25964 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25965 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25967 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25968 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25969 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25970 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25971 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25972 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25973 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25974 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25975 superflous runtime assert check.
25976 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25978 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25980 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25982 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25984 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25986 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25988 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25989 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25990 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25992 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25994 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25996 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25998 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26000 * nptl/pthread_attr_setinheritsched.c
26001 (__pthread_attr_setinheritsched): Likewise.
26002 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
26004 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
26006 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
26007 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
26008 __old_pthread_attr_setstack): Likewise.
26009 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26011 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26013 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
26015 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26016 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26018 * nptl/tst-typesizes.c: Remove file.
26020 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
26021 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
26022 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
26023 checks for internal pthread_mutex_t offsets.
26024 * sysdeps/aarch64/nptl/pthread-offsets.h
26025 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
26026 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
26027 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
26028 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
26029 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
26030 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
26031 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
26032 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
26033 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
26034 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
26035 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
26036 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
26037 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
26038 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
26039 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
26040 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
26041 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
26042 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
26044 2017-11-07 Florian Weimer <fweimer@redhat.com>
26046 * bits/mman-linux.h: Move ...
26047 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
26049 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
26052 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26054 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
26055 Redefine STRNLEN as __strnlen_power8.
26057 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26059 * signal/sighold.c (sighold): Optimize implementation.
26061 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
26062 __NR_rt_sigqueueinfo.
26064 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
26066 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
26067 assume __NR_rt_sigtimedwait.
26068 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
26069 and add LIBC_CANCEL_HANDLED for cancellation marking.
26070 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26072 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26073 (sysdeps_routines): Add memchr_noneon.
26074 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
26075 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
26076 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
26077 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
26078 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
26079 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
26080 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
26082 * sysdeps/arm/arm-ifunc.h: New file.
26083 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
26084 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
26085 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
26086 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
26087 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
26088 (__memcpy_neon): Avoid create hidden alias.
26089 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
26090 (__memcpy_vfp): Likewise.
26091 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26092 (sysdep_routines): Add memcpy_arm.
26093 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
26095 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
26098 * Makerules (make-link-multidir): New.
26099 * config.make.in (multidir): New.
26100 * configure.ac (libc_cv_multidir): New. AC_SUBST.
26101 * configure: Regenerated.
26102 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
26103 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
26104 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
26107 2017-11-06 Joseph Myers <joseph@codesourcery.com>
26110 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
26111 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
26113 2017-11-04 Mike FABIAN <mfabian@redhat.com>
26115 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
26118 2017-11-04 Florian Weimer <fweimer@redhat.com>
26120 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
26122 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26124 * math/math.h [__HAVE_DISTINCT_FLOAT16
26125 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26126 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26127 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26128 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
26129 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
26130 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
26131 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26132 (__MATH_TG_F32): New macro.
26133 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26134 (__MATH_TG_F64X): Likewise.
26135 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26136 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
26138 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
26140 * po/de.po: Update translations.
26141 * po/ru.po: Likewise.
26143 2017-11-03 Florian Weimer <fweimer@redhat.com>
26145 * manual/filesys.texi (Hard Links): Document linkat.
26147 2017-11-03 Joseph Myers <joseph@codesourcery.com>
26149 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
26150 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26151 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26152 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26153 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26154 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26155 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
26156 the same as _Float128.
26157 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26158 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26159 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
26162 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
26164 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
26166 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
26168 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26169 (strtof32x): Likewise.
26170 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26171 (strtof64x): Likewise.
26172 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26173 (strtof128x): Likewise.
26174 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26175 (strfromf16): Likewise.
26176 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26177 (strfromf32): Likewise.
26178 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26179 (strfromf64): Likewise.
26180 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26181 (strfromf32x): Likewise.
26182 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26183 (strfromf64x): Likewise.
26184 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26185 (strfromf128x): Likewise.
26186 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
26187 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
26188 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
26189 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
26190 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
26191 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
26193 2017-11-03 Richard Henderson <rth@twiddle.net>
26195 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
26197 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26199 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
26201 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26203 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
26204 DT_TLSDESC_GOT initialization.
26205 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
26206 (_dl_tlsdesc_resolve_hold): Likewise.
26207 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
26208 (_dl_tlsdesc_resolve_hold): Likewise.
26209 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
26210 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26212 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26214 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
26216 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26219 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
26220 non-lazily for R_ARM_TLS_DESC.
26222 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26225 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
26226 R_ARM_TLS_DESC case.
26227 (elf_machine_lazy_rel): Remove the prelink check.
26229 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26231 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
26232 DT_TLSDESC_GOT initialization.
26233 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
26234 (_dl_tlsdesc_resolve_rela): Likewise.
26235 (_dl_tlsdesc_resolve_hold): Likewise.
26236 (_dl_tlsdesc_undefweak): Remove ldar.
26237 (_dl_tlsdesc_dynamic): Likewise.
26238 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
26239 (_dl_tlsdesc_resolve_rela): Likewise.
26240 (_dl_tlsdesc_resolve_hold): Likewise.
26241 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
26242 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26243 (_dl_tlsdesc_resolve_rela): Likewise.
26244 (_dl_tlsdesc_resolve_hold): Likewise.
26246 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26248 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
26249 binding and initialization non-lazily for R_AARCH64_TLSDESC.
26251 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26253 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
26254 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26256 2017-11-02 Joseph Myers <joseph@codesourcery.com>
26258 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
26260 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
26261 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
26262 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
26263 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
26264 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
26265 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
26266 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
26267 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
26268 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
26269 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
26270 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
26272 2017-11-02 Mike FABIAN <mfabian@redhat.com>
26275 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
26276 * localedata/locales/tpi_PG: Add standard header.
26278 2017-11-02 Florian Weimer <fweimer@redhat.com>
26280 test-errno-linux: quotactl can fail with EPERM in containers.
26281 * sysdeps/unix/sysv/linux/test-errno-linux.c
26282 (LIST, LIST_FORWARD): New macros.
26283 (check_error_in_list): New function.
26284 (test_wrp_rv): Accept list of permitted error codes.
26285 (test_wrp_rv2): Remove.
26286 (test_wrp): Call test_wrp_rv with list of error codes.
26287 (test_wrp2): Accept list of error codes.
26288 (do_test): Adjust. Allow EPERM for quotactl.
26290 2017-11-02 Florian Weimer <fweimer@redhat.com>
26292 * stdio-common/bug16.c (do_test): Use array_length.
26293 * stdio-common/errlist.c (_sys_nerr): Likewise.
26294 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
26295 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
26296 * stdio-common/psiginfo.c (psiginfo): Use array_length.
26297 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
26298 (do_test): Use array_length.
26299 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
26300 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
26301 * stdio-common/tst-printf-round.c (do_test): Likewise.
26302 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
26303 (CHECK): Use array_length.
26304 * stdio-common/tstdiomisc.c (t3, F): Likewise.
26305 * stdio-common/tstscanf.c (main): Likewise.
26306 * stdio-common/vfprintf.c (process_string_arg): Likewise.
26308 2017-11-02 Florian Weimer <fweimer@redhat.com>
26310 Add array_length and array_end macros.
26311 * include/array_length.h: New file.
26313 2017-11-02 Florian Weimer <fweimer@redhat.com>
26316 * posix/tst-glob-tilde.c (do_noescape): New variable.
26317 (one_test): Process it.
26318 (do_test): Set do_noescape. Add unescaping test case.
26320 2017-11-01 Joseph Myers <joseph@codesourcery.com>
26323 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
26324 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
26325 with appropriate macros defined and undefined.
26326 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
26327 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26328 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
26329 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26330 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
26331 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26332 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
26333 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26334 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
26335 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26338 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
26339 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
26340 that for long double. Do not condition define and undefine of
26341 _Mdouble_complex_ on [__CFLOAT128].
26343 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
26345 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26346 of <sysdeps/generic/sysdep.h>.
26347 (ALIGNARG): Removed.
26348 (ASM_SIZE_DIRECTIVE): Likewise.
26351 (ENTRY_CHK): Likewise.
26352 (END_CHK): Likewise.
26353 (syscall_error): Likewise.
26354 (mcount): Likewise.
26355 (PSEUDO_END): Likewise.
26357 (atom_text_section): Likewise.
26358 * sysdeps/x86/sysdep.h: New file.
26359 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26360 of <sysdeps/generic/sysdep.h>.
26361 (ALIGNARG): Removed.
26362 (ASM_SIZE_DIRECTIVE): Likewise.
26365 (ENTRY_CHK): Likewise.
26366 (END_CHK): Likewise.
26367 (syscall_error): Likewise.
26368 (mcount): Likewise.
26369 (PSEUDO_END): Likewise.
26371 (atom_text_section): Likewise.
26373 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
26375 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
26376 category of LC_CTYPE set to "i18n:2012".
26377 * localedata/locales/i18n_ctype: Regenerate.
26379 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
26381 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
26382 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
26383 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26384 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26386 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
26387 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
26388 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
26389 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
26391 2017-10-31 Joseph Myers <joseph@codesourcery.com>
26394 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
26396 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
26398 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
26400 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26401 (CMPLXF32X): Likewise.
26402 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26403 (CMPLXF64X): Likewise.
26404 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26405 (CMPLXF128X): Likewise.
26408 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
26409 (__MATH_EVAL_FMT2): Define to add 0.0f.
26411 2017-10-31 Alan Modra <amodra@gmail.com>
26413 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
26415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
26416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
26417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
26418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
26419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
26420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
26421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
26422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
26423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
26424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
26425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
26426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
26427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
26428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
26429 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
26430 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
26431 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
26432 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
26433 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
26434 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
26435 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
26436 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
26437 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
26438 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
26439 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26440 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
26441 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
26442 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
26443 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
26444 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
26445 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26446 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26447 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
26448 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
26449 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
26450 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
26451 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
26452 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
26453 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
26454 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26455 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
26456 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
26457 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
26458 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
26459 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
26460 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
26461 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
26462 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
26463 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26464 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26465 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
26466 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
26467 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
26468 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
26469 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26470 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
26471 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
26472 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
26473 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26474 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26475 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26476 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
26477 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
26478 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26479 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
26480 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
26481 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
26482 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
26483 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
26485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
26486 include sysdep.h and math_ldbl_opt.h.
26488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
26489 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
26490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
26491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
26492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
26493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
26494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
26495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
26496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
26497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
26498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
26499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
26500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
26501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
26502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
26503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
26504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
26505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
26506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
26507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
26508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
26509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
26510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
26511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
26512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
26513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
26515 2017-10-31 Alan Modra <amodra@gmail.com>
26517 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
26518 string/strncase_l.c, not string/strncase.c.
26519 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
26520 (libc_hidden_def): Redefine.
26522 2017-10-31 Alan Modra <amodra@gmail.com>
26524 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
26525 (__STRCMP, STRCMP, __strcasecmp_l): Define.
26526 (__strcasecmp): Don't define.
26528 2017-10-31 Alan Modra <amodra@gmail.com>
26530 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
26532 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26533 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26534 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26536 2017-10-31 Alan Modra <amodra@gmail.com>
26538 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
26541 2017-10-31 Alan Modra <amodra@gmail.com>
26543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
26544 Redefine only when SHARED.
26546 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26548 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26549 Include <bits/math-finite.h> with appropriate macros defined and
26551 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26552 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26553 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26554 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26555 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26557 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
26558 [!_Mlong_double_] (_Mlong_double_): Likewise.
26559 [!_Mfloat16_] (_Mfloat16_): Likewise.
26560 [!_Mfloat32_] (_Mfloat32_): Likewise.
26561 [!_Mfloat64_] (_Mfloat64_): Likewise.
26562 [!_Mfloat128_] (_Mfloat128_): Likewise.
26563 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
26564 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
26565 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
26566 (_Mdouble_): Define without indirection through those macros.
26567 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
26568 [!_Mfloat128_] (_Mfloat128_): Likewise.
26569 [_Mlong_double_] (_Mlong_double_): Likewise.
26570 (_Mdouble_): Define without indirection through those macros.
26571 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
26572 not add -D_Mlong_double_=double.
26573 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
26574 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
26576 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26578 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
26580 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26582 * sysdeps/x86/libc-start.c: Reformat.
26584 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26587 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
26588 (1): Renamed to ...
26591 (L(Src2)): Likewise.
26592 (L(1)): Renamed to ...
26595 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26597 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
26598 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
26599 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
26600 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
26601 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
26602 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
26603 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
26604 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
26605 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
26606 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
26607 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
26608 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
26609 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26610 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26611 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26612 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26613 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26614 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26615 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26616 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26617 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26618 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26619 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26620 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26621 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26622 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26623 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26624 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26625 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26626 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26627 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26628 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26629 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26630 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26631 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26632 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26633 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26634 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26635 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26636 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26637 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26638 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26639 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26640 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26641 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26642 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26643 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26644 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26645 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26646 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26647 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26648 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26649 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26650 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26651 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26652 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26653 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26654 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26655 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26656 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26657 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26658 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26659 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26660 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26661 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26662 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26664 2017-10-30 Florian Weimer <fweimer@redhat.com>
26666 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
26668 * io/tst-mkdirat.c (do_test): Likewise.
26669 * io/tst-mkfifoat.c (do_test): Likewise.
26670 * io/tst-mknodat.c (do_test): Likewise.
26671 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
26672 * locale/programs/locale.c (select_dirs): Likewise.
26673 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
26674 * posix/bug-glob2.c (my_readdir): Likewise.
26675 * posix/tst-dir.c (main): Likewise.
26676 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
26677 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
26679 2017-10-30 Florian Weimer <fweimer@redhat.com>
26681 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
26684 2017-10-30 Florian Weimer <fweimer@redhat.com>
26686 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
26687 Convert to support/test-driver.c.
26688 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
26689 New macro parameters.
26690 (PRINTF): Remove macro. Use test_verbose conditionals instead.
26691 * posix/tst-gnuglob.c: New file.
26692 * posix/tst-gnuglob64.c: Likewise.
26693 * posix/Makefile (tests): Add tst-gnuglob64.
26695 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
26698 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
26699 and use a better translation for March in “mon”.
26700 * localedata/locales/csb_PL: Use more ASCII to improve the
26701 readability of the source.
26703 2017-10-30 Mike FABIAN <mfabian@redhat.com>
26706 * localedata/locales/km_KH: Use ASCII as much
26707 as possible for better readability of the source and
26708 remove useless comments.
26709 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
26710 was commented out and apparently wrong anyway because it was
26711 using Lao characters. If Buddhist era should be used
26712 for km_KH, a native speaker should write the correct formaat
26714 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
26715 (According to CLDR, the first weekday for Cambodia is Sunday).
26716 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
26717 (These were using Lao characters which must be wrong. If we get
26718 the correct data from a native speaker, we could add it back, until
26719 then it is better not to have name_mr and name_mrs at all than
26722 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
26724 * locale/loadlocale.c: Correct size of
26725 _nl_value_type_LC_<category> arrays.
26727 2017-10-27 Joseph Myers <joseph@codesourcery.com>
26729 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26730 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
26731 with appropriate macros defined and undefined.
26732 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26733 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26734 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26735 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26736 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26738 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
26740 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
26743 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26745 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
26746 with lowercase letters to make it agree with CLDR.
26748 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26751 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
26752 first letters of yesstr and nostr in yesexpr and noexpr,
26753 not for the full words.
26754 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26755 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
26756 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
26757 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
26758 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
26759 first letters of yesstr and nostr in yesexpr and noexpr,
26760 until now only English was matched in yesexpr and noexpr.
26761 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
26762 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
26763 fil but not for tl. As tl and fil are very similar, using fil
26764 is probably better than using English.
26766 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
26769 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26770 in yesstr and nostr.
26772 2017-10-26 Joseph Myers <joseph@codesourcery.com>
26774 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26775 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26776 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26778 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26780 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26782 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26784 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26785 (SNANF128X): Likewise.
26787 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26788 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26789 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26790 (HUGE_VAL_F32): Likewise.
26791 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26792 (HUGE_VAL_F64): Likewise.
26793 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26794 (HUGE_VAL_F32X): Likewise.
26795 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26796 (HUGE_VAL_F64X): Likewise.
26797 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26798 (HUGE_VAL_F128X): Likewise.
26800 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26802 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26803 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26804 for the br_FR locale.
26806 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26809 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26811 2017-10-25 Carlos O'Donell <carlos@redhat.com>
26813 * locale/programs/record-status.h: Define globals, and function
26814 prototypes. Move function bodies...
26815 * locale/programs/record-status.c: ... to here. New file.
26816 * iconv/Makefile (iconv_prog-modules): Add record-status.
26817 * locale/Makefile (lib-modules): Likewise.
26818 * iconv/iconv_prog.c: Remove verbose.
26819 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26820 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26821 record a warning about ASCII compatibility.
26822 * locale/programs/ld-monetary.c (monetary_finish): If
26823 warn_int_curr_symbol is true then record a warning about the symbol
26824 not being in our ISO 4217 list.
26825 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26826 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26827 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26828 (OPT_NO_WARN): Define.
26829 (OPT_WARN): Define.
26830 (options): Add entry for --no-warnings, and --warnings.
26831 (set_warnings): New function to enable/disable warnings.
26832 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26833 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26834 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26835 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26836 Pass flags to generate_locale.
26837 (generate_locale): Accept new flag argument and pass it to localedef
26839 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26840 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26842 * localedata/Makefile (test-input-data): Use full file name.
26843 * localedata/da_DK.in: Rename to...
26844 * localedata/da_DK.ISO-8859-1.in: ...this.
26845 * localedata/de_DE.in: Rename to...
26846 * localedata/de_DE.ISO-8859-1.in: ...this.
26847 * localedata/en_US.in: Rename to...
26848 * localedata/en_US.ISO-8859-1.in: ...this.
26849 * localedata/fr_FR.in: Rename to...
26850 * localedata/fr_FR.UTF-8.in: ... this.
26851 * localedata/hr_HR.in: Rename to...
26852 * localedata/hr_HR.ISO-8859-2.in: ...this.
26853 * localedata/hu_HU.in: Rename to...
26854 * localedata/hu_HU.UTF-8.in: ...this.
26855 * localedata/si_LK.in: Rename to...
26856 * localedata/si_LK.UTF-8.in: ...this.
26857 * localedata/sv_SE.in: Rename to...
26858 * localedata/sv_SE.ISO-8859-1.in: ...this.
26859 * localedata/tr_TR.in: Rename to...
26860 * localedata/tr_TR.UTF-8.in: ...this.
26861 * localedata/uk_UA.in: Rename to...
26862 * localedata/uk_UA.UTF-8.in: ...this.
26863 * localedata/sort-test.sh: Test file is locale name with the
26866 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26867 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26869 * localedata/locales/i18n_ctype: Regenerate.
26870 * localedata/locales/tr_TR: Likewise.
26871 * localedata/locales/translit_circle: Likewise.
26872 * localedata/locales/translit_cjk_compat: Likewise.
26873 * localedata/locales/translit_combining: Likewise.
26874 * localedata/locales/translit_compat: Likewise.
26875 * localedata/locales/translit_font: Likewise.
26876 * localedata/locales/translit_fraction: Likewise.
26878 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26880 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26881 lxvd2x/stxvd2x with lvx/stvx.
26882 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26884 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26886 * include/alloc_buffer.h: Replace "if if " with "if " in
26888 * sysdeps/mips/memcpy.S: Likkewise.
26889 * sysdeps/mips/memset.S: Likewise.
26890 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26892 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26894 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26897 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26900 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26901 yesexpr and noexpr.
26902 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26903 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26904 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26905 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26906 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26907 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26908 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26910 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26912 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26913 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26914 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26915 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26916 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26917 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26918 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26919 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26920 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26921 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26922 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26923 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26925 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26927 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26928 as possible for better readability of the source.
26929 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26930 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26931 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26932 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26933 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26934 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26935 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26936 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26937 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26938 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26939 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26940 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26941 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26942 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26943 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26944 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26945 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26946 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26947 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26948 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26949 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26950 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26951 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26952 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26953 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26954 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26955 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26956 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26957 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26958 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26959 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26960 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26961 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26962 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26963 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26964 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26965 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26966 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26967 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26968 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26969 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26970 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26971 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26972 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26973 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26974 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26975 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26976 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26977 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26978 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26979 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26980 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26981 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26982 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26983 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26984 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26985 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26986 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26987 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26988 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26989 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26990 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26991 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26992 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26993 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26994 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26995 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26996 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26997 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26998 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26999 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
27000 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
27001 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
27002 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
27003 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27004 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
27005 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
27006 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
27007 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
27008 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
27009 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
27010 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
27011 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
27012 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27013 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
27014 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
27015 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
27016 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27017 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
27018 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
27019 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
27020 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
27021 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27022 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
27023 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
27024 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27025 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
27026 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27027 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
27028 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
27029 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
27030 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
27031 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
27032 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
27033 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
27034 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
27035 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
27036 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
27037 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
27038 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
27039 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
27040 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
27041 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27042 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
27043 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
27044 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
27045 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
27046 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
27047 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
27048 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
27049 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
27050 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
27051 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
27052 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
27053 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
27054 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
27055 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
27056 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
27057 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
27058 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
27059 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
27060 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
27061 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
27062 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
27063 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
27064 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
27065 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
27066 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
27067 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
27068 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
27069 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
27070 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
27071 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
27072 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
27073 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
27074 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27075 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
27076 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
27077 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
27078 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
27079 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
27080 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
27081 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
27082 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
27083 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27084 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
27085 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
27086 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
27087 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
27088 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
27089 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
27090 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
27091 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
27092 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
27093 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
27094 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27095 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
27096 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
27097 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
27098 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
27099 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27100 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27101 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27102 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
27104 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27106 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
27107 (Use first letters of yesstr and nostr correctly instead of using
27110 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27112 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
27113 (Use first letters of yesstr and nostr correctly).
27115 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27117 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
27118 also check for the first characters of yesstr and nostr.
27119 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
27120 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
27122 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27124 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
27125 also check for Chinese characters.
27127 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27129 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
27130 match also for the contents of yesstr and nostr. As the first letter
27131 of yesstr and nostr is equal, checking only for the first letter
27134 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27136 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
27137 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
27139 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27141 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
27142 of main contributor.
27144 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27146 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
27147 instead of using English.
27149 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27151 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
27152 by including the first letters of nostr and yesexpr in the regexp.
27153 Also make it more readable by using ASCII where possible.
27155 2017-10-25 Mike FABIAN <mfabian@redhat.com>
27157 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
27158 the first letter of nostr in the regexp. It agrees with CLDR now.
27159 Also make it more readable by using ASCII where possible.
27161 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27163 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
27164 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
27165 these strings contain a U+17D6 (which somewhat looks like a colon)
27166 instead of a real colon to separate the full words for “yes”
27167 and “no” from the single letter responses.
27169 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27171 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
27172 it agree with CLDR (include the first letter of yesstr).
27173 Also make it more readable by using ASCII where possible.
27175 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27177 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
27178 and improve yesexpr and noexpr. The yesstr and nostr apparently
27179 came from CLDR. And CLDR has a bug there: these strings contain
27180 a U+0903 (which looks like a colon) instead of a real colon
27181 to separate the full words for “yes” and “no” from the single
27184 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27186 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
27187 letters of the full yesstr and nostr in yesexpr and noexpr.
27189 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27191 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
27192 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
27193 * localedata/locales/an_ES: Make source more readable by using ASCII
27196 2017-10-24 Mike FABIAN <mfabian@redhat.com>
27199 * localedata/locales/yuw_PG: New file.
27200 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
27201 * locale/iso-639.def: Add Yau (Uruwa).
27203 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27205 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
27207 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27209 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
27210 (__libc_realloc): Likewise.
27211 (_mid_memalign): Likewise.
27212 (__libc_calloc): Likewise.
27214 2017-10-23 Mike FABIAN <mfabian@redhat.com>
27216 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
27217 by adding the generic +1 and -0 as in all other locales.
27218 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
27219 day names and make it more readable by using ASCII where possible.
27221 2017-10-24 Joseph Myers <joseph@codesourcery.com>
27223 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
27224 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
27226 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27228 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
27229 WNOHANG in waitpid call.
27231 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
27233 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
27234 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
27236 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
27237 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
27238 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
27239 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
27240 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
27241 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
27242 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
27243 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
27246 2017-10-23 Michael Collison <michael.collison@arm.com>
27248 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
27249 with __builtin_sqrt.
27250 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
27251 with __builtin_sqrtf.
27252 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
27253 with __builtin_ceil.
27254 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
27255 with __builtin_ceilf.
27256 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
27257 with __builtin_floor.
27258 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
27259 with __builtin_floorf.
27260 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
27261 with __builtin_fma.
27262 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
27263 with __builtin_fmaf.
27264 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
27265 with __builtin_fmax.
27266 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
27267 with __builtin_fmaxf.
27268 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
27269 with __builtin_fmin.
27270 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
27271 with __builtin_fminf.
27272 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
27273 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
27274 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
27275 with builtin_rint and conversion to int.
27276 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
27277 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
27278 with builtin_llround.
27279 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
27280 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
27281 with builtin_rint and conversion to long int.
27282 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
27283 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
27284 with builtin_lround.
27285 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
27286 with builtin_lroundf.
27287 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
27288 statements with __builtin_nearbyint.
27289 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
27290 statements with __builtin_nearbyintf.
27291 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
27292 with __builtin_rint.
27293 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
27294 with __builtin_rintf.
27295 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
27296 with __builtin_round.
27297 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
27298 with __builtin_roundf.
27299 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
27300 with __builtin_trunc.
27301 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
27302 with __builtin_truncf.
27303 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
27304 and s_l[l]round[f].c too.
27306 2017-10-23 Alan Modra <amodra@gmail.com>
27308 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
27309 Adjust stack after restoring regs. Add missing LR cfi_restore.
27311 2017-10-23 Alan Modra <amodra@gmail.com>
27313 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
27314 Move LR save and frame setup/teardown and LR restore to
27315 immediately around memset call. Provide cfi.
27317 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27319 * sysdeps/i386/fpu/e_powf.S: Removed.
27320 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
27321 * sysdeps/i386/fpu/w_powf.c: Likewise.
27322 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
27323 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27324 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27326 (CFLAGS-e_powf-sse2.c): New.
27327 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
27328 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
27330 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27332 * sysdeps/i386/fpu/e_log2f.S: Removed.
27333 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
27334 * sysdeps/i386/fpu/w_log2f.c: Likewise.
27335 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
27336 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27337 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27339 (CFLAGS-e_log2f-sse2.c): New.
27340 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
27341 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
27343 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27345 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27347 (CFLAGS-e_powf-fma.c): New.
27348 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
27349 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
27351 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27353 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27355 (CFLAGS-e_log2f-fma.c): New.
27356 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
27357 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
27359 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27361 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27363 (CFLAGS-e_logf-fma.c): New.
27364 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
27365 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
27367 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27369 * sysdeps/i386/fpu/e_logf.S: Removed.
27370 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
27371 * sysdeps/i386/fpu/w_logf.c: Likewise.
27372 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
27373 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
27374 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27375 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27377 (CFLAGS-e_logf-sse2.c): New.
27378 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
27379 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
27381 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27383 * sysdeps/i386/fpu/e_exp2f.S: Removed.
27384 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
27385 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
27386 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27387 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27389 (CFLAGS-e_exp2f-sse2.c): New.
27390 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
27391 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
27393 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27395 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27397 (CFLAGS-e_exp2f-fma.c): New.
27398 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
27399 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
27401 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27403 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
27404 * sysdeps/i386/fpu/e_expf.S: Likewise.
27405 * sysdeps/i386/fpu/math_errf.c: Likewise.
27406 * sysdeps/i386/fpu/w_expf.c: Likewise.
27407 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
27408 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27409 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
27410 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
27411 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27412 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27413 Remove e_expf-ia32.
27414 (CFLAGS-e_expf-sse2.c): New.
27415 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
27416 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
27418 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27420 * sysdeps/x86_64/fpu/e_expf.S: Removed.
27421 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
27422 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
27423 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
27425 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
27427 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
27428 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
27430 (__redirect_expf): This.
27431 (SYMBOL_NAME): Changed to expf.
27432 (__ieee754_expf): Renamed to ...
27434 (__GI___expf): This.
27435 (__ieee754_expf): Add strong_alias.
27436 (__expf_finite): Likewise.
27438 Include <sysdeps/ieee754/flt-32/e_expf.c>.
27440 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
27443 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
27446 2017-10-21 Florian Weimer <fweimer@redhat.com>
27448 * posix/Makefile (tests): Add tst-glob-tilde.
27449 (tests-special): Add tst-glob-tilde-mem.out
27450 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
27451 (tst-glob-tilde-mem.out): Add mtrace check.
27452 * posix/tst-glob-tilde.c: New file.
27454 2017-10-20 Joseph Myers <joseph@codesourcery.com>
27456 * bits/floatn-common.h: New file.
27457 * math/Makefile (headers): Add bits/floatn-common.h.
27458 * bits/floatn.h: Include <bits/floatn-common.h>.
27459 * sysdeps/ia64/bits/floatn.h: Likewise.
27460 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27461 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
27462 * sysdeps/powerpc/bits/floatn.h: Likewise.
27463 * sysdeps/x86/bits/floatn.h: Likewise.
27465 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27467 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
27468 indicates whether compiler emits an warning for alias for
27469 functions with incompatible types.
27472 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
27473 the auxiliary process is terminated by a signal before calling _exit
27476 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27479 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
27481 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
27482 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
27483 and bit_arch_XSAVEC_Usable if needed.
27484 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
27485 and bit_arch_Use_dl_runtime_resolve_opt.
27486 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
27488 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
27489 (bit_arch_Prefer_No_AVX512): Updated.
27490 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
27491 (bit_arch_XSAVEC_Usable): New.
27492 (STATE_SAVE_OFFSET): Likewise.
27493 (STATE_SAVE_MASK): Likewise.
27494 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
27495 (cpu_features): Add xsave_state_size and xsave_state_full_size.
27496 (index_arch_Use_dl_runtime_resolve_opt): Removed.
27497 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
27498 (index_arch_XSAVEC_Usable): New.
27499 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27500 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
27501 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
27503 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
27504 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
27505 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
27506 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
27507 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
27508 _dl_runtime_resolve_xsavec.
27509 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
27511 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
27512 instead of VEC_SIZE.
27513 (REGISTER_SAVE_BND0): Removed.
27514 (REGISTER_SAVE_BND1): Likewise.
27515 (REGISTER_SAVE_BND3): Likewise.
27516 (REGISTER_SAVE_RAX): Always defined to 0.
27518 (_dl_runtime_resolve_avx): Likewise.
27519 (_dl_runtime_resolve_avx_slow): Likewise.
27520 (_dl_runtime_resolve_avx_opt): Likewise.
27521 (_dl_runtime_resolve_avx512): Likewise.
27522 (_dl_runtime_resolve_avx512_opt): Likewise.
27523 (_dl_runtime_resolve_sse): Likewise.
27524 (_dl_runtime_resolve_sse_vex): Likewise.
27526 (_dl_runtime_resolve_fxsave): Likewise.
27527 (USE_XSAVE): Likewise.
27528 (_dl_runtime_resolve_xsave): Likewise.
27529 (USE_XSAVEC): Likewise.
27530 (_dl_runtime_resolve_xsavec): Likewise.
27531 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
27533 (_dl_runtime_resolve_avx512_opt): Likewise.
27534 (_dl_runtime_resolve_avx): Likewise.
27535 (_dl_runtime_resolve_avx_opt): Likewise.
27536 (_dl_runtime_resolve_sse): Likewise.
27537 (_dl_runtime_resolve_sse_vex): Likewise.
27538 (_dl_runtime_resolve_fxsave): New.
27539 (_dl_runtime_resolve_xsave): Likewise.
27540 (_dl_runtime_resolve_xsavec): Likewise.
27542 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
27546 * posix/glob.c (__glob): Fix one-byte overflow.
27548 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27550 * malloc/malloc.c (sysdep-cancel.h): Add include.
27552 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27554 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
27556 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
27558 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
27559 (tests): Remove $(objpfx)ga_test depdendency.
27560 * resolv/ga_test.c: Remove file.
27562 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27565 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
27566 * localedata/locales/kab_DZ: New file.
27568 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27570 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
27571 _dl_relocate_static_pie instead of _dl_start to compute load
27572 address in static PIE.
27574 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27576 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
27578 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27581 * localedata/SUPPORTED: Add shn_MM/UTF-8.
27582 * localedata/locales/shn_MM: New file.
27584 2017-10-20 Florian Weimer <fweimer@redhat.com>
27587 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
27588 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
27589 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
27590 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
27591 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
27592 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
27594 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
27596 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27598 2017-10-19 Joseph Myers <joseph@codesourcery.com>
27600 * sysdeps/mips/ieee754/bits/floatn.h: New file.
27603 * sysdeps/mips/bits/long-double.h: Move to ....
27604 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
27606 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
27608 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
27610 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
27611 H.J. Lu <hongjiu.lu@intel.com>
27614 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27615 GLRO(dl_platform) to NULL.
27616 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27617 (modules-names): Add tst-platformmod-1 and
27618 x86_64/tst-platformmod-2.
27619 (CFLAGS-tst-platform-1.c): New.
27620 (CFLAGS-tst-platformmod-1.c): Likewise.
27621 (CFLAGS-tst-platformmod-2.c): Likewise.
27622 (LDFLAGS-tst-platformmod-2.so): Likewise.
27623 ($(objpfx)tst-platform-1): Likewise.
27624 ($(objpfx)tst-platform-1.out): Likewise.
27625 (tst-platform-1-ENV): Likewise.
27626 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27627 * sysdeps/x86_64/tst-platform-1.c: New file.
27628 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27629 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27631 2017-10-19 Mike FABIAN <mfabian@redhat.com>
27634 * locale/iso-639.def: Add Karbi.
27635 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27636 * localedata/locales/mjw_IN: New file.
27638 2017-10-18 Joseph Myers <joseph@codesourcery.com>
27640 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27641 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27642 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27643 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27644 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27645 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27646 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27648 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27649 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27650 * manual/math.texi (Mathematics): Document additional architecture
27651 support for _Float128.
27652 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27653 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27654 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27655 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27656 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27657 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27658 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27659 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27660 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27661 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27662 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27663 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27664 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27665 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27666 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27668 2017-10-18 Renlin Li <renlin.li@arm.com>
27670 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
27671 _DYNAMIC symbol to calculate load address.
27673 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
27675 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
27676 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
27678 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
27679 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
27681 2017-10-18 Mike FABIAN <mfabian@redhat.com>
27684 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
27685 and improve readability by using more ASCII.
27686 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
27687 and improve readability by using more ASCII.
27689 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
27691 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
27692 not all targets support atomics on bool.
27694 2017-10-17 Joseph Myers <joseph@codesourcery.com>
27696 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
27697 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
27699 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27700 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
27701 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27702 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
27703 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27704 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
27706 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27708 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
27711 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27714 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
27715 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
27716 (do_check_remalloced_chunk): Fix build bug.
27717 (do_check_malloc_state): Add assert that checks arena->top.
27718 (malloc_consolidate): Remove initialization.
27719 (int_mallinfo): Remove call to malloc_consolidate.
27720 (__libc_mallopt): Clarify why malloc_consolidate is needed.
27722 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27724 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
27725 (have_fastchunks): Remove.
27726 (clear_fastchunks): Remove.
27727 (set_fastchunks): Remove.
27728 (malloc_state): Add have_fastchunks.
27729 (malloc_init_state): Use have_fastchunks.
27730 (do_check_malloc_state): Remove incorrect invariant checks.
27731 (_int_malloc): Use have_fastchunks.
27732 (_int_free): Likewise.
27733 (malloc_consolidate): Likewise.
27735 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27737 * malloc/malloc.c (tcache_put): Inline.
27738 (tcache_get): Inline.
27740 2017-10-17 Jordi Mallach <jordi@gnu.org>
27742 Aurelien Jarno <aurelien@aurel32.net>
27744 * localedata/locales/ca_ES@valencia: New file.
27745 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
27747 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
27750 * math/math.h: Let signbit use the builtin in C++ mode with gcc
27753 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27755 * scripts/build-many-glibcs.py (Context.add_all_configs):
27756 Add arm-linux-gnueabihf multiarch extra_glibcs.
27758 * sysdeps/generic/ifunc-init.h: New file.
27759 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
27761 2017-10-17 Mike FABIAN <mfabian@redhat.com>
27764 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27765 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27766 * stdlib/tst-strfmon_l.c: adapt test case.
27768 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27770 * sysdeps/generic/float128-abi.h: New file.
27771 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27772 non-__prefixed symbols to ....
27773 * math/Versions: ... here. Include <float128-abi.h>.
27774 * stdlib/Versions ... and here. Include <float128-abi.h>
27776 2017-10-16 Florian Weimer <fweimer@redhat.com>
27778 * version.h (VERSION): Switch to ".9000" as the development
27781 2017-10-16 Florian Weimer <fweimer@redhat.com>
27784 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27785 compat_symbol_reference to access non-default version.
27787 2017-10-16 Florian Weimer <fweimer@redhat.com>
27789 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27791 2017-10-16 Carlos O'Donell <carlos@redhat.com>
27793 * include/shlib-compat.h (compat_symbol_reference): Update
27796 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27798 * math/Makefile (test-types): Add
27799 $(type-float128-$(float128-alias-fcts)).
27800 * math/test-float128.h (TYPE_STR): Define conditional on
27801 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27802 (ULP_IDX): Likewise.
27803 (ULP_I_IDX): Likewise.
27805 * stdlib/strtold.c: Include <bits/floatn.h>
27806 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27807 and later undefine as macro. Define as weak alias if
27809 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27810 and later undefine as macro. Define as weak alias if
27812 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27813 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27814 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27815 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27816 Define and later undefine as macro. Define as weak alias if
27818 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27820 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27821 Define and later undefine as macro. Define as weak alias if
27823 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27824 Define and later undefine as macro. Define as weak alias if
27827 2017-10-15 Carlos O'Donell <carlos@redhat.com>
27829 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27830 record_verbose messages.
27832 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27835 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27836 to silence -O3 -Wall warning with GCC 7.
27838 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27840 * Makeconfig (+link-static-before-libc): Use the first of
27841 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27842 * gmon/Makefile (tests): Add tst-gmon-static.
27843 (tests-static): Likewise.
27844 (CFLAGS-tst-gmon-static.c): New.
27845 (CRT-tst-gmon-static): Likewise.
27846 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27847 (tst-gmon-static-ENV): Likewise.
27848 (tests-special): Likewise.
27849 ($(objpfx)tst-gmon-static.out): Likewise.
27850 (clean-tst-gmon-static-data): Likewise.
27851 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27852 * gmon/tst-gmon-static-gprof.sh: New file.
27853 * gmon/tst-gmon-static.c: Likewise.
27855 2017-10-13 Carlos O'Donell <carlos@redhat.com>
27858 * locale/programs/linereader.c (get_string): Don't warn on
27859 non-symbolic character.
27862 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27866 * locale/programs/record-status.h: New file
27867 * locale/programs/locale.c: Add comment.
27868 * locale/programs/charmap-dir.c: Don't include error.h.
27869 (charmap_opendir): Use record_error.
27870 * locale/programs/charmap.c: Don't include error.h.
27871 (charmap_read): Use record_error, and record_warning.
27872 (parse_charmap): Likewise.
27873 * locale/programs/ld-address.c: Don't include error.h.
27874 (address_finish): Use record_error, and record_warning.
27875 * locale/programs/ld-collate.c: Don't include error.h.
27876 (collate_finish): Use record_error, and record_error_at_line.
27877 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27878 (ctype_class_new): Likewise.
27879 (ctype_map_new): Likewise.
27880 (set_one_default): Likewise.
27881 (set_class_defaults): Likewise.
27882 (translit_flatten): Likewise.
27883 (allocate_arrays): Use record_error, and record_verbose.
27884 * locale/programs/ld-identification.c: Don't include error.h.
27885 (indentation_finish): Use record_error and record_warning.
27886 * locale/programs/ld-measurement.c: Don't include error.h.
27887 (measurement_finish): Use record_error.
27888 * locale/programs/ld-messages.c
27889 (message_finish): Likewise.
27890 * locale/programs/ld-monetary.c
27891 (monetary_finish): Likewise.
27892 * locale/programs/ld-name.c (name_finish): Use record_error
27893 and record_warning.
27894 * locale/programs/ld-numeric.c
27895 (numeric_finish): Use record_error.
27896 * locale/programs/ld-paper.c: Don't include error.h.
27897 (paper_finish): Use record_error.
27898 * locale/programs/ld-telephone.c: Don't include error.h.
27899 (telephone_finish): Use record_error.
27900 * locale/programs/ld-time.c (time_finish): Likewise.
27901 * locale/programs/linereader.h (lr_error): Make inline func.
27902 * locale/programs/localedef.c: Define recorded_warning_count,
27903 and recorded_error_count.
27904 (main): Use record_error. Use recorded_error_count and
27905 recorded_warning_count to issue correct error returns.
27906 (add_to_readlist): Use record_error.
27907 (find_locale): Likewise.
27908 (load_locale): Likewise.
27909 * locale/programs/localedef.h: Remove be_quiet
27910 and WITH_CUR_LOCALE.
27911 * locale/programs/locarchive.c (compare_from_file): Use
27913 * locale/programs/locfile.c (write_locale_data): Use
27915 * locale/programs/repertoire.c: Dont include error.h.
27916 (repertoire_complain): Use record_error.
27917 * localedata/tst-fmon.sh: Expect failures from localedef.
27918 * localedata/tst-locale.sh: Likewise.
27919 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27921 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27922 (REPORTS): Likewise.
27924 (i18n): Rename to...
27925 (i18n_ctype): ...this.
27926 (i18n-report): Rename to...
27927 (i18n_ctype-report): ...this.
27928 * localedata/locales/i18n_ctype: Regenerate.
27929 * localedata/locales/i18n: copy i18n_ctype.
27931 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27933 * stdlib/strfroml.c: Include <bits/floatn.h>.
27934 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27935 Define before include of <stdlib.h> and undefine afterwards, then
27936 define as weak alias.
27938 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27939 Undefine and restore default definition. Use
27940 libm_alias_ldouble_other.
27942 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27945 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27948 2017-10-13 James Clarke <jrtc27@jrtc27.com>
27950 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27951 Assign sym_map to be map for local symbols, as TLS relocations
27952 use sym_map to determine whether the symbol is defined and to
27953 extract the TLS information.
27954 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27955 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27957 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27960 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27961 (math_force_eval): Add powerpc version.
27964 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27966 (do_test): Likewise.
27967 * stdio-common/tst-printf.sh: Likewise.
27968 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27969 ifdef clause in order to set the carry bit right. Replace r0 by
27970 0 without changing the behavior.
27972 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27974 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27975 <libm-alias-ldouble.h>.
27976 (fabsl): Define using libm_alias_ldouble.
27977 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27978 <libm-alias-ldouble.h>.
27979 (fabsl): Define using libm_alias_ldouble.
27981 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27982 Remove conditional code.
27984 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27985 Rename to __clog10_internal_l.
27986 (__clog10_internal_l): Define aliases using
27987 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27990 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27992 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27993 * benchtests/sincosf-inputs: New file.
27994 * benchtests/cosf-inputs: New file.
27995 * benchtests/sinf-inputs: New file.
27997 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27999 * posix/tst-spawn.c (do_test): Wait for both children.
28001 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
28004 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
28005 tests-pie): Add tst-gmon-pie.
28006 (CFLAGS-tst-gmon-pie.c): New.
28007 (CRT-tst-gmon-pie): Likewise.
28008 (tst-gmon-pie-ENV): Likewise.
28009 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
28010 ($(objpfx)tst-gmon-pie.out): Likewise.
28011 (clean-tst-gmon-pie-data): Likewise.
28012 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
28013 * gmon/gmon.c [PIC]: Include <link.h>.
28014 [PIC] (callback): New function.
28015 (write_hist): Add an argument for load address. Subtract load
28017 (write_call_graph): Likewise.
28018 (write_gmon): Call __dl_iterate_phdr to get load address, pass
28019 it to write_hist and write_call_graph.
28020 * gmon/tst-gmon-pie.c: New file.
28022 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28024 * math/Makefile (test-types-basic): New variable.
28025 (test-types): Likewise.
28026 (libm-test-support): Use $(test-types) instead of $(types).
28027 (libm-tests-base-normal): Likewise.
28028 (libm-tests-base-finite): Likewise.
28029 (libm-tests-base-inline): Likewise.
28030 (generated): Likewise.
28031 ($(objpfx)libm-test-support-$(t).c): Likewise.
28032 (libm-tests-for-type iterator): Likewise.
28033 (libm-test-support iterator): Likewise.
28034 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
28035 (ulp_idx): Use ULP_IDX.
28036 * math/test-ldouble.h: Include <float.h>.
28037 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
28038 (ULP_IDX): New macro.
28039 (ULP_I_IDX): Likewise.
28040 * math/test-double.h (ULP_IDX): Likewise.
28041 (ULP_I_IDX): Likewise.
28042 * math/test-float.h (ULP_IDX): Likewise.
28043 (ULP_I_IDX): Likewise.
28044 * math/test-float128.h (ULP_IDX): Likewise.
28045 (ULP_I_IDX): Likewise.
28047 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28049 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
28050 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28051 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28052 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
28053 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28054 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
28055 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
28056 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28057 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28058 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28059 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
28060 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28061 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28062 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28063 (SINGLE_THREAD_BY_GLOBAL): Define.
28064 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28066 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28068 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28070 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28072 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
28073 (SINGLE_THREAD_BY_GLOBAL): Likewise.
28074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28077 2017-10-11 Andreas Schwab <schwab@suse.de>
28079 * nis/Makefile (aux): Remove.
28080 * nscd/Makefile (aux): Add nscd_hash.
28081 (nscd-modules): Likewise.
28082 ($(objpfx)nscd): Don't depend on libnsl.
28083 * nscd/nscd_hash.c: New file.
28084 * nscd/nscd_hash.h: Likewise.
28085 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
28086 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
28087 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
28088 instead of <nis/rpcsvc/nis.h>.
28089 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
28091 2017-10-11 Florian Weimer <fweimer@redhat.com>
28094 Avoid large NSS buffers with many addresses, aliases.
28095 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
28096 using dynarrays and struct alloc_buffer.
28097 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
28098 (tst-nss-files-hosts-multi): Link with -ldl.
28099 * nss/tst-nss-files-hosts-multi.c: New file.
28101 2017-10-11 Florian Weimer <fweimer@redhat.com>
28104 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
28105 scratch_buffer. Eliminate gotos.
28107 2017-10-11 Joseph Myers <joseph@codesourcery.com>
28109 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
28110 libm_alias_ldouble_other.
28111 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
28112 undefine and redefine.
28113 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28114 (exp10l): Do not define here.
28115 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
28116 (weak_alias): Undefine and redefine.
28117 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
28118 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28119 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
28120 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
28122 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
28123 [!__fma] (fma): Define using libm_alias_double.
28124 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
28125 [!__fmaf] (fmaf): Define using libm_alias_float.
28126 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
28127 (fmal): Define using libm_alias_ldouble.
28129 2017-10-10 Joseph Myers <joseph@codesourcery.com>
28131 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
28133 (libm_alias_double_other): Likewise.
28134 (libm_alias_double_r): Use libm_alias_double_other_r.
28135 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
28137 (libm_alias_float_other): Likewise.
28138 (libm_alias_float_r): Use libm_alias_float_other_r.
28139 * sysdeps/generic/libm-alias-float128.h
28140 (libm_alias_float128_other_r): New macro.
28141 (libm_alias_float128_other): Likewise.
28142 (libm_alias_float128_r): Use libm_alias_float128_other_r.
28143 * sysdeps/generic/libm-alias-ldouble.h
28144 (libm_alias_ldouble_other_r): New macro.
28145 (libm_alias_ldouble_other): Likewise.
28146 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28147 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
28148 (libm_alias_double_other_r): New macro.
28149 (libm_alias_double_other): Likewise.
28150 (libm_alias_double_r): Use libm_alias_double_other_r.
28151 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
28152 (libm_alias_ldouble_other_r): New macro.
28153 (libm_alias_ldouble_other): Likewise.
28154 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28155 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
28156 [!USE_AS_COMPAT]: Use libm_alias_double_other.
28157 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
28158 [!USE_AS_COMPAT]: Use libm_alias_float_other.
28159 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
28160 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
28161 * math/w_exp2f.c: Use libm_alias_float_other.
28162 * math/w_expf.c: Likewise.
28163 * math/w_log2f.c: Likewise.
28164 * math/w_logf.c: Likewise.
28165 * math/w_powf.c: Likewise.
28166 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
28167 [!__exp2f]: Use libm_alias_float_other.
28168 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
28169 [!__expf]: Use libm_alias_float_other.
28170 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
28171 [!__log2f]: Use libm_alias_float_other.
28172 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
28173 [!__logf]: Use libm_alias_float_other.
28174 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
28175 [!__powf]: Use libm_alias_float_other.
28177 2017-10-10 Florian Weimer <fweimer@redhat.com>
28179 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
28181 (_nss_files_gethostbyname3_r): Call it.
28183 2017-10-09 Joseph Myers <joseph@codesourcery.com>
28185 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
28186 error. Remove default definition of declare_mgen_alias.
28187 [!declare_mgen_alias_r]: Likewise.
28188 * sysdeps/generic/math-type-macros-double.h
28189 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
28190 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
28191 (declare_mgen_alias_r): Likewise.
28192 * sysdeps/generic/math-type-macros-float128.h
28193 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28194 * sysdeps/generic/math-type-macros-ldouble.h
28195 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28196 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
28198 (declare_mgen_alias_r_s): Likewise.
28199 (declare_mgen_alias_r): Likewise.
28200 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
28201 (lgamma_r): Define using libm_alias_double_r.
28202 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
28203 (lgammaf_r): Define using libm_alias_float_r.
28204 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
28205 (lgammal_r): Define using libm_alias_ldouble_r.
28206 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
28207 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28209 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28211 * lib/glob.c (__glob_pattern_type): Remove now-spurious
28212 extern declaration.
28214 2017-10-09 Joseph Myers <joseph@codesourcery.com>
28216 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
28218 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
28221 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
28222 [__cplusplus >= 201103] (__USE_ISOC99): Define.
28223 * math/Makefile (test-math-cxx11): New test.
28224 * math/test-math-cxx11.cc: New file.
28226 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
28228 * login/openpty.c (openpty): Close slave pty file descriptor on error.
28230 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
28231 call to allocate the slave pty file descriptor.
28233 2017-10-06 Joseph Myers <joseph@codesourcery.com>
28235 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
28236 [!__fma] (fma): Define using libm_alias_double.
28237 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
28238 [!__fma] (fma): Define using libm_alias_double.
28240 * sysdeps/ieee754/float128/float128_private.h: Include
28241 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
28242 (libm_alias_ldouble_r): Undefine and redefine.
28243 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
28244 <libm-alias-ldouble.h>.
28245 (asinhl): Define using libm_alias_ldouble.
28246 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
28247 <libm-alias-ldouble.h>.
28248 (atanl): Define using libm_alias_ldouble.
28249 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
28250 <libm-alias-ldouble.h>.
28251 (cbrtl): Define using libm_alias_ldouble.
28252 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
28253 <libm-alias-ldouble.h>.
28254 (ceill): Define using libm_alias_ldouble.
28255 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
28256 <libm-alias-ldouble.h>.
28257 (copysignl): Define using libm_alias_ldouble.
28258 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
28259 <libm-alias-ldouble.h>.
28260 (cosl): Define using libm_alias_ldouble.
28261 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
28262 <libm-alias-ldouble.h>.
28263 (erfl): Define using libm_alias_ldouble.
28265 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
28266 <libm-alias-ldouble.h>.
28267 (expm1l): Define using libm_alias_ldouble.
28268 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
28269 <libm-alias-ldouble.h>.
28270 (fabsl): Define using libm_alias_ldouble.
28271 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
28272 <libm-alias-ldouble.h>.
28273 (floorl): Define using libm_alias_ldouble.
28274 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
28275 <libm-alias-ldouble.h>.
28276 (fmal): Define using libm_alias_ldouble.
28277 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
28278 <libm-alias-ldouble.h>.
28279 (frexpl): Define using libm_alias_ldouble.
28280 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
28281 libm_alias_ldouble.
28282 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
28283 <libm-alias-ldouble.h>.
28284 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
28285 libm_alias_ldouble.
28286 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
28287 <libm-alias-ldouble.h>.
28288 (getpayloadl): Define using libm_alias_ldouble.
28289 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
28290 <libm-alias-ldouble.h>.
28291 (llrintl): Define using libm_alias_ldouble.
28292 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
28293 <libm-alias-ldouble.h>.
28294 (llroundl): Define using libm_alias_ldouble.
28295 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
28296 <libm-alias-ldouble.h>.
28297 (logbl): Define using libm_alias_ldouble.
28298 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
28299 <libm-alias-ldouble.h>.
28300 (lrintl): Define using libm_alias_ldouble.
28301 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
28302 <libm-alias-ldouble.h>.
28303 (lroundl): Define using libm_alias_ldouble.
28304 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
28305 <libm-alias-ldouble.h>.
28306 (modfl): Define using libm_alias_ldouble.
28307 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
28308 <libm-alias-ldouble.h>.
28309 (nearbyintl): Define using libm_alias_ldouble.
28310 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
28311 <libm-alias-ldouble.h>.
28312 (nextafterl): Define using libm_alias_ldouble.
28313 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
28314 <libm-alias-ldouble.h>.
28315 (nextupl): Define using libm_alias_ldouble.
28316 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
28317 <libm-alias-ldouble.h>.
28318 (remquol): Define using libm_alias_ldouble.
28319 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
28320 <libm-alias-ldouble.h>.
28321 (rintl): Define using libm_alias_ldouble.
28322 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
28323 <libm-alias-ldouble.h>.
28324 (roundevenl): Define using libm_alias_ldouble.
28325 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
28326 <libm-alias-ldouble.h>.
28327 (roundl): Define using libm_alias_ldouble.
28328 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
28329 using libm_alias_ldouble.
28330 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
28331 <libm-alias-ldouble.h>.
28332 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
28333 Define using libm_alias_ldouble.
28334 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
28335 <libm-alias-ldouble.h>.
28336 (sincosl): Define using libm_alias_ldouble.
28337 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
28338 <libm-alias-ldouble.h>.
28339 (sinl): Define using libm_alias_ldouble.
28340 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
28341 <libm-alias-ldouble.h>.
28342 (tanhl): Define using libm_alias_ldouble.
28343 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
28344 <libm-alias-ldouble.h>.
28345 (tanl): Define using libm_alias_ldouble.
28346 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
28347 <libm-alias-ldouble.h>.
28348 (totalorderl): Define using libm_alias_ldouble.
28349 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
28350 <libm-alias-ldouble.h>.
28351 (totalordermagl): Define using libm_alias_ldouble.
28352 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
28353 <libm-alias-ldouble.h>.
28354 (truncl): Define using libm_alias_ldouble.
28355 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
28356 libm_alias_ldouble.
28357 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
28358 libm_alias_ldouble.
28359 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
28360 <libm-alias-ldouble.h>.
28361 (weak_alias): Do not undefine and redefine.
28362 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28363 (copysignl): Define with long_double_symbol only if [IS_IN
28365 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
28366 <libm-alias-ldouble.h>.
28367 (weak_alias): Do not undefine and redefine.
28368 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28369 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
28370 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
28371 <libm-alias-ldouble.h>.
28372 (weak_alias): Do not undefine and redefine.
28373 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28374 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
28375 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
28376 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
28377 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
28378 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
28379 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
28380 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
28381 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
28382 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
28383 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
28384 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
28385 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
28386 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
28387 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
28388 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
28389 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
28390 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
28391 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
28392 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
28393 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
28394 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
28395 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
28396 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
28397 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
28398 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
28400 2017-10-06 Carlos O'Donell <carlos@redhat.com>
28403 * malloc/malloc.c (tcache_shutting_down): Use bool type.
28404 (tcache_thread_freeres): Set tcache_shutting_down before
28405 freeing the tcache.
28406 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
28407 * malloc/tst-malloc-tcache-leak.c: New file.
28409 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28411 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
28412 back to powerpc32 file.
28413 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28414 (memrchr): Add __memrchr_power8 to ifunc list.
28415 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
28416 extra bytes for unaligned inputs.
28418 2017-10-06 Joseph Myers <joseph@codesourcery.com>
28420 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
28421 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
28422 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
28423 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28424 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28426 2017-10-05 Joseph Myers <joseph@codesourcery.com>
28428 * sysdeps/arm/libm-test-ulps: Update.
28430 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
28431 <libm-alias-ldouble.h>.
28432 (asinhl): Define using libm_alias_ldouble.
28433 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
28434 <libm-alias-ldouble.h>.
28435 (cbrtl): Define using libm_alias_ldouble.
28436 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
28437 <libm-alias-ldouble.h>.
28438 (copysignl): Define using libm_alias_ldouble.
28439 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
28440 <libm-alias-ldouble.h>.
28441 (cosl): Define using libm_alias_ldouble.
28442 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
28443 <libm-alias-ldouble.h>.
28444 (erfl): Define using libm_alias_ldouble.
28446 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
28447 <libm-alias-ldouble.h>.
28448 (fmal): Define using libm_alias_ldouble.
28449 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
28450 <libm-alias-ldouble.h>.
28451 (frexpl): Define using libm_alias_ldouble.
28452 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
28453 libm_alias_ldouble.
28454 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
28455 <libm-alias-ldouble.h>.
28456 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
28457 libm_alias_ldouble.
28458 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
28459 <libm-alias-ldouble.h>.
28460 (getpayloadl): Define using libm_alias_ldouble.
28461 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
28462 <libm-alias-ldouble.h>.
28463 (llrintl): Define using libm_alias_ldouble.
28464 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
28465 <libm-alias-ldouble.h>.
28466 (llroundl): Define using libm_alias_ldouble.
28467 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
28468 <libm-alias-ldouble.h>.
28469 (lrintl): Define using libm_alias_ldouble.
28470 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
28471 <libm-alias-ldouble.h>.
28472 (lroundl): Define using libm_alias_ldouble.
28473 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
28474 <libm-alias-ldouble.h>.
28475 (modfl): Define using libm_alias_ldouble.
28476 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
28477 <libm-alias-ldouble.h>.
28478 (nextupl): Define using libm_alias_ldouble.
28479 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
28480 <libm-alias-ldouble.h>.
28481 (remquol): Define using libm_alias_ldouble.
28482 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
28483 <libm-alias-ldouble.h>.
28484 (roundevenl): Define using libm_alias_ldouble.
28485 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
28486 <libm-alias-ldouble.h>.
28487 (roundl): Define using libm_alias_ldouble.
28488 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
28489 using libm_alias_ldouble.
28490 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
28491 <libm-alias-ldouble.h>.
28492 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
28493 <libm-alias-ldouble.h>.
28494 (setpayloadsigl): Define using libm_alias_ldouble.
28495 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
28496 <libm-alias-ldouble.h>.
28497 (sincosl): Define using libm_alias_ldouble.
28498 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
28499 <libm-alias-ldouble.h>.
28500 (sinl): Define using libm_alias_ldouble.
28501 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
28502 <libm-alias-ldouble.h>.
28503 (tanhl): Define using libm_alias_ldouble.
28504 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
28505 <libm-alias-ldouble.h>.
28506 (tanl): Define using libm_alias_ldouble.
28507 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
28508 <libm-alias-ldouble.h>.
28509 (totalorderl): Define using libm_alias_ldouble.
28510 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
28511 <libm-alias-ldouble.h>.
28512 (totalordermagl): Define using libm_alias_ldouble.
28513 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
28514 libm_alias_ldouble.
28515 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
28516 libm_alias_ldouble.
28518 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
28520 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28522 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28523 (__libc_ifunc_impl_list): Likewise.
28524 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
28525 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
28527 * benchtests/bench-memmove-walk.c: New file.
28528 * benchtests/Makefile (string-benchset): Add it.
28530 * benchtests/bench-memset-walk.c: New file.
28531 * benchtests/Makefile (string-benchset): Add it.
28533 * benchtests/bench-memcpy-walk.c: New file.
28534 * benchtests/Makefile (string-benchset): Add it.
28536 2017-10-05 Florian Weimer <fweimer@redhat.com>
28538 nscd: Eliminate compilation time dependency in the build output.
28539 * nscd/nscd_stat.c (STATDATA_VERSION)
28540 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
28541 (STATDATA_VERSION_FULL): New macro definitions.
28542 (compilation): Remove.
28543 (struct statdata): Adjust version member.
28544 (send_stats): Set version from STATDATA_VERSION_FULL.
28545 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
28547 2017-10-05 Joseph Myers <joseph@codesourcery.com>
28549 * configure.ac (--enable-add-ons): Remove option.
28550 (machine): Do not mention add-ons in comment.
28551 (LIBC_PRECONFIGURE): Likewise.
28552 (add_ons): Remove variable and sanity checks and logic to locate
28554 (add_ons_automatic): Remove variable.
28555 (configured_add_ons): Likewise.
28556 (add_ons_sfx): Likewise.
28557 (add_ons_pfx): Likewise.
28558 (add_on_subdirs): Likewise.
28559 (sysnames_add_ons): Likewise. Remove loop over add-ons and
28560 consideration of add-ons in Implies handling.
28561 (sysdeps_add_ons): Likewise.
28562 * configure: Regenerated.
28563 * libidn/configure.ac: Remove.
28564 * libidn/configure: Likewise.
28565 * sysdeps/unix/inet/configure.ac: New file.
28566 * sysdeps/unix/inet/configure: New generated file.
28567 * sysdeps/unix/inet/Subdirs: Add libidn.
28568 * Makeconfig (sysdeps-srcdirs): Remove variable.
28569 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
28570 ($(common-objpfx)config.status): Do not depend on add-on files.
28571 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
28573 (all-subdirs): Do not include $(add-on-subdirs).
28574 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
28575 * config.make.in (add-ons): Remove variable.
28576 (add-on-subdirs): Likewise.
28577 (sysdeps-add-ons): Likewise.
28578 * manual/Makefile (add-chapters): Remove.
28579 ($(objpfx)texis): Do not depend on $(add-chapters).
28580 (nonexamples): Do not handle $(add-chapters).
28581 (examples): Do not handle $(add-ons).
28582 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
28584 * manual/install.texi (Installation): Do not mention add-ons.
28585 (--enable-add-ons): Do not document configure option.
28586 * INSTALL: Regenerated.
28587 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
28588 * manual/maint.texi (Hierarchy Conventions): Do not mention
28590 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
28592 * scripts/gen-sorted.awk: Do not handle Subdirs files from
28594 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
28595 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
28597 2017-10-05 Andreas Schwab <schwab@suse.de>
28600 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
28601 (_IO_flush_all_lockp): Always lock list_all_lock.
28602 (_IO_flush_all_linebuffered): Likewise.
28603 (_IO_unbuffer_all): Likewise.
28605 2017-10-05 Florian Weimer <fweimer@redhat.com>
28608 Do not flush stdio streams on abort.
28609 * stdlib/abort.c (fflush): Remove macro definition.
28610 (abort): Remove stages related to stdio flushing.
28612 2017-10-05 Florian Weimer <fweimer@redhat.com>
28614 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28616 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28618 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28620 2017-10-05 Florian Weimer <fweimer@redhat.com>
28622 * support/support_format_hostent.c (support_format_hostent): Add
28623 more error information for NETDB_INTERNAL.
28625 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28627 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28628 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28629 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28630 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28631 AC_DEFINE if multi-arch is enabled.
28632 * sysdeps/i386/configure: Regenerated.
28634 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28636 * Makeconfig (+link-static-before-libc): Use
28637 $(DEFAULT-LDFLAGS-$(@F)).
28638 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28639 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28640 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28642 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28644 * elf/Makefile (tests): Add tst-main1.
28645 (modules-names): Add tst-main1mod.
28646 ($(objpfx)tst-main1): New.
28647 (CRT-tst-main1): Likewise.
28648 (LDFLAGS-tst-main1): Likewise.
28649 (LDLIBS-tst-main1): Likewise.
28650 (tst-main1mod.so-no-z-defs): Likewise.
28651 * elf/tst-main1.c: New file.
28652 * elf/tst-main1mod.c: Likewise.
28654 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28656 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28658 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28660 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28661 (fma): Define using libm_alias_double.
28662 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28663 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
28665 (fmal): Do not define as compat symbol here.
28666 * sysdeps/alpha/fpu/s_fma.c: New file.
28668 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28670 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
28672 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28675 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
28677 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28679 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
28680 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28681 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
28682 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
28683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28684 Include <math_ldbl_opt.h>
28685 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28687 (compat_symbol): Undefine and redefine.
28688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
28690 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28691 (compat_symbol): Undefine and redefine.
28692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
28693 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
28694 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
28695 GLIBC_2_1 for libm.
28696 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
28697 GLIBC_2.0 copysignl symbol.
28698 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28699 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
28701 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
28703 2017-10-04 Florian Weimer <fweimer@redhat.com>
28705 * scripts/check-local-headers.sh: Ignore nspr4 header file
28706 directory in addition to nspr.
28708 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
28711 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
28712 * configure: Regenerate.
28713 * crypt/Makefile (nss-cpp-flags): New variable.
28714 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
28715 (CPPFLAGS-md5-crypt.c): Use it.
28716 * scripts/check-local-headers.sh: Ignore nspr header file
28719 2017-10-04 Andreas Schwab <schwab@suse.de>
28721 * nis/Makefile (services): Remove compat.
28722 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
28723 ($(objpfx)libnss_compat.so): Remove rule.
28724 * nis/Versions (libnss_compat): Remove.
28725 * nss/Makefile (services): Add compat.
28726 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
28727 * nss/Versions (libnss_compat): Define.
28728 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
28729 Don't include <rpc/types.h>. Replace bool_t by bool.
28730 * nss/nss_compat/compat-initgroups.c: Likewise.
28731 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
28732 instead of <rpcsrv/ypclnt.h>.
28733 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
28734 yp_get_default_domain.
28735 * nss/nss_compat/compat-pwd.c: Likewise.
28736 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
28737 yp_get_default_domain.
28738 * nss/nss_compat/nisdomain.c: New file.
28739 * nss/nss_compat/nisdomain.h: Likewise.
28741 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28744 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
28745 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28747 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28750 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
28751 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
28753 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28755 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
28756 "movl main@GOTOFF(%ebx), %eax".
28758 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28760 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
28761 allow undefined _DYNAMIC in PIE libc.a.
28762 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28765 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28767 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28770 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28772 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28775 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28777 * math/test-math-iscanonical.cc (error): Replace bool with int.
28779 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28781 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28782 (modf): Define using libm_alias_double, only if [!__modf].
28783 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28784 <libm-alias-double.h>.
28785 (modf): Define using libm_alias_double, only if [!__modf].
28786 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28787 compat symbol here.
28788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28789 (weak_alias): Do not undefine and redefine.
28790 (strong_alias): Likewise.
28791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28792 (weak_alias): Likewise.
28793 (strong_alias): Likewise.
28795 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28796 (logb): Define using libm_alias_double, only if [!__logb].
28797 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28798 <libm-alias-double.h>.
28799 (logb): Define using libm_alias_double, only if [!__logb].
28800 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28802 (weak_alias): Do not undefine and redefine.
28803 (strong_alias): Likewise.
28804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28805 (weak_alias): Likewise.
28806 (strong_alias): Likewise.
28808 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28810 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28811 Check SHARED instead PIC.
28813 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28815 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28816 [!__fmaf] (fmaf): Define using libm_alias_float.
28818 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28819 (frexp): Define using libm_alias_double.
28820 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28821 <libm-alias-double.h>.
28822 (frexp): Define using libm_alias_double.
28823 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28824 compat symbol here.
28826 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28829 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28830 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28831 (CFLAGS-test-math-iscanonical.cc): New variable.
28832 * math/test-math-iscanonical.cc: New file.
28833 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28834 Provide a C++ implementation based on function overloading,
28835 rather than using __MATH_TG, which uses C-only builtins.
28836 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28838 * sysdeps/powerpc/powerpc64le/Makefile
28839 (CFLAGS-test-math-iscanonical.cc): New variable.
28841 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28843 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28844 (ceil): Define using libm_alias_double.
28845 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28846 (floor): Define using libm_alias_double.
28847 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28848 <libm-alias-double.h>.
28849 (llround): Define using libm_alias_double.
28850 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28851 <libm-alias-double.h>.
28852 (lround): Define using libm_alias_double.
28853 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28854 <libm-alias-double.h>.
28855 (nearbyint): Define using libm_alias_double.
28856 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28857 <libm-alias-double.h>.
28858 (remquo): Define using libm_alias_double.
28859 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28860 (rint): Define using libm_alias_double.
28861 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28862 (round): Define using libm_alias_double.
28863 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28864 (trunc): Define using libm_alias_double.
28865 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28866 <libm-alias-double.h>.
28867 (ceil): Define using libm_alias_double.
28868 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28869 <libm-alias-double.h>.
28870 (floor): Define using libm_alias_double.
28871 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28872 <libm-alias-double.h>.
28873 (llround): Define using libm_alias_double.
28874 [_LP64] (lround): Likewise.
28875 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28876 <libm-alias-double.h>.
28877 [!_LP64] (lround): Define using libm_alias_double.
28878 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28879 <libm-alias-double.h>.
28880 (nearbyint): Define using libm_alias_double.
28881 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28882 <libm-alias-double.h>.
28883 (remquo): Define using libm_alias_double.
28884 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28885 <libm-alias-double.h>.
28886 (rint): Define using libm_alias_double.
28887 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28888 <libm-alias-double.h>.
28889 (round): Define using libm_alias_double.
28890 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28891 <libm-alias-double.h>.
28892 (trunc): Define using libm_alias_double.
28893 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28894 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28895 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28896 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28897 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28898 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28899 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28900 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28901 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28903 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28905 * math/w_remainder.c: New file.
28906 * math/w_remainderf.c: New file.
28907 * math/w_remainderl.c: New file.
28909 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28911 * elf/rtld.c (BOOTSTRAP_MAP): New.
28912 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28913 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28915 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28917 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28920 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28922 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28923 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28924 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28925 rtld_hidden_data_ver): Define to empty.
28926 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28927 __assert_perror_fail): Likewise.
28928 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28929 (__rewinddir): Likewise.
28930 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28931 (__profile_frequency): Likewise.
28932 * include/setjmp.h (__sigsetjmp): Likewise.
28933 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28934 __libc_sigaction): Likewise.
28935 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28936 not set hidden attribute.
28937 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28938 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28939 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28940 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28941 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28942 __fxstatat64): Likewise.
28943 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28944 (__uname): Likewise.
28945 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28946 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28947 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28948 (NO_RTLD_HIDDEN): Set.
28949 * sysdeps/mach/hurd/configure: Refresh.
28950 * config.h.in: Refresh.
28952 2017-10-02 Joseph Myers <joseph@codesourcery.com>
28954 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28955 (atan): Define using libm_alias_double.
28956 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28957 (tan): Define using libm_alias_double.
28958 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28959 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28961 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28962 define as weak alias of __atan. Do not define any aliases if
28964 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28965 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28966 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28967 as weak alias of __tan. Do not define any aliases if [__tan].
28968 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28969 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28970 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28972 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28973 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28974 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28975 and define as weak alias of __atan.
28976 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28978 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28979 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28980 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28981 define as weak alias of __tan.
28983 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28985 * math/w_lgamma.c: New file.
28986 * math/w_lgammaf.c: New file.
28987 * math/w_lgammal.c: New file.
28989 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28991 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28992 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28993 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28994 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28995 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28996 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28997 * sysdeps/i386/fpu/w_log2f.c: New file.
28998 * sysdeps/i386/fpu/w_logf.c: New file.
28999 * sysdeps/i386/fpu/w_powf.c: New file.
29000 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
29001 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
29002 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
29004 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29005 H.J. Lu <hongjiu.lu@intel.com>
29007 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
29008 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
29009 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
29010 * sysdeps/ieee754/flt-32/w_expf.c: New file.
29011 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
29013 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
29014 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
29015 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
29016 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
29017 * sysdeps/i386/fpu/w_exp2f.c: New file.
29018 * sysdeps/i386/fpu/w_expf.c: New file.
29019 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
29020 * sysdeps/x86_64/fpu/w_expf.c: New file.
29022 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29024 * math/Versions (logf): New libm symbol at GLIBC_2.27.
29027 * math/w_log2f.c: New file.
29028 * math/w_logf.c: New file.
29029 * math/w_powf.c: New file.
29030 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
29031 * math/w_logf_compat.c (__logf_compat): Likewise.
29032 * math/w_powf_compat.c (__powf_compat): Likewise.
29033 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
29034 * sysdeps/ia64/fpu/e_logf.S: Likewise.
29035 * sysdeps/ia64/fpu/e_powf.S: Likewise.
29036 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29037 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29038 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29039 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29040 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29041 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29042 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29043 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29044 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29045 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29046 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29047 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29056 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29057 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29058 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29059 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29060 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29065 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29066 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29067 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29069 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29071 * sysdeps/powerpc/powerpc64/multiarch/Makefile
29072 (sysdep_routines): Add memrchr_power8.
29073 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29074 (memrchr): Add __memrchr_power8 to list of memrchr functions.
29075 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
29077 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29078 (memrchr): Add __memrchr_power8 to ifunc list.
29079 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
29081 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29084 * sysdeps/unix/sysv/linux/posix_fadvise64.c
29085 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
29087 * sysdeps/unix/sysv/linux/posix_fallocate64.c
29088 (__posix_fallocate64_l64): Likewise.
29090 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29093 * sysdeps/unix/sysv/linux/sched_setaffinity.c
29094 (__sched_setaffinity_new): Add libc_hidden_proto and
29097 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29100 * include/glob.h (__glob64): Add libc_hidden_proto.
29101 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
29104 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29107 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
29110 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29113 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
29115 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29118 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
29121 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29124 * csu/version.c (__libc_print_version): Add attribute_hidden.
29126 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29129 * include/libc-internal.h (__init_misc): Add attribute_hidden.
29131 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29134 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
29136 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29139 * nscd/nscd_helper.c (__nis_hash): New prototype.
29141 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29144 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
29145 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
29147 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29148 * termios/tcgetattr.c (__tcgetattr): Likewise.
29150 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29153 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
29154 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
29155 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
29156 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
29157 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
29159 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29162 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
29164 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29167 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
29168 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
29170 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29173 * intl/hash-string.h (__hash_string): Add attribute_hidden.
29175 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29178 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
29179 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
29181 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29184 * include/ifreq.h: New file.
29185 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
29186 (__ifreq): Likewise.
29187 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
29188 (__ifreq): Likewise.
29190 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29193 * include/idna.h: New file.
29194 * inet/getnameinfo.c: Include <idna.h> instead of
29196 (__idna_to_unicode_lzlz): Removed.
29197 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
29199 (__idna_to_ascii_lz): Removed.
29200 (__idna_to_unicode_lzlz): Likewise.
29202 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29205 * include/plural-exp.h: New file.
29206 * intl/plural-exp.c: Include <plural-exp.h> instead of
29209 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29212 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
29213 "getsourcefilter.h".
29214 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
29215 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
29216 "getsourcefilter.h".
29217 (__get_sol): Removed.
29219 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29222 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
29224 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
29226 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29229 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
29232 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29235 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
29237 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29240 * include/search.h (__tdestroy): Add libc_hidden_proto.
29241 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
29243 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29246 * include/assert.h (__assert_fail_base): Add attribute_hidden.
29248 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29251 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
29254 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29257 * include/signal.h (__kill): Add libc_hidden_proto.
29258 (__sigblock): Likewise.
29259 (__sigprocmask): Likewise.
29260 (__sigaltstack): Likewise.
29261 * signal/kill.c (__kill): Add libc_hidden_def.
29262 * signal/sigblock.c (__sigblock): Likewise.
29263 * signal/sigprocmask.c (__sigprocmask): Likewise.
29264 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
29265 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
29266 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
29267 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
29268 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
29270 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
29272 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
29273 (__sigprocmask): Likewise.
29274 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
29276 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
29277 (__sigprocmask): Likewise.
29278 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
29281 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29284 * include/string.h (__strsep): Add libc_hidden_proto.
29285 * string/strsep.c (__strsep): Add libc_hidden_def.
29287 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29290 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
29292 (__spawni): Likewise.
29294 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29297 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
29298 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
29301 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29304 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
29306 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29309 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
29310 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
29311 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
29312 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
29313 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
29315 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
29316 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
29318 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29321 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
29322 (__dcigettext): Likewise.
29324 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29327 * include/sys/sysinfo.h (__get_nprocs_conf): Add
29329 (__get_nprocs): Likewise.
29330 (__get_phys_pages): Likewise.
29331 (__get_avphys_pages): Likewise.
29332 (__get_child_max): Add attribute_hidden.
29333 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
29334 (__get_nprocs): Likewise.
29335 (__get_phys_pages): Likewise.
29336 (__get_avphys_pages): Likewise.
29337 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
29339 (__get_nprocs): Likewise.
29340 (__get_phys_pages): Likewise.
29341 (__get_avphys_pages): Likewise.
29342 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
29344 (__get_nprocs_conf): Likewise.
29345 (__get_phys_pages): Likewise.
29346 (__get_avphys_pages): Likewise.
29348 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29351 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
29353 (__netlink_close): Likewise.
29354 (__netlink_free_handle): Likewise.
29355 (__netlink_request): Likewise.
29357 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29360 * include/rpc/rpc.h (__rpc_thread_variables): Add
29362 (__rpc_thread_svc_cleanup): Likewise.
29363 (__rpc_thread_clnt_cleanup): Likewise.
29364 (__rpc_thread_key_cleanup): Likewise.
29366 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29369 * include/sys/uio.h (__readv): Add libc_hidden_proto.
29370 (__writev): Likewise.
29371 * misc/readv.c (__readv): Add libc_hidden_def.
29372 * misc/writev.c (__writev): Likewise.
29373 * sysdeps/posix/readv.c (__readv): Likewise.
29374 * sysdeps/posix/writev.c (__writev): Likewise.
29375 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
29376 (__readv): Likewise.
29377 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
29378 (__writev): Likewise.
29380 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29383 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
29384 (__regcomp): Add libc_hidden_proto.
29385 (__regexec): Likewise.
29386 (__regfree): Likewise.
29387 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
29388 (__regfree): Likewise.
29389 * posix/regexec.c (__regexec): Likewise.
29391 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29394 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
29395 (__getutent): Likewise.
29396 (__getutid): Likewise.
29397 (__getutline): Likewise.
29398 (__pututline): Likewise.
29399 (__getutent_r): Likewise.
29400 (__getutid_r): Likewise.
29401 (__getutline_r): Likewise.
29402 (__utmpname): Add attribute_hidden.
29403 (__setutent): Likewise.
29404 (__endutent): Likewise.
29405 * login/getutent.c (__getutent): Add libc_hidden_def.
29406 * login/getutent_r.c (__getutent_r): Likewise.
29407 (__pututline): Likewise.
29408 * login/getutid.c (__getutid): Likewise.
29409 * login/getutid_r.c (__getutid_r): Likewise.
29410 * login/getutline.c (__getutline): Likewise.
29411 * login/getutline_r.c (__getutline_r): Likewise.
29412 * login/updwtmp.c (__updwtmp): Likewise.
29414 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29417 * include/dirent.h (__opendir): Always add attribute_hidden.
29418 (__fdopendir): Likewise.
29419 (__closedir): Likewise.
29420 (__readdir): Likewise.
29421 (__readdir64): Add libc_hidden_proto.
29422 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
29423 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
29424 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
29425 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
29428 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29431 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
29432 * include/netdb.h (__gethostbyaddr_r): Likewise.
29433 (__gethostbyname_r): Likewise.
29434 (__gethostbyname2_r): Likewise.
29435 (__getnetbyaddr_r): Likewise.
29436 (__getnetbyname_r): Likewise.
29437 (__getservbyname_r): Likewise.
29438 (__getservbyport_r): Likewise.
29439 (__getprotobyname_r): Likewise.
29440 (__getprotobynumber_r): Likewise.
29441 (__getnetgrent_r): Likewise.
29442 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
29443 (__getrpcbynumber_r): Likewise.
29444 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
29446 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29449 * include/stdio.h (__fcloseall): Add attribute_hidden.
29450 (__getline): Likewise.
29451 (__path_search): Likewise.
29452 (__gen_tempname): Likewise.
29453 (__libc_message): Likewise.
29454 (__flockfile): Likewise.
29455 (__funlockfile): Likewise.
29456 (__fxprintf): Likewise.
29457 (__fxprintf_nocancel): Likewise.
29459 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29462 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
29463 (__sgetsgent_r): Likewise.
29465 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29468 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
29469 (__statfs64): Likewise.
29470 (__fstatfs64): Likewise.
29471 * include/sys/statvfs.h (__statvfs64): Likewise.
29472 (__fstatvfs64): Likewise.
29473 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
29474 (__statfs_filesize_max): Likewise.
29475 (__statfs_symlinks): Likewise.
29476 (__statfs_chown_restricted): Likewise.
29478 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29481 * include/time.h (__tzstring): Add attribute_hidden.
29482 (__tzfile_read): Likewise.
29483 (__tzfile_compute): Likewise.
29484 (__tzfile_default): Likewise.
29485 (__tzset_parse_tz): Likewise.
29486 (__offtime): Likewise.
29487 (__asctime_r): Likewise.
29488 (__tzset): Likewise.
29489 (__tz_convert): Likewise.
29490 (__getdate_r): Likewise.
29491 (__getclktck): Likewise.
29493 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29496 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
29497 (__nscd_unmap): Likewise.
29498 (__nscd_cache_search): Likewise.
29499 (__nscd_get_nl_timestamp): Likewise.
29500 (__nscd_getpwnam_r): Likewise.
29501 (__nscd_getpwuid_r): Likewise.
29502 (__nscd_getgrnam_r): Likewise.
29503 (__nscd_getgrgid_r): Likewise.
29504 (__nscd_gethostbyname_r): Likewise.
29505 (__nscd_gethostbyname2_r): Likewise.
29506 (__nscd_gethostbyaddr_r): Likewise.
29507 (__nscd_getai): Likewise.
29508 (__nscd_getgrouplist): Likewise.
29509 (__nscd_getservbyname_r): Likewise.
29510 (__nscd_getservbyport_r): Likewise.
29511 (__nscd_innetgr): Likewise.
29512 (__nscd_setnetgrent): Likewise.
29514 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29517 * include/gmp.h: Declare internal functions only if _ISOMAC is
29519 (__mpn_extract_double): Add attribute_hidden.
29520 (__mpn_extract_long_double): Likewise.
29521 (__mpn_extract_float128): Likewise.
29522 (__mpn_construct_float): Likewise.
29523 (__mpn_construct_double): Likewise.
29524 (__mpn_construct_long_double): Likewise.
29525 (__mpn_construct_float128): Likewise.
29526 (mpn_add_1): Likewise.
29527 (mpn_addmul_1): Likewise.
29528 (mpn_add_n): Likewise.
29529 (mpn_cmp): Likewise.
29530 (mpn_divrem): Likewise.
29531 (mpn_lshift): Likewise.
29532 (mpn_mul): Likewise.
29533 (mpn_mul_1): Likewise.
29534 (mpn_rshift): Likewise.
29535 (mpn_sub_1): Likewise.
29536 (mpn_submul_1): Likewise.
29537 (mpn_sub_n): Likewise.
29539 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29542 * include/wchar.h (__wcsnlen): Add attribute_hidden.
29543 (__wcscat): Likewise.
29544 (__btowc): Likewise.
29545 (__wcrtomb): Likewise.
29546 (__mbsrtowcs): Likewise.
29547 (__wcsrtombs): Likewise.
29548 (__mbsnrtowcs): Likewise.
29549 (__wcsnrtombs): Likewise.
29550 (__wcsncpy): Likewise.
29551 (__wcpncpy): Likewise.
29552 (__wmemcpy): Likewise.
29553 (__wmempcpy): Likewise.
29554 (__wmemmove): Likewise.
29555 (__wcschrnul): Likewise.
29556 (__vfwscanf): Likewise.
29557 (__vswprintf): Likewise.
29558 (__fwprintf): Likewise.
29559 (__vfwprintf): Likewise.
29561 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29564 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
29565 (__getgrgid_r): Likewise.
29566 (__getgrnam_r): Likewise.
29567 * include/pwd.h (__getpwuid_r): Likewise.
29568 (__getpwnam_r): Likewise.
29569 (__fgetpwent_r): Likewise.
29570 * include/shadow.h (__getspnam_r): Likewise.
29571 (__sgetspent_r): Likewise.
29572 (__fgetspent_r): Likewise.
29574 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29577 * include/unistd.h (__access): Add attribute_hidden.
29578 (__lseek64): Likewise.
29579 (__libc_pread64): Likewise.
29580 (__pipe2): Likewise.
29581 (__sleep): Likewise.
29582 (__chdir): Likewise.
29583 (__fchdir): Likewise.
29584 (__getcwd): Likewise.
29585 (__rmdir): Likewise.
29586 (__execvpe): Likewise.
29587 (__execve): Likewise.
29588 (__setsid): Likewise.
29589 (__getuid): Likewise.
29590 (__geteuid): Likewise.
29591 (__getgid): Likewise.
29592 (__getegid): Likewise.
29593 (__getgroups): Likewise.
29594 (__group_member): Likewise.
29595 (__ttyname_r): Likewise.
29596 (__isatty): Likewise.
29597 (__readlink): Likewise.
29598 (__unlink): Likewise.
29599 (__gethostname): Likewise.
29600 (__profil): Likewise.
29601 (__getdtablesize): Likewise.
29603 (__ftruncate): Likewise.
29604 (__ftruncate64): Likewise.
29606 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29609 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29610 * argp/argp-fs-xinl.c: Likewise.
29611 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29612 * argp/argp-parse.c: Include <argp.h>.
29613 * argp/argp-xinl.c: Likewise.
29614 * include/argp-fmtstream.h: New file.
29615 * include/argp.h (__argp_error): Add attribute_hidden.
29616 (__argp_failure): Likewise.
29617 (__argp_input): Likewise.
29618 (__argp_state_help): Likewise.
29620 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29623 * include/wchar.h (____wcstof_l_internal): New prototype.
29624 (____wcstod_l_internal): Likewise.
29625 (____wcstold_l_internal): Likewise.
29626 (____wcstol_l_internal): Likewise.
29627 (____wcstoul_l_internal): Likewise.
29628 (____wcstoll_l_internal): Likewise.
29629 (____wcstoull_l_internal): Likewise.
29630 (____wcstof128_l_internal): Likewise.
29631 * sysdeps/ieee754/float128/wcstof128.c
29632 (____wcstof128_l_internal): Removed.
29633 * sysdeps/ieee754/float128/wcstof128_l.c
29634 (____wcstof128_l_internal): Likewise.
29635 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29636 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29637 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29638 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29639 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29640 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29641 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29642 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29643 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29644 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29646 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29649 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29650 instead of <sys/statvfs.h>.
29651 (__internal_statvfs): Removed.
29652 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29653 instead of <sys/statvfs.h>.
29654 (__internal_statvfs64): Removed.
29655 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29656 "internal_statvfs.h" instead of <sys/statvfs.h>.
29657 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29658 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29659 instead of <sys/statvfs.h>.
29660 (__internal_statvfs): Removed.
29661 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29662 instead of <sys/statvfs.h>.
29663 (__internal_statvfs64): Removed.
29665 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29668 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
29669 (__gconv_close): Likewise.
29670 (__gconv): Likewise.
29671 (__gconv_find_transform): Likewise.
29672 (__gconv_lookup_cache): Likewise.
29673 (__gconv_compare_alias_cache): Likewise.
29674 (__gconv_load_cache): Likewise.
29675 (__gconv_get_path): Likewise.
29676 (__gconv_close_transform): Likewise.
29677 (__gconv_release_cache): Likewise.
29678 (__gconv_find_shlib): Likewise.
29679 (__gconv_release_shlib): Likewise.
29680 (__gconv_get_builtin_trans): Likewise.
29681 (__gconv_compare_alias): Likewise.
29682 * include/dlfcn.h (_dlerror_run): Likewise.
29683 * include/stdio.h (__fortify_fail_abort): Likewise.
29684 * include/time.h (__tz_compute): Likewise.
29685 (__strptime_internal): Likewise.
29686 * intl/gettextP.h (_nl_find_domain): Likewise.
29687 (_nl_load_domain): Likewise.
29688 (_nl_find_msg): Likewise.
29689 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
29690 (EXTRACT_PLURAL_EXPRESSION): Likewise.
29691 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
29692 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
29693 (__gai_find_request): Likewise.
29694 (__gai_remove_request): Likewise.
29695 (__gai_notify): Likewise.
29696 (__gai_notify_only): Likewise.
29697 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29698 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29699 (_dl_non_dynamic_init): Likewise.
29700 (_dl_aux_init): Likewise.
29701 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
29702 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29704 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
29705 (__wcsmbs_clone_conv): Likewise.
29706 (__wcsmbs_named_conv): Likewise.
29708 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29711 * include/stdlib.h (__random): Add attribute_hidden.
29712 (__random_r): Likewise.
29713 (__srandom_r): Likewise.
29714 (__initstate_r): Likewise.
29715 (__setstate_r): Likewise.
29716 (__erand48_r): Likewise.
29717 (__nrand48_r): Likewise.
29718 (__jrand48_r): Likewise.
29719 (__srand48_r): Likewise.
29720 (__seed48_r): Likewise.
29721 (__lcong48_r): Likewise.
29722 (__drand48_iterate): Likewise.
29723 (__setenv): Likewise.
29724 (__unsetenv): Likewise.
29725 (__clearenv): Likewise.
29726 (__ptsname_r): Likewise.
29727 (__posix_openpt): Likewise.
29728 (__add_to_environ): Likewise.
29729 (__realpath): Add libc_hidden_proto.
29730 (__ecvt_r): Likewise.
29731 (__fcvt_r): Likewise.
29732 (__qecvt_r): Likewise.
29733 (__qfcvt_r): Likewise.
29734 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
29735 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
29737 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29740 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
29741 * include/time.h (__mktime_internal): Likewise.
29742 * libio/iolibio.h (__fopen_internal): Likewise.
29744 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
29746 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
29748 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
29749 Correct offset used to restore PIC register.
29751 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
29754 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
29755 code to load address of __getcontext_ret when generating PIC code.
29757 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
29759 * elf/Makefile (tests-static-internal): Add
29760 tst-tls1-static-non-pie.
29761 (LDFLAGS-tst-tls1-static-non-pie): New.
29762 * elf/tst-tls1-static-non-pie.c: New file.
29764 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29766 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29767 (asinh): Define using libm_alias_double.
29768 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29769 (cbrt): Define using libm_alias_double.
29770 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29771 <libm-alias-double.h>.
29772 (copysign): Define using libm_alias_double.
29773 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29774 (erf): Define using libm_alias_double.
29776 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29777 (expm1): Define using libm_alias_double.
29778 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29779 (fabs): Define using libm_alias_double.
29780 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29782 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29783 <libm-alias-double.h>.
29784 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29786 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29787 <libm-alias-double.h>.
29788 (getpayload): Define using libm_alias_double.
29789 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29790 <libm-alias-double.h>.
29791 (llrint): Define using libm_alias_double.
29792 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29793 (lrint): Define using libm_alias_double.
29794 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29795 <libm-alias-double.h>.
29796 (nextup): Define using libm_alias_double.
29797 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29798 <libm-alias-double.h>.
29799 (roundeven): Define using libm_alias_double.
29800 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29802 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29803 <libm-alias-double.h>.
29804 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29805 using libm_alias_double.
29806 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29807 (cos): Define using libm_alias_double.
29809 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29810 <libm-alias-double.h>.
29811 (sincos): Define using libm_alias_double.
29812 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29813 (tanh): Define using libm_alias_double.
29814 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29815 <libm-alias-double.h>.
29816 (totalorder): Define using libm_alias_double.
29817 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29818 <libm-alias-double.h>.
29819 (totalordermag): Define using libm_alias_double.
29820 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29822 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29824 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29825 <libm-alias-double.h>.
29826 (getpayload): Define using libm_alias_double.
29827 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29828 <libm-alias-double.h>.
29829 (roundeven): Define using libm_alias_double.
29830 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29831 <libm-alias-double.h>.
29832 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29833 <libm-alias-double.h>.
29834 (totalorder): Define using libm_alias_double.
29835 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29836 <libm-alias-double.h>.
29837 (totalordermag): Define using libm_alias_double.
29838 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29839 libc compat symbol here.
29840 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29841 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29842 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29843 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29844 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29845 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29846 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29847 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29848 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29849 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29851 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29853 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29854 _dl_relocate_static_pie instead of _dl_start to compute load
29855 address in static PIE. Return 0 if _DYNAMIC is undefined for
29858 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29860 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29861 _DYNAMIC is undefined for static executable.
29863 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29865 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29867 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29869 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29871 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29873 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29874 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29875 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29876 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29877 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29878 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29879 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29880 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29881 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29882 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29883 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29884 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29885 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29886 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29887 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29888 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29889 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29891 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29893 * math/bits/cmathcalls.h (cimag): Remove inline.
29894 (creal): Remove inline.
29895 (conj): Remove inline.
29897 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29899 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29900 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29901 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29902 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29903 (issignalingf_inline): Likewise.
29904 (POWF_LOG2_TABLE_BITS): Likewise.
29905 (POWF_LOG2_POLY_ORDER): Likewise.
29906 (POWF_SCALE_BITS): Likewise.
29907 (POWF_SCALE): Likewise.
29908 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29909 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29910 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29912 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29914 * math/Makefile (type-float-routines): Add e_log2f_data.
29915 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29916 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29917 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29918 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29919 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29920 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29921 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29923 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29925 * math/Makefile (type-float-routines): Add e_logf_data.
29926 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29927 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29928 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29929 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29930 * sysdeps/i386/fpu/e_logf_data.c: New file.
29931 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29932 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29934 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29936 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29937 undefined _DYNAMIC in PIE libc.a.
29938 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29941 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29943 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29944 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29945 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29946 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29947 (__signbit): Remove.
29948 (__signbitl): Remove.
29949 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29950 (__signbit): Remove.
29951 (__signbitl): Remove.
29952 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29953 (__signbit): Remove.
29954 (__signbitl): Remove.
29955 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29956 (__signbit): Remove.
29957 (__signbitl): Remove.
29958 * sysdeps/tile/bits/mathinline.h: Delete file.
29959 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29960 (__signbit): Remove.
29961 (__signbitl): Remove.
29963 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29965 * math/math.h: Improve handling of C99 isgreater macros.
29966 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29967 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29968 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29969 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29970 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29972 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29974 * sysdeps/aarch64/libm-test-ulps: Update.
29976 2017-09-28 Joseph Myers <joseph@codesourcery.com>
29979 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29980 math_opt_barrier on argument when doing arithmetic on it.
29981 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29982 Likewise. Use math_force_eval not math_opt_barrier after
29984 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29985 math_opt_barrier on argument when doing arithmetic on it.
29986 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29989 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29991 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29993 (__freeifaddrs): Likewise.
29995 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29997 * include/dirent.h (__dirfd): New declaration.
29998 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
30000 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
30001 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
30002 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
30003 * include/unistd.h (__revoke): New declaration.
30004 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
30006 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
30007 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
30009 * include/dirent.h (__seekdir): New declaration.
30010 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
30011 redefine as weak alias.
30012 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
30014 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
30015 and use libc_hidden_def on them.
30016 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
30018 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
30019 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
30020 instead of getifaddrs and freeifaddrs.
30022 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30025 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
30026 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
30027 (__dso_handle): Remove declaration.
30028 * dlfcn/tstatexit.c (__dso_handle): Removed.
30029 (main): Don't check __dso_handle.
30030 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
30031 (main): Don't check __dso_handle.
30032 * include/dso_handle.h: New file.
30033 * malloc/mtrace.c: Include <dso_handle.h>.
30034 (mtrace): Pass __dso_handle directly.
30035 * nptl/pthread_atfork.c: Include <dso_handle.h>.
30036 (__dso_handle): Remove declaration.
30037 (__pthread_atfork): Pass __dso_handle directly.
30038 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
30039 (__dso_handle): Removed.
30040 * posix/wordexp-test.c: Include <dso_handle.h>.
30041 (__dso_handle): Remove declaration.
30042 (__app_register_atfork): Pass __dso_handle directly.
30043 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
30044 (__dso_handle): Remove declaration.
30045 (at_quick_exit): Pass __dso_handle directly.
30046 * stdlib/atexit.c: Include <dso_handle.h>.
30047 (__dso_handle): Remove declaration.
30048 (atexit): Pass __dso_handle directly.
30049 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
30050 (__dso_handle): Removed.
30052 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30054 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
30057 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
30059 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
30060 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
30061 values to correct default value for given type.
30063 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30066 * elf/Makefile (tests): Add tst-debug1.
30067 ($(objpfx)tst-debug1): New.
30068 ($(objpfx)tst-debug1.out): Likewise.
30069 ($(objpfx)tst-debug1mod1.so): Likewise.
30070 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
30071 with p_filesz == 0.
30072 * elf/tst-debug1.c: New file.
30074 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30076 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
30077 Define using __ifunc.
30079 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30081 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
30084 2017-09-26 Joseph Myers <joseph@codesourcery.com>
30087 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
30089 2017-09-26 Florian Weimer <fweimer@redhat.com>
30091 * resolv/Makefile (tests-internal): Fix typo in comment.
30093 2017-09-26 Florian Weimer <fweimer@redhat.com>
30095 * resolv/nss_dns/dns-host.c: Fix typo in comment.
30097 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30099 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
30100 Use an union instead of a max_align_t array for __space,
30101 so that __space is the same size on all platforms.
30102 * malloc/scratch_buffer_grow_preserve.c
30103 (__libc_scratch_buffer_grow_preserve): Likewise.
30106 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
30108 * posix/Makefile (routines): Add glob-lstat-compat and
30109 glob64-lstat-compat.
30110 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
30111 * posix/glob-lstat-compat.c: New file.
30112 * posix/glob64-lstat-compat.c: Likewise.
30113 * posix/tst-glob_lstat_compat.c: Likewise.
30114 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
30115 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
30116 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
30117 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
30119 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
30120 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30121 * posix/glob.c (glob_lstat): New function.
30122 (glob): Rename to __glob and add versioned symbol to 2.27.
30123 (glob_in_dir): Use glob_lstat.
30124 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
30125 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
30126 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
30128 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
30129 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
30130 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
30131 gl_lstat on glob call.
30132 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
30133 and glob64 symbols.
30134 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30135 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
30136 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
30137 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
30138 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
30139 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
30140 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
30141 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
30142 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
30143 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30144 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30145 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
30146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
30148 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
30149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
30150 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30151 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30152 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
30153 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30154 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
30156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
30157 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
30158 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
30159 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
30161 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
30163 * configure.ac (AS): Require binutils 2.25 or later.
30164 * configure: Regenerated.
30166 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30169 * stdlib/test-atexit-race-common.c (do_test): Minimize required
30172 2017-09-25 DJ Delorie <dj@redhat.com>
30175 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
30178 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
30180 * sysdeps/ieee754/dbl-64/sincos32.h
30181 [SINCCOS32_H]: Remove define.
30182 [SINCOS32_H]: Define.
30184 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30186 * math/Versions (expf): New libm symbol at GLIBC_2.27.
30188 * math/w_exp2f.c: New file.
30189 * math/w_expf.c: New file.
30190 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
30191 * math/w_expf_compat.c (__expf_compat): Likewise.
30192 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
30193 * sysdeps/ia64/fpu/e_expf.S: Likewise.
30194 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30195 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30196 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30197 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30198 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30199 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30200 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30201 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30202 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30203 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30204 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30205 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30214 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30215 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30216 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30217 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30218 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
30221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
30223 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
30224 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
30225 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
30227 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30229 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
30230 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
30231 (roundtoint, converttoint): Likewise.
30232 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
30233 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
30234 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
30235 * sysdeps/ieee754/flt-32/math_config.h: New file.
30236 * sysdeps/ieee754/flt-32/math_errf.c: New file.
30237 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
30238 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
30239 * sysdeps/i386/fpu/math_errf.c: New file.
30240 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
30241 * sysdeps/ia64/fpu/math_errf.c: New file.
30242 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
30243 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
30245 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
30247 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
30248 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
30249 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
30250 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
30251 to make sure that these symbols are defined.
30252 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
30254 (__need_NULL): Do not define.
30255 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
30257 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
30258 CMGROUP_MAX, cmsgcred): Do not define.
30259 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
30261 * bits/socket.h: Likewise.
30262 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
30263 __gettimeofday instead of gettimeofday.
30264 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
30265 instead of settimeofday.
30267 2017-09-22 Joseph Myers <joseph@codesourcery.com>
30269 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
30270 (asinhf): Define using libm_alias_float.
30271 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
30272 (atanf): Define using libm_alias_float.
30273 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
30274 (cbrtf): Define using libm_alias_float.
30275 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
30276 (ceilf): Define using libm_alias_float.
30277 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
30278 <libm-alias-float.h>.
30279 (copysignf): Define using libm_alias_float.
30280 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
30281 (cosf): Define using libm_alias_float.
30282 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
30283 (erff): Define using libm_alias_float.
30285 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
30286 (expm1f): Define using libm_alias_float.
30287 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
30288 (fabsf): Define using libm_alias_float.
30289 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
30290 (floorf): Define using libm_alias_float.
30291 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
30292 (frexpf): Define using libm_alias_float.
30293 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
30295 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
30296 <libm-alias-float.h>.
30297 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
30299 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
30300 <libm-alias-float.h>.
30301 (getpayloadf): Define using libm_alias_float.
30302 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
30303 <libm-alias-float.h>.
30304 (llrintf): Define using libm_alias_float.
30305 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
30306 <libm-alias-float.h>.
30307 (llroundf): Define using libm_alias_float.
30308 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
30309 (logbf): Define using libm_alias_float.
30310 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
30311 (lrintf): Define using libm_alias_float.
30312 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
30313 (lroundf): Define using libm_alias_float.
30314 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
30315 (modff): Define using libm_alias_float.
30316 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
30317 <libm-alias-float.h>.
30318 (nearbyintf): Define using libm_alias_float.
30319 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
30320 <libm-alias-float.h>.
30321 (nextafterf): Define using libm_alias_float.
30322 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
30323 <libm-alias-float.h>.
30324 (nextupf): Define using libm_alias_float.
30325 * sysdeps/ieee754/flt-32/s_remquof.c: Include
30326 <libm-alias-float.h>.
30327 (remquof): Define using libm_alias_float.
30328 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
30329 (rintf): Define using libm_alias_float.
30330 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
30331 <libm-alias-float.h>.
30332 (roundevenf): Define using libm_alias_float.
30333 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
30334 (roundf): Define using libm_alias_float.
30335 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
30336 using libm_alias_float.
30337 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
30338 <libm-alias-float.h>.
30339 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
30340 Define using libm_alias_float.
30341 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
30342 <libm-alias-float.h>.
30343 (sincosf): Define using libm_alias_float.
30344 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
30345 (sinf): Define using libm_alias_float.
30346 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
30347 (tanf): Define using libm_alias_float.
30348 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
30349 (tanhf): Define using libm_alias_float.
30350 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
30351 <libm-alias-float.h>.
30352 (totalorderf): Define using libm_alias_float.
30353 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
30354 <libm-alias-float.h>.
30355 (totalordermagf): Define using libm_alias_float.
30356 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
30357 (truncf): Define using libm_alias_float.
30358 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
30360 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
30363 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30366 math/math.h: Let fpclassify use the builtin in C++ mode, even
30367 when optimazing for size.
30369 2017-09-22 Joseph Myers <joseph@codesourcery.com>
30371 * csu/Makefile (generated): Do not add version-info.h.
30372 (before-compile): Likewise.
30373 (all-Banner-files): Remove variable.
30374 ($(objpfx)version-info.h): Remove rule.
30375 * csu/version.c (banner): Do not include "version-info.h".
30376 * libidn/Banner: Remove.
30377 * manual/contrib.texi (Simon Josefsson): New entry.
30379 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30381 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30382 Remove conditionals on LDBL_MANT_DIG.
30383 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30384 (__ieee754_lgammal_r): Likewise.
30386 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30388 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
30390 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
30391 _Float128 and L(). Replace _Float128 with long double and L(x)
30392 with xL, throughout the file.
30393 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30394 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30395 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30396 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30398 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30400 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
30401 sysdeps/ieee754/ldbl-128ibm.
30402 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
30403 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
30404 of including it. Keep _Float128 and L() intact. These will be
30405 reviewed by a separate patch.
30406 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30407 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30408 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30409 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30411 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
30414 (__finitef128): Define to __redirect___finitef128.
30415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
30416 (__isinff128): Define to __redirect___isinff128.
30417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
30418 (__isnanf128): Define to __redirect___isnanf128.
30420 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30422 * sysdeps/powerpc/powerpc64le/Makefile
30423 (CFLAGS-tst-strtod-nan-locale.c): New variable.
30424 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
30426 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
30427 Carlos O'Donell <carlos@redhat.com>
30430 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
30431 * stdlib/test-dlclose-exit-race.c: New file.
30432 * stdlib/test-dlclose-exit-race-helper.c: New file.
30433 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
30435 2017-09-21 Joseph Myers <joseph@codesourcery.com>
30437 * crypt/Banner: Remove file.
30438 * nptl/Banner: Likewise.
30439 * resolv/Banner: Likewise.
30440 * soft-fp/Banner: Likewise.
30441 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
30442 ($(objpfx)version.d): Remove dependency on banner.h.
30443 ($(objpfx)version.os): Likewise.
30444 * nptl/version.c (banner): Do not include banner.h.
30445 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
30446 Jelinek and BIND code.
30448 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30449 Carlos O'Donell <carlos@redhat.com>
30451 * support/xdlfcn.h: New file.
30452 * support/xdlfcn.c: New file.
30453 * support/Makefile (libsupport-routines): Add xdlfcn.
30454 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
30456 2017-09-20 Joseph Myers <joseph@codesourcery.com>
30459 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30460 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
30461 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
30462 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
30463 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
30464 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
30465 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
30466 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
30468 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30469 Ricky Zhou <rickyz@google.com>
30470 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
30473 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
30475 (__new_exitfn): Fail registration when we finished at_exit processing.
30476 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30477 * stdlib/on_exit.c (__on_exit): Likewise.
30478 * stdlib/exit.c (__exit_funcs_done): New variable.
30479 (__run_exit_handlers): Use __exit_funcs_lock.
30480 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
30482 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
30483 (test-cxa_atexit-race, test-on_exit-race): New tests.
30484 * stdlib/test-atexit-race-common.c: New file.
30485 * stdlib/test-atexit-race.c: New file.
30486 * stdlib/test-at_quick_exit-race.c: New file.
30487 * stdlib/test-cxa_atexit-race.c: New file.
30488 * stdlib/test-on_exit-race.c: New file.
30490 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
30492 * benchtests/Makefile: Add exp2f and log2f benchmarks.
30493 * benchtests/exp2f-inputs: Copy of expf-inputs.
30494 * benchtests/log2f-inputs: Copy of logf-inputs.
30496 2017-09-19 Joseph Myers <joseph@codesourcery.com>
30498 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
30499 Explicitly take address of first element of array arguments in
30500 call to INLINE_SYSCALL.
30502 2017-09-19 Andreas Schwab <schwab@suse.de>
30505 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
30507 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
30509 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
30510 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
30511 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30512 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
30513 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30514 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30515 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30516 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30517 * posix/Makefile (tests): Add tst-fexecve.
30518 * posix/tst-fexecve.c: New file.
30520 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30522 * benchtests/Makefile: Add logf benchmark.
30523 * benchtests/logf-inputs: Add reduced trace from wrf_r.
30525 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30527 * benchtests/Makefile: Add expf benchmark.
30528 * benchtests/expf-inputs: Add reduced trace from wrf_r.
30530 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30532 * csu/Makefile: Add -funwind-tables to libc-start.c.
30533 * debug/Makefile: Add -funwind-tables to backtrace.c.
30534 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
30535 * sysdeps/arm/Makefile: Likewise.
30536 * sysdeps/i386/Makefile: Likewise.
30537 * sysdeps/m68k/Makefile: Likewise.
30538 * sysdeps/mips/Makefile: Likewise.
30539 * sysdeps/nios2/Makefile: Likewise.
30540 * sysdeps/sh/Makefile: Likewise.
30541 * sysdeps/sparc/Makefile: Likewise.
30543 2017-09-19 Joseph Myers <joseph@codesourcery.com>
30545 * benchtests/Makefile (bench-math): Add trunc and truncf.
30546 (CFLAGS-bench-trunc.c): New variable.
30547 (CFLAGS-bench-truncf.c): Likewise.
30548 * benchtests/trunc-inputs: New file.
30549 * benchtests/truncf-inputs: Likewise.
30551 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30553 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
30555 2017-09-18 Joseph Myers <joseph@codesourcery.com>
30557 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
30558 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
30560 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30561 (exp10l): Define as weak alias.
30562 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
30563 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
30565 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
30566 (remainderl): Define as weak alias.
30568 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
30569 (fmal): Define using libm_alias_ldouble.
30570 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
30571 (acoshl): Define using libm_alias_ldouble.
30572 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
30573 (acosl): Define using libm_alias_ldouble.
30574 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
30575 (asinl): Define using libm_alias_ldouble.
30576 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
30577 (atan2l): Define using libm_alias_ldouble.
30578 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
30579 (atanhl): Define using libm_alias_ldouble.
30580 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
30581 (coshl): Define using libm_alias_ldouble.
30582 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
30583 (exp10l): Define using libm_alias_ldouble.
30584 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
30585 (exp2l): Define using libm_alias_ldouble.
30586 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
30587 (expl): Define using libm_alias_ldouble.
30588 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
30589 (fmodl): Define using libm_alias_ldouble.
30590 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
30591 (hypotl): Define using libm_alias_ldouble.
30592 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
30593 (j0l): Define using libm_alias_ldouble.
30595 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
30596 (j1l): Define using libm_alias_ldouble.
30598 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
30599 (jnl): Define using libm_alias_ldouble.
30601 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
30602 (log10l): Define using libm_alias_ldouble.
30603 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
30604 (log2l): Define using libm_alias_ldouble.
30605 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
30606 (logl): Define using libm_alias_ldouble.
30607 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
30608 (powl): Define using libm_alias_ldouble.
30609 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30610 (remainderl): Define using libm_alias_ldouble.
30611 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30612 (sinhl): Define using libm_alias_ldouble.
30613 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30614 (sqrtl): Define using libm_alias_ldouble.
30615 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30616 (tgammal): Define using libm_alias_ldouble.
30617 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30618 (exp10l): Do not use long_double_symbol here.
30619 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30620 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30621 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30622 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30623 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30624 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30625 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30626 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30627 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30628 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30629 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30630 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30631 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30632 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30633 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30634 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30635 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30636 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30637 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30638 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30639 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30640 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30642 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30644 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30645 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30647 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30649 * io/read.c (read): Add libc_hidden_weak.
30650 * sysdeps/mach/hurd/read.c (read): Likewise.
30651 * io/write.c (write): Likewise.
30652 * sysdeps/mach/hurd/write.c (write): Likewise.
30653 * io/pread64.c (__pread64): Likewise.
30654 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30655 * posix/pread64.c (__pread64): Add libc_hidden_def.
30657 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30659 * benchtests/scripts/compare_strings.py: New option -g.
30660 (draw_graph): Print a message that a graph is being generated.
30661 (process_results): Generate graph only if -g is passed.
30662 (main): Process option -g.
30664 * benchtests/scripts/compare_strings.py (process_results):
30665 Better spacing for output.
30667 * benchtests/scripts/compare_strings.py: Use argparse.
30668 * benchtests/README: Document existence of compare_strings.py.
30670 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30672 * math/s_fma.c: Include <libm-alias-double.h>.
30673 (fma): Define using libm_alias_double.
30674 * math/s_nextafter.c: Include <libm-alias-double.h>.
30675 (nextafter): Define using libm_alias_double.
30676 * math/w_acos_compat.c: Include <libm-alias-double.h>.
30677 (acos): Define using libm_alias_double.
30678 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
30679 (aocsh): Define using libm_alias_double.
30680 * math/w_asin_compat.c: Include <libm-alias-double.h>.
30681 (asin): Define using libm_alias_double.
30682 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
30683 (atan2): Define using libm_alias_double.
30684 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
30685 (atanh): Define using libm_alias_double.
30686 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
30687 (cosh): Define using libm_alias_double.
30688 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
30689 (exp10): Define using libm_alias_double.
30690 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
30691 (exp2): Define using libm_alias_double.
30692 * math/w_exp_compat.c: Include <libm-alias-double.h>.
30693 (exp): Define using libm_alias_double.
30694 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
30695 (fmod): Define using libm_alias_double.
30696 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
30697 (hypot): Define using libm_alias_double.
30698 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30699 (j0): Define using libm_alias_double.
30701 * math/w_j1_compat.c: Include <libm-alias-double.h>.
30702 (j1): Define using libm_alias_double.
30704 * math/w_jn_compat.c: Include <libm-alias-double.h>.
30705 (jn): Define using libm_alias_double.
30707 * math/w_log10_compat.c: Include <libm-alias-double.h>.
30708 (log10): Define using libm_alias_double.
30709 * math/w_log2_compat.c: Include <libm-alias-double.h>.
30710 (log2): Define using libm_alias_double.
30711 * math/w_log_compat.c: Include <libm-alias-double.h>.
30712 (log): Define using libm_alias_double.
30713 * math/w_pow_compat.c: Include <libm-alias-double.h>.
30714 (pow): Define using libm_alias_double.
30715 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
30716 (remainder): Define using libm_alias_double.
30717 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
30718 (sinh): Define using libm_alias_double.
30719 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
30720 (sqrt): Define using libm_alias_double.
30721 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
30722 (tgamma): Define using libm_alias_double.
30723 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
30724 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
30725 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
30726 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
30727 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
30728 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
30729 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
30730 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
30731 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
30732 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
30733 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
30734 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
30735 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
30736 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
30737 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
30738 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
30739 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
30740 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
30741 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
30742 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
30743 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
30744 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
30745 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
30746 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
30747 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
30749 * math/e_acoshl.c: Remove.
30750 * math/e_acosl.c: Likewise.
30751 * math/e_asinl.c: Likewise.
30752 * math/e_atan2l.c: Likewise.
30753 * math/e_atanhl.c: Likewise.
30754 * math/e_coshl.c: Likewise.
30755 * math/e_expl.c: Likewise.
30756 * math/e_fmodl.c: Likewise.
30757 * math/e_gammal_r.c: Likewise.
30758 * math/e_hypotl.c: Likewise.
30759 * math/e_j0l.c: Likewise.
30760 * math/e_j1l.c: Likewise.
30761 * math/e_jnl.c: Likewise.
30762 * math/e_lgammal_r.c: Likewise.
30763 * math/e_log10l.c: Likewise.
30764 * math/e_log2l.c: Likewise.
30765 * math/e_logl.c: Likewise.
30766 * math/e_powl.c: Likewise.
30767 * math/e_rem_pio2l.c: Likewise.
30768 * math/e_sinhl.c: Likewise.
30769 * math/e_sqrtf128.c: Likewise.
30770 * math/e_sqrtl.c: Likewise.
30771 * math/k_cosl.c: Likewise.
30772 * math/k_sinl.c: Likewise.
30773 * math/k_tanl.c: Likewise.
30774 * math/s_asinhl.c: Likewise.
30775 * math/s_atanl.c: Likewise.
30776 * math/s_cbrtl.c: Likewise.
30777 * math/s_erfl.c: Likewise.
30778 * math/s_expm1l.c: Likewise.
30779 * math/s_log1pl.c: Likewise.
30780 * math/s_tanhl.c: Likewise.
30782 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30785 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30786 [$(subdir) = math] (sysdep_calls): New variable. Has the
30787 previous contents of sysdep_routines, but re-sorted..
30788 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30790 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30791 defined in sysdep_calls and replace by the respective m_* names.
30792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30793 (compat_symbol): Undefine to avoid duplicated compat symbols in
30796 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30798 * math/s_fmaf.c: Include <libm-alias-float.h>.
30799 (fmaf): Define using libm_alias_float.
30800 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30801 (acosf): Define using libm_alias_float.
30802 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30803 (acoshf): Define using libm_alias_float.
30804 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30805 (asinf): Define using libm_alias_float.
30806 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30807 (atan2f): Define using libm_alias_float.
30808 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30809 (atanhf): Define using libm_alias_float.
30810 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30811 (coshf): Define using libm_alias_float.
30812 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30813 (exp10f): Define using libm_alias_float.
30814 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30815 (fmodf): Define using libm_alias_float.
30816 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30817 (hypotf): Define using libm_alias_float.
30818 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30819 (j0f): Define using libm_alias_float.
30821 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30822 (j1f): Define using libm_alias_float.
30824 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30825 (jnf): Define using libm_alias_float.
30827 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30828 (log10f): Define using libm_alias_float.
30829 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30830 (log2f): Define using libm_alias_float.
30831 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30832 (logf): Define using libm_alias_float.
30833 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30834 (powf): Define using libm_alias_float.
30835 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30836 (remainderf): Define using libm_alias_float.
30837 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30838 (sinhf): Define using libm_alias_float.
30839 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30840 (sqrtf): Define using libm_alias_float.
30841 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30842 (tgammaf): Define using libm_alias_float.
30844 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30846 * include/math.h (roundeven): Change hidden_proto call to
30848 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30850 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30851 (y0): Rename to __y0 and define as weak alias.
30852 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30853 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30855 (y0f): Rename to __y0f and define as weak alias.
30856 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30858 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30859 (y1): Rename to __y1 and define as weak alias.
30860 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30861 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30863 (y1f): Rename to __y1f and define as weak alias.
30864 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30866 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30867 (yn): Rename to __yn and define as weak alias.
30868 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30869 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30871 (ynf): Rename to __ynf and define as weak alias.
30872 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30873 (fromfp): Define as weak alias.
30874 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30875 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30876 (fromfpx): Define as weak alias.
30877 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30878 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30879 __getpayload and define as weak alias.
30880 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30881 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30882 __roundeven and define as weak alias.
30883 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30884 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30886 (setpayload): Define as weak alias.
30887 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30888 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30890 (setpayloadsig): Define as weak alias.
30891 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30892 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30893 __totalorder and define as weak alias.
30894 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30895 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30896 to __totalordermag and define as weak alias.
30897 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30898 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30899 (ufromfp): Define as weak alias.
30900 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30901 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30903 (ufromfpx): Define as weak alias.
30904 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30905 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30906 Rename to __getpayload and define as weak alias.
30907 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30908 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30909 Rename to __roundeven and define as weak alias.
30910 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30911 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30912 Rename to __totalorder and define as weak alias.
30913 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30914 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30915 (totalordermag): Rename to __totalordermag and define as weak
30917 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30918 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30920 (__roundevenl): Likewise.
30921 (__totalorderl): Likewise.
30922 (__totalordermagl): Likewise
30923 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30925 (fromfpf128): Define as weak alias.
30926 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30928 (fromfpxf128): Define as weak alias.
30929 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30931 (setpayloadf128): Define as weak alias.
30932 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30933 __setpayloadsigf128.
30934 (setpayloadsigf128): Define as weak alias.
30935 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30937 (ufromfpf128): Define as weak alias.
30938 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30940 (ufromfpxf128): Define as weak alias.
30941 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30942 (fromfpf): Define as weak alias.
30943 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30945 (fromfpxf): Define as weak alias.
30946 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30947 __getpayloadf and define as weak alias.
30948 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30949 __roundevenf and define as weak alias.
30950 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30952 (setpayloadf): Define as weak alias.
30953 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30955 (setpayloadsigf): Define as weak alias.
30956 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30957 __totalorderf and define as weak alias.
30958 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30959 Rename to __totalordermagf and define as weak alias.
30960 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30962 (ufromfpf): Define as weak alias.
30963 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30965 (ufromfpxf): Define as weak alias.
30966 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30968 (fromfpl): Define as weak alias.
30969 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30971 (fromfpxl): Define as weak alias.
30972 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30973 to __getpayloadl and define as weak alias.
30974 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30975 __roundevenl and define as weak alias.
30976 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30978 (setpayloadl): Define as weak alias.
30979 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30981 (setpayloadsigl): Define as weak alias.
30982 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30983 to __totalorderl and define as weak alias.
30984 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30985 Rename to __totalordermagl and define as weak alias.
30986 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30988 (ufromfpl): Define as weak alias.
30989 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30991 (ufromfpxl): Define as weak alias.
30992 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30994 (fromfpl): Define as weak alias.
30995 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30997 (fromfpxl): Define as weak alias.
30998 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30999 Rename to __getpayloadl and define as weak alias.
31000 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
31001 to __roundevenl and define as weak alias. Call __roundeven
31002 instead of roundeven.
31003 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
31005 (setpayloadl): Define as weak alias.
31006 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
31008 (setpayloadsigl): Define as weak alias.
31009 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
31010 Rename to __totalorderl and define as weak alias.
31011 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
31012 Rename to __totalordermagl and define as weak alias.
31013 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
31015 (ufromfpl): Define as weak alias.
31016 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
31018 (ufromfpxl): Define as weak alias.
31019 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
31021 (fromfpl): Define as weak alias.
31022 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
31024 (fromfpxl): Define as weak alias.
31025 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
31026 __getpayloadl and define as weak alias.
31027 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
31028 __roundevenl and define as weak alias.
31029 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
31031 (setpayloadl): Define as weak alias.
31032 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
31034 (setpayloadsigl): Define as weak alias.
31035 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
31036 __totalorderl and define as weak alias.
31037 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
31038 Rename to __totalordermagl and define as weak alias.
31039 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
31041 (ufromfpl): Define as weak alias.
31042 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
31044 (ufromfpxl): Define as weak alias.
31046 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
31048 * benchtests/bench-string.h (realloc_bufs): New function.
31049 (test_init): Call it.
31050 * benchtests/bench-memset-large.c (do_test): Likewise.
31051 * benchtests/bench-memset.c (do_test): Likewise.
31053 * benchtests/bench-memset-large.c: Print output in JSON
31055 * benchtests/bench-memset.c: Likewise.
31057 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31060 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
31061 * iconvdata/Makefile: Add IBM858.
31062 * iconvdata/gconv-modules: Likewise.
31063 * iconvdata/tst-tables.sh: Likewise.
31064 * iconvdata/ibm858.c: New file.
31065 * localedata/charmaps/IBM858: Likewise.
31067 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
31070 * locales/niu_NZ (LC_TIME): copy "niu_NU".
31071 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
31073 2017-09-14 Mike FABIAN <mfabian@redhat.com>
31076 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
31077 and add tel_int_fmt.
31079 2017-09-14 Joseph Myers <joseph@codesourcery.com>
31081 * sysdeps/generic/libm-alias-float128.h: New file.
31082 * sysdeps/generic/math-type-macros-float128.h: Include
31083 <libm-alias-float128.h>.
31084 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31086 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31088 * sysdeps/generic/libm-alias-ldouble.h: New file.
31089 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
31090 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
31091 * sysdeps/generic/math-type-macros-ldouble.h: Include
31092 <libm-alias-ldouble.h>.
31093 [!declare_mgen_alias] (declare_mgen_alias): Define to use
31094 libm_alias_ldouble.
31096 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
31098 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
31099 * math/w_exp_compat.c: ... here.
31100 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
31101 * math/w_expf_compat.c: ... here.
31102 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
31103 * math/w_expl_compat.c: ... here.
31104 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
31105 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
31106 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
31107 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31109 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31111 * math/w_scalbln_template.c (strong_alias): Do not undefine and
31113 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
31115 (ldexpl): Only define as compat symbol for libc, not libm.
31116 (scalbnl): Define as compat symbol for libc here.
31117 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
31118 define for [IS_IN (libc)].
31119 (__ldexpl_2): Remove alias.
31120 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
31121 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
31122 name in long_double_symbol call.
31123 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
31124 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31125 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31126 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
31127 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
31129 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
31130 Define as compat symbol.
31132 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31134 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
31135 * sysdeps/unix/sysv/linux/alpha/Makefile
31136 [$(subdir) = csu] (sysdep_routines): Remove rule.
31138 2017-09-13 Joseph Myers <joseph@codesourcery.com>
31140 * sysdeps/generic/libm-alias-double.h: New file.
31141 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
31142 * sysdeps/generic/math-type-macros-double.h: Include
31143 <libm-alias-double.h>.
31144 [declare_mgen_alias] (declare_mgen_alias): Define to use
31146 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
31147 (M_LIBM_NEED_COMPAT): Remove macro.
31148 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
31149 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
31150 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
31152 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31153 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31154 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31155 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31156 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31157 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31158 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31159 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31160 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31161 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31162 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31163 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31164 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31165 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31166 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31167 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31168 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31169 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31170 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31171 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31172 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31173 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31174 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31175 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31176 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31177 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31178 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31179 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
31180 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
31182 (declare_mgen_alias): New macro.
31183 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
31184 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
31185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
31186 (M_LIBM_NEED_COMPAT): Remove macro.
31187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
31188 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
31189 <first-versions.h>.
31190 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
31191 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
31193 2017-09-12 Joseph Myers <joseph@codesourcery.com>
31195 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
31196 (declare_mgen_alias_2): Remove.
31197 * sysdeps/generic/math-type-macros-double.h
31198 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
31200 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
31202 (ldexp): Define with declare_mgen_alias.
31203 (scalbn): Likewise.
31205 2017-09-12 Steve Ellcey <sellcey@cavium.com>
31207 * grp/initgroups.c: Include config.h.
31208 (DEFAULT_CONFIG): New macro.
31209 (internal_getgrouplist): Use DEFAULT_CONFIG.
31210 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31211 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
31212 (DEFAULT_DEFCONFIG): New macro.
31213 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
31214 * nss/grp-lookup.c: Include config.h
31215 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
31216 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
31217 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
31218 * manual/nss.texi: Update default values section.
31220 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
31223 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
31225 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
31226 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31227 Handle MathVec_Prefer_No_AVX512.
31228 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
31229 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
31232 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
31234 * posix/sched_primax.c (__sched_get_priority_max): Add
31236 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
31237 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31238 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31239 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
31240 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
31241 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
31242 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
31243 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
31246 2017-09-11 Joseph Myers <joseph@codesourcery.com>
31248 * sysdeps/generic/libm-alias-float.h: New file.
31249 * sysdeps/generic/math-type-macros-float.h: Include
31250 <libm-alias-float.h>.
31251 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31253 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
31256 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
31257 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
31258 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
31259 (HWCAP_IMPORTANT): Likewise.
31260 (HWCAP_X86_64): New enum.
31261 (HWCAP_X86_AVX512_1): Updated.
31262 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
31263 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
31264 (modules-names): Add x86_64/tst-x86_64mod-1.
31265 (LDFLAGS-tst-x86_64mod-1.so): New.
31266 ($(objpfx)tst-x86_64-1): Likewise.
31267 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
31268 (tst-x86_64-1-clean): Likewise.
31269 * sysdeps/x86_64/tst-x86_64-1.c: New file.
31270 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
31272 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31274 * po/sv.po: Update translations.
31275 * po/fr.po: Likewise.
31277 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31279 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
31281 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
31283 * elf/rtld-Rules: Fix $(error) use.
31285 2017-09-09 Mike FABIAN <mfabian@redhat.com>
31288 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
31289 * locale/iso-639.def: Change “Bengali” to “Bangla”.
31290 * localedata/locales/bn_BD: “Bengali” was still used in some
31291 comments. Change it to “Bangla”.
31293 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
31295 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
31297 2017-09-08 Steve Ellcey <sellcey@cavium.com>
31299 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
31300 thunderx2t99p1 to list of cpu names.
31301 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31302 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
31304 2017-09-08 Steve Ellcey <sellcey@cavium.com>
31306 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
31307 Use strcmp instead of tunable_is_name.
31309 2017-09-08 Joseph Myers <joseph@codesourcery.com>
31311 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31312 (F_GET_RW_HINT): New macro.
31313 [__USE_GNU] (F_SET_RW_HINT): Likewise.
31314 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
31315 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
31316 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
31317 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
31318 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
31319 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
31320 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
31321 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
31323 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31324 (F_ADD_SEALS): New macro.
31325 [__USE_GNU] (F_GET_SEALS): Likewise.
31326 [__USE_GNU] (F_SEAL_SEAL): Likewise.
31327 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
31328 [__USE_GNU] (F_SEAL_GROW): Likewise.
31329 [__USE_GNU] (F_SEAL_WRITE): Likewise.
31331 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31333 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
31334 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
31335 * posix/glob_internal.h (__glob_pattern_type):
31336 * posix/glob.c (glob):
31337 * posix/glob_pattern_p.c (__glob_pattern_p):
31340 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
31341 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31342 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
31343 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
31344 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
31346 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
31347 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
31348 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31349 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31350 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31351 * sysdeps/wordsize-64/glob.c: Likewise.
31352 * sysdeps/wordsize-64/glob64.c: Likewise.
31353 * sysdeps/wordsize-64/globfree.c: Likewise.
31354 * sysdeps/wordsize-64/globfree64.c: Likewise.
31355 * sysdeps/unix/sysv/linux/glob.c: New file.
31356 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
31357 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
31358 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
31359 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31360 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
31361 adds !GLOB_NO_OLD_VERSION as an extra condition.
31362 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
31363 using relative path instead of absolute one.
31364 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
31365 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31366 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31367 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
31368 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
31369 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
31372 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
31373 (glob): Use the same scratch buffer for both getlogin_r and
31374 getpwnam_r. Don’t require preallocation of the login name. This
31375 simplifies storage allocation, and corrects the handling of
31379 * posix/glob.c (glob): Port recent patches to platforms
31380 lacking getpwnam_r.
31381 (glob): Fix longstanding misuse of errno after getpwnam_r, which
31382 returns an error number rather than setting errno.
31384 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
31385 instead of GCC extension.
31386 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
31387 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
31388 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
31392 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
31393 * posix/bug-glob1.c: Remove file.
31394 * posix/tst-glob_symlinks.c: New file.
31395 * posix/glob.c (__lstat64): New macro.
31396 (is_dir): New function.
31397 (glob, glob_in_dir): Match symlinks even if they are dangling.
31398 (link_stat, link_exists_p): Remove. All uses removed.
31402 * posix/glob.c (struct readdir_result): Remove skip_entry member.
31403 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
31408 * posix/Makefile (routines): Add globfree, globfree64, and
31410 * posix/flexmember.h: New file.
31411 * posix/glob_internal.h: Likewise.
31412 * posix/glob_pattern_p.c: Likewise.
31413 * posix/globfree.c: Likewise.
31414 * posix/globfree64.c: Likewise.
31415 * sysdeps/gnu/globfree64.c: Likewise.
31416 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
31417 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31418 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
31419 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31420 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31421 * sysdeps/wordsize-64/globfree.c: Likewise.
31422 * sysdeps/wordsize-64/globfree64.c: Likewise.
31423 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
31424 [NDEBUG): Remove comments.
31425 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
31426 (dirent_type): New type. Use uint_fast8_t not
31427 uint8_t, as C99 does not require uint8_t.
31428 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
31429 (struct readdir_result): Use dirent_type. Do not define skip_entry
31430 unless it is needed; this saves a byte on platforms lacking d_ino.
31431 (readdir_result_type, readdir_result_skip_entry):
31432 New functions, replacing ...
31433 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
31434 these functions, which were removed. This makes the callers
31435 easier to read. All callers changed.
31436 (D_INO_TO_RESULT): Now empty if there is no d_ino.
31437 (size_add_wrapv, glob_use_alloca): New static functions.
31438 (glob, glob_in_dir): Check for size_t overflow in several places,
31439 and fix some size_t checks that were not quite right.
31440 Remove old code using SHELL since Bash no longer
31442 (glob, prefix_array): Separate MS code better.
31443 (glob_in_dir): Remove old Amiga and VMS code.
31444 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
31446 (glob_in_dir): Do not rely on undefined behavior in accessing
31447 struct members beyond their bounds. Use a flexible array member
31449 (link_stat): Rename from link_exists2_p and return -1/0 instead of
31450 0/1. Caller changed.
31451 (glob): Fix memory leaks.
31452 * posix/glob64 (globfree64): Move to separate file.
31453 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
31454 (globfree64): Remove hidden alias.
31455 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
31457 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
31459 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
31461 Move compat code to separate file.
31462 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
31465 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
31467 * resolv/tst-resolv-qtypes.c (domain): Changed to
31468 "const char domain[] =".
31470 2017-09-07 Joseph Myers <joseph@codesourcery.com>
31472 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
31475 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
31476 (TCP_MD5SIG_EXT): Likewise.
31477 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
31478 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
31479 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
31481 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
31483 2017-09-07 Mike FABIAN <mfabian@redhat.com>
31485 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
31487 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
31490 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
31492 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31494 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
31495 before assuming that the file is empty. Avoid testing buffer content
31498 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31501 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31503 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
31505 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
31507 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
31509 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31511 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
31513 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
31516 2017-09-06 Florian Weimer <fweimer@redhat.com>
31518 * malloc/dynarray_emplace_enlarge.c
31519 (__libc_dynarray_emplace_enlarge): Add missing else.
31521 2017-09-06 Florian Weimer <fweimer@redhat.com>
31524 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
31525 case of failure to obtain the global conf object.
31527 2017-09-06 Florian Weimer <fweimer@redhat.com>
31530 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
31531 dynarray allocation failure.
31533 2017-09-06 Florian Weimer <fweimer@redhat.com>
31535 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
31536 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
31537 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
31539 (response): Call them. Add 'p', '6' flag processing.
31540 (test_reverse): New function.
31541 (test_get2_any): Call it.
31542 (test_no_inet6): Add 'p' test.
31543 (test_inet6): Likewise.
31545 2017-09-06 Florian Weimer <fweimer@redhat.com>
31547 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
31548 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
31550 (test_gai): Adjust query names. Add additional tests.
31551 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
31552 test_get2. Adjust query names. Add additional tests.
31553 (test_no_inet6): New function, extracted from threadfunc.
31554 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
31555 Add additional tests.
31557 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31560 * localedata/unicode-gen/utf8_gen.py: Set the width for
31561 characters with Prepended_Concatenation_Mark property to 1
31562 * localedata/charmaps/UTF-8: Updated using the improved script.
31564 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31567 * localedata/unicode-gen/utf8_gen.py: Improve the script to
31568 use the range notation for all ranges of neighbouring characters
31569 with the same width.
31571 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31573 * sysdeps/generic/math-type-macros-double.h: Include
31574 <math-svid-compat.h>.
31575 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31576 * sysdeps/generic/math-type-macros-float.h: Include
31577 <math-svid-compat.h>.
31578 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31579 * sysdeps/generic/math-type-macros-ldouble.h: Include
31580 <math-svid-compat.h>.
31581 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31582 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
31584 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
31585 * math/w_acosf_compat.c: Likewise.
31586 * math/w_acosh_compat.c: Likewise.
31587 * math/w_acoshf_compat.c: Likewise.
31588 * math/w_acoshl_compat.c: Likewise.
31589 * math/w_acosl_compat.c: Likewise.
31590 * math/w_asin_compat.c: Likewise.
31591 * math/w_asinf_compat.c: Likewise.
31592 * math/w_asinl_compat.c: Likewise.
31593 * math/w_atan2_compat.c: Likewise.
31594 * math/w_atan2f_compat.c: Likewise.
31595 * math/w_atan2l_compat.c: Likewise.
31596 * math/w_atanh_compat.c: Likewise.
31597 * math/w_atanhf_compat.c: Likewise.
31598 * math/w_atanhl_compat.c: Likewise.
31599 * math/w_cosh_compat.c: Likewise.
31600 * math/w_coshf_compat.c: Likewise.
31601 * math/w_coshl_compat.c: Likewise.
31602 * math/w_exp10_compat.c: Likewise.
31603 * math/w_exp10f_compat.c: Likewise.
31604 * math/w_exp10l_compat.c: Likewise.
31605 * math/w_exp2_compat.c: Likewise.
31606 * math/w_exp2f_compat.c: Likewise.
31607 * math/w_exp2l_compat.c: Likewise.
31608 * math/w_fmod_compat.c: Likewise.
31609 * math/w_fmodf_compat.c: Likewise.
31610 * math/w_fmodl_compat.c: Likewise.
31611 * math/w_hypot_compat.c: Likewise.
31612 * math/w_hypotf_compat.c: Likewise.
31613 * math/w_hypotl_compat.c: Likewise.
31614 * math/w_j0_compat.c: Likewise.
31615 * math/w_j0f_compat.c: Likewise.
31616 * math/w_j0l_compat.c: Likewise.
31617 * math/w_j1_compat.c: Likewise.
31618 * math/w_j1f_compat.c: Likewise.
31619 * math/w_j1l_compat.c: Likewise.
31620 * math/w_jn_compat.c: Likewise.
31621 * math/w_jnf_compat.c: Likewise.
31622 * math/w_jnl_compat.c: Likewise.
31623 * math/w_lgamma_r_compat.c: Likewise.
31624 * math/w_lgammaf_r_compat.c: Likewise.
31625 * math/w_lgammal_r_compat.c: Likewise.
31626 * math/w_log10_compat.c: Likewise.
31627 * math/w_log10f_compat.c: Likewise.
31628 * math/w_log10l_compat.c: Likewise.
31629 * math/w_log2_compat.c: Likewise.
31630 * math/w_log2f_compat.c: Likewise.
31631 * math/w_log2l_compat.c: Likewise.
31632 * math/w_log_compat.c: Likewise.
31633 * math/w_logf_compat.c: Likewise.
31634 * math/w_logl_compat.c: Likewise.
31635 * math/w_pow_compat.c: Likewise.
31636 * math/w_powf_compat.c: Likewise.
31637 * math/w_powl_compat.c: Likewise.
31638 * math/w_remainder_compat.c: Likewise.
31639 * math/w_remainderf_compat.c: Likewise.
31640 * math/w_remainderl_compat.c: Likewise.
31641 * math/w_sinh_compat.c: Likewise.
31642 * math/w_sinhf_compat.c: Likewise.
31643 * math/w_sinhl_compat.c: Likewise.
31644 * math/w_sqrt_compat.c: Likewise.
31645 * math/w_sqrtf_compat.c: Likewise.
31646 * math/w_sqrtl_compat.c: Likewise.
31647 * math/w_tgamma_compat.c: Likewise.
31648 * math/w_tgammaf_compat.c: Likewise.
31649 * math/w_tgammal_compat.c: Likewise.
31650 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31651 [LIBM_SVID_COMPAT].
31652 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31653 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31654 [LIBM_SVID_COMPAT].
31655 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31656 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31657 [LIBM_SVID_COMPAT].
31658 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31659 * sysdeps/i386/fpu/w_sqrt.c: New file.
31660 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31661 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31662 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31663 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31664 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
31665 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
31666 * sysdeps/ia64/fpu/w_asin.c: Likewise.
31667 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
31668 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
31669 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
31670 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
31671 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
31672 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
31673 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
31674 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
31675 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
31676 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
31677 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
31678 * sysdeps/ia64/fpu/w_exp.c: Likewise.
31679 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
31680 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
31681 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
31682 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
31683 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
31684 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
31685 * sysdeps/ia64/fpu/w_expf.c: Likewise.
31686 * sysdeps/ia64/fpu/w_expl.c: Likewise.
31687 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
31688 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
31689 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
31690 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
31691 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
31692 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
31693 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
31694 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
31695 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
31696 * sysdeps/ia64/fpu/w_log.c: Likewise.
31697 * sysdeps/ia64/fpu/w_log10.c: Likewise.
31698 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
31699 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
31700 * sysdeps/ia64/fpu/w_log2.c: Likewise.
31701 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
31702 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
31703 * sysdeps/ia64/fpu/w_logf.c: Likewise.
31704 * sysdeps/ia64/fpu/w_logl.c: Likewise.
31705 * sysdeps/ia64/fpu/w_pow.c: Likewise.
31706 * sysdeps/ia64/fpu/w_powf.c: Likewise.
31707 * sysdeps/ia64/fpu/w_powl.c: Likewise.
31708 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
31709 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
31710 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
31711 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
31712 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
31713 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
31714 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
31715 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
31716 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
31717 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
31718 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
31719 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
31720 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
31721 [LIBM_SVID_COMPAT].
31722 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31723 * sysdeps/ieee754/k_standard.c: Likewise.
31724 * sysdeps/ieee754/k_standardf.c: Likewise.
31725 * sysdeps/ieee754/k_standardl.c: Likewise.
31726 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31727 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31728 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31729 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
31730 long_double_symbol call on [LIBM_SVID_COMPAT].
31731 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31732 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31733 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31734 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31735 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31736 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31737 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31738 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31739 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31740 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31741 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31742 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31743 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31744 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31745 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31746 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31747 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
31748 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31749 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31750 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31751 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
31752 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
31754 2017-09-05 Steve Ellcey <sellcey@cavium.com>
31756 * include/shlib-compat.h (TEST_COMPAT): New Macro.
31757 * malloc/tst-mallocstate.c: Convert from test-skeleton
31758 to test-driver. Ifdef code using TEST_COMPAT macro.
31759 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
31760 * math/test-matherr.c: Likewise.
31762 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31765 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31766 comparing word with byte-swapped constant.
31768 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
31771 * locale/iso-639.def: add Miskito.
31772 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31773 * localedata/locales/miq_NI: New file.
31775 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31778 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31779 (__mkdir): Likewise.
31780 * io/chmod.c (__chmod): Add libc_hidden_def.
31781 * io/mkdir.c (__mkdir): Likewise.
31782 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31783 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31784 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31785 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31787 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31789 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31793 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31794 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31796 2017-09-04 Florian Weimer <fweimer@redhat.com>
31798 * math/math.h: Issue warning if log is defined.
31800 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31802 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31803 kernel version to 4.13.
31805 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31807 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
31808 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31810 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31811 just <bits/types.h>.
31812 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
31813 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
31814 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
31815 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
31816 * misc/preadv2.c: Include <errno.h>.
31817 * misc/preadv64v2.c: Include <errno.h>.
31818 * misc/pwritev2.c: Include <errno.h>.
31819 * misc/pwritev64v2.c: Include <errno.h>.
31820 * sysdeps/posix/preadv2.c: Include <errno.h>.
31821 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31822 Fix <unistd.h> inclusion.
31823 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31824 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
31825 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31826 __strtoul_internal): New functions.
31827 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31828 * sysdeps/posix/system.c: Include <sigsetops.h>.
31829 * sysdeps/mach/hurd/i386/Makefile
31830 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31831 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31832 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
31833 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31834 __feraiseexcept_renamed to feraiseexcept instead of
31835 __GI_feraiseexcept.
31836 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
31837 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
31838 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31839 RWF_NOWAIT): Define to 0 if undefined already.
31840 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31842 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31843 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
31845 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31847 * manual/math.texi (pow10): Do not document.
31848 (pow10f): Likewise.
31849 (pow10l): Likewise.
31850 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31851 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31852 * math/libm-test-exp10.inc (pow10_test): Remove.
31853 (do_test): Do not call pow10.
31854 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31855 [NO_LONG_DOUBLE] (pow10l): Likewise.
31856 * math/w_exp10f_compat.c (pow10f): Likewise.
31857 * math/w_exp10l_compat.c (pow10l): Likewise.
31858 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31859 (pow10): Make into compat symbol.
31860 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31861 (pow10f): Make into compat symbol.
31862 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31863 (pow10l): Make into compat symbol.
31864 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31866 (CFLAGS-nldbl-pow10.c): Remove variable..
31867 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31868 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31869 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31870 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31871 Undefine and redefine.
31872 (pow10l): Make into compat symbol.
31873 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31874 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31875 * sysdeps/arm/libm-test-ulps: Likewise.
31876 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31877 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31878 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31879 * sysdeps/microblaze/libm-test-ulps: Likewise.
31880 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31881 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31882 * sysdeps/nios2/libm-test-ulps: Likewise.
31883 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31884 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31885 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31886 * sysdeps/sh/libm-test-ulps: Likewise.
31887 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31888 * sysdeps/tile/libm-test-ulps: Likewise.
31889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31891 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31893 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31895 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31897 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31898 "../ChangeLog.old/ChangeLog.8".
31899 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31900 "../ChangeLog.old/ChangeLog.14".
31902 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31904 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31907 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31909 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31911 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31913 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31914 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31916 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31918 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31919 32 atexit handlers.
31921 2017-09-01 Zack Weinberg <zackw@panix.com>
31923 * math/math.h (HUGE_VAL): Improve commentary.
31925 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31926 Andreas Schwab <schwab@suse.de>
31929 * include/stdio.h (__gen_tempfd): New function.
31930 * stdio-common/Makefile (routines): Add gentempfd.
31931 * stdio-common/gentempfd.c: New file.
31932 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31933 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31934 unnamed file first.
31936 2017-09-01 Florian Weimer <fweimer@redhat.com>
31940 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31941 result to determine success or failure, not the errno value.
31942 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31943 (tst-nss-files-hosts-erange): Link with -ldl.
31944 * nss/tst-nss-files-hosts-erange.c: New file.
31945 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31946 (do_test): Add NO_DATA tests.
31947 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31948 (do_test): Call it.
31950 2017-09-01 Florian Weimer <fweimer@redhat.com>
31953 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31954 coming from gethostbyname2_r.
31956 2017-09-01 Florian Weimer <fweimer@redhat.com>
31958 * support/namespace.h (struct support_chroot_configuration): Add
31960 (struct support_chroot): Add path_hosts, path_host_conf.
31961 * support/support_chroot.c (write_file): New function.
31962 (support_chroot_create): Call it to process /etc/resolv.conf,
31963 /etc/hosts, /etc/host.conf.
31964 (support_chroot_free): Update.
31966 2017-09-01 Florian Weimer <fweimer@redhat.com>
31968 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31969 status indicates it is set.
31971 2017-09-01 Florian Weimer <fweimer@redhat.com>
31974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31975 function lookup failures more reliable.
31977 2017-09-01 Florian Weimer <fweimer@redhat.com>
31979 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31980 (getcanonname): Likewise.
31981 (gaih_inet): Likewise.
31983 2017-09-01 Florian Weimer <fweimer@redhat.com>
31985 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31986 (getcanonname): Likewise.
31987 (gaih_inet): Likewise.
31989 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31990 Richard Henderson <rth@twiddle.net>
31992 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31993 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31994 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31995 (IREG_SIZE, OREG_SIZE): New macros.
31996 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31997 (IREG_SIZE, OREG_SIZE): New macros.
31998 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31999 (IREG_SIZE): New macro.
32000 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
32001 (IREG_SIZE): New macro.
32002 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
32004 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
32005 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32006 (__CONCATX): Handle exceptions correctly on large values that may
32008 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
32009 Initialize if not already set.
32010 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32012 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32014 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
32015 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
32017 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
32019 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
32021 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
32023 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
32025 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
32027 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
32029 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
32030 (NO_CANCELLATION): Likewise.
32031 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
32033 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
32035 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
32037 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
32038 (NO_CANCELLATION): Likewise.
32039 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
32040 (NO_CANCELLATION): Likewise.
32041 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
32043 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
32045 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
32047 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
32049 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
32051 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
32052 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
32054 2017-08-31 Steve Ellcey <sellcey@cavium.com>
32056 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
32059 2017-08-31 Florian Weimer <fweimer@redhat.com>
32061 * include/libc-symbols.h (internal_function): Remove.
32063 2017-08-31 Florian Weimer <fweimer@redhat.com>
32065 * stdlib/fmtmsg.c (internal_addseverity): Remove
32068 2017-08-31 Florian Weimer <fweimer@redhat.com>
32070 * stdio-common/printf_fp.c (group_number): Remove
32072 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
32074 2017-08-31 Florian Weimer <fweimer@redhat.com>
32076 * posix/fnmatch.c (internal_function): Remove definition.
32077 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
32078 * posix/regcomp.c (peek_token, init_word_char)
32079 (duplicate_node_closure, fetch_token, peek_token)
32080 (peek_token_bracket, build_range_exp, build_collating_symbol):
32082 * posix/regex_internal.c (re_string_construct_common)
32083 (create_ci_newstate, create_cd_newstate, re_string_allocate)
32084 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
32085 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
32086 (re_string_translate_buffer, re_string_reconstruct)
32087 (re_string_peek_byte_case, re_string_fetch_byte_case)
32088 (re_string_destruct, re_string_context_at, re_node_set_alloc)
32089 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
32090 (re_node_set_add_intersect, re_node_set_init_union)
32091 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
32092 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
32093 (re_dfa_add_node, calc_state_hash, re_acquire_state)
32094 (re_acquire_state_context): Likewise.
32095 * posix/regex_internal.h (internal_function): Remove definition.
32096 (re_string_realloc_buffers, build_wcs_buffer)
32097 (build_wcs_upper_buffer, build_upper_buffer)
32098 (re_string_translate_buffer, re_string_context_at)
32099 (re_string_char_size_at, re_string_wchar_at)
32100 (re_string_elem_size_at): Likewise.
32101 * posix/regexec.c (match_ctx_init, match_ctx_clean)
32102 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
32103 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
32104 (re_search_internal, re_search_2_stub, re_search_stub)
32105 (re_copy_regs, prune_impossible_nodes, check_matching)
32106 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
32107 (free_fail_stack_return, sift_states_iter_mb)
32108 (sift_states_backward, build_sifted_states)
32109 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
32110 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
32111 (check_subexp_limits, sift_states_bkref, merge_state_array)
32112 (find_recover_state, transit_state, merge_state_with_log)
32113 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
32114 (transit_state_mb, transit_state_bkref, get_subexp)
32115 (get_subexp_sub, find_subexp_node, check_arrival)
32116 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
32117 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
32118 (check_node_accept_bytes, find_collation_sequence_value)
32119 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
32120 (acquire_init_state_context, check_halt_node_context)
32121 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
32122 (sub_epsilon_src_nodes): Likewise.
32123 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
32124 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
32125 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
32126 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
32127 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
32128 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
32129 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
32130 * sysdeps/posix/ttyname.c (getttyname): Likewise.
32131 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
32132 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
32133 (PREADV): Likewise.
32134 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
32135 (PREADV): Likewise.
32136 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
32137 (PWRITEV): Likewise.
32138 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
32139 (PWRITEV): Likewise.
32140 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
32141 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
32143 2017-08-31 Florian Weimer <fweimer@redhat.com>
32145 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
32146 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
32147 Remove internal_function.
32148 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32149 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
32150 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
32151 (__deallocate_stack, __libc_pthread_init)
32152 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
32153 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
32154 (__libc_disable_asynccancel, __librt_disable_asynccancel):
32156 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
32157 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
32158 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
32160 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
32161 (__pthread_mutex_unlock_usercnt): Likewise.
32163 2017-08-31 Florian Weimer <fweimer@redhat.com>
32165 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
32166 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
32167 (fts_safe_changedir): Remove internal_function.
32168 * io/ftw.c (internal_function): Remove definition.
32169 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
32171 2017-08-31 Florian Weimer <fweimer@redhat.com>
32173 * inet/deadline.c (__deadline_current_time)
32174 (__deadline_from_timeval, __deadline_to_ms): Remove
32176 * inet/getnameinfo.c (nrl_domainname): Likewise.
32177 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
32178 * inet/inet6_option.c (add_pad): Likewise.
32179 * inet/net-internal.h (__deadline_current_time)
32180 (__deadline_from_timeval, __deadline_to_ms): Likewise.
32181 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
32182 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
32183 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
32185 2017-08-31 Joseph Myers <joseph@codesourcery.com>
32187 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
32188 include <bits/nan.h>.
32189 * math/Makefile (headers): Remove bits/nan.h.
32190 * bits/nan.h: Remove.
32191 * sysdeps/ieee754/bits/nan.h: Likewise.
32192 * sysdeps/mips/bits/nan.h: Likewise.
32194 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
32195 not include <bits/inf.h>.
32196 * math/Makefile (headers): Remove bits/inf.h.
32197 * bits/inf.h: Remove.
32198 * sysdeps/ieee754/bits/inf.h: Likewise.
32200 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
32201 bits/huge_vall.h or bits/huge_val_flt128.h.
32202 (HUGE_VAL): Define directly here.
32203 [__USE_ISOC99] (HUGE_VALF): Likewise.
32204 [__USE_ISOC99] (HUGE_VALL): Likewise.
32205 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32206 (HUGE_VAL_F128): Likewise.
32207 * math/Makefile (headers): Remove bits/huge_val.h,
32208 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
32209 * bits/huge_val.h: Remove.
32210 * bits/huge_val_flt128.h: Likewise.
32211 * bits/huge_valf.h: Likewise.
32212 * bits/huge_vall.h: Likewise.
32213 * sysdeps/ia64/bits/huge_vall.h: Likewise.
32214 * sysdeps/ieee754/bits/huge_val.h: Likewise.
32215 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
32216 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
32217 * sysdeps/sh/bits/huge_val.h: Likewise.
32218 * sysdeps/sparc/bits/huge_vall.h: Likewise.
32219 * sysdeps/x86/bits/huge_vall.h: Likewise.
32221 2017-08-31 Florian Weimer <fweimer@redhat.com>
32223 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
32225 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
32227 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
32228 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32229 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
32230 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
32231 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32232 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32233 * elf/dl-libc.c (dlerror_run): Likewise.
32234 * elf/dl-load.c (add_name_to_object, decompose_rpath)
32235 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
32236 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
32237 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
32239 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
32240 (_dl_higher_prime_number, _dl_strtoul): Likewise.
32241 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
32242 * elf/dl-profile.c (_dl_start_profile): Likewise.
32243 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
32244 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
32246 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
32247 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
32248 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
32249 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
32250 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
32251 (_dl_allocate_tls_storage): Likewise.
32252 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
32253 (_dl_check_all_versions): Likewise.
32254 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
32255 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
32256 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
32257 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32258 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
32259 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
32260 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
32261 internal_function from __dl_start.
32262 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
32263 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
32264 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
32265 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
32266 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
32267 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
32268 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
32269 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
32270 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
32271 (_dl_next_ld_env_entry, _dl_important_hwcaps)
32272 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
32273 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
32274 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
32275 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
32276 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
32278 (struct rtld_global_ro): Remove internal_function from the
32279 _dl_lookup_symbol_x member.
32280 (_dl_symbol_value): Remove. No longer defined anywhere.
32281 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
32283 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32284 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32285 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
32286 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
32287 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
32288 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
32289 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
32290 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
32291 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
32292 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
32293 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32294 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32296 2017-08-31 Florian Weimer <fweimer@redhat.com>
32298 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
32299 Remove internal_function.
32300 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32302 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32305 2017-08-31 Florian Weimer <fweimer@redhat.com>
32307 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
32308 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
32309 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
32311 2017-08-31 Florian Weimer <fweimer@redhat.com>
32313 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
32314 (__gai_enqueue_request): Remove internal_function.
32315 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
32316 (__gai_remove_request, __gai_notify, __gai_notify_only)
32317 (__gai_sigqueue): Likewise.
32318 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
32319 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
32320 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
32321 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32324 2017-08-31 Florian Weimer <fweimer@redhat.com>
32326 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
32327 * include/dirent.h (__opendirat, __getdents, __getdents64)
32328 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
32329 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
32330 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32331 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32333 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
32335 2017-08-31 Florian Weimer <fweimer@redhat.com>
32337 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
32339 (GETCWD_RETURN_TYPE): Likewise.
32341 2017-08-31 Florian Weimer <fweimer@redhat.com>
32343 * include/time.h (__tz_compute, __strptime_internal): Remove
32345 * time/strptime_l.c (__strptime_internal): Likewise.
32346 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
32348 2017-08-31 Florian Weimer <fweimer@redhat.com>
32350 * iconv/gconv.c (__gconv): Remove internal_function.
32351 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
32352 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
32353 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
32354 (__gconv_release_cache): Likewise.
32355 * iconv/gconv_close.c (__gconv_close): Likewise.
32356 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
32357 (read_conf_file, __gconv_get_path): Likewise.
32358 * iconv/gconv_db.c (derivation_lookup, add_derivation)
32359 (__gconv_release_step, gen_steps, increment_counter)
32360 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
32361 (__gconv_close_transform, free_modules_db): Likewise.
32362 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
32364 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
32365 (__gconv_find_transform, __gconv_lookup_cache)
32366 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
32367 (__gconv_close_transform, __gconv_release_cache)
32368 (__gconv_loaded_object, __gconv_release_shlib)
32369 (__gconv_compare_alias): Likewise.
32370 * iconv/gconv_open.c (__gconv_open): Likewise.
32371 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
32372 * iconv/iconvconfig.c (add_module): Likewise.
32373 * intl/dcigettext.c (plural_lookup, guess_category_value)
32374 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
32375 * intl/eval-plural.h (plural_eval): Likewise.
32376 * intl/finddomain.c (_nl_find_domain): Likewise.
32377 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
32378 (_nl_load_domain, _nl_find_msg): Likewise.
32379 (internal_function): Remove definition.
32380 * intl/loadinfo.h (internal_function): Likewise.
32381 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
32383 * intl/localealias.c (internal_function): Remove definition.
32384 (read_alias_file): Remove internal_function.
32385 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
32386 * intl/plural-exp.h (internal_function): Remove definition.
32387 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
32389 * intl/plural.c: Regenerate.
32390 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
32391 * locale/coll-lookup.c (__collidx_table_lookup)
32392 (__collseq_table_lookup): Likewise.
32393 * locale/coll-lookup.h (__collidx_table_lookup)
32394 (__collseq_table_lookup): Likewise.
32395 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
32396 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32397 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
32398 (_nl_unload_locale): Likewise.
32399 * locale/localeinfo.h (struct __locale_data): Remove
32400 internal_function from cleanup member.
32401 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
32402 (_nl_remove_locale, _nl_load_locale_from_archive)
32403 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
32404 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
32405 (_nl_cleanup_time): Remove internal_function.
32406 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
32407 (_nl_parse_alt_digit): Likewise.
32408 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
32409 (_nl_select_era_entry): Likewise.
32410 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
32411 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32412 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
32413 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32414 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
32416 2017-08-31 Florian Weimer <fweimer@redhat.com>
32418 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
32419 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32420 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
32421 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
32423 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
32424 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
32425 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
32426 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32428 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
32430 2017-08-31 Florian Weimer <fweimer@redhat.com>
32432 * misc/getttyent.c (skip, value): Remove internal_function.
32433 * misc/syslog.c (openlog_internal): Likewise.
32434 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
32436 2017-08-31 Florian Weimer <fweimer@redhat.com>
32438 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
32439 (__nss_rewrite_field): Remove internal_function.
32440 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32441 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32442 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32443 * nss/nsswitch.c (nss_parse_file, nss_getline)
32444 (nss_parse_service_list, nss_new_service): Likewise.
32445 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
32446 * nss/valid_field.c (__nss_valid_field): Likewise.
32447 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
32449 2017-08-31 Florian Weimer <fweimer@redhat.com>
32451 * malloc/arena.c (__malloc_fork_lock_parent)
32452 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
32453 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
32454 internal_function from defintions.
32455 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
32456 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
32457 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
32458 internal_function from declarations.
32459 * malloc/malloc.c (internal_function): Do not define.
32460 (mem2mem_check): Remove internal_function from declaration.
32461 (munmap_chunk, mremap_chunk): Remove internal_function.
32462 * malloc/mtrace.c (tr_where): Likewise.
32464 2017-08-31 Florian Weimer <fweimer@redhat.com>
32466 * include/rpc/pmap_clnt.h (__get_socket): Remove
32468 * sunrpc/auth_des.c (synchronize): Likewise.
32469 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
32470 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
32471 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
32472 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
32473 (key_call): Likewise.
32474 * sunrpc/pm_getport.c (__get_socket): Likewise.
32475 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
32476 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
32477 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
32478 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
32479 (invalidate): Likewise.
32480 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
32481 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
32482 (set_input_fragment, get_input_bytes): Likewise.
32484 2017-08-31 Florian Weimer <fweimer@redhat.com>
32486 * malloc/malloc.c (_int_free): Remove locked variable and related
32489 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
32492 * Makerules (build-module-helper-objlist): Filter out
32493 $(elf-objpfx)sofini.os.
32494 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
32497 2017-08-31 Florian Weimer <fweimer@redhat.com>
32499 * libio/fcloseall.c: Assume weak_alias is defined.
32500 * libio/feof.c: Likewise.
32501 * libio/fileno.c: Likewise.
32502 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
32503 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32505 (_IO_file_open): Call __open directly.
32506 (_IO_new_file_sync): Assume ESPIPE is defined.
32507 (_IO_file_seekoff_maybe_mmap): Call __read directly.
32508 (_IO_new_file_write): Call __write directly.
32509 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
32510 * libio/ftello64.c (__ftello64): Assume EIO is defined.
32511 * libio/genops.c: Assume _LIBC is defined.
32512 (save_for_backup): Remove internal_function.
32513 * libio/getc.c: Assume weak_alias is defined.
32514 * libio/getwc.c: Likewise.
32515 * libio/iofclose.c: Assume _LIBC is defined.
32516 * libio/iofdopen.c: Likewise.
32517 (_IO_fcntl): Remove macro definition.
32518 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
32519 Call __fcntl directly.
32520 * libio/iofflush.c: Assume weak_alias is defined.
32521 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
32523 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
32524 * libio/iofgets.c: Likewise.
32525 * libio/iofopen.c: Assume _LIBC is defined.
32526 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
32527 * libio/iofputs.c: Assume weak_alias is defined.
32528 * libio/iofread.c: Likewise.
32529 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
32530 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
32531 * libio/ioftell.c: Assume weak_alias is defined.
32532 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
32533 * libio/iofwide.c: Assume _LIBC is defined.
32534 (_IO_fwide): Drop SHARED conditional because it is implied by
32536 * libio/iofwrite.c: Assume weak_alias is defined.
32537 * libio/iogetdelim.c: Likewise.
32538 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
32539 * libio/iogetwline.c (wmemcpy): Remove macro definition.
32540 (_IO_getwline): Call __wmemcpy directly.
32541 * libio/iopopen.c: Assume _LIBC is defined.
32542 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32543 (_IO_close): Remove macro definitions.
32544 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
32546 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
32548 * libio/ioputs.c: Assume weak_alias is defined.
32549 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
32550 * libio/iosetbuffer.c: Assume weak_alias is defined.
32551 * libio/iosetvbuf.c: Likewise.
32552 * libio/ioungetc.c: Likewise.
32553 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
32554 libc_hidden_def, libc_hidden_weak, NULL are defined.
32555 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
32556 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
32558 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32560 (_IO_old_file_init_internal): Drop SHARED conditional because it
32561 is implied by SHLIB_COMPAT.
32562 (_IO_old_file_fopen): Call __open directly.
32563 (_IO_old_file_sync): Assume ESPIPE is defined.
32564 (_IO_old_file_write): Call __write directly.
32565 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
32566 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
32567 Call __fcntl directly.
32568 * libio/oldiofgetpos.c: Assume weak_alias is defined.
32569 (_IO_old_fgetpos): Assume EIO is defined.
32570 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
32571 (_IO_old_fgetpos64): Assume EIO is defined.
32572 * libio/oldiofsetpos.c: Assume weak_alias is defined.
32573 (_IO_old_fsetpos): Assume EIO is defined.
32574 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
32575 (_IO_old_fsetpos64): Assume EIO is defined.
32576 * libio/oldiopopen.c: Assume _LIBC is defined.
32577 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32578 (_IO_close): Remove macro definitions.
32579 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
32581 (_IO_old_proc_close): Call __close, __waitpid directly.
32582 * libio/put.c: Assume weak_alias is defined.
32583 * libio/stdfiles.c: Assume _LIBC is defined.
32584 * libio/stdio.c: Likewise.
32585 * libio/wfileops.c: Likewise.
32586 (_IO_wfile_sync): Assume ESPIPE is defined.
32587 * libio/wgenops.c: Assume _LIBC is defined.
32588 (save_for_wbackup): Remove internal_function.
32590 2017-08-31 Florian Weimer <fweimer@redhat.com>
32592 * malloc/malloc.c (top_check): Change return type to void. Remove
32594 * malloc/hooks.c (top_check): Likewise.
32595 (malloc_check, realloc_check, memalign_check): Adjust.
32597 2017-08-30 Joseph Myers <joseph@codesourcery.com>
32600 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32601 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
32602 sigcontext and namespace requirements.
32603 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32604 * sysdeps/m68k/sys/ucontext.h: Likewise.
32605 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
32606 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
32607 <bits/sigcontext.h>.
32608 (__ctx): Define earlier.
32609 (mcontext_t): Define structure contents rather than using struct
32611 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32612 __glibc_reserved1 instead of __reserved.
32613 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32614 <bits/sigcontext.h>.
32615 (__ctx): Define earlier.
32616 (mcontext_t): Define structure contents rather than using struct
32618 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32619 mcontext_t instead of struct sigcontext.
32620 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32621 <bits/sigcontext.h>.
32622 (__ctx): Define earlier.
32623 (mcontext_t): Define structure contents rather than using struct
32625 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32626 <bits/sigcontext.h>.
32627 (__ctx): Define earlier.
32628 (mcontext_t): Define structure contents rather than using struct
32630 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32631 mcontext_t instead of struct sigcontext.
32632 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32633 mcontext_t instead of struct sigcontext.
32634 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32635 <bits/sigcontext.h>.
32636 (__ctx): New macro.
32637 (struct __ia64_fpreg_mcontext): New type.
32638 (mcontext_t): Define structure contents rather than using struct
32640 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32641 (uc_sigmask): Define using __ctx.
32642 (uc_stack): Likewise.
32643 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32644 <bits/sigcontext.h>.
32645 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32646 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32647 <bits/sigcontext.h>.
32648 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32649 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32650 <bits/sigcontext.h>.
32651 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32652 <bits/sigcontext.h>.
32653 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32654 <bits/sigcontext.h>.
32655 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32656 <bits/sigcontext.h>.
32657 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32658 <bits/sigcontext.h>.
32659 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32660 <bits/sigcontext.h>.
32661 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32662 <bits/sigcontext.h>.
32663 (__ctx): Define earlier.
32664 (mcontext_t): Define structure contents rather than using struct
32666 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
32667 <bits/sigcontext.h>. Include <bits/types.h>.
32668 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
32669 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
32670 (test-xfail-XPG42/ucontext.h/conform): Likewise.
32671 (test-xfail-UNIX98/signal.h/conform): Likewise.
32672 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32673 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32674 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32675 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32676 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32677 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32678 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32679 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32680 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32682 2017-08-30 Florian Weimer <fweimer@redhat.com>
32684 * malloc/dynarray_emplace_enlarge.c
32685 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
32686 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
32687 * malloc/tst-dynarray.c (test_long_overflow): New function.
32688 (do_test): Call it.
32690 2017-08-30 Florian Weimer <fweimer@redhat.com>
32692 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
32693 (set_arena_corrupt): Remove definitions.
32694 (mtrim): Do not check for corrupt arena.
32695 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
32698 2017-08-30 Florian Weimer <fweimer@redhat.com>
32701 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
32703 (ptmalloc_init): Do not set or use check_action.
32704 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
32705 call to malloc_printerr. Remove return statement.
32706 (free_check): Likewise. Remove arena unlock.
32707 (top_check): Update comment. Adjust call to malloc_printerr.
32708 Remove heap repair code.
32709 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
32710 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
32711 (sysmalloc): Adjust call to malloc_printerr.
32712 (munmap_chunk, __libc_realloc): Likewise. Remove return
32714 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
32715 Remove errout label and corresponding gotos.
32716 (_int_free): Likewise. Remove arena unlock.
32717 (do_set_mallopt_check): Do not set check_action.
32718 (malloc_printerr): Adjust parameter list. Do not mark arena as
32720 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
32722 * manual/probes.texi (Memory Allocation Probes): Remove
32723 memory_mallopt_check_action.
32725 2017-08-30 Steve Ellcey <sellcey@cavium.com>
32727 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
32728 Use pointer to uint64_t instead of long int for sp.
32730 2017-08-30 Florian Weimer <fweimer@redhat.com>
32733 * malloc/malloc.c (malloc_printerr): Always terminate the process,
32734 without printing a backtrace. Do not leak any information in the
32736 * manual/memory.texi (Heap Consistency Checking): Update.
32737 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
32739 2017-08-30 Florian Weimer <fweimer@redhat.com>
32741 Do not scale NPTL tests with available number of CPUs.
32742 * nptl/tst-cond16.c (count): Set to constant value of 8.
32743 * nptl/tst-cond18.c (count): Likewise.
32745 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32748 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
32749 Define to take a second argument that is a macro that
32750 concatentates a suffix, not the suffix itself.
32751 (__CONCAT_d): New macro.
32752 (__CONCAT_f): Likewise.
32753 (__CONCAT_l): Likewise.
32755 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
32757 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
32760 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32761 Aurelien Jarno <aurelien@aurel32.net>
32762 Maciej W. Rozycki <macro@imgtec.com>
32765 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32766 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32767 `mips16-syscall6' and `mips16-syscall7'.
32768 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32769 (CFLAGS-mips16-syscall7.c): Remove.
32770 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32771 Remove `__mips16_syscall5', `__mips16_syscall6' and
32772 `__mips16_syscall7'.
32773 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32774 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32775 `__mips_syscall_return'.
32776 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32777 (__mips16_syscall1): Likewise.
32778 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32779 (__mips16_syscall2): Likewise.
32780 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32781 (__mips16_syscall3): Likewise.
32782 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32783 (__mips16_syscall4): Likewise.
32784 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32786 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32788 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32790 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32791 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32792 `__mips16_syscall5'. Remove prototype.
32793 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32794 `__mips16_syscall6'. Remove prototype.
32795 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32796 `__mips16_syscall7'. Remove prototype.
32797 (__nomips16, __mips16_syscall_return): Move to...
32798 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32799 (__nomips16, __mips_syscall_return): ... here.
32800 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32801 `__mips16_syscall_return' to `__mips_syscall_return'.
32802 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32803 `internal_syscall##nr'.
32804 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32805 `internal_syscall##nr'.
32806 (FORCE_FRAME_POINTER): Remove.
32807 (__mips_syscall5): New prototype.
32808 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32809 (__mips_syscall6): New prototype.
32810 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32811 (__mips_syscall7): New prototype.
32812 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32813 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32814 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32815 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32816 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32817 (sysdep_routines): Add libc-do-syscall.
32818 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32819 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32821 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32824 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32825 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32826 (advise_stack_range): New function.
32827 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32828 stack non required to advise_stack_range at allocatestack.c
32830 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32832 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32834 2017-08-29 Florian Weimer <fweimer@redhat.com>
32837 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32838 __end_fct. Mangle __end_fct after setting it to NULL.
32839 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32840 (modules-names, modules-names-tests): Add
32841 tst-gconv-init-failure-mod.
32842 (gconv-modules): New target.
32843 (tst-gconv-init-failure-mod.so): Link against libsupport.
32844 (tst-gconv-init-failure): Depend on gconv-modules,
32845 tst-gconv-init-failure-mod.so.
32846 * iconv/tst-gconv-init-failure-mod.c: New file.
32847 * iconv/tst-gconv-init-failure.c: Likewise.
32848 * iconv/test-gconv-modules: Likewise.
32850 2017-08-29 Florian Weimer <fweimer@redhat.com>
32853 * iconv/gconv_db.c (free_derivation): Remove redundant
32855 (gen_steps): Unconditionally mangle __btowc_fct after
32857 (increment_counter): Likewise. Do not call init_fct for internal
32860 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32863 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32864 (_MSUF_): Remove macro.
32865 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32867 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32868 (__REDIRFROM_X): New macro.
32869 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32871 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32872 (__REDIRTO_X): Likewise.
32873 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32875 (__MATH_REDIRCALL_2): Likewise.
32876 (__MATH_REDIRCALL_INTERNAL): Likewise.
32877 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32878 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32879 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32880 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32881 * math/test-finite-macros.c: New file.
32882 * math/Makefile (tests): Add test-finite-macros.
32883 (CFLAGS-test-finite-macros.c): New variable.
32885 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
32886 Jeff Law <law@redhat.com>
32889 Mangle NULL pointers in iconv/gconv.
32890 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32891 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32892 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32893 is non-NULL before demangling the end_fct. Check for NULL
32894 end_fct after demangling.
32895 (__gconv_release_step): Demangle the end_fct before checking
32896 it for NULL. Remove assert on __shlibc_handle != NULL.
32897 (gen_steps): Don't check btowc_fct for NULL before mangling.
32898 Demangle init_fct before checking for NULL.
32899 (increment_counter): Likewise.
32900 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32901 end_fct for NULL before mangling.
32902 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32905 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
32908 * locale/iso-639.def: add Morisyen.
32910 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32913 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32914 (iszero): New C++ implementation that does not use
32915 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32916 signaling nans are enabled, since __builtin_types_compatible_p
32917 is a C-only feature.
32918 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32919 defined, include ieee754_float128.h for access to the union and
32920 member ieee854_float128.ieee.
32921 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32922 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32923 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32924 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32925 options of test-math-zero on powerpc64le.
32927 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32929 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32930 Change double to float.
32932 2017-08-28 Joseph Myers <joseph@codesourcery.com>
32934 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32936 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32937 conditional code; define contents only for [LIBM_SVID_COMPAT].
32939 2017-08-28 Florian Weimer <fweimer@redhat.com>
32941 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32942 (abi-lp64_be-options): Remove.
32943 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32944 (abi-hard-options): Likewise.
32945 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32946 (abi-o32_hard-options, abi-o32_soft_2008-options)
32947 (abi-o32_hard_2008-options, abi-n32_soft-options)
32948 (abi-n32_hard-options, abi-n32_soft_2008-options)
32949 (abi-n32_hard_2008-options, abi-n64_soft-options)
32950 (abi-n64_hard-options, abi-n64_soft_2008-options)
32951 (abi-n64_hard_2008-options): Likewise.
32952 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32953 (abi-64-v1-options, abi-64-v2-options): Likewise.
32954 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32955 (abi-64-options): Likewise.
32956 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32957 (abi-64-options): Likewise.
32958 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32959 (abi-64-options): Likewise.
32960 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32961 (abi-64-options, abi-x32-options): Likewise.
32963 2017-08-28 Florian Weimer <fweimer@redhat.com>
32965 Store supported list of SYS_* system calls in the source tree.
32966 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32967 (bits/syscall.h): Generate from list file.
32968 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32969 [$(subdir) = misc] (tests): Add tst-syscall-list.
32970 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32971 [$(subdir) = misc] (tst-syscall-list-macros.list)
32972 [$(subdir) = misc] (tst-syscall-list-nr.list)
32973 (tst-syscall-list-sys.list): Helper targets for new
32974 tst-syscall-list test.
32975 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32976 tst-syscall-list.sh.
32977 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32978 target. Do not include bits/syscall.d.
32979 [$(subdir) = misc] (generated): Do not update.
32980 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32981 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32982 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32983 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32985 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32987 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32988 (tst-cxa_atexit, tst-on_exit): Likewise.
32989 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32990 tst-cxa_atexit, and tst-on_exit.
32991 * stdlib/tst-atexit-common.c: New file.
32992 * stdlib/tst-atexit.c: New file.
32993 * stdlib/tst-at_quick_exit.c: New file.
32994 * stdlib/tst-cxa_atexit.c: New file.
32995 * stdlib/tst-on_exit.c: New file.
32997 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32999 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
33000 * mach/stack_chk_fail_local.c: New file.
33001 * hurd/stack_chk_fail_local.c: New file.
33002 * mach/Machrules ($(interface-library)-routines): Add
33003 stack_chk_fail_local.
33004 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
33005 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
33006 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
33007 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
33008 * hurd/Makefile (CFLAGS-hurdstartup.o,
33009 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
33011 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
33013 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33014 (index_cpu_*, index_arch_*): Removed.
33016 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33018 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
33019 Use uint64_t instead of unsigned long.
33021 2017-08-25 Joseph Myers <joseph@codesourcery.com>
33023 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
33024 [__HAVE_DISTINCT_FLOAT128].
33026 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
33027 of <bits/math-finite.h>.
33028 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
33029 inclusion of <bits/math-finite.h>.
33030 * math/bits/math-finite.h (__REDIRTO_X): Do not define
33031 conditionally on [__MATH_DECLARING_LDOUBLE && defined
33032 __NO_LONG_DOUBLE_MATH].
33033 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
33034 (__MATH_REDIRCALL_2): Likewise.
33035 (__MATH_REDIRCALL_INTERNAL): Likewise.
33036 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33037 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
33038 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
33042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
33044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
33046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
33048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
33050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
33052 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33053 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33054 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33055 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
33057 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
33058 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
33059 w_sqrtf_compat-ppc32.
33061 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33063 * math/math.h [defined __cplusplus] (issignaling): In the long
33064 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
33065 is not defined. Call __issignaling, otherwise.
33067 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33069 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
33070 syscall definitions and replace __builtin_expect with __glibc_likely.
33071 * sysdeps/unix/syscall-template.S: Update comment about cancellable
33073 (SYSCALL_CANCELLABLE): Removedefinition
33074 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
33076 (PSEUDO_END): Likewise.
33077 [IS_IN (libpthread)] (CENABLE): Likewise.
33078 [IS_IN (libpthread)] (CDISABLE): Likewise.
33079 [IS_IN (libc)] (CENABLE): Likewise.
33080 [IS_IN (libc)] (CENABLE): Likewise.
33081 [IS_IN (librt)] (CDISABLE): Likewise.
33082 [IS_IN (librt)] (CDISABLE): Likewise.
33083 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33084 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
33086 (PSEUDO_END): Likewise.
33087 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
33088 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
33089 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33090 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33091 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33092 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33093 (CENABLE): Likewise.
33094 (CDISABLE): Likewise.
33095 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33096 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
33098 (PSEUDO_END): Likewise.
33099 [IS_IN (libpthread)] (CENABLE): Likewise.
33100 [IS_IN (libpthread)] (CDISABLE): Likewise.
33101 [IS_IN (libc)] (CENABLE): Likewise.
33102 [IS_IN (libc)] (CENABLE): Likewise.
33103 [IS_IN (librt)] (CDISABLE): Likewise.
33104 [IS_IN (librt)] (CDISABLE): Likewise.
33105 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33106 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
33108 (PSEUDO_END): Likewise.
33109 [IS_IN (libpthread)] (CENABLE): Likewise.
33110 [IS_IN (libpthread)] (CDISABLE): Likewise.
33111 [IS_IN (libc)] (CENABLE): Likewise.
33112 [IS_IN (libc)] (CENABLE): Likewise.
33113 [IS_IN (librt)] (CDISABLE): Likewise.
33114 [IS_IN (librt)] (CDISABLE): Likewise.
33115 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33116 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
33118 (PSEUDO_END): Likewise.
33119 [IS_IN (libpthread)] (CENABLE): Likewise.
33120 [IS_IN (libpthread)] (CDISABLE): Likewise.
33121 [IS_IN (libc)] (CENABLE): Likewise.
33122 [IS_IN (libc)] (CENABLE): Likewise.
33123 [IS_IN (librt)] (CDISABLE): Likewise.
33124 [IS_IN (librt)] (CDISABLE): Likewise.
33125 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33126 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
33128 (PSEUDO_END): Likewise.
33129 [IS_IN (libpthread)] (CENABLE): Likewise.
33130 [IS_IN (libpthread)] (CDISABLE): Likewise.
33131 [IS_IN (libc)] (CENABLE): Likewise.
33132 [IS_IN (libc)] (CENABLE): Likewise.
33133 [IS_IN (librt)] (CDISABLE): Likewise.
33134 [IS_IN (librt)] (CDISABLE): Likewise.
33135 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33136 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
33138 (PSEUDO_END): Likewise.
33139 [IS_IN (libpthread)] (CENABLE): Likewise.
33140 [IS_IN (libpthread)] (CDISABLE): Likewise.
33141 [IS_IN (libc)] (CENABLE): Likewise.
33142 [IS_IN (libc)] (CENABLE): Likewise.
33143 [IS_IN (librt)] (CDISABLE): Likewise.
33144 [IS_IN (librt)] (CDISABLE): Likewise.
33145 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33146 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
33148 (PSEUDO_END): Likewise.
33149 [IS_IN (libpthread)] (CENABLE): Likewise.
33150 [IS_IN (libpthread)] (CDISABLE): Likewise.
33151 [IS_IN (libc)] (CENABLE): Likewise.
33152 [IS_IN (libc)] (CENABLE): Likewise.
33153 [IS_IN (librt)] (CDISABLE): Likewise.
33154 [IS_IN (librt)] (CDISABLE): Likewise.
33155 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33156 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
33158 (PSEUDO_END): Likewise.
33159 [IS_IN (libpthread)] (CENABLE): Likewise.
33160 [IS_IN (libpthread)] (CDISABLE): Likewise.
33161 [IS_IN (libc)] (CENABLE): Likewise.
33162 [IS_IN (libc)] (CENABLE): Likewise.
33163 [IS_IN (librt)] (CDISABLE): Likewise.
33164 [IS_IN (librt)] (CDISABLE): Likewise.
33165 (SINGLE_THREAD_P): Likewise.
33166 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
33168 (PSEUDO_END): Likewise.
33169 [IS_IN (libpthread)] (CENABLE): Likewise.
33170 [IS_IN (libpthread)] (CDISABLE): Likewise.
33171 [IS_IN (libc)] (CENABLE): Likewise.
33172 [IS_IN (libc)] (CENABLE): Likewise.
33173 [IS_IN (librt)] (CDISABLE): Likewise.
33174 [IS_IN (librt)] (CDISABLE): Likewise.
33175 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33176 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
33178 (PSEUDO_END): Likewise.
33179 [IS_IN (libpthread)] (CENABLE): Likewise.
33180 [IS_IN (libpthread)] (CDISABLE): Likewise.
33181 [IS_IN (libc)] (CENABLE): Likewise.
33182 [IS_IN (libc)] (CENABLE): Likewise.
33183 [IS_IN (librt)] (CDISABLE): Likewise.
33184 [IS_IN (librt)] (CDISABLE): Likewise.
33185 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33186 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
33187 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33188 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
33189 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
33191 (PSEUDO_END): Likewise.
33192 [IS_IN (libpthread)] (CENABLE): Likewise.
33193 [IS_IN (libpthread)] (CDISABLE): Likewise.
33194 [IS_IN (libc)] (CENABLE): Likewise.
33195 [IS_IN (libc)] (CENABLE): Likewise.
33196 [IS_IN (librt)] (CDISABLE): Likewise.
33197 [IS_IN (librt)] (CDISABLE): Likewise.
33198 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33199 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
33201 (PSEUDO_END): Likewise.
33202 [IS_IN (libpthread)] (CENABLE): Likewise.
33203 [IS_IN (libpthread)] (CDISABLE): Likewise.
33204 [IS_IN (libc)] (CENABLE): Likewise.
33205 [IS_IN (libc)] (CENABLE): Likewise.
33206 [IS_IN (librt)] (CDISABLE): Likewise.
33207 [IS_IN (librt)] (CDISABLE): Likewise.
33208 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33209 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
33211 (PSEUDO_END): Likewise.
33212 [IS_IN (libpthread)] (CENABLE): Likewise.
33213 [IS_IN (libpthread)] (CDISABLE): Likewise.
33214 [IS_IN (libc)] (CENABLE): Likewise.
33215 [IS_IN (libc)] (CENABLE): Likewise.
33216 [IS_IN (librt)] (CDISABLE): Likewise.
33217 [IS_IN (librt)] (CDISABLE): Likewise.
33218 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33219 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
33220 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33221 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
33222 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
33224 (PSEUDO_END): Likewise.
33225 [IS_IN (libpthread)] (CENABLE): Likewise.
33226 [IS_IN (libpthread)] (CDISABLE): Likewise.
33227 [IS_IN (libc)] (CENABLE): Likewise.
33228 [IS_IN (libc)] (CENABLE): Likewise.
33229 [IS_IN (librt)] (CDISABLE): Likewise.
33230 [IS_IN (librt)] (CDISABLE): Likewise.
33231 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33232 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
33234 (PSEUDO_END): Likewise.
33235 [IS_IN (libpthread)] (CENABLE): Likewise.
33236 [IS_IN (libpthread)] (CDISABLE): Likewise.
33237 [IS_IN (libc)] (CENABLE): Likewise.
33238 [IS_IN (libc)] (CENABLE): Likewise.
33239 [IS_IN (librt)] (CDISABLE): Likewise.
33240 [IS_IN (librt)] (CDISABLE): Likewise.
33241 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33243 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33245 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
33247 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33249 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33251 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33254 * string/stratcliff.c (do_test): Declare size, nchars, inner,
33255 middle and outer with size_t instead of int. Repleace %d and
33256 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
33257 "MAX (outer, nchars - 64)" to support unsigned outer and
33258 nchars. Also exit loop when outer == 0.
33260 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33262 * include/fcntl.h (__fcntl_nocancel): Remove definition.
33263 * include/signal.h (__sigsuspend_nocancel): Likewise.
33264 * include/time.h (__nanosleep_nocancel): Likewise.
33265 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
33266 * login/utmp_file.c: Include non cancellable syscall header.
33267 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
33270 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33272 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
33273 .byte sequences with AVX512F instructions.
33274 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
33275 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
33276 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33277 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
33279 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
33282 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
33283 Steve Ellcey <sellcey@cavium.com>
33285 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
33286 Use PTR_REG macro in cmp instruction.
33288 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33290 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
33291 Change the return type of the ifunc resolver to match the return
33292 type of the target function.
33294 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33296 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
33297 (preadv64): Likewise.
33298 (pwrite64(: Likewise.
33299 (pwritev64): Likewise.
33301 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33302 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
33303 (LOAD_ARGS_0): Likewise.
33304 (LOAD_ARGS_1): Likewise.
33305 (LOAD_ARGS_2): Likewise.
33306 (LOAD_ARGS_3): Likewise.
33307 (LOAD_ARGS_4): Likewise.
33308 (LOAD_ARGS_5): Likewise.
33309 (LOAD_ARGS_6): Likewise.
33310 (LOAD_REGS_0): Likewise.
33311 (LOAD_REGS_1): Likewise.
33312 (LOAD_REGS_2): Likewise.
33313 (LOAD_REGS_3): Likewise.
33314 (LOAD_REGS_4): Likewise.
33315 (LOAD_REGS_5): Likewise.
33316 (LOAD_REGS_6): Likewise.
33317 (ASM_ARGS_0): Likewise.
33318 (ASM_ARGS_1): Likewise.
33319 (ASM_ARGS_2): Likewise.
33320 (ASM_ARGS_3): Likewise.
33321 (ASM_ARGS_4): Likewise.
33322 (ASM_ARGS_5): Likewise.
33323 (ASM_ARGS_6): Likewise.
33324 (LOAD_ARGS_TYPES_1): Likewise.
33325 (LOAD_ARGS_TYPES_2): Likewise.
33326 (LOAD_ARGS_TYPES_3): Likewise.
33327 (LOAD_ARGS_TYPES_4): Likewise.
33328 (LOAD_ARGS_TYPES_5): Likewise.
33329 (LOAD_ARGS_TYPES_6): Likewise.
33330 (LOAD_REGS_TYPES_1): Likewise.
33331 (LOAD_REGS_TYPES_2): Likewise.
33332 (LOAD_REGS_TYPES_3): Likewise.
33333 (LOAD_REGS_TYPES_4): Likewise.
33334 (LOAD_REGS_TYPES_5): Likewise.
33335 (LOAD_REGS_TYPES_6): Likewise.
33336 (TYPEFY): New define.
33337 (ARGIFY): Likewise.
33338 (internal_syscall0): Likewise.
33339 (internal_syscall1): Likewise.
33340 (internal_syscall2): Likewise.
33341 (internal_syscall3): Likewise.
33342 (internal_syscall4): Likewise.
33343 (internal_syscall5): Likewise.
33344 (internal_syscall6): Likewise.
33345 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
33346 (INTERNAL_SYSCALL_NCS): Remove define.
33347 (internal_syscall1): Add define.
33349 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33351 * math/w_remainder_compat.c: Remove duplicate inclusion of
33352 math-svid-compat.h.
33353 * math/w_remainderf_compat.c: Likewise.
33354 * math/w_remainderl_compat.c: Likewise.
33356 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33360 2017-08-22 Joseph Myers <joseph@codesourcery.com>
33363 * math/tgmath.h (__floating_type): Simplify definitions.
33364 (__real_integer_type): New macro.
33365 (__complex_integer_type): Likewise.
33366 (__expr_is_real): Likewise.
33367 (__tgmath_real_type_sub): Update comment to describe handling of
33369 (__tgmath_complex_type_sub): New macro.
33370 (__tgmath_complex_type): Likewise.
33371 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33372 (__TGMATH_CF128): Use __expr_is_real.
33373 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
33375 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33376 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
33377 * math/gen-tgmath-tests.py (Type.create_type): Create complex
33380 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33382 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
33384 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
33386 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
33389 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
33390 nanosleep_not_cancel with __nanosleep_nocancel.
33391 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
33392 (__nanosleep_nocancel): New macro.
33393 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
33395 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
33397 (__nanosleep_nocancel): New prototype.
33399 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
33400 pause_not_cancel with __pause_nocancel.
33401 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
33402 (__pause_nocancel): New macro.
33403 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
33405 (__pause_nocancel): New prototype.
33406 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
33408 2017-08-22 Martin Sebor <msebor@redhat.com>
33410 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
33411 to return a pointer to the same type as the target function.
33413 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33417 * include/printf.h (__printf_fphex): Add attribute_hidden.
33418 (__guess_grouping): New prototype.
33419 * stdio-common/printf_fp.c (__guess_grouping): Removed.
33420 * stdio-common/reg-printf.c (__register_printf_specifier): Add
33421 libc_hidden_proto and libc_hidden_def.
33422 * stdlib/strfmon_l.c (__guess_grouping): Removed.
33423 (__vstrfmon_l): Remove the third argument passed to
33426 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33428 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
33429 definition for issignaling that does not rely on __MATH_TG,
33430 since __MATH_TG uses __builtin_types_compatible_p, which is only
33431 available in C mode.
33432 (CFLAGS-test-math-issignaling.cc): New variable.
33433 * math/Makefile [CXX] (tests): Add test-math-issignaling.
33434 * math/test-math-issignaling.cc: New test for C++ implementation
33435 of type-generic issignaling.
33436 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33437 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
33438 options of test-math-issignaling on powerpc64le.
33440 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33442 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33444 (hidden_proto): Likewise.
33445 (hidden_tls_proto): Likewise.
33446 (__hidden_proto): Likewise.
33448 2017-08-22 Florian Weimer <fweimer@redhat.com>
33450 math: Statically link tests of internal functionality.
33451 * math/Makefile (tests): Remove atest-exp, atest-sincos,
33453 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
33454 (gmp-objs): Remove assignment.
33455 (atest-exp, atest-sincos, atest-exp2): Remove targets.
33457 2017-08-22 Joseph Myers <joseph@codesourcery.com>
33460 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
33462 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
33464 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
33467 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
33468 variable definitions above inclusion of ../Rules.
33470 2017-08-21 Joseph Myers <joseph@codesourcery.com>
33472 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
33473 case calling __builtin_unreachable.
33475 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33477 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
33478 __waitpid_nocancel.
33479 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
33480 (__waitpid_nocancel): New macro.
33481 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
33483 (__waitpid_nocancel): Replace macro with a function.
33484 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
33487 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
33489 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
33490 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
33492 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
33493 __writev_nocancel_nostatus.
33494 (write_call_graph): Likewise.
33495 (write_bb_counts): Likewise.
33496 * resolv/herror.c (herror): Likewise.
33497 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
33499 (__writev_nocancel_nostatus): New macro.
33500 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
33502 (__writev_nocancel_nostatus): New function.
33504 2017-08-21 Joseph Myers <joseph@codesourcery.com>
33507 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33509 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33511 (hidden_proto): Likewise.
33512 (hidden_tls_proto): Likewise.
33513 (__hidden_proto): Likewise.
33516 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
33517 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
33522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
33526 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
33527 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33528 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33529 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33530 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
33531 GLIBC_2.0 sqrtl symbol.
33533 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
33534 [__USE_MISC] (_LIB_VERSION): Likewise.
33535 [__USE_MISC] (struct exception): Likewise.
33536 [__USE_MISC] (matherr): Likewise.
33537 [__USE_MISC] (DOMAIN): Likewise.
33538 [__USE_MISC] (SING): Likewise.
33539 [__USE_MISC] (OVERFLOW): Likewise.
33540 [__USE_MISC] (UNDERFLOW): Likewise.
33541 [__USE_MISC] (TLOSS): Likewise.
33542 [__USE_MISC] (PLOSS): Likewise.
33543 [__USE_MISC] (HUGE): Likewise.
33544 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
33545 * math/math-svid-compat.h: New file.
33546 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
33548 * include/math.h [!_ISOMAC] (__matherr): Remove.
33549 * manual/arith.texi (FP Exceptions): Do not document matherr.
33550 * math/Makefile (tests): Change test-matherr to test-matherr-3.
33551 (tests-internal): New variable.
33552 (install-lib): Do not add libieee.a.
33553 (non-lib.a): Likewise.
33554 (extra-objs): Do not add libieee.a and ieee-math.o.
33555 (CPPFLAGS-s_lib_version.c): Remove variable.
33556 ($(objpfx)libieee.a): Remove rule.
33557 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
33558 * math/ieee-math.c: Remove.
33559 * math/libm-test-support.c (matherr): Remove.
33560 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
33561 and license notices. Include <math-svid-compat.h> and
33563 (matherr): Undefine as macro. Use compat_symbol_reference.
33564 (_LIB_VERSION): Likewise.
33565 * math/test-matherr-2.c: New file.
33566 * math/test-matherr-3.c: Likewise.
33567 * sysdeps/generic/math_private.h (__kernel_standard): Remove
33569 (__kernel_standard_f): Likewise.
33570 (__kernel_standard_l): Likewise.
33571 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
33572 <math_private.h>. Include <math-svid-compat.h>.
33573 (_LIB_VERSION): Undefine as macro.
33574 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
33575 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
33576 [LIBM_SVID_COMPAT], use compat_symbol.
33577 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
33578 <math_private.h>. Include <math-svid-compat.h>.
33579 (matherr): Undefine as macro.
33580 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
33582 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
33583 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
33584 compat_symbol_reference.
33585 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
33586 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
33587 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
33588 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
33589 (MATHERR_D): Remove declaration.
33590 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
33591 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
33592 [LIBM_BUILD] (pmatherrf): Likewise.
33593 [LIBM_BUILD] (pmatherr): Likewise.
33594 [LIBM_BUILD] (pmatherrl): Likewise.
33595 (DOMAIN): Likewise.
33597 (OVERFLOW): Likewise.
33598 (UNDERFLOW): Likewise.
33601 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
33602 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
33604 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
33605 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
33607 * math/lgamma-compat.h: Include <math-svid-compat.h>.
33608 * math/w_acos_compat.c: Likewise.
33609 * math/w_acosf_compat.c: Likewise.
33610 * math/w_acosh_compat.c: Likewise.
33611 * math/w_acoshf_compat.c: Likewise.
33612 * math/w_acoshl_compat.c: Likewise.
33613 * math/w_acosl_compat.c: Likewise.
33614 * math/w_asin_compat.c: Likewise.
33615 * math/w_asinf_compat.c: Likewise.
33616 * math/w_asinl_compat.c: Likewise.
33617 * math/w_atan2_compat.c: Likewise.
33618 * math/w_atan2f_compat.c: Likewise.
33619 * math/w_atan2l_compat.c: Likewise.
33620 * math/w_atanh_compat.c: Likewise.
33621 * math/w_atanhf_compat.c: Likewise.
33622 * math/w_atanhl_compat.c: Likewise.
33623 * math/w_cosh_compat.c: Likewise.
33624 * math/w_coshf_compat.c: Likewise.
33625 * math/w_coshl_compat.c: Likewise.
33626 * math/w_exp10_compat.c: Likewise.
33627 * math/w_exp10f_compat.c: Likewise.
33628 * math/w_exp10l_compat.c: Likewise.
33629 * math/w_exp2_compat.c: Likewise.
33630 * math/w_exp2f_compat.c: Likewise.
33631 * math/w_exp2l_compat.c: Likewise.
33632 * math/w_fmod_compat.c: Likewise.
33633 * math/w_fmodf_compat.c: Likewise.
33634 * math/w_fmodl_compat.c: Likewise.
33635 * math/w_hypot_compat.c: Likewise.
33636 * math/w_hypotf_compat.c: Likewise.
33637 * math/w_hypotl_compat.c: Likewise.
33638 * math/w_j0_compat.c: Likewise.
33639 * math/w_j0f_compat.c: Likewise.
33640 * math/w_j0l_compat.c: Likewise.
33641 * math/w_j1_compat.c: Likewise.
33642 * math/w_j1f_compat.c: Likewise.
33643 * math/w_j1l_compat.c: Likewise.
33644 * math/w_jn_compat.c: Likewise.
33645 * math/w_jnf_compat.c: Likewise.
33646 * math/w_jnl_compat.c: Likewise.
33647 * math/w_lgamma_main.c: Likewise.
33648 * math/w_lgamma_r_compat.c: Likewise.
33649 * math/w_lgammaf_main.c: Likewise.
33650 * math/w_lgammaf_r_compat.c: Likewise.
33651 * math/w_lgammal_main.c: Likewise.
33652 * math/w_lgammal_r_compat.c: Likewise.
33653 * math/w_log10_compat.c: Likewise.
33654 * math/w_log10f_compat.c: Likewise.
33655 * math/w_log10l_compat.c: Likewise.
33656 * math/w_log2_compat.c: Likewise.
33657 * math/w_log2f_compat.c: Likewise.
33658 * math/w_log2l_compat.c: Likewise.
33659 * math/w_log_compat.c: Likewise.
33660 * math/w_logf_compat.c: Likewise.
33661 * math/w_logl_compat.c: Likewise.
33662 * math/w_pow_compat.c: Likewise.
33663 * math/w_powf_compat.c: Likewise.
33664 * math/w_powl_compat.c: Likewise.
33665 * math/w_remainder_compat.c: Likewise.
33666 * math/w_remainderf_compat.c: Likewise.
33667 * math/w_remainderl_compat.c: Likewise.
33668 * math/w_scalb_compat.c: Likewise.
33669 * math/w_scalbf_compat.c: Likewise.
33670 * math/w_scalbl_compat.c: Likewise.
33671 * math/w_sinh_compat.c: Likewise.
33672 * math/w_sinhf_compat.c: Likewise.
33673 * math/w_sinhl_compat.c: Likewise.
33674 * math/w_sqrt_compat.c: Likewise.
33675 * math/w_sqrtf_compat.c: Likewise.
33676 * math/w_sqrtl_compat.c: Likewise.
33677 * math/w_tgamma_compat.c: Likewise.
33678 * math/w_tgammaf_compat.c: Likewise.
33679 * math/w_tgammal_compat.c: Likewise.
33680 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
33681 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33682 * sysdeps/ieee754/k_standard.c: Likewise.
33683 * sysdeps/ieee754/k_standardf.c: Likewise.
33684 * sysdeps/ieee754/k_standardl.c: Likewise.
33685 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33686 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33687 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33688 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33689 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33690 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33691 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33692 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
33693 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33698 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
33699 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33700 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33701 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33703 2017-08-21 Florian Weimer <fweimer@redhat.com>
33706 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
33707 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
33708 Move before inclusion of ../Rules.
33710 2017-08-21 Florian Weimer <fweimer@redhat.com>
33713 * assert/assert.h (assert): Use static_cast (bool) for C++.
33714 Use the ternary operator in the warning branch for GNU C.
33715 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
33716 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
33717 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
33718 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
33719 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
33721 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33724 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33725 (__syscall_clock_gettime): Add attribute_hidden.
33726 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
33727 (__start_context): Likewise.
33729 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33731 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33733 (hidden_proto): Likewise.
33734 (hidden_tls_proto): Likewise.
33735 (__hidden_proto): Likewise.
33737 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33739 * include/libc-symbols.h (attribute_hidden): Enable hidden
33740 visibility in libc.a compiled with PIE.
33742 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33745 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
33746 Add attribute_hidden.
33748 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33751 * Makerules (all-nonlib): Add $(others-extras).
33752 * catgets/Makefile (others-extras): New.
33753 * elf/Makefile (others-extras): Likewise.
33754 * nss/Makefile (others-extras): Likewise.
33756 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33759 * csu/libc-start.c (__libc_multiple_libcs): Removed.
33760 * elf/dl-open.c: Include <libc-internal.h>.
33761 (__libc_multiple_libcs): Removed.
33762 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33764 * include/libc-internal.h (__libc_multiple_libcs): New.
33765 * misc/sbrk.c: Include <libc-internal.h>.
33766 (__libc_multiple_libcs): Removed.
33768 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33771 * grp/initgroups.c (__nss_group_database): Removed.
33772 (__nss_initgroups_database): Likewise.
33773 * nscd/gai.c (__nss_hosts_database): Likewise.
33774 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33775 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33776 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33777 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33778 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33779 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33781 * nss/nsswitch.c (__nss_database_custom): Define only if
33782 USE_NSCD is defined.
33783 (__nss_configure_lookup): Use __nss_database_custom only if
33784 USE_NSCD is defined.
33785 * nss/nsswitch.h (__nss_database_custom): Declare only if
33786 USE_NSCD is defined. Add attribute_hidden.
33787 (__nss_setent): Add attribute_hidden.
33788 (__nss_endent): Likewise.
33789 (__nss_getent_r): Likewise.
33790 (__nss_getent): Likewise.
33791 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33793 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33796 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33797 libc_hidden_proto and libc_hidden_def.
33799 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33802 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33803 Add libc_hidden_proto.
33804 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33805 Add libc_hidden_def.
33807 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33810 * gmon/Makefile (routines): Remove bb_init_func and
33812 (elide-routines.os): Removed.
33813 * gmon/bb_exit_func.c: Likewise.
33814 * gmon/bb_init_func.c: Likewise.
33815 * include/sys/gmon.h (__bb): Likewise.
33816 (__bb_init_func): Likewise.
33817 (__bb_exit_func): Likewise.
33818 * sysdeps/alpha/bb_init_func.S: Likewise.
33820 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33822 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33823 * include/setjmp.h (____longjmp_chk): Here. Add
33826 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33829 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33831 (__strspn_sse2): Likewise.
33833 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33835 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33836 (close_not_cancel_no_status): Likewise.
33837 (__close_nocancel): New macro.
33838 (__close_nocancel_nostatus): Likewise.
33839 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33841 (close_not_cancel): Likewise.
33842 (close_not_cancel_no_status): Likewise.
33843 (__close_nocancel): New prototype.
33844 (__close_nocancel_nostatus): New function.
33845 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33846 * catgets/open_catalog.c (__open_catalog): Replace
33847 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33848 * gmon/gmon.c (write_gmon): Likewise.
33849 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33850 * intl/loadmsgcat.c (close): Likewise.
33851 * io/ftw.c (open_dir_stream): Likewise.
33852 (ftw_startup): Likewise.
33853 * libio/fileops.c (_IO_file_open): Likewise.
33854 (_IO_file_close_mmap): Likewise.
33855 (_IO_file_close): Likewise.
33856 * libio/iopopen.c (_IO_dup2): Likewise.
33857 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33858 * locale/loadlocale.c (_nl_load_locale): Likewise.
33859 * login/utmp_file.c (pututline_file): Likewise.
33860 (endutent_file): Likewise.
33861 * misc/daemon.c (daemon): Likewise.
33862 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33863 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33864 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33865 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33866 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33867 * nscd/nscd_helper.c (open_socket): Likewise.
33868 (__nscd_open_socket): Likewise.
33869 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33870 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33871 (__nscd_innetgr): Likewise.
33872 * nss/nss_db/db-open.c (internal_setent): Likewise.
33873 * resolv/res-close.c (__res_iclose): Likewise.
33874 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33875 * sysdeps/posix/closedir.c (__closedir): Likewise.
33876 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33877 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33878 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33879 (opendir_tail): Likewise.
33880 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33881 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33882 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33883 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33884 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33885 (gethostid): Likewise.
33886 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33887 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33889 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33890 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33891 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33892 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33894 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33895 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33896 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33898 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33899 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33901 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33903 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33904 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33905 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33908 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33909 (openat_not_cancel_3): Likewise.
33910 (openat64_not_cancel_3): Likewise).
33911 (openat_not_cancel_3): Likewise).
33912 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33914 (openat_not_cancel_3): Likewise.
33915 (openat64_not_cancel): Likewise.
33916 (openat64_not_cancel_3): Likewise.
33917 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33918 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33919 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33920 __open{64}_nocancel.
33921 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33922 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33923 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33925 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33928 * include/argz.h (__argz_create_sep): New function prototype.
33929 (__argz_append): Likewise.
33930 (__argz_add): Likewise.
33931 (__argz_add_sep): Likewise.
33932 (__argz_delete): Likewise.
33933 (__argz_insert): Likewise.
33934 (__argz_replace): Likewise.
33935 * string/argz.h (__argz_create_sep): Removed.
33936 (__argz_append): Likewise.
33937 (__argz_add): Likewise.
33938 (__argz_add_sep): Likewise.
33939 (__argz_delete): Likewise.
33940 (__argz_insert): Likewise.
33941 (__argz_replace): Likewise.
33943 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33945 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33946 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33947 (GNU_PROPERTY_STACK_SIZE): Likewie.
33948 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33949 (GNU_PROPERTY_LOPROC): Likewise.
33950 (GNU_PROPERTY_HIPROC): Likewise.
33951 (GNU_PROPERTY_LOUSER): Likewise.
33952 (GNU_PROPERTY_HIUSER): Likewise.
33953 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33954 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33955 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33956 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33957 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33958 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33959 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33960 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33961 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33962 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33963 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33964 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33965 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33966 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33967 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33968 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33969 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33970 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33971 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33972 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33973 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33974 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33975 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33977 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33979 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33982 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33985 * math/math.h (isinf): Check if in C or C++ mode before using
33986 __builtin_types_compatible_p, since this is a C mode feature.
33988 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33990 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33991 (__write_nocancel): New macro.
33992 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33993 Rewrite as a function prototype.
33994 (write_not_cancel): Remove macro.
33995 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33996 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33997 (write_gmon): Likewise.
33998 * libio/fileops.c (_IO_new_file_write): Likewise.
33999 * login/utmp_file.c (pututline_file): Likewise.
34000 (updwtmp_file): Likewise.
34001 * stdio-common/psiginfo.c (psiginfo): Likewise.
34002 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34003 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34004 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34006 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34009 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
34010 (__read_nocancel): New macro.
34011 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34013 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
34015 (__read_nocancel): New prototype.
34016 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
34017 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
34018 with __read_nocancel.
34019 * intl/loadmsgcat.c (read): Likewise.
34020 * libio/fileops.c (_IO_file_read): Likewise.
34021 * locale/loadlocale.c (_nl_load_locale): Likewise.
34022 * login/utmp_file.c (getutent_r_file): Likewise.
34023 (internal_getut_r): Likewise.
34024 (getutline_r_file): Likewise.
34025 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34026 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34027 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34028 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34030 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
34031 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34032 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34034 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34036 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34038 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34040 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34042 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34045 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
34046 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
34049 2017-08-17 DJ Delorie <dj@redhat.com>
34051 * bug17079.c: Update to new test harness.
34052 * test-digits-dots.c: Likewise.
34053 * test-netdb.c: Likewise.
34054 * tst-field.c: Likewise.
34055 * tst-nss-getpwent.c: Likewise.
34056 * tst-nss-static.c: Likewise.
34057 * tst-nss-test1.c: Likewise.
34058 * tst-nss-test2.c: Likewise.
34059 * tst-nss-test3.c: Likewise.
34060 * tst-nss-test4.c: Likewise.
34061 * tst-nss-test5.c: Likewise.
34063 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34065 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
34066 (open_not_cancel_2): Likewise.
34067 (open_nocancel): New macro.
34068 (open64_nocancel): Likewise.
34069 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
34070 (open_not_cancel_2): Likewise.
34071 (__open_nocancel): New prototype.
34072 (__open64_nocancel): Likewise.
34073 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34075 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
34076 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
34077 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
34078 with __open_nocancel.
34079 * csu/check_fds.c (check_one_fd): Likewise.
34080 * gmon/gmon.c (write_gmon): Likewise.
34081 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
34082 * intl/loadmsgcat.c (open): Likewise.
34083 * libio/fileops.c (_IO_file_open): Likewise.
34084 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34085 * locale/loadlocale.c (_nl_load_locale): Likewise.
34086 * login/utmp_file.c (setutent_file): Likewise.
34087 * misc/daemon.c (daemon): Likewise.
34088 * nss/nss_db/db-open.c (internal_setent): Likewise.
34089 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34090 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
34091 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34092 (__opendir): Likewise.
34093 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34094 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34095 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34096 (gethostid): Likewise.
34097 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34098 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34100 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34101 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
34102 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34103 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34105 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34107 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34109 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34111 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34113 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34115 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34116 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34118 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
34120 * benchtests/bench-skeleton.c (main): Add support for
34121 latency benchmarking.
34122 * benchtests/scripts/bench.py: Add support for latency benchmarking.
34124 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
34126 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
34127 the startup object.
34129 2017-08-17 Florian Weimer <fweimer@redhat.com>
34131 * include/sys/socket.h (__opensock): Remove internal_function.
34132 * socket/opensock.c (__opensock): Likewise.
34133 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
34135 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34138 * signal/bits/types/__sigval_t.h: New file.
34139 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
34140 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
34141 and define sigval_t using __sigval_t.
34142 * include/bits/types/__sigval_t.h: New file.
34143 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
34144 instead of <bits/types/__sigval_t.h>.
34145 (struct sigevent): Use __sigval_t instead of sigval_t.
34146 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
34147 instead of <bits/types/__sigval_t.h>.
34148 (siginfo_t): Use __sigval_t instead of sigval_t.
34149 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
34150 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34151 (struct sigevent): Use __sigval_t instead of sigval_t.
34152 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
34153 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34154 (siginfo_t): Use __sigval_t instead of sigval_t.
34155 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
34157 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34159 * NEWS: Remove "[Add new features here]" for 2.27.
34161 2017-08-16 Joseph Myers <joseph@codesourcery.com>
34163 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
34166 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34168 * NEWS: Mention x86-64 FMA optimization.
34170 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34173 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34175 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
34176 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
34177 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
34179 2017-08-16 Andreas Schwab <schwab@suse.de>
34183 * elf/ldd.bash.in: Never run file directly.
34185 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
34188 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
34189 (L(SP_INF_0)): Likewise.
34191 2017-08-15 Florian Weimer <fweimer@redhat.com>
34193 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
34196 2017-08-15 Florian Weimer <fweimer@redhat.com>
34198 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
34199 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
34200 BROKEN_THREAD_SIGNALS code.
34201 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
34202 request_list): Remove caller_pid member used for
34203 BROKEN_THREAD_SIGNALS.
34204 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
34205 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34206 Remove BROKEN_THREAD_SIGNALS support.
34207 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
34208 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
34210 2017-08-15 Florian Weimer <fweimer@redhat.com>
34212 * gmon/Makefile (tests): Add tst-gmon.
34213 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
34215 (tests-special): Add tst-gmon-prof.out.
34216 (tst-gmon.out): Depend on clean-tst-gmon-data.
34217 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
34218 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
34219 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
34221 * aclocal.m4 (GPROF): Set and substitute.
34222 * config.amke.in (GPROF): Set.
34223 * configure: Regenerate.
34225 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
34227 * elf/elf.h A (NT_PPC_TAR): New macro.
34228 (NT_PPC_PPR): Likewise.
34229 (NT_PPC_DSCR): Likewise.
34230 (NT_PPC_EBB): Likewise.
34231 (NT_PPC_PMU): Likewise.
34232 (NT_PPC_TM_CGPR): Likewise.
34233 (NT_PPC_TM_CFPR): Likewise.
34234 (NT_PPC_TM_CVMX): Likewise.
34235 (NT_PPC_TM_CVSX): Likewise.
34236 (NT_PPC_TM_SPR): Likewise.
34237 (NT_PPC_TM_CTAR): Likewise.
34238 (NT_PPC_TM_CPPR): Likewise.
34239 (NT_PPC_TM_CDSCR): Likewise.
34241 2017-08-15 Florian Weimer <fweimer@redhat.com>
34243 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
34244 regparm (2) instead of internal_function.
34245 (_MCOUNT_DECL): Adjust.
34247 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34249 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
34250 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
34252 2017-08-14 Joseph Myers <joseph@codesourcery.com>
34254 * conform/data/sys/wait.h-data (si_value): Do not expect for
34257 2017-08-14 Florian Weimer <fweimer@redhat.com>
34260 NSS: Create stubs for accidentally exported lookup functions.
34261 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
34262 Remove declaration.
34263 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
34264 (ether_hostton): Call __nss_ethers_lookup2 instead.
34265 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
34266 (ether_ntohost): Call __nss_ethers_lookup2 instead.
34267 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
34268 (setup): Call __nss_netgroup_lookup2 instead.
34269 * nss/Makefile (routines): Add compat-lookup.
34270 * nss/Versions (GLIBC_2.27): Add symbol version.
34271 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
34272 (DB_COMPAT_FCT): Remove.
34273 * nss/compat-lookup.c: New file.
34274 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
34275 from databases.def.
34276 * nss/service-lookup.c (NO_COMPAT): Remove definition.
34277 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
34278 (netname2user): Call __nss_publickey_lookup2 instead.
34279 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
34280 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
34283 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34284 Sergei Trofimovich <slyfox@inbox.ru>
34287 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
34288 Rename to MMAP2_PAGE_UNIT.
34289 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
34290 __OFF_T_MATCHES_OFF64_T is not defined.
34291 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
34293 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
34294 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
34296 2017-08-14 Florian Weimer <fweimer@redhat.com>
34298 i386: Do not set internal_function.
34299 * config.h.in (USE_REGPARMS, internal_function): Remove.
34300 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
34301 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
34303 2017-08-14 Florian Weimer <fweimer@redhat.com>
34305 * elf/dl-init.c (_dl_init): Remove internal_function.
34306 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
34307 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
34309 2017-08-14 Florian Weimer <fweimer@redhat.com>
34311 * elf/rtld.c (_dl_start): Remove internal_function.
34312 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
34315 2017-08-14 Florian Weimer <fweimer@redhat.com>
34317 * elf/dl-fini.c (_dl_fini): Remove internal_function
34318 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
34320 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
34322 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
34323 (bit_cpu_SHSTK): Likewise.
34324 (index_cpu_IBT): Likewise.
34325 (index_cpu_SHSTK): Likewise.
34326 (reg_IBT): Likewise.
34327 (reg_SHSTK): Likewise.
34328 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34329 Handle index_cpu_IBT and index_cpu_SHSTK.
34331 2017-08-14 Mike FABIAN <mfabian@redhat.com>
34334 * po/fr.po: Fix spelling mistake.
34336 2017-08-13 Florian Weimer <fweimer@redhat.com>
34338 * elf/dl-addr.c (_dl_addr): Remove internal_function.
34339 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
34340 (_dl_catch_error, _dl_receive_error): Likewise.
34341 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
34342 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
34343 (_dl_deallocate_tls): Likewise.
34344 * include/dlfcn.h (_dl_addr): Likewise.
34345 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
34346 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
34347 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
34350 2017-08-13 Florian Weimer <fweimer@redhat.com>
34352 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
34353 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
34355 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
34357 2017-08-13 Florian Weimer <fweimer@redhat.com>
34359 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
34361 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
34362 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
34363 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
34364 internal_function from _dl_make_stack_executable_hook member.
34365 (_dl_make_stack_executable): Remove internal_function.
34366 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
34368 * sysdeps/unix/sysv/linux/dl-execstack.c
34369 (_dl_make_stack_executable): Likewise.
34371 2017-08-13 Florian Weimer <fweimer@redhat.com>
34373 * sysdeps/unix/sysv/linux/netlinkaccess.h
34374 (__netlink_assert_response): Remove internal_function.
34375 * sysdeps/unix/sysv/linux/netlink_assert_response.c
34376 (__netlink_assert_response): Likewise.
34378 2017-08-13 Florian Weimer <fweimer@redhat.com>
34380 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
34382 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
34384 2017-08-13 Florian Weimer <fweimer@redhat.com>
34386 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
34388 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
34389 * inet/netgroup.h (__internal_setnetgrent)
34390 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34391 * inet/getnetgrent_r.c (__internal_setnetgrent)
34392 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34393 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
34394 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
34395 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
34396 * nss/nsswitch.h (db_lookup_function): Likewise.
34398 2017-08-13 Florian Weimer <fweimer@redhat.com>
34400 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
34401 Remove internal_function.
34402 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
34403 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
34404 message argument on the stack.
34405 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
34408 2017-08-12 Mike FABIAN <mfabian@redhat.com>
34410 Adapt test case data to the changes in the thousands
34414 * localedata/tst-langinfo.sh: Adapt test case data.
34415 * stdlib/tst-strfmon_l.c: Likewise.
34416 * stdlib/tst-strtod4.c: Likewise.
34417 * stdlib/tst-strtod5i.c: Likewise.
34419 2017-08-11 Florian Weimer <fweimer@redhat.com>
34422 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
34423 Suppress pedantic warning resulting from statement expression.
34424 (__ASSERT_FUNCTION): Add missing __extension__.
34426 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34428 * benchtests/bench-memmove-large.c: Print output in JSON
34430 * benchtests/bench-memmove.c: Likewise.
34432 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
34433 * benchtests/bench-memchr.c (do_one_test): Likewise.
34434 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
34435 * benchtests/bench-memcpy.c (do_one_test): Likewise.
34436 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
34437 * benchtests/bench-memmove.c (do_one_test): Likewise.
34438 * benchtests/bench-memset-large.c (do_one_test): Likewise.
34439 * benchtests/bench-memset.c (do_one_test): Likewise.
34440 * benchtests/bench-string.h (test_init): Remove memsets.
34442 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
34445 (Computing the Width of an Integer Data Type): Rename section to
34446 "Width of an Integer Type". Remove inaccurate statement regarding
34447 lack of C language facilities for determining width of integer
34448 types, and reorder content to improve flow and context of
34451 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
34453 * lang.texi (va_copy): Change standard from ISO to C99.
34454 (__va_copy): Add standard and header annotation.
34455 Update description for clarity of origins and current use.
34457 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34460 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
34461 xssqrtqp requires operands to be in Vector Registers
34462 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
34463 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
34464 (__ieee754_sqrtf128): Likewise.
34466 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
34468 * sysdeps/aarch64/memcmp.S (memcmp):
34469 Rewrite of optimized memcmp.
34471 2017-08-10 Florian Weimer <fweimer@redhat.com>
34473 Introduce ld.so exceptions.
34474 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
34475 (_dl_exception_create, _dl_exception_create_format)
34476 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
34477 (_dl_catch_exception): Declare.
34478 (_dl_catch_error): Update comment.
34479 * elf/dl-error-skeleton.c (struct catch): Replace objname,
34480 errstring, malloced members with exception member.
34481 (_dl_out_of_memory): Remove.
34482 (fatal_error): New function, extracted from _dl_signal_error.
34483 (_dl_signal_exception, _dl_signal_cexception): New functions.
34484 (_dl_signal_error): Call _dl_exception_create to allocate an
34486 (_dl_catch_exception): New function, based on _dl_catch_error.
34487 (_dl_catch_error): Implement using _dl_catch_exception.
34488 * elf/dl-exception.c: New file.
34489 * elf/Makefile (dl-routines): Add dl-exception.
34490 (elide-routines.os): Likewise.
34491 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
34492 _dl_exception_create_format, _dl_exception_free.
34493 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
34494 _dl_signal_exception.
34495 * elf/dl-lookup.c (make_string): Remove.
34496 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
34497 _dl_signal_cexception, _dl_exception_free.
34498 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
34499 _dl_signal_exception.
34500 * elf/dl-sym.c (do_sym): Likewise.
34501 * elf/dl-version.c (make_string): Remove.
34502 (match_symbol): Use _dl_exception_create_format,
34503 _dl_signal_cexception, _dl_exception_free.
34504 (_dl_check_map_versions): Likewise.
34505 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
34506 _dl_catch_exception.
34507 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
34508 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
34509 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
34510 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
34511 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
34512 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
34513 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
34514 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
34516 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
34517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
34519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
34521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
34523 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
34524 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
34525 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
34527 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
34529 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
34531 2017-08-10 Florian Weimer <fweimer@redhat.com>
34533 * inet/net-internal.h (__inet6_scopeid_pton): Remove
34534 attribute_hidden, internal_function.
34535 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
34538 2017-08-10 Florian Weimer <fweimer@redhat.com>
34540 * malloc/malloc.c (get_max_fast): Reimplement as an inline
34541 function which calls __builtin_unreachable.
34543 2017-08-10 Mike FABIAN <mfabian@redhat.com>
34545 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
34546 Indian monetary formatting
34547 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
34550 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
34552 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
34553 Fix typo in comment.
34556 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
34557 PTRACE_SEIZE_DEVEL): Remove.
34558 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
34559 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34560 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34561 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34562 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34564 2017-08-09 Joseph Myers <joseph@codesourcery.com>
34566 * posix/bits/types.h (__qaddr_t): Remove.
34569 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
34570 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34572 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
34573 (ucontext_t): Use __ctx with uc_flags.
34574 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
34575 (__ctxt): Likewise.
34576 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34578 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
34579 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34581 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
34582 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34584 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
34586 (ucontext_t): Use __ctx with uc_flags.
34587 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
34588 (ucontext_t): Use __ctx with uc_flags.
34589 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
34590 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
34591 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
34592 (ucontext_t): Use __ctx with uc_flags.
34593 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
34594 undefine further down.
34595 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34597 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
34598 undefine further down.
34599 (ucontext_t): Use __ctx with uc_flags.
34600 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
34601 undefine further down.
34602 (ucontext_t): Use __ctx with uc_flags.
34603 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
34604 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
34605 Rename uc_pad to __glibc_reserved1.
34606 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
34607 undefine further down.
34608 (ucontext_t): Use __ctx with uc_flags.
34609 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34611 (ucontext_t): Use __ctx with uc_flags.
34612 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34613 __ctx with uc_flags.
34614 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34615 (ucontext_t): Use __ctx with uc_flags.
34616 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34617 __ctx with uc_flags.
34619 2017-08-09 Florian Weimer <fweimer@redhat.com>
34622 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34623 before early return.
34625 2017-08-09 Andreas Schwab <schwab@suse.de>
34628 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34632 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34633 tst-compat-forwarder.
34634 (modules-names): Add tst-compat-forwarder-mod.
34635 ($(objpfx)tst-compat-forwarder): Depend on
34636 $(objpfx)tst-compat-forwarder-mod.so.
34637 * nptl/tst-compat-forwarder.c: New file.
34638 * nptl/tst-compat-forwarder-mod.c: New file.
34640 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34642 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34645 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34646 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34648 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34650 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34651 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34652 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34653 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34655 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34658 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34661 * manual/setjmp.texi (getcontex): Document uc_stack value
34662 compatibility differences.
34664 2017-08-08 Joseph Myers <joseph@codesourcery.com>
34666 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
34667 (old_malloc_hook): Likewise.
34668 (old_memalign_hook): Likewise.
34669 (old_realloc_hook): Likewise.
34670 (struct hdr): Likewise.
34672 (freehook): Likewise.
34673 (mallochook): Likewise.
34674 (memalignhook): Likewise.
34675 (reallochook): Likewise.
34676 (mprobe): Likewise.
34677 * malloc/mtrace.c (mallwatch): Likewise.
34678 (tr_old_free_hook): Likewise.
34679 (tr_old_malloc_hook): Likewise.
34680 (tr_old_realloc_hook): Likewise.
34681 (tr_old_memalign_hook): Likewise.
34682 (tr_where): Likewise.
34683 (lock_and_info): Likewise.
34684 (tr_freehook): Likewise.
34685 (tr_mallochook): Likewise.
34686 (tr_reallochook): Likewise.
34687 (tr_memalignhook): Likewise.
34688 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
34689 * misc/mmap.c (__mmap): Likewise.
34690 * misc/mmap64.c (__mmap64): Likewise.
34691 * misc/mprotect.c (__mprotect): Likewise.
34692 * misc/msync.c (msync): Likewise.
34693 * misc/munmap.c (__munmap): Likewise.
34694 * posix/posix_madvise.c (posix_madvise): Likewise.
34695 * socket/send.c (__send): Likewise.
34696 * socket/sendto.c (__sendto): Likewise.
34697 * socket/setsockopt.c (__setsockopt): Likewise.
34698 * string/memcmp.c (__ptr_t): Remove macro.
34699 (MEMCMP): Use void * instead of ptr_t.
34700 * string/memrchr.c (__ptr_t): Remove macro.
34701 (__memrchr): Use void * instead of ptr_t.
34702 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
34703 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34704 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34705 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
34706 * sysdeps/mach/msync.c (msync): Likewise.
34707 * sysdeps/mach/munmap.c (__munmap): Likewise.
34708 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
34710 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34711 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
34712 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
34713 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
34714 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
34715 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34716 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
34717 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
34719 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34720 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
34721 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
34722 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
34723 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
34724 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
34725 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
34726 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
34727 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
34729 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
34730 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
34731 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
34732 (MEMCMP): Use void * instead of ptr_t.
34733 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
34734 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
34736 2017-08-08 Florian Weimer <fweimer@redhat.com>
34738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
34741 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
34744 * csu/libc-tls.c: Include <startup.h> first.
34745 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
34746 * elf/dl-tunables.c: Include <startup.h> first.
34747 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
34748 * sysdeps/generic/startup.h: New file.
34749 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
34750 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
34751 (I386_USE_SYSENTER): New. Defined to 0.
34753 2017-08-08 Andreas Schwab <schwab@suse.de>
34756 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
34757 * nptl/pt-system.c (system): Likewise.
34759 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34762 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34764 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34765 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34766 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34767 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34768 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34769 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34770 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34772 2017-08-07 Joseph Myers <joseph@codesourcery.com>
34775 * bits/sigaction.h (struct sigaction): Define sa_handler and
34776 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34777 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34778 [__USE_XOPEN_EXTENDED].
34779 (SA_RESTART): Likewise.
34780 (SA_NODEFER): Likewise.
34781 (SA_RESETHAND): Likewise.
34782 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34783 (struct sigaction): Define sa_handler and sa_sigaction using union
34784 also for [__USE_XOPEN_EXTENDED].
34785 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34786 [__USE_XOPEN_EXTENDED].
34787 (SA_RESTART): Likewise.
34788 (SA_NODEFER): Likewise.
34789 (SA_RESETHAND): Likewise.
34790 * sysdeps/unix/sysv/linux/bits/sigaction.h
34791 (struct sigaction): Define sa_handler and sa_sigaction using union
34792 also for [__USE_XOPEN_EXTENDED].
34793 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34794 [__USE_XOPEN_EXTENDED].
34795 (SA_RESTART): Likewise.
34796 (SA_NODEFER): Likewise.
34797 (SA_RESETHAND): Likewise.
34798 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34799 (struct sigaction): Define sa_handler and sa_sigaction using union
34800 also for [__USE_XOPEN_EXTENDED].
34801 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34802 [__USE_XOPEN_EXTENDED].
34803 (SA_RESTART): Likewise.
34804 (SA_NODEFER): Likewise.
34805 (SA_RESETHAND): Likewise.
34806 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34807 (struct sigaction): Define sa_handler and sa_sigaction using union
34808 also for [__USE_XOPEN_EXTENDED].
34809 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34810 [__USE_XOPEN_EXTENDED].
34811 (SA_RESTART): Likewise.
34812 (SA_NODEFER): Likewise.
34813 (SA_RESETHAND): Likewise.
34814 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34815 (struct sigaction): Define sa_handler and sa_sigaction using union
34816 also for [__USE_XOPEN_EXTENDED].
34817 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34818 [__USE_XOPEN_EXTENDED].
34819 (SA_RESTART): Likewise.
34820 (SA_NODEFER): Likewise.
34821 (SA_RESETHAND): Likewise.
34822 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34823 (struct sigaction): Define sa_handler and sa_sigaction using union
34824 also for [__USE_XOPEN_EXTENDED].
34825 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34826 [__USE_XOPEN_EXTENDED].
34827 (SA_RESTART): Likewise.
34828 (SA_NODEFER): Likewise.
34829 (SA_RESETHAND): Likewise.
34830 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34831 (struct sigaction): Define sa_handler and sa_sigaction using union
34832 also for [__USE_XOPEN_EXTENDED].
34833 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34834 [__USE_XOPEN_EXTENDED].
34835 (SA_RESTART): Likewise.
34836 (SA_NODEFER): Likewise. Define directly rather than as alias.
34837 (SA_RESETHAND): Likewise.
34838 (SA_INTERRUPT): Define only for [__USE_MISC].
34839 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34840 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34842 (SA_STACK): Define only for [__USE_MISC].
34843 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34844 (struct sigaction): Define sa_handler and sa_sigaction using union
34845 also for [__USE_XOPEN_EXTENDED].
34846 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34847 [__USE_XOPEN_EXTENDED].
34848 (SA_RESTART): Likewise.
34849 (SA_NODEFER): Likewise.
34850 (SA_RESETHAND): Likewise.
34851 (SA_NOPTRACE): Define only for [__USE_MISC].
34853 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34854 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34855 (struct catalog_info): Likewise.
34856 * inet/htontest.c (lo): Likewise.
34858 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34859 * inet/inet_net.c (inet_network): Likewise.
34860 * inet/inet_netof.c (inet_netof): Likewise.
34861 * inet/rcmd.c (__ivaliduser): Likewise.
34862 (iruserok): Likewise.
34863 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34864 * locale/programs/locale-spec.c (locale_special): Likewise.
34865 * nis/nis_findserv.c (struct findserv_req): Likewise.
34866 (__nis_findfastest_with_timeout): Likewise.
34867 * nss/test-netdb.c (test_network): Likewise.
34868 * resolv/inet_neta.c (inet_neta): Likewise.
34869 * resolv/ns_date.c (ns_datetosecs): Likewise.
34870 (SECS_PER_DAY): Likewise.
34871 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34873 * resolv/res_comp.c (__putlong): Likewise.
34874 (__putshort): Likewise.
34875 (_getlong): Likewise.
34876 (_getshort): Likewise.
34877 * resolv/res_debug.c (p_time): Likewise.
34878 (precsize_ntoa): Likewise.
34879 (precsize_aton): Likewise.
34880 (latlon2ul): Likewise.
34881 (loc_aton): Likewise.
34882 (loc_ntoa): Likewise.
34883 * resolv/res_hconf.c (struct netaddr): Likewise.
34884 (_res_hconf_reorder_addrs): Likewise.
34885 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34886 (clnttcp_control): Likewise.
34887 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34888 (clntudp_control): Likewise.
34889 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34890 (clntunix_control): Likewise.
34891 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34892 * sunrpc/rpc/auth.h (union des_block): Likewise.
34893 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34894 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34895 (xdrrec_create): Likewise.
34896 (xdrrec_endofrecord): Likewise.
34897 (flush_out): Likewise.
34898 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34899 (xdrstdio_putlong): Likewise.
34900 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34903 * misc/sys/cdefs.h (__long_double_t): Remove.
34904 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34905 instead of __long_double_t,
34906 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34908 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34910 * benchtests/scripts/compare_strings.py: Avoid display error when
34911 running on a text terminal.
34913 * benchtests/scripts/compare_strings.py (main): Add an
34914 optional -base option.
34915 (process_results): New argument base_func.
34917 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34919 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34920 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34922 2017-08-07 Andreas Schwab <schwab@suse.de>
34924 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34925 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34926 * intl/Makefile ($(objpfx)tst-gettext.out)
34927 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34928 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34929 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34930 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34931 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34932 * posix/Makefile ($(objpfx)globtest.out)
34933 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34934 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34935 ($(objpfx)tst-printf.out): Likewise.
34936 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34937 ($(objpfx)tst-setcontext3.out): Likewise.
34939 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34941 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34942 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34943 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34944 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34945 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34947 (CFLAGS-doasin-fma.c): New.
34948 (CFLAGS-dosincos-fma.c): Likewise.
34949 (CFLAGS-e_asin-fma.c): Likewise.
34950 (CFLAGS-e_atan2-fma.c): Likewise.
34951 (CFLAGS-e_exp-fma.c): Likewise.
34952 (CFLAGS-e_log-fma.c): Likewise.
34953 (CFLAGS-e_pow-fma.c): Likewise.
34954 (CFLAGS-halfulp-fma.c): Likewise.
34955 (CFLAGS-mpa-fma.c): Likewise.
34956 (CFLAGS-mpatan-fma.c): Likewise.
34957 (CFLAGS-mpatan2-fma.c): Likewise.
34958 (CFLAGS-mpexp-fma.c): Likewise.
34959 (CFLAGS-mplog-fma.c): Likewise.
34960 (CFLAGS-mpsqrt-fma.c): Likewise.
34961 (CFLAGS-mptan-fma.c): Likewise.
34962 (CFLAGS-s_atan-fma.c): Likewise.
34963 (CFLAGS-sincos32-fma.c): Likewise.
34964 (CFLAGS-slowexp-fma.c): Likewise.
34965 (CFLAGS-slowpow-fma.c): Likewise.
34966 (CFLAGS-s_sin-fma.c): Likewise.
34967 (CFLAGS-s_tan-fma.c): Likewise.
34968 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34969 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34970 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34971 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34972 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34973 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34974 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34975 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34976 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34977 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34978 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34979 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34980 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34981 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34982 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34983 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34984 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34985 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34986 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34987 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34988 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34989 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34990 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34991 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34992 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34993 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34994 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34995 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34996 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34997 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34998 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35000 2017-08-04 Joseph Myers <joseph@codesourcery.com>
35002 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
35003 (min_of_type_f): New macro.
35004 (min_of_type_): Likewise.
35005 (min_of_type_l): Likewise.
35006 (min_of_type_f128): Likewise.
35007 (min_of_type): Define using __MATH_TG and taking an expression
35009 (math_check_force_underflow): Pass expression instead of type to
35011 (math_check_force_underflow_nonneg): Likewise.
35013 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35015 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35016 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
35017 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
35019 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35022 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
35023 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
35024 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
35025 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
35026 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
35027 memcpy_chk-nonshared, mempcpy_chk-nonshared,
35028 memmove_chk-nonshared and memset_chk-nonshared
35029 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
35030 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
35031 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
35032 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
35033 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
35034 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
35035 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
35036 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
35037 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
35038 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
35039 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
35040 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
35041 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
35042 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
35043 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
35044 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
35045 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
35046 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
35047 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
35048 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
35049 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
35050 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
35051 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
35052 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
35053 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
35054 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
35055 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
35056 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
35057 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
35058 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
35059 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
35060 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
35061 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
35062 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35063 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35064 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
35065 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
35066 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
35067 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
35068 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
35069 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
35070 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
35071 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
35072 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
35073 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
35074 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
35075 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
35076 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
35077 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
35078 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
35079 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
35080 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
35081 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
35082 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
35083 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
35084 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
35085 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
35086 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
35087 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
35088 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
35089 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
35090 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
35091 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
35092 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
35093 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
35094 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
35095 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
35096 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
35097 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
35098 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
35099 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
35100 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35101 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35102 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35103 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35104 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35105 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35106 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35107 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35108 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35109 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35110 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35111 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35112 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35113 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35114 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35115 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35116 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35117 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35118 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35119 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35120 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35121 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35122 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35123 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35124 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35125 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35126 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35127 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35128 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35129 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35130 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35131 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35132 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35133 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35134 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35135 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35136 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35138 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35140 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
35141 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
35142 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
35143 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
35144 svml_d_log2_core-sse2, svml_d_log4_core-sse,
35145 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
35146 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
35147 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
35148 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
35149 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
35150 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
35151 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
35152 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
35153 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
35154 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
35155 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
35156 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
35157 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
35158 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
35159 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
35160 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
35161 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
35162 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
35163 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
35164 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
35165 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
35166 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
35167 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
35168 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
35169 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
35170 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
35171 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
35172 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
35173 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
35174 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
35175 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
35176 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
35177 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
35178 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
35179 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
35180 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
35181 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
35182 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
35183 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
35184 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
35185 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
35186 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
35187 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
35188 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
35189 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
35190 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
35191 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
35192 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
35193 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
35194 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
35195 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
35196 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
35197 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
35198 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
35200 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
35201 Don't include <sysdep.h> nor <init-arch.h>.
35202 (_ZGVbN2v_cos): Removed.
35203 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
35205 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
35206 Don't include <sysdep.h> nor <init-arch.h>.
35207 (_ZGVdN4v_cos): Removed.
35208 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
35210 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
35211 Don't include <sysdep.h> nor <init-arch.h>.
35212 (_ZGVeN8v_cos): Removed.
35213 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
35215 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
35216 Don't include <sysdep.h> nor <init-arch.h>.
35217 (_ZGVbN2v_exp): Removed.
35218 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
35220 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
35221 Don't include <sysdep.h> nor <init-arch.h>.
35222 (_ZGVdN4v_exp): Removed.
35223 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
35225 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
35226 Don't include <sysdep.h> nor <init-arch.h>.
35227 (_ZGVeN8v_exp): Removed.
35228 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
35230 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
35231 Don't include <sysdep.h> nor <init-arch.h>.
35232 (_ZGVbN2v_log): Removed.
35233 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
35235 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
35236 Don't include <sysdep.h> nor <init-arch.h>.
35237 (_ZGVdN4v_log): Removed.
35238 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
35240 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
35241 Don't include <sysdep.h> nor <init-arch.h>.
35242 (_ZGVeN8v_log): Removed.
35243 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
35245 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
35246 Don't include <sysdep.h> nor <init-arch.h>.
35247 (_ZGVbN2vv_pow): Removed.
35248 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
35250 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
35251 Don't include <sysdep.h> nor <init-arch.h>.
35252 (_ZGVdN4vv_pow): Removed.
35253 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
35255 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
35256 Don't include <sysdep.h> nor <init-arch.h>.
35257 (_ZGVeN8vv_pow): Removed.
35258 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
35260 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
35261 Don't include <sysdep.h> nor <init-arch.h>.
35262 (_ZGVbN2v_sin): Removed.
35263 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
35265 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
35266 Don't include <sysdep.h> nor <init-arch.h>.
35267 (_ZGVbN4v_sin): Removed.
35268 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
35270 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
35271 Don't include <sysdep.h> nor <init-arch.h>.
35272 (_ZGVbN8v_sin): Removed.
35273 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
35275 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
35276 Don't include <sysdep.h> nor <init-arch.h>.
35277 (_ZGVbN2vvv_sincos): Removed.
35278 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
35280 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
35281 Don't include <sysdep.h> nor <init-arch.h>.
35282 (_ZGVdN4vvv_sincos): Removed.
35283 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
35285 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
35286 Don't include <sysdep.h> nor <init-arch.h>.
35287 (_ZGVeN8vvv_sincos): Removed.
35288 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
35290 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
35291 Don't include <sysdep.h> nor <init-arch.h>.
35292 (_ZGVeN16v_cosf): Removed.
35293 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
35295 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
35296 Don't include <sysdep.h> nor <init-arch.h>.
35297 (_ZGVbN4v_cosf): Removed.
35298 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
35300 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
35301 Don't include <sysdep.h> nor <init-arch.h>.
35302 (_ZGVdN8v_cosf): Removed.
35303 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
35305 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
35306 Don't include <sysdep.h> nor <init-arch.h>.
35307 (_ZGVeN16v_expf): Removed.
35308 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
35310 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
35311 Don't include <sysdep.h> nor <init-arch.h>.
35312 (_ZGVbN4v_expf): Removed.
35313 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
35315 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
35316 Don't include <sysdep.h> nor <init-arch.h>.
35317 (_ZGVdN8v_expf): Removed.
35318 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
35320 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
35321 Don't include <sysdep.h> nor <init-arch.h>.
35322 (_ZGVeN16v_logf): Removed.
35323 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
35325 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
35326 Don't include <sysdep.h> nor <init-arch.h>.
35327 (_ZGVbN4v_logf): Removed.
35328 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
35330 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
35331 Don't include <sysdep.h> nor <init-arch.h>.
35332 (_ZGVdN8v_logf): Removed.
35333 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
35335 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
35336 Don't include <sysdep.h> nor <init-arch.h>.
35337 (_ZGVeN16vv_powf): Removed.
35338 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
35340 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
35341 Don't include <sysdep.h> nor <init-arch.h>.
35342 (_ZGVbN4vv_powf): Removed.
35343 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
35345 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
35346 Don't include <sysdep.h> nor <init-arch.h>.
35347 (_ZGVdN8vv_powf): Removed.
35348 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
35350 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
35351 Don't include <sysdep.h> nor <init-arch.h>.
35352 (_ZGVeN16vvv_sincosf): Removed.
35353 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
35355 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
35356 Don't include <sysdep.h> nor <init-arch.h>.
35357 (_ZGVbN4vvv_sincosf): Removed.
35358 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
35360 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
35361 Don't include <sysdep.h> nor <init-arch.h>.
35362 (_ZGVdN8vvv_sincosf): Removed.
35363 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
35365 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
35366 Don't include <sysdep.h> nor <init-arch.h>.
35367 (_ZGVeN16v_sinf): Removed.
35368 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
35370 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
35371 Don't include <sysdep.h> nor <init-arch.h>.
35372 (_ZGVbN4v_sinf): Removed.
35373 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
35375 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
35376 Don't include <sysdep.h> nor <init-arch.h>.
35377 (_ZGVdN8v_sinf): Removed.
35379 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35381 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35382 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
35383 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
35384 s_rint-sse4_1 and s_rintf-sse4_1.
35385 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
35386 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
35387 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
35388 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
35389 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
35390 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
35391 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
35392 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
35393 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
35394 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
35395 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
35396 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35398 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
35399 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
35400 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35401 (__ceilf): Removed.
35402 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
35403 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
35404 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35405 (__floor): Removed.
35406 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
35407 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
35408 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35409 (__floorf): Removed.
35410 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
35411 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
35412 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35413 (__nearbyint): Removed.
35414 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
35415 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
35416 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35417 (__nearbyintf): Removed.
35418 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
35419 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
35420 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35422 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
35423 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
35424 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35425 (__rintf): Removed.
35427 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35429 * sysdeps/i386/start.S (_start): Check Check PIC instead of
35430 SHARED. Avoid dynamic relocation against main in static PIE.
35432 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35435 * elf/Makefile (CFLAGS-tst-prelink.c): New.
35436 (LDFLAGS-tst-prelink): Likewise.
35438 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35440 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
35441 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
35442 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
35443 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
35444 (INTERNAL_SYSCALL_NCS): Likewise.
35445 (LOADARGS_1): Likewise.
35446 (LOADARGS_5): Likewise.
35447 (RESTOREARGS_1): Likewise.
35448 (RESTOREARGS_5): Likewise.
35450 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35452 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
35453 (MEMPCPY_SYMBOL): Likewise.
35454 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35455 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
35456 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
35458 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35459 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
35461 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
35462 (__hidden_ver1): Don't use in libc.a.
35463 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
35464 (__mempcpy): Don't create a weak alias in libc.a.
35465 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
35467 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
35468 (__hidden_ver1): Don't use in libc.a.
35470 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35472 * config.make.in (have-insert): New.
35473 * configure.ac (libc_cv_insert): New. Set to yes if linker
35474 supports INSERT in linker script.
35475 (AC_SUBST(libc_cv_insert): New.
35476 * configure: Regenerated.
35477 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
35478 if $(have-insert) == yes.
35480 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35482 * elf/Makefile (tests): Add vismain only if
35483 $(have-protected-data) == yes.
35484 (tests-pie): Likewise.
35486 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35489 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
35490 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
35492 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35495 * sysdeps/i386/i586/memset.S
35496 (__memset_zero_constant_len_parameter): Removed.
35497 * sysdeps/i386/i686/memset.S
35498 (__memset_zero_constant_len_parameter): Likewise.
35499 * sysdeps/i386/i686/multiarch/memset_chk.S
35500 (__memset_zero_constant_len_parameter): Likewise.
35501 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
35504 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35506 * stdlib/getentropy.c (getentropy): Change return type to int.
35508 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35510 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
35512 2017-08-03 Joseph Myers <joseph@codesourcery.com>
35514 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
35516 * math/s_nexttowardf.c (__nexttowardf): Likewise.
35517 * sysdeps/generic/math_private.h (ieee_double_shape_type):
35519 (ieee_float_shape_type): Likewise.
35520 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
35521 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
35522 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35523 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35524 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
35525 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
35526 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
35527 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35528 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
35530 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35531 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35532 (__ieee754_yn): Likewise.
35533 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35534 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35535 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
35537 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35538 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
35539 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
35540 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
35541 (__erfc): Likewise.
35542 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
35543 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
35544 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
35545 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
35546 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
35547 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
35549 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
35550 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
35551 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
35552 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
35553 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35554 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
35555 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
35556 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
35557 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
35558 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
35559 (__issignaling): Likewise.
35560 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
35561 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
35562 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
35564 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35565 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
35566 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
35567 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
35569 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
35571 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
35572 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
35573 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
35574 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
35575 (__erfcf): Likewise.
35576 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
35577 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
35578 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
35579 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
35581 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
35582 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
35584 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
35585 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
35586 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
35587 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
35588 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
35589 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35590 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
35591 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
35593 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
35595 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
35597 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
35598 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35600 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35602 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35603 (__ieee754_ynl): Likewise.
35604 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
35605 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
35607 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
35609 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35610 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35611 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35613 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35614 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35615 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35616 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35617 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35618 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35619 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35620 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35622 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35623 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35624 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35626 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35627 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35628 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35629 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35630 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35631 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35633 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35635 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35637 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35639 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35640 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35641 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35642 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35643 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35644 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35645 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35647 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35649 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35650 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35652 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35653 (__ieee754_remainderl): Likewise.
35654 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35655 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35656 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35657 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35659 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35660 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35662 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35663 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35664 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
35665 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
35666 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35667 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35669 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
35670 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
35671 (__ieee754_y0l): Likewise.
35674 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35675 (__ieee754_y1l): Likewise.
35678 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35679 (__ieee754_ynl): Likewise.
35680 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
35681 (__ieee754_lgammal_r): Likewise.
35682 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
35684 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
35685 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
35686 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
35687 (__erfcl): Likewise.
35688 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
35689 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
35691 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
35692 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
35693 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
35694 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
35695 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
35696 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35697 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35699 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
35700 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35701 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
35702 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
35703 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35705 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
35706 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
35708 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
35709 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
35710 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
35711 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35712 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
35714 2017-08-03 Florian Weimer <fweimer@redhat.com>
35717 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
35718 on memory allocation failure.
35720 2017-08-03 Alan Modra <amodra@gmail.com>
35722 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
35723 tst-tlsopt-powerpc.c with function name change and no test harness.
35724 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
35725 Call tls_get_addr_opt_test.
35726 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
35727 (modules-names): Add mod-tlsopt-powerpc.
35728 (mod-tlsopt-powerpc.so-no-z-defs): Define.
35729 (tst-tlsopt-powerpc): Depend on .so.
35730 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
35731 define. Expand use in TLS_GD and TLS_LD.
35733 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35735 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
35737 * sysdeps/posix/shm_open.c: Include <pthread.h>.
35739 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35742 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
35743 comparing size with that of double.
35744 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35745 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35746 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35747 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35748 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35749 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
35750 unsigned __int128 types.
35752 2017-08-02 Steve Ellcey <sellcey@cavium.com>
35754 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
35755 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
35756 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
35757 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
35758 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
35760 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35762 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35764 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35766 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35768 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35769 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35770 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35771 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35772 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35773 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35774 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35776 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35779 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35780 bit-field expressions passed to sizeof or typeof.
35781 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35782 (__TGMATH_F128): Likewise.
35783 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35784 (__TGMATH_CF128): Likewise.
35785 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35786 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35787 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35788 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35789 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35790 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35791 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35792 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35793 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35794 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35795 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35796 (__TGMATH_UNARY_IMAG): Likewise.
35797 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35798 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35799 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35801 (define_vars_for_type): Handle bit_field type specially.
35802 (Tests.__init__): Declare structure with bit-field element.
35804 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35807 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35808 (MEMCPY_CHK): Define only if SHARED is defined.
35809 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35811 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35814 See ChangeLog.18 for earlier changes.